Public bug reported:

Binary package hint: gnome-settings-daemon

It appears that machines that have a software eject key are not able to
eject disks from gnome.  In evaluating the cause of the problem, a lot
of possible indicators show up.  At a first glance it seems to be an X
bug because pressing the key mapped to XF86Eject shows this output in
xev:

<jcristau>     state 0x0, keycode 170 (keysym 0x1008ff2c, XF86Eject), 
same_screen YES,
<jcristau>     XKeysymToKeycode returns keycode: 169

This is actually the intended behavior though because there are indeed two 
keysyms that match:
<jcristau>     key <I169> {         [       XF86Eject ] };
<jcristau>     key <I170> {         [       XF86Eject,       XF86Eject ] };

There are two keysyms that match because the kernel supports two different 
eject keys that act very similarly:
<jcristau> correspond to the following in the kernel:
<jcristau> #define KEY_EJECTCD             161
<jcristau> #define KEY_EJECTCLOSECD        162

Gnome-settings-daemon gets confused then because the keycode you press
in X is not the keycode it is expecting since it uses XKeysymToKeycode.

** Affects: gnome-settings-daemon
     Importance: Unknown
         Status: Unknown

** Affects: gnome-settings-daemon (Ubuntu)
     Importance: Undecided
         Status: New

-- 
eject key doesn't work when disks are mounted
https://bugs.launchpad.net/bugs/299194
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to