reclose the CD tray if a CD is mounted and fight with gnome for eject key

Bug #91599 reported by didier
12
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.

Revision history for this message
didier (did447-deactivatedaccount) wrote :

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

Revision history for this message
Peter Whittaker (pwwnow) wrote :

Marking as confirmed based on availability of a fix (attached diff).

Changed in pbbuttonsd:
status: Unconfirmed → Confirmed
Revision history for this message
Peter Whittaker (pwwnow) wrote :

Didier, are you still experiencing this behavior? Under what release? Thanks!

Revision history for this message
Phillip Susi (psusi) wrote :

It looks like the original reporter's account was deactivated. Does this still affect anyone else?

Changed in pbbuttonsd (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pbbuttonsd (Ubuntu) because there has been no activity for 60 days.]

Changed in pbbuttonsd (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.