Re: Annoying CD-rom driver error messages

LA Walsh (law@sgi.com)
Tue, 06 Mar 2001 08:53:15 -0800


Alan Cox wrote:
>
> > Then it seems the less ideal question is what is the "approved and recommended
> > way for a program to "poll" such devices to check for 'changes' and 'media type'
> > without the kernel generating spurious WARNINGS/ERRORS?
>
> The answer to that could probably fill a book unfortunately. You need to use
> the various mtfuji and other ata or scsi query commands intended to notify you
> politely of media and other status changes
---
	Taking myself out of the role of someone who knows anything about the kernel --
and only knows application writing in the fields of GUI's and audio, what do you think
I'm going to use to check if their has been a playable CD inserted into the CD drive?

There is an application called 'famd' -- which says it needs some kernel support to function efficiently -- perhaps that technology needs to be further developed on Linux so app writers don't also have to be kernel experts and experts in all the various bus and device types out there?

Just an idea...? -linda

-- 
L A Walsh                        | Trust Technology, Core Linux, SGI
law@sgi.com                      | Voice: (650) 933-5338
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/