2012-02-21, 20:45
I cant get the eject buttons to work in xbmc as a normal user.
If I try to push the eject button, xbmc logs an EjectTray() and nothing happends.
After spending some hours to solve this problem, i found out that must be a problem with insufficient rights. Because as root user its working well.
So i added my user to all groups which can be the problem (disk, wheel, optical, storage etc..).
With the commandline tools eject and udisks --eject it works.
After some time, i founded out if i use this command before pusing the button in xbmc it works: "eject -i off /dev/sr0". This works one time and i have to do this again.
dev.cdrom.lock=0 is already set, also the kernel option cdrom.lockdoor=0 doesnt help.
How does the function work in xbmc? The Debug Log is not helpfull.
Any hints what can be the problem?
If I try to push the eject button, xbmc logs an EjectTray() and nothing happends.
After spending some hours to solve this problem, i found out that must be a problem with insufficient rights. Because as root user its working well.
So i added my user to all groups which can be the problem (disk, wheel, optical, storage etc..).
With the commandline tools eject and udisks --eject it works.
After some time, i founded out if i use this command before pusing the button in xbmc it works: "eject -i off /dev/sr0". This works one time and i have to do this again.
dev.cdrom.lock=0 is already set, also the kernel option cdrom.lockdoor=0 doesnt help.
How does the function work in xbmc? The Debug Log is not helpfull.
Any hints what can be the problem?