Re: CD-ROM tray closes automatically after eject due to random session/track count

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Kay,

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.

Thanks!

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux