On Thu, Apr 23, 2009 at 09:35, Martin Pitt <martin.p...@ubuntu.com> wrote:
> Kay Sievers [2009-04-23  0:16 +0200]:
>> Hmm, so we need to find a more reliable way to check for a media. We
>> probably need to ask the kernel with some cdrom ioctl() instead of
>> just talking SG_IO here.
>
> Indeed I was wondering about that; do you plan to use the
> CDROM_DISC_STATUS ioctl? I found that quite reliable, and it would
> keep the fiddly bits in one place in the kernel.

Ok, let's try:
  
http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=d6f0b22d574c6a5e5f3430be3fc619d4b2f46cd5

to check the DRIVE, if we should look for a media at all. If that's
still not enough, we will need to try the DISC ioctl.

Thanks a lot,
Kay

-- 
CD-ROM tray closes automatically after eject 
https://bugs.launchpad.net/bugs/356631
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to