Comment 6 for bug 291878

Revision history for this message
rlj (rlj) wrote : Re: Notebook Volume Up/Down Buttons Misbehaving

Hi!

I think I found the right place in the kernel to add the quirk for the keyboard on the HP Pavilion ZV6100. The issue was as I suspected caused by the laptop's keyboard never reporting key-release scancodes for the volume buttons.

To try out the patch:
Get intrepid kernel source
cd /path/to/kernel_source/drivers/input/keyboard
patch < /path/to/atkbd.c.patch
Rebuild kernel, install, and boot

I wrote and tested the patch for a wireless-git-2.6.27-rc tree which happened to sit on my disk and it works fine there. I then adapted it so it should apply to the current intrepid kernel without conflicts (I think). I didn't actually download the whole intrepid source, but rather just looked at the atkbd.c in http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-intrepid.git;a=tree;f=drivers/input/keyboard;h=3057d4350d840c48f4ffe71af25ebcfb1117c242;hb=HEAD

If everyone affected by this bug could try out the patch and if it doesn't work post the output of "sudo dmidecode", that would be helpful. That way, I can identify your laptop model and add it to the patch.

I'll see if I can get a patched intrepid kernel package built and uploaded someplace soon for people who can't patch and recompile themselves.

Cheers,
Rikard