Broken hotkeys on HP Pavilion dv6500 laptop

Bug #278859 reported by Nick B.
66
This bug affects 4 people
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
Invalid
Undecided
Unassigned
hotkey-setup (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

There are two hotkeys on the HP Pavilion dv6500 series of laptops. The Quick Play and DVD buttons. Previously hotkey-setup was responsible for mapping these keys, but now it looks like hal is mapping these keys. But it's broken.

Line 21 of /usr/share/hal/fdi/information/10freedesktop/30-keymap-hp.fdi
<append key="input.keymap.data" type="strlist">e008:player</append> <!-- FIXME: quick play -->

and the line for the DVD button looks ok but it doesn't seem to be working either.
<append key="input.keymap.data" type="strlist">e00e:dvd</append> <!-- dvd -->

I've tried substituting different keycodes and restarting hal without any success. As a workaround to get these keys working I've put /etc/init.d/hotkey-setup start in /etc/rc.local
Both of these buttons previously worked fine in Hardy.

hal:
  Installed: 0.5.11-4ubuntu3
  Candidate: 0.5.11-4ubuntu3
  Version table:
 *** 0.5.11-4ubuntu3 0
        500 http://us.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

Hello,

  My problem is that after I upgraded to intrepid, hot keys do not work anymore, Fn+F3 used to start firefox, Fn+F1 used to bring up some help window. Those do not work anymore. I had a look at the changelog, does that bug have to do with switching to kbd ?!

Note, I tried /etc/init.d/hotkey start and restart, same thing, keys not working

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

I also got hotkey-setup_0.1-23ubuntu5

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

Hello,

  I just found out that I was mistaken, I opened the Preferences->Keyboard shortcuts, and found that the key to start the browser was XF86WWW, so I tried to change it, after pressing Fn+F3, the key changed to XF86HomePage, so it seems that the key name changed in Intrepid or so. As for Fn+F1, I found that it was disabled.

Matter of fact, I find it better in Intrepid, the Fn+F7/F8 (for controlling the brightness) never worked in console, now they do ! I hope the volume buttons too would work in console ! So sorry for the false bug report.

Revision history for this message
Nick B. (futurepilot) wrote :

This looks more like a hal bug.

description: updated
Revision history for this message
vussvillem (vussvillem) wrote :

I have Dell D600. Hotkeys were working fine in Hardy until recently. Now DVD eject button is not working unless I do "sudo /etc/init.d/hotkey-setup start". All other hotkeys (suspend, wifi, battery, LCD brightness, volume) are working fine.

Revision history for this message
aldebx (aldebx) wrote :
Changed in hal:
status: New → Confirmed
Revision history for this message
jiaguilera (jiaguilera) wrote :

maybe hp-wmi kernel driver is compiled as a module... i have tried:

# modprobe hp-wmi

on hp pavilion dv5120us and buttons are working now.
Add this module to startup list, this may help.

Revision history for this message
Nick B. (futurepilot) wrote : Re: [Bug 278859] Re: Broken hotkeys on HP Pavilion dv6500 laptop

jiaguilera wrote:
> maybe hp-wmi kernel driver is compiled as a module... i have tried:
>
> # modprobe hp-wmi
>
> on hp pavilion dv5120us and buttons are working now.
> Add this module to startup list, this may help.
>
>
I tried that but apparently it was already loaded so it did nothing.
Keys are still dead until I manually restart hotkey-setup.

Revision history for this message
Vladimir (vladimir-kozlov) wrote :

On Intrepid 64bit with 2.6.27-11-generic on HP Pavilion dv5 the wifi button does not work. It even does not generate any keycode (checked using xev). All other buttons seems to work.

Revision history for this message
Nick B. (futurepilot) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I just tested Jaunty on this laptop and the Quickplay button works out
of the box, however the DVD button is still completely dead.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknAMFEACgkQAGHzB9Tvw4zlmwCbBD/LkDuiE63I0VWq7q1s+0oS
/hYAn1Fq3PC91ANS11X454ykeYdlrSXQ
=C5kr
-----END PGP SIGNATURE-----

Revision history for this message
Fractal (guillaume-brunerie) wrote :

I have an HP dv6500 laptop, and I can confirm that the DVD key doesn't work.
Following this page (https://wiki.ubuntu.com/Hotkeys/Troubleshooting) this is a bug in hal because the keycode is greater than 255.
Indeed, xev cannot detect anything, but input-events do :

$ sudo input-events 5

/dev/input/event5
   bustype : BUS_I8042
   vendor : 0x1
   product : 0x1
   version : 43841
   name : "AT Translated Set 2 keyboard"
   phys : "isa0060/serio0/input0"
   bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP

waiting for events
[...]
00:36:48.717739: EV_MSC code=4 value=142
00:36:48.717758: EV_KEY KEY_DVD (0x185) pressed
00:36:48.717763: EV_SYN code=0 value=0
00:36:48.727695: EV_MSC code=4 value=142
00:36:48.727706: EV_KEY KEY_DVD (0x185) released
00:36:48.727710: EV_SYN code=0 value=0
[...]

and you can see that the keycode is 0x185 > 0xFF.

Revision history for this message
gali98 (korylp) wrote :

I have the exact problem as the user above. I have an HP Pavillion TX2000Z.
Here is some of the suggested attachments mentioned at the wiki.
Thanks,
Kory
Note: This key worked fine in Hardy and Intrepid after running hotkey-setup, but it no longer works no matter what.

Revision history for this message
jorno (jorn-odberg) wrote :

Like Fractal said in comment #11 , I have the same problem on my HP Pavilion TX2690.
I have four buttons to the right of my screen. "DVD", "Media", "Rotate" and "Next page (or something)"...

The "Next page"-button is wrongfully identified as "Media", but it works.
The "DVD"-button is not identified in Gnome, so I cannot map it to anything. But "input-events 5" identifies it.
------
jorno@jorn-laptop:~$ sudo input-events 5
/dev/input/event5
   bustype : BUS_I8042
   vendor : 0x1
   product : 0x1
   version : 43841
   name : "AT Translated Set 2 keyboard"
   phys : "isa0060/serio0/input0"
   bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP

waiting for events
00:22:45.408909: EV_MSC code=4 value=142
00:22:45.408953: EV_KEY KEY_DVD (0x185) pressed
00:22:45.408963: EV_SYN code=0 value=0
------
The "Rotate"-button is not identified with this command. And neither is the "Media"-button (The button which _really_ is the Media-button).

Kind regards from Norway.
// Jørn

Revision history for this message
Steve Langasek (vorlon) wrote :

Closing the hotkey-setup task, this package is obsolete.

A component such as hal will have to map such extended keys to signals that desktop applications can listen for, since there's no way for X to carry them as keycodes in the current model.

Changed in hotkey-setup (Ubuntu):
status: New → Won't Fix
Revision history for this message
dino99 (9d9) wrote :
Changed in hal (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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