[repost] HAL fails to probe audio CD-ROM on Linux if
dev.cdrom.check_media==1
David Zeuthen
david at fubar.dk
Wed May 31 09:57:46 PDT 2006
Hi,
Sorry for the lag,
On Sun, 2006-05-28 at 11:12 +0400, Andrey Borzenkov wrote:
> {pts/1}% sysctl dev.cdrom.check_media
> dev.cdrom.check_media = 1
Remind me what dev.cdrom.check_media does again?
> {pts/1}% dmesg | tail -1
> cdrom: pid 32653 must open device O_NONBLOCK!
>
> When opening non-data CD and check_media set to true, cdrom driver on Linux
> refuses normal open and forces usage of O_NONBLOCK. IIRC it has been standard
> for quite some time. Because O_NONBLOCK does not harm in general, what about
> this patch?
I remember some issues using O_NONBLOCK in various weird scenarios but
it slips my mind at this moment. How well tested is this patch?
David
More information about the hal
mailing list