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?

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-systemd-maintainers mailing list
Pkg-systemd-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to