2015-05-26, 01:09
I've setup XBMC on my Debian box using Debian's package, and all is working very nicely. The only problem I have is that when I click on the "Eject/Load" button (under the big "PLAY DISC" button) to eject the disk, nothing happens.
Playing the DVD works fine. And typing "eject" at a command line running under the same user ("xbmc") also works fine. Any idea what I might be doing wrong?
[ SOLVED: the solution appears to be to remove "--lock-media" from the "cdrom_id" command in the udev rules. The relevant file is usually named something like /lib/udev/rules.d/60-cdrom_id.rules, and contains a line like
IMPORT{program}="cdrom_id --lock-media $devnode"
which should be changed to:
IMPORT{program}="cdrom_id $tempnode"
Note that editing this file is probably not a great idea, so instead you should create a new file /etc/udev/rules.d/60-cdrom_id.rules which will hide the original file. This new file should have the same content as the original except for the above one-line change. Thanks to uNiversal for this solution. ]
Playing the DVD works fine. And typing "eject" at a command line running under the same user ("xbmc") also works fine. Any idea what I might be doing wrong?
[ SOLVED: the solution appears to be to remove "--lock-media" from the "cdrom_id" command in the udev rules. The relevant file is usually named something like /lib/udev/rules.d/60-cdrom_id.rules, and contains a line like
IMPORT{program}="cdrom_id --lock-media $devnode"
which should be changed to:
IMPORT{program}="cdrom_id $tempnode"
Note that editing this file is probably not a great idea, so instead you should create a new file /etc/udev/rules.d/60-cdrom_id.rules which will hide the original file. This new file should have the same content as the original except for the above one-line change. Thanks to uNiversal for this solution. ]