You are not logged in.
Pages: 1
I'm on a A HP Chromebook 14 and I read threw https://wiki.archlinux.org/index.php/HP_Chromebook_14 And I wanted to make the F 1-10 keys to function. I have install arch before on many different matches I placed
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnFalco:pvr*
KEYBOARD_KEY_3b=f1
KEYBOARD_KEY_3c=f2
KEYBOARD_KEY_3d=f3
KEYBOARD_KEY_3e=f4
KEYBOARD_KEY_3f=f5
KEYBOARD_KEY_40=f6
KEYBOARD_KEY_41=f7
KEYBOARD_KEY_42=f8
KEYBOARD_KEY_43=f9
KEYBOARD_KEY_44=f10
KEYBOARD_KEY_db=leftmeta
in to
/etc/udev/hwdb.d/90-chromebook-keyboard-fix.hwdb
and rebuilt hwdb.bin using
udevadm hwdb --update
as root. I rebooted and it did not work.
Thanks
Offline
Hi Hexmaster111 and welcome to the Forums
can you please post the output of the following command?
cat /sys/class/dmi/id/modalias
Also can you also explain why do you think your hwdb rule does not work? For example does the key combination Ctrl + Alt + F2 switch to the tty2? Can you post the output of xev when you press one of the F1-F10 key?
Last edited by mauritiusdadd (2015-06-30 06:48:13)
Offline
Hi,
I have the same issue since the last update. I noticed there was a new kernel. My guess is, that this is the reason.
My configuration is the following:
keyboard:usb:v*p*
keyboard:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr*
KEYBOARD_KEY_3a=leftctrl # CapsLock to ctrl
KEYBOARD_KEY_38=leftmeta # swap alt
KEYBOARD_KEY_db=leftalt # with meta key
The hwdb.bin file seems to be updated (correctly?), the timestamp is correct and
cat /etc/udev/hwdb.bin |egrep "KEYBOARD_KEY_3a.{10}" -ao
resulted in
KEYBOARD_KEY_3aleftctrl
.
I also rechecked the hex keycodes with evtest (before and after reboot):
Event: time 1435685454.442361, type 4 (EV_MSC), code 4 (MSC_SCAN), value 38
Event: time 1435685454.442361, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 1
Event: time 1435685454.442361, -------------- EV_SYN ------------
Event: time 1435685454.508128, type 4 (EV_MSC), code 4 (MSC_SCAN), value 38
Event: time 1435685454.508128, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 0
Event: time 1435685454.508128, -------------- EV_SYN ------------
Event: time 1435685455.375822, type 4 (EV_MSC), code 4 (MSC_SCAN), value db
Event: time 1435685455.375822, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 1
Event: time 1435685455.375822, -------------- EV_SYN ------------
Event: time 1435685455.433296, type 4 (EV_MSC), code 4 (MSC_SCAN), value db
Event: time 1435685455.433296, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 0
Event: time 1435685455.433296, -------------- EV_SYN ------------
Event: time 1435685457.144601, type 4 (EV_MSC), code 4 (MSC_SCAN), value 3a
Event: time 1435685457.144601, type 1 (EV_KEY), code 58 (KEY_CAPSLOCK), value 1
Event: time 1435685457.144601, -------------- EV_SYN ------------
Event: time 1435685457.187014, type 4 (EV_MSC), code 4 (MSC_SCAN), value 3a
Event: time 1435685457.187014, type 1 (EV_KEY), code 58 (KEY_CAPSLOCK), value 0
Event: time 1435685457.187014, -------------- EV_SYN ------------
Event: time 1435685457.187152, type 17 (EV_LED), code 1 (LED_CAPSL), value 0
And by the way the output of
cat cat /sys/class/dmi/id/modalias
is
dmi:bvnDellInc.:bvrA04:bd07/08/2010:svnDellInc.:pnLatitudeE6410:pvr0001:rvnDellInc.:rn04373Y:rvrA00:cvnDellInc.:ct9:cvr:
.
So that should match.
Last edited by Lord Bo (2015-06-30 17:38:45)
Offline
My configuration is the following:
keyboard:usb:v*p* keyboard:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr* KEYBOARD_KEY_3a=leftctrl # CapsLock to ctrl KEYBOARD_KEY_38=leftmeta # swap alt KEYBOARD_KEY_db=leftalt # with meta key
So that should match.
@Lord Bo, your is a different issue: since systemd 220 the udev hwdb ABI have changed so you should update your custom rules and use the new format, consult the wiki for more information: https://wiki.archlinux.org/index.php/Ma … Using_udev
Last edited by mauritiusdadd (2015-06-30 18:45:54)
Offline
@mauritiusdadd:
Thank you, you really made my day!
@Hexmaster111:
Sorry to have spammed your post and good luck.
Offline
Pages: 1