Bug#898260: systemd: HP notebook ZBook 17 G4 - WLAN hardware button not working

Michael Biebl biebl at debian.org
Wed May 9 12:53:29 BST 2018


Control: reassign -1 udev 238-4

Am 09.05.2018 um 12:24 schrieb René Krell:
> When pressing it, the following lines are added to the /var/log/message
> s file:
> May  8 22:22:50 rkrell kernel: [40955.295433] atkbd serio0: Unknown key
> pressed (translated set 2, code 0xf8 on isa0060/serio0).
> May  8 22:22:50 rkrell kernel: [40955.295440] atkbd serio0: Use
> 'setkeycodes e078 <keycode>' to make it known.
> May  8 22:22:50 rkrell kernel: [40955.469669] atkbd serio0: Unknown key
> released (translated set 2, code 0xf8 on isa0060/serio0).
> May  8 22:22:50 rkrell kernel: [40955.469675] atkbd serio0: Use
> 'setkeycodes e078 <keycode>' to make it known.
> 
> I'd expect the WLAN hardware button to respond immediately on pressing
> it to toggle WLAN on/off.


It looks like you want to map that keycode to "wlan".
Typically this is done via a hwdb entry, Have a look at
/lib/udev/hwdb.d/60-keyboard.hwdb for this.

See https://wiki.archlinux.org/index.php/Map_scancodes_to_keycodes how
you can create such a custom hwdb entry for your hardware.

Once that hwdb entry is working correctly, please consider forwarding
this upstream at https://github.com/systemd/systemd/issues/new

Regards,
Michael



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- 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/20180509/2e3a1623/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list