Hey Benjamin, Benjamin K. Stuhl [2010-01-14 18:48 -0700]: > there doesn't seem to be a replacement for HAL's EjectPressed signal > for CD/DVD drives.
GNOME has indeed the same problem. As Kay already explained, we changed dk-disks to unlock CDs after mounting [1] instead, which in nowaday's systems gives a pretty sensible behaviour. The only problem with that is that it's not sufficient, since the next open() on the device will lock it again (which happens on e. g. DVD video playback). Therefore we really need to disable the default locking behaviour in the kernel (/proc/sys/dev/cdrom/lock). Martin [1] https://bugs.freedesktop.org/show_bug.cgi?id=24052 -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) _______________________________________________ devkit-devel mailing list devkit-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/devkit-devel