You are not logged in.
Hi! I have recently installed several linux distros on my "HP Chromebook 15a-nb0013dx". But many of them had many issues but after installing arch linux all problems were solved including sound except one problem that is related with keyboard. My chromebook's top row keys are not working as function keys instead it is working as chromebook's hotkeys for that I'm facing many problems using applications that need function keys. Is there any way to fix them?
Last edited by Abhan Wamik Rahim (2024-03-29 13:02:01)
Offline
Search for fnlock, HP typically has it on Fn+Shift
There's maybe also a setting in the BIOS/UEFI to reverse the default.
Offline
Thanks for the reply. I haven't managed to find this type of settings in my uefi settings . The fn keys were working fine on chromeos but in arch its not working. Tried xkeyboard-config but no hope.
Offline
See whether https://wiki.archlinux.org/title/HP_Chr … apping_Fix applies to your device as well.
Offline
Unfortunately not working. And now the microphone mute button has stopped working and microphone is muting or unmuting is working on speaker mute button holding super button ![]()
Offline
If you undo that change, do the keys generate any kind of input? And what?
https://wiki.archlinux.org/title/Keyboa … _scancodes
Offline
I have undo all changes . now microphone mute working
i have changed keyboards layout to google chromebook and opened preview and saw fn or shortcut key press is not showing in preview
Offline
Sorry to disturb
Last edited by Abhan Wamik Rahim (2024-03-27 05:59:52)
Offline
i have changed keyboards layout to google chromebook and opened preview and saw fn or shortcut key press is not showing in preview
Please use evtest, some GUI will rather not work here.
Offline
Evetest getting the same output tried showkey atleast got scancodes result , Sir!
Here it is
sudo showkey --scancodes
kb mode was ?UNKNOWN?
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]
press any key (program terminates 10s after last keypress)...
0xe0 0x6a 0xe0 0xea {Back}
0xe0 0x67 0xe0 0xe7 {Refresh}
0xe0 0x0b 0xe0 0x8b {Window Changer}
0xe0 0x2a 0xe0 0x37 0xe0 0xaa 0xe0 0xb7{Screenshot+ also recognising as print screen}
0xe0 0x4c 0xe0 0xcc {Brightness Down}
0xe0 0x54 0xe0 0xd4 {Brightness Up}
0xe0 0x22 0xe0 0xa2 {Pause Button}
0xe0 0x20 0xe0 0xa0 {Mute Speaker}
0xe0 0x2e 0xe0 0xae {Sound Down}
0xe0 0x30 0xe0 0xb0 {Sound Raise}
0xe0 0x5e 0xe0 0xde {Power off}
here 'Third Key','Microphone Mute' & "Second Last" is n ot giving any output
Last edited by Abhan Wamik Rahim (2024-03-28 06:08:07)
Offline
Herer is Keycode output
[root@archlinux abhan]# showkey --keycodes
kb mode was ?UNKNOWN?
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]
press any key (program terminates 10s after last keypress)...
keycode 158 release {Back}
keycode 173 release{Refresh}
keycode 372 release {Fullscreen}
keycode 120 release {Window Changer}
keycode 99 release {Screenshot+ also recognising as print screen}
keycode 224 release {Brightness Down}
keycode 225 release {Brightness Up}
keycode 164 release {Pause Button}
keycode 248 release{Mute microphone}
keycode 113 release{Mute Speaker}
keycode 114 release{Sound Down}
keycode 115 release{Sound Raise}
keycode 116 release {Power off}
This time not getting second last buttons output.
Last edited by Abhan Wamik Rahim (2024-03-28 06:22:38)
Offline
Please use [code][/code] tags. Edit your post in this regard.
The grabbing process is likely kwin_wayland - test this from the multui-user.target (2nd link below)
Incidentally: same issue w/ KDE on X11?
Offline
Yeah
Same issue on x11 also.
Offline
So how can I set the keycode into function key ? Sorry, haven't understood your advise.
Offline
First, fix your posts and wrap the overlong (and pointless) output into code tags.
Then run "sudo evtest" from either the multi-user.target or KDE/X11 to obtain the scancodes of the reelvant keys (pressing them will print that, you can use "tee" to copy the output into a file)
Offline
I have edited my #10 #11 posts . You can see that. Sir !
Last edited by Abhan Wamik Rahim (2024-03-28 10:36:39)
Offline
And do you get other keycodes when pressing Fn along the keys?
Offline
in my keyboard has no fn buttons like other hp laptop
Last edited by Abhan Wamik Rahim (2024-03-28 10:51:27)
Offline
Ah, des Pudels Kern.
https://i.ebayimg.com/images/g/HxYAAOSw … -l1600.jpg
Try the thing with the circle, above the left shift.
https://www.howtogeek.com/713365/how-to … -keyboard/
Offline
Tried but getting same output
Offline
Run "xev -event keyboard", press and hold the search key, then press and release the supposed F1 key, release the search key and post the entire output that produced in xev.
Offline
xev -event keyboard
Outer window is 0x4400001, inner window is 0x4400002
KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys: 0 0 0 0 16 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyRelease event, serial 25, synthetic NO, window 0x4400001,
root 0x5f3, subw 0x0, time 21056691, (367,294), root:(960,602),
state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x4400001,
root 0x5f3, subw 0x0, time 21058726, (367,294), root:(960,602),
state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x4400001,
root 0x5f3, subw 0x0, time 21060470, (367,294), root:(960,602),
state 0x50, keycode 166 (keysym 0x1008ff26, XF86Back), same_screen YES,
XKeysymToKeycode returns keycode: 67
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x4400001,
root 0x5f3, subw 0x0, time 21060699, (367,294), root:(960,602),
state 0x50, keycode 166 (keysym 0x1008ff26, XF86Back), same_screen YES,
XKeysymToKeycode returns keycode: 67
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x4400001,
root 0x5f3, subw 0x0, time 21063894, (256,256), root:(849,564),
state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 243 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 243 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 243 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 243 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 243 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 243 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeymapNotify event, serial 28, synthetic NO, window 0x0,
keys: 243 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ClientMessage event, serial 28, synthetic YES, window 0x4400001,
message_type 0x161 (WM_PROTOCOLS), format 32, message 0x162 (WM_DE
Last edited by Abhan Wamik Rahim (2024-03-28 16:20:43)
Offline
I think same output again no keycode for third, mute, and second last button no output
Offline
Please use [code][/code] tags…
The search key generates Super_L (the windows key)
It's not the default behavior but you could still use https://wiki.archlinux.org/title/Chrome … Using_keyd - you'd just have to revert the assigments
Offline
Thanks a lot it worked like a charm but still facing some issue :
1.Firefox don't recognising the code
2. brightnessup and brightnessdown are not working as f6 and f7.
I am showing you my keyd config :
/etc/keyd/default.conf
[ids]
*
[main]
back = f1
refresh = f2
zoom = f3
scale = f4
sysrq = f5
monbrightnessdown = f6
monbrightnessup = f7
playpause = f8
micmute = f9
mute = f10
volumedown = f11
volumeup = f12
[meta]
refresh = refresh
zoom = zoom
scale = scale
sysrq = sysrq
monbrightnessdown = monbrightnessdown
monbrightnessup = monbrightnessup
playpause = playpause
micmute = micmute
mute = mute
volumedown = volumedown
volumeup = volumeup
left = home
right = end
up = pageup
down = pagedown
backspace = delete
[shift]
meta = capslock
Offline