Bug#866397: udev: regression: no escape key on HP ZBook anymore
Vincent Danjean
vdanjean at debian.org
Thu Jun 29 19:29:48 BST 2017
Hi,
Le 29/06/2017 à 17:20, Michael Biebl a écrit :
> Control: severity -1 normal
> Control: tags -1 + moreinfo
>
> Am 29.06.2017 um 15:31 schrieb Vincent Danjean:
>> Package: udev
>> Version: 233-9
>> Severity: important
>>
>> After an upgrade a few weeks ago (I do not know which upgrade exactly), I
>> noticed that my 'escape' key was not working anymore. I was hit by this
>> problem when I use vim...
>>
>> Today, with help from friends, I tried to find the root cause of this bug.
>> xev show me that the keycode of my escape key was 198 (ie FK20) instead of 9
>> (ie Esc), so the press and release of the key lead to XF86AudioMicMute Keysym
>> events instead of Escape Keysym events.
>> So, the problem was coming from the keyscan->keycode association and not the
>> keycode->keysym association.
>>
>> Digging more in details, I discovered the hwdb mecanism and I applied this
>> patch to /lib/udev/hwdb.d/60-keyboard.hwdb:
>> --- 60-keyboard.hwdb.orig 2017-06-29 15:03:24.233223075 +0200
>> +++ 60-keyboard.hwdb 2017-06-29 15:13:23.020305698 +0200
>> @@ -527,7 +527,7 @@
>> evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHP*ProBook*4*:pvr*
>> # HP ZBook
>> evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPZBook*:pvr*
>> - KEYBOARD_KEY_81=f20 # Fn+F8; Microphone mute button, should be micmute
>> + KEYBOARD_KEY_81=esc # Fn+F8; Microphone mute button, should be micmute
>
> Those lines were added a long time ago
> https://github.com/systemd/systemd/commit/4b9bb683e
This is not this commit.
This commit do not talk about the HP ZBook, only about other HP
models. There is no line with evdev:...HPZBook...
It is a similar line that have been added later (and, from what I
see on github, the relevant line seems not present on the current
version on gitHub).
> If this broke recently, it doesn't sound like this was a change
> triggered by udev. Can you find out which package upgrade causes the
> problem?
>
> Martin, you're the expert in this area, can you chime in here?
>
Regards,
Vincent
--
Vincent Danjean GPG key ID 0xD17897FA vdanjean at debian.org
GPG key fingerprint: 621E 3509 654D D77C 43F5 CA4A F6AE F2AF D178 97FA
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo: deb http://people.debian.org/~vdanjean/debian unstable main
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170629/db9ec6a1/attachment-0005.sig>
More information about the Pkg-systemd-maintainers
mailing list