Locking or not locking (CD drives)?

David Zeuthen david at fubar.dk
Wed May 31 12:01:45 PDT 2006


On Wed, 2006-05-31 at 11:44 -0700, Artem Kachitchkine wrote:
> If you do lock the door, but also subscribe to EjectPressed, then 
> nothing will happen when the eject button (on the drive) is pressed, but 
> the software gets notified on the user's intention, it can react 
> accordingly, i.e. release the resources (unmount, etc) and send the 
> eject command to the drive.

(Btw, forgot to clarify that when doing Eject() on HAL in response to an
EjectPressed signal the media is indeed unmounted (if it was mounted
that is) before the disc is ejected)

    David




More information about the hal mailing list