Bug 19954 - Multimedia keys no longer working
Summary: Multimedia keys no longer working
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/evdev (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other All
: medium normal
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-04 10:48 UTC by Thiago Teixeira
Modified: 2009-02-22 15:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
hal-find-by-capability --capability input | xargs -n1 lshal -u > hal-find.log (6.97 KB, text/plain)
2009-02-04 10:48 UTC, Thiago Teixeira
no flags Details
lshal |grep system.hardware > lshal-system.log (394 bytes, text/plain)
2009-02-04 10:49 UTC, Thiago Teixeira
no flags Details
sudo lsinput > lsinput.log (1.39 KB, text/plain)
2009-02-04 10:50 UTC, Thiago Teixeira
no flags Details
xkbcomp -xkb :0 - > xkbcomp.txt (57.95 KB, text/plain)
2009-02-04 10:50 UTC, Thiago Teixeira
no flags Details
setxkbmap -print > xkbmap.txt (456 bytes, text/plain)
2009-02-04 10:50 UTC, Thiago Teixeira
no flags Details
evtest /dev/input/event4 > evtest.txt (12.00 KB, text/plain)
2009-02-05 21:15 UTC, Thiago Teixeira
no flags Details

Description Thiago Teixeira 2009-02-04 10:48:26 UTC
Created attachment 22580 [details]
hal-find-by-capability --capability input | xargs -n1 lshal -u > hal-find.log

I'm having problems with my multimedia keys in the Ubuntu Jaunty (9.04) Beta (Xorg 7.4). I'm using a Dell wireless keyboard (it's the default type with the Studio Hybrid desktops, apparently hal calls it "Logitech 2.4GHz Cordless Desktop"). The multimedia keys worked fine in Ubuntu 8.10, but after the dist-upgrade, they do not work anymore.

When I rotate the volume dial in my keyboard, "xev" shows nothing.

I followed the troubleshooting guide at https://wiki.ubuntu.com/Hotkeys/Troubleshooting , and found that the command "sudo input-events <device num>" correctly prints my multimedia keys to the terminal when I press them.

When I execute "hal-find-by-capability --capability input | xargs -n1 lshal -u", I find that

input.x11driver = evdev
info.capabilities = { ..., 'input.keys', ... }

according to the troubleshooting guide, this means I have hit a bug in X. :-/

I'm attaching:

$ hal-find-by-capability --capability input | xargs -n1 lshal -u > hal-find.log
$ lshal |grep system.hardware > lshal-system.log
$ sudo lsinput > lsinput.log
$ xkbcomp -xkb :0 - > xkbcomp.txt
Warning:          Could not load keyboard geometry for :0
                  BadAlloc (insufficient resources for operation)
                  Resulting keymap file will not describe geometry
$ setxkbmap -print > xkbmap.txt
Comment 1 Thiago Teixeira 2009-02-04 10:49:53 UTC
Created attachment 22581 [details]
lshal |grep system.hardware > lshal-system.log
Comment 2 Thiago Teixeira 2009-02-04 10:50:14 UTC
Created attachment 22582 [details]
sudo lsinput > lsinput.log
Comment 3 Thiago Teixeira 2009-02-04 10:50:31 UTC
Created attachment 22583 [details]
xkbcomp -xkb :0 - > xkbcomp.txt
Comment 4 Thiago Teixeira 2009-02-04 10:50:47 UTC
Created attachment 22584 [details]
setxkbmap -print > xkbmap.txt
Comment 5 Julien Cristau 2009-02-05 02:28:01 UTC
what keys are we talking about here?
Please run evtest (from the 'joystick' package) on the /dev/input/eventX file corresponding to your keyboard and attach the output when you press these keys.
Comment 6 Thiago Teixeira 2009-02-05 21:15:27 UTC
Created attachment 22624 [details]
evtest /dev/input/event4 > evtest.txt
Comment 7 Thiago Teixeira 2009-02-05 21:16:24 UTC
(In reply to comment #5)
> what keys are we talking about here?
> Please run evtest (from the 'joystick' package) on the /dev/input/eventX file
> corresponding to your keyboard and attach the output when you press these keys.
> 

Sorry, I forgot to specify the keys. ALL special keys stopped working:
- Play/pause
- Stop
- Mute
- Volume up, Volume down (it's a volume knob, but it shouldn't matter)
- Seek back
- Seek forward
- Launch web browser
- Launch email client
- Launch calculator
- Launch music player
- Launch file browser

evtest seems to capture these events just fine. See the attachment.
Comment 8 Peter Hutterer 2009-02-11 22:41:47 UTC
So xev doesn't show anything on these keys or just the keycode but not the
keysym?
Comment 9 Thiago Teixeira 2009-02-13 17:18:12 UTC
(In reply to comment #8)
> So xev doesn't show anything on these keys or just the keycode but not the
> keysym?
> 

xev shows absolutely nothing on these keys. Needless to say, all other keys (and the mouse) show up normally on xev.
Comment 10 Thiago Teixeira 2009-02-21 20:15:29 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > So xev doesn't show anything on these keys or just the keycode but not the
> > keysym?
> > 
> 
> xev shows absolutely nothing on these keys. Needless to say, all other keys
> (and the mouse) show up normally on xev.
> 

Ok, this seems to be working fine again. Must have been some update...
Comment 11 Peter Hutterer 2009-02-22 15:12:58 UTC
closing as INVALID, please reopen if the problem comes back.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.