Hi,
I have a usb cdrom device. When the cdrom device is opened for more
than two times simultaneouly and try to access  it through ioctl,
except two all the others gets blocked at ioctl call. In my case I
open the cdrom device and call the ioctl CDROM_DRIVE_STATUS .When
calling from the third instant the first or the second instant will
get blocked at ioctl call. I could not find this problem on non-usb
cdroms. Is this a know issue. Is there a patch to resolve it. Could
someone help me to resolve it..
I am doing the tesing on 2.6.11 and  2.6.12-rc2 kernel.


fd = open("/dev/cdrom", O_RDONLY | O_NONBLOCK)
while (1)
       ioctl (fd, CDROM_DRIVE_STATUS, &header)

Shiju


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to