Can't burn CD when hald is running

David Zeuthen david at fubar.dk
Mon Jul 5 05:05:52 PDT 2004


On Mon, Jul 05, 2004 at 12:26:01PM +0300, Dorin Lazar wrote:
> On Monday 05 July 2004 12:27, David Zeuthen wrote:
> > Having cd burning applications lock the device using hal is the plan
> > in the future, yes. That way, hal knows not to poll for media when
> > the device is locked. Of course, this is only an advisory lock, any
> > application not using hal could ruin everything like we do today; oh
> > well.
>
>   Perhaps the solution is not to have hal oversee the locking of the device, 
> but the ::ioctl calls to fail. I guess that would make everyone happy (well, 
> everyone who checks the return value of the ::ioctl call).

Well fixing the open(2) or ioctl(2) means fixing the driver or the
hardware if at all possible. And, anyway, you want some way to ensure
that only one application is using a device at one time - hal can
provide that in a generic way. Which I think is nice.

Cheers,
David

_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list