PDA

View Full Version : USB CD drive



vijirin
11-21-2006, 12:53 PM
hi all,
I have wrote a c program to eject cd's , when i connect a usb cd drive, and run the program, the cd tray peeps out a bit and enter back into the drive... After that when i try to access the drive it is giving error. But if i use the eject command at terminal it works properly...

i use the following code...
.
.
system(eject);

plz help... what could be wrong

thanking in advance...

knoppu
11-26-2006, 07:38 PM
eject calls umount so it's expected that the drive in not accessible afterwards.

please be more precise if expect someone else to understand what is happening. (You may also end up answering you own question while doing so.)