reclose the CD tray if a CD is mounted and fight with gnome for eject key
Bug #91599 reported by
didier
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pbbuttonsd (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: pbbuttonsd
When there's a mounted CD, pbbuttonsd call /bin/eject and then reclose the tray because, well it's open.
If there's a gnome shortcut for the keyboard eject key both gnome and pbbutonsd try to open the drive.
To post a comment you must log in.
I'm not sure that the Ubuntu change about /bin/eject is needed but the following patch does:
1) factorize the killall in a daemon_running function.
2) if gnome-setting is running assume it take care of eject/load cd.
This one need a patched /bin/eject because on my Macs ioctl always return EIO and eject -T doesn't try to close the CD.
Also need to use eject -T as cmd in gnome-setting. cf bug #37785
3) don't close the drive just after ejecting it with /bin/eject