You are not logged in.
Wait is that why we're having all these problems? That looks like that happened right around when my function keys broke...
Offline
Yes, which leads to the file "60-keyboard.hwdb"
https://wiki.archlinux.org/index.php/Ma … o_keycodes
Try commenting out the "Chromebook 14" section in the 60-keyboard.hwdb file...
Last edited by scot14 (2014-07-18 14:52:04)
Offline
Hmm it doesn't seem to work. I checked the scancodes and they also don't seem to match up with what I get from showkey, which would indicate that it's not the file that's making the keys do their marked actions. Unless I'm mistaken. I got 6a, 69, and 67, while f1, 2, and 3, show as 3b, 3c, and 3d in that file.
Offline
Did you remove the vconsole.conf and comment out all of these lines?
http://cgit.freedesktop.org/systemd/sys … 82cd413782
And then reboot and go to a console?
3b hex =59 decimal = the F1 keycode on the Toshiba at the console
3c hex = 60 decimal = the F2 keycode on the Toshiba at the console
3d hex = 61 decimal = the F3 keycode on the Toshiba at the console
If udev is changing the keycodes from these, to something else, that would explain what you are seeing, right?
Offline
Yep I did that, no dice. My keycodes were 158, 159, 173 -> 6a, 69, 67, so maybe they get changed or something, idk.
Offline
Where are you seeing 6a, 69, 67?
The decimal equivalents are 106, 105, 103.
Offline
Where are you seeing 6a, 69, 67?
The decimal equivalents are 106, 105, 103.
Showkey? Maybe I misunderstood it:
F1 Dn: 0xe0 0x6a / keycode 158
F1 Up: 0xe0 0xea / keycode 158
F2 Dn: 0xe0 0x69 / keycode 159
F2 Up: 0xe0 0xe9 / keycode 159
F3 Dn: 0xe0 0x67 / keycode 173
F3 Up: 0xe0 0xe7 / keycode 173
F4 Dn: 0x3e / keycode 62
F4 Up: 0xbe / keycode 62
Offline
Here's my output from "getkeycodes" at a VT:
Plain scancodes xx (hex) versus keycodes (dec)
for 1-83 (0x01-0x53) scancode equals keycode
0x50: 80 81 82 83 99 0 86 87
0x58: 88 117 0 0 95 183 184 185
0x60: 0 0 0 0 0 0 0 0
0x68: 0 0 0 0 0 0 0 0
0x70: 93 0 0 89 0 0 85 91
0x78: 90 92 0 94 0 124 121 0
Escaped scancodes e0 xx (hex)
e0 00: 0 0 0 0 0 0 0 0
e0 08: 0 0 0 0 0 0 0 0
e0 10: 165 0 0 0 0 0 0 0
e0 18: 0 163 0 0 96 97 0 0
e0 20: 113 140 164 0 166 0 0 0
e0 28: 0 0 255 0 0 0 114 0
e0 30: 115 0 172 0 0 98 255 99
e0 38: 100 0 0 0 0 0 0 0
e0 40: 0 0 0 0 0 119 119 102
e0 48: 103 104 0 105 112 106 118 107
e0 50: 108 109 110 111 0 0 0 0
e0 58: 0 0 0 125 126 127 116 142
e0 60: 0 0 0 143 0 217 156 173
e0 68: 128 159 158 157 155 226 0 112
e0 70: 0 0 0 0 0 0 0 0
e0 78: 0 0 0 0 0 0 0 0
What is your output, both with and without commenting out those lines in "60-keyboard.hwdb"?
Offline
Here's my output from "getkeycodes" at a VT:
What is your output, both with and without commenting out those lines in "60-keyboard.hwdb"?
Looks like it's the same:
Normal
Plain scancodes xx (hex) versus keycodes (dec)
for 1-58 (0x01-0x3a) scancode equals keycode
0x38: 56 57 58 158 159 173 62 227
0x40: 224 225 113 114 115 69 70 71
0x48: 72 73 74 75 76 77 78 79
0x50: 80 81 82 83 99 0 86 87
0x58: 88 117 0 0 95 183 184 185
0x60: 0 0 0 0 0 0 0 0
0x68: 0 0 0 0 0 0 0 0
0x70: 93 0 0 89 0 0 85 91
0x78: 90 92 0 94 0 124 121 0
Escaped scancodes e0 xx (hex)
e0 00: 0 465 0 0 0 0 0 0
e0 08: 0 236 152 212 226 0 389 0
e0 10: 165 0 224 0 0 0 0 225
e0 18: 0 163 0 0 96 97 0 0
e0 20: 113 140 164 0 166 0 0 0
e0 28: 0 0 255 0 0 0 114 0
e0 30: 115 138 172 240 0 98 255 99
e0 38: 100 0 0 0 0 0 0 0
e0 40: 0 0 0 0 0 119 119 102
e0 48: 103 104 0 105 112 106 118 107
e0 50: 108 109 110 111 0 0 0 238
e0 58: 0 0 0 217 126 127 116 142
e0 60: 0 0 0 143 0 217 156 173
e0 68: 128 159 158 157 155 226 227 112
e0 70: 0 0 0 0 0 0 0 0
e0 78: 0 0 0 0 0 0 0 0
Commented
Plain scancodes xx (hex) versus keycodes (dec)
for 1-58 (0x01-0x3a) scancode equals keycode
0x38: 56 57 58 158 159 173 62 227
0x40: 224 225 113 114 115 69 70 71
0x48: 72 73 74 75 76 77 78 79
0x50: 80 81 82 83 99 0 86 87
0x58: 88 117 0 0 95 183 184 185
0x60: 0 0 0 0 0 0 0 0
0x68: 0 0 0 0 0 0 0 0
0x70: 93 0 0 89 0 0 85 91
0x78: 90 92 0 94 0 124 121 0
Escaped scancodes e0 xx (hex)
e0 00: 0 465 0 0 0 0 0 0
e0 08: 0 236 152 212 226 0 389 0
e0 10: 165 0 224 0 0 0 0 225
e0 18: 0 163 0 0 96 97 0 0
e0 20: 113 140 164 0 166 0 0 0
e0 28: 0 0 255 0 0 0 114 0
e0 30: 115 138 172 240 0 98 255 99
e0 38: 100 0 0 0 0 0 0 0
e0 40: 0 0 0 0 0 119 119 102
e0 48: 103 104 0 105 112 106 118 107
e0 50: 108 109 110 111 0 0 0 238
e0 58: 0 0 0 217 126 127 116 142
e0 60: 0 0 0 143 0 217 156 173
e0 68: 128 159 158 157 155 226 227 112
e0 70: 0 0 0 0 0 0 0 0
e0 78: 0 0 0 0 0 0 0 0
Last edited by Stephen304 (2014-07-18 16:25:29)
Offline
What is your output, both with and without commenting out those lines in "60-keyboard.hwdb"?
Mine is the same with or without editing 60-keyboard.hwdb compared the outputs with diff to to make sure.
Plain scancodes xx (hex) versus keycodes (dec)
for 1-58 (0x01-0x3a) scancode equals keycode
0x38: 56 57 58 158 159 173 62 227
0x40: 224 225 113 114 115 69 70 71
0x48: 72 73 74 75 76 77 78 79
0x50: 80 81 82 83 99 0 86 87
0x58: 88 117 0 0 95 183 184 185
0x60: 0 0 0 0 0 0 0 0
0x68: 0 0 0 0 0 0 0 0
0x70: 93 0 0 89 0 0 85 91
0x78: 90 92 0 94 0 124 121 0
Escaped scancodes e0 xx (hex)
e0 00: 0 465 0 0 0 0 0 0
e0 08: 0 236 152 212 226 0 389 0
e0 10: 165 0 224 0 0 0 0 225
e0 18: 0 163 0 0 96 97 0 0
e0 20: 113 140 164 0 166 0 0 0
e0 28: 0 0 255 0 0 0 114 0
e0 30: 115 138 172 240 0 98 255 99
e0 38: 100 0 0 0 0 0 0 0
e0 40: 0 0 0 0 0 119 119 102
e0 48: 103 104 0 105 112 106 118 107
e0 50: 108 109 110 111 0 0 0 238
e0 58: 0 0 0 217 126 127 116 142
e0 60: 0 0 0 143 0 217 156 173
e0 68: 128 159 158 157 155 226 227 112
e0 70: 0 0 0 0 0 0 0 0
e0 78: 0 0 0 0 0 0 0 0
Last edited by sapientidiot (2014-07-18 16:28:53)
Offline
What happens when you run this (doesn't matter if normal or commented boot)?
sudo setkeycodes 3b 59
sudo setkeycodes 3c 60
sudo setkeycodes 3d 61
Offline
What happens when you run this (doesn't matter if normal or commented boot)?
sudo setkeycodes 3b 59 sudo setkeycodes 3c 60 sudo setkeycodes 3d 61
diff shows these changes after:
sapient@QonoS ~ % diff getkeycodes.defaults getkeycodes.new
2c2
< for 1-58 (0x01-0x3a) scancode equals keycode
---
> for 1-62 (0x01-0x3e) scancode equals keycode
4c4
< 0x38: 56 57 58 158 159 173 62 227
---
> 0x38: 56 57 58 59 60 61 62 227
Offline
Do the function keys work now in X and/or console?
Offline
Do the function keys work now in X and/or console?
They work in both! :-) Now how do i make that the default on boot?
Last edited by sapientidiot (2014-07-18 16:46:11)
Offline
Showkey says 59, 60, 61 now - F keys seem to work in console for switching tty but in X the keys dont seem to do anything at all, F1 doesn't open chrome help. So I guess this is a second working console solution in addition to loadkeys, but this way changes the keycode?
Sapientidot, did you do anything to fix X? Mine doesn't work.
Last edited by Stephen304 (2014-07-18 16:49:39)
Offline
Showkey says 59, 60, 61 now - F keys seem to work in console for switching tty but in X the keys dont seem to do anything at all, F1 doesn't open chrome help. So I guess this is a second working console solution in addition to loadkeys, but this way changes the keycode?
Sapientidot, did you do anything to fix X? Mine doesn't work.
I rebooted, ran the setkeycodes commands, then ran startx and I can now switch to consoles 1-4 properly. Before only 4 would work from within X.
Offline
Stephen304, after rebooting and running those three lines above, can you post output of "getkeycodes" (from VT) and also "xmodmap -pke" from X11?
Offline
sapientidiot, will you post the output of "xmodmap -pke" again?
Offline
sapientidiot, will you post the output of "xmodmap -pke" again?
here ya go, I don't think its changed any:
http://pastie.org/9403071
I still have the keys customized in my .Xmodmap file, but when I hit F1-F3 after runing the setkeycode commands I no longer get 166 for F1/back i get 67 instead, so if i can make the change perminent for everything up to F10 I probably won't need xmodmap anymore.
Offline
Is there someway to modify the lines in /usr/lib/udev/hwdb.d/60-keyboard.hwdb and set them to be F keys there? I tried changing them to keycodes but that doesn't seem to do it:
# Chromebook 14
# Top row keys (between ESC and power button)
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnFalco:pvr*
KEYBOARD_KEY_3b=59
KEYBOARD_KEY_3c=60
KEYBOARD_KEY_3d=61
KEYBOARD_KEY_3f=63
KEYBOARD_KEY_40=64
KEYBOARD_KEY_41=65
KEYBOARD_KEY_42=66
KEYBOARD_KEY_43=67
KEYBOARD_KEY_44=69
KEYBOARD_KEY_db=search # Same position as caps lock key on most keyboards
#KEYBOARD_KEY_3e=fullscreen, no defined key sym
I also tried using "f1" "f2"...ect in place of the numbers, but had the same lack of results.
Offline
Here's my xmodmap
keycode 8 =
keycode 9 = Escape NoSymbol Escape
keycode 10 = 1 exclam 1 exclam
keycode 11 = 2 at 2 at
keycode 12 = 3 numbersign 3 numbersign
keycode 13 = 4 dollar 4 dollar
keycode 14 = 5 percent 5 percent
keycode 15 = 6 asciicircum 6 asciicircum
keycode 16 = 7 ampersand 7 ampersand
keycode 17 = 8 asterisk 8 asterisk
keycode 18 = 9 parenleft 9 parenleft
keycode 19 = 0 parenright 0 parenright
keycode 20 = minus underscore minus underscore
keycode 21 = equal plus equal plus
keycode 22 = BackSpace BackSpace BackSpace BackSpace
keycode 23 = Tab ISO_Left_Tab Tab ISO_Left_Tab
keycode 24 = q Q q Q
keycode 25 = w W w W
keycode 26 = e E e E
keycode 27 = r R r R
keycode 28 = t T t T
keycode 29 = y Y y Y
keycode 30 = u U u U
keycode 31 = i I i I
keycode 32 = o O o O
keycode 33 = p P p P
keycode 34 = bracketleft braceleft bracketleft braceleft
keycode 35 = bracketright braceright bracketright braceright
keycode 36 = Return NoSymbol Return
keycode 37 = Control_L NoSymbol Control_L
keycode 38 = a A a A
keycode 39 = s S s S
keycode 40 = d D d D
keycode 41 = f F f F
keycode 42 = g G g G
keycode 43 = h H h H
keycode 44 = j J j J
keycode 45 = k K k K
keycode 46 = l L l L
keycode 47 = semicolon colon semicolon colon
keycode 48 = apostrophe quotedbl apostrophe quotedbl
keycode 49 = grave asciitilde grave asciitilde
keycode 50 = Shift_L NoSymbol Shift_L
keycode 51 = backslash bar backslash bar
keycode 52 = z Z z Z
keycode 53 = x X x X
keycode 54 = c C c C
keycode 55 = v V v V
keycode 56 = b B b B
keycode 57 = n N n N
keycode 58 = m M m M
keycode 59 = comma less comma less
keycode 60 = period greater period greater
keycode 61 = slash question slash question
keycode 62 = Shift_R NoSymbol Shift_R
keycode 63 = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab
keycode 64 = Alt_L Meta_L Alt_L Meta_L
keycode 65 = space NoSymbol space
keycode 66 = Caps_Lock NoSymbol Caps_Lock
keycode 67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1
keycode 68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2
keycode 69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3
keycode 70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4
keycode 71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5
keycode 72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6
keycode 73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7
keycode 74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8
keycode 75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9
keycode 76 = F10 F10 F10 F10 F10 F10 XF86Switch_VT_10
keycode 77 = Num_Lock NoSymbol Num_Lock
keycode 78 = Scroll_Lock NoSymbol Scroll_Lock
keycode 79 = KP_Home KP_7 KP_Home KP_7
keycode 80 = KP_Up KP_8 KP_Up KP_8
keycode 81 = KP_Prior KP_9 KP_Prior KP_9
keycode 82 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode
keycode 83 = KP_Left KP_4 KP_Left KP_4
keycode 84 = KP_Begin KP_5 KP_Begin KP_5
keycode 85 = KP_Right KP_6 KP_Right KP_6
keycode 86 = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add XF86Next_VMode
keycode 87 = KP_End KP_1 KP_End KP_1
keycode 88 = KP_Down KP_2 KP_Down KP_2
keycode 89 = KP_Next KP_3 KP_Next KP_3
keycode 90 = KP_Insert KP_0 KP_Insert KP_0
keycode 91 = KP_Delete KP_Decimal KP_Delete KP_Decimal
keycode 92 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
keycode 93 =
keycode 94 = less greater less greater bar brokenbar bar
keycode 95 = F11 F11 F11 F11 F11 F11 XF86Switch_VT_11
keycode 96 = F12 F12 F12 F12 F12 F12 XF86Switch_VT_12
keycode 97 =
keycode 98 = Katakana NoSymbol Katakana
keycode 99 = Hiragana NoSymbol Hiragana
keycode 100 = Henkan_Mode NoSymbol Henkan_Mode
keycode 101 = Hiragana_Katakana NoSymbol Hiragana_Katakana
keycode 102 = Muhenkan NoSymbol Muhenkan
keycode 103 =
keycode 104 = KP_Enter NoSymbol KP_Enter
keycode 105 = Control_R NoSymbol Control_R
keycode 106 = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab
keycode 107 = Print Sys_Req Print Sys_Req
keycode 108 = Alt_R Meta_R Alt_R Meta_R
keycode 109 = Linefeed NoSymbol Linefeed
keycode 110 = Home NoSymbol Home
keycode 111 = Up NoSymbol Up
keycode 112 = Prior NoSymbol Prior
keycode 113 = Left NoSymbol Left
keycode 114 = Right NoSymbol Right
keycode 115 = End NoSymbol End
keycode 116 = Down NoSymbol Down
keycode 117 = Next NoSymbol Next
keycode 118 = Insert NoSymbol Insert
keycode 119 = Delete NoSymbol Delete
keycode 120 =
keycode 121 = XF86AudioMute NoSymbol XF86AudioMute
keycode 122 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume
keycode 123 = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume
keycode 124 = XF86PowerOff NoSymbol XF86PowerOff
keycode 125 = KP_Equal NoSymbol KP_Equal
keycode 126 = plusminus NoSymbol plusminus
keycode 127 = Pause Break Pause Break
keycode 128 = XF86LaunchA NoSymbol XF86LaunchA
keycode 129 = KP_Decimal KP_Decimal KP_Decimal KP_Decimal
keycode 130 = Hangul NoSymbol Hangul
keycode 131 = Hangul_Hanja NoSymbol Hangul_Hanja
keycode 132 =
keycode 133 = Super_L NoSymbol Super_L
keycode 134 = Super_R NoSymbol Super_R
keycode 135 = Menu NoSymbol Menu
keycode 136 = Cancel NoSymbol Cancel
keycode 137 = Redo NoSymbol Redo
keycode 138 = SunProps NoSymbol SunProps
keycode 139 = Undo NoSymbol Undo
keycode 140 = SunFront NoSymbol SunFront
keycode 141 = XF86Copy NoSymbol XF86Copy
keycode 142 = XF86Open NoSymbol XF86Open
keycode 143 = XF86Paste NoSymbol XF86Paste
keycode 144 = Find NoSymbol Find
keycode 145 = XF86Cut NoSymbol XF86Cut
keycode 146 = Help NoSymbol Help
keycode 147 = XF86MenuKB NoSymbol XF86MenuKB
keycode 148 = XF86Calculator NoSymbol XF86Calculator
keycode 149 =
keycode 150 = XF86Sleep NoSymbol XF86Sleep
keycode 151 = XF86WakeUp NoSymbol XF86WakeUp
keycode 152 = XF86Explorer NoSymbol XF86Explorer
keycode 153 = XF86Send NoSymbol XF86Send
keycode 154 =
keycode 155 = XF86Xfer NoSymbol XF86Xfer
keycode 156 = XF86Launch1 NoSymbol XF86Launch1
keycode 157 = XF86Launch2 NoSymbol XF86Launch2
keycode 158 = XF86WWW NoSymbol XF86WWW
keycode 159 = XF86DOS NoSymbol XF86DOS
keycode 160 = XF86ScreenSaver NoSymbol XF86ScreenSaver
keycode 161 = XF86RotateWindows NoSymbol XF86RotateWindows
keycode 162 = XF86TaskPane NoSymbol XF86TaskPane
keycode 163 = XF86Mail NoSymbol XF86Mail
keycode 164 = XF86Favorites NoSymbol XF86Favorites
keycode 165 = XF86MyComputer NoSymbol XF86MyComputer
keycode 166 = XF86Back NoSymbol XF86Back
keycode 167 = XF86Forward NoSymbol XF86Forward
keycode 168 =
keycode 169 = XF86Eject NoSymbol XF86Eject
keycode 170 = XF86Eject XF86Eject XF86Eject XF86Eject
keycode 171 = XF86AudioNext NoSymbol XF86AudioNext
keycode 172 = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause
keycode 173 = XF86AudioPrev NoSymbol XF86AudioPrev
keycode 174 = XF86AudioStop XF86Eject XF86AudioStop XF86Eject
keycode 175 = XF86AudioRecord NoSymbol XF86AudioRecord
keycode 176 = XF86AudioRewind NoSymbol XF86AudioRewind
keycode 177 = XF86Phone NoSymbol XF86Phone
keycode 178 =
keycode 179 = XF86Tools NoSymbol XF86Tools
keycode 180 = XF86HomePage NoSymbol XF86HomePage
keycode 181 = XF86Reload NoSymbol XF86Reload
keycode 182 = XF86Close NoSymbol XF86Close
keycode 183 =
keycode 184 =
keycode 185 = XF86ScrollUp NoSymbol XF86ScrollUp
keycode 186 = XF86ScrollDown NoSymbol XF86ScrollDown
keycode 187 = parenleft NoSymbol parenleft
keycode 188 = parenright NoSymbol parenright
keycode 189 = XF86New NoSymbol XF86New
keycode 190 = Redo NoSymbol Redo
keycode 191 = XF86Tools NoSymbol XF86Tools
keycode 192 = XF86Launch5 NoSymbol XF86Launch5
keycode 193 = XF86Launch6 NoSymbol XF86Launch6
keycode 194 = XF86Launch7 NoSymbol XF86Launch7
keycode 195 = XF86Launch8 NoSymbol XF86Launch8
keycode 196 = XF86Launch9 NoSymbol XF86Launch9
keycode 197 =
keycode 198 = XF86AudioMicMute NoSymbol XF86AudioMicMute
keycode 199 = XF86TouchpadToggle NoSymbol XF86TouchpadToggle
keycode 200 = XF86TouchpadOn NoSymbol XF86TouchpadOn
keycode 201 = XF86TouchpadOff NoSymbol XF86TouchpadOff
keycode 202 =
keycode 203 = Mode_switch NoSymbol Mode_switch
keycode 204 = NoSymbol Alt_L NoSymbol Alt_L
keycode 205 = NoSymbol Meta_L NoSymbol Meta_L
keycode 206 = NoSymbol Super_L NoSymbol Super_L
keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L
keycode 208 = XF86AudioPlay NoSymbol XF86AudioPlay
keycode 209 = XF86AudioPause NoSymbol XF86AudioPause
keycode 210 = XF86Launch3 NoSymbol XF86Launch3
keycode 211 = XF86Launch4 NoSymbol XF86Launch4
keycode 212 = XF86LaunchB NoSymbol XF86LaunchB
keycode 213 = XF86Suspend NoSymbol XF86Suspend
keycode 214 = XF86Close NoSymbol XF86Close
keycode 215 = XF86AudioPlay NoSymbol XF86AudioPlay
keycode 216 = XF86AudioForward NoSymbol XF86AudioForward
keycode 217 =
keycode 218 = Print NoSymbol Print
keycode 219 =
keycode 220 = XF86WebCam NoSymbol XF86WebCam
keycode 221 =
keycode 222 =
keycode 223 = XF86Mail NoSymbol XF86Mail
keycode 224 = XF86Messenger NoSymbol XF86Messenger
keycode 225 = XF86Search NoSymbol XF86Search
keycode 226 = XF86Go NoSymbol XF86Go
keycode 227 = XF86Finance NoSymbol XF86Finance
keycode 228 = XF86Game NoSymbol XF86Game
keycode 229 = XF86Shop NoSymbol XF86Shop
keycode 230 =
keycode 231 = Cancel NoSymbol Cancel
keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown
keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp
keycode 234 = XF86AudioMedia NoSymbol XF86AudioMedia
keycode 235 = XF86Display NoSymbol XF86Display
keycode 236 = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff
keycode 237 = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown
keycode 238 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp
keycode 239 = XF86Send NoSymbol XF86Send
keycode 240 = XF86Reply NoSymbol XF86Reply
keycode 241 = XF86MailForward NoSymbol XF86MailForward
keycode 242 = XF86Save NoSymbol XF86Save
keycode 243 = XF86Documents NoSymbol XF86Documents
keycode 244 = XF86Battery NoSymbol XF86Battery
keycode 245 = XF86Bluetooth NoSymbol XF86Bluetooth
keycode 246 = XF86WLAN NoSymbol XF86WLAN
keycode 247 =
keycode 248 =
keycode 249 =
keycode 250 =
keycode 251 =
keycode 252 =
keycode 253 =
keycode 254 =
keycode 255 =
And my keycodes
Plain scancodes xx (hex) versus keycodes (dec)
for 1-62 (0x01-0x3e) scancode equals keycode
0x38: 56 57 58 59 60 61 62 227
0x40: 224 225 113 114 115 69 70 71
0x48: 72 73 74 75 76 77 78 79
0x50: 80 81 82 83 99 0 86 87
0x58: 88 117 0 0 95 183 184 185
0x60: 0 0 0 0 0 0 0 0
0x68: 0 0 0 0 0 0 0 0
0x70: 93 0 0 89 0 0 85 91
0x78: 90 92 0 94 0 124 121 0
Escaped scancodes e0 xx (hex)
e0 00: 0 465 0 0 0 0 0 0
e0 08: 0 236 152 212 226 0 389 0
e0 10: 165 0 224 0 0 0 0 225
e0 18: 0 163 0 0 96 97 0 0
e0 20: 113 140 164 0 166 0 0 0
e0 28: 0 0 255 0 0 0 114 0
e0 30: 115 138 172 240 0 98 255 99
e0 38: 100 0 0 0 0 0 0 0
e0 40: 0 0 0 0 0 119 119 102
e0 48: 103 104 0 105 112 106 118 107
e0 50: 108 109 110 111 0 0 0 238
e0 58: 0 0 0 217 126 127 116 142
e0 60: 0 0 0 143 0 217 156 173
e0 68: 128 159 158 157 155 226 227 112
e0 70: 0 0 0 0 0 0 0 0
e0 78: 0 0 0 0 0 0 0 0
After running those setkeycodes commands.
Last edited by Stephen304 (2014-07-18 17:57:28)
Offline
Is there someway to modify the lines in /usr/lib/udev/hwdb.d/60-keyboard.hwdb and set them to be F keys there? I tried changing them to keycodes but that doesn't seem to do it:
# Chromebook 14 # Top row keys (between ESC and power button) keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnFalco:pvr* KEYBOARD_KEY_3b=59 KEYBOARD_KEY_3c=60 KEYBOARD_KEY_3d=61 KEYBOARD_KEY_3f=63 KEYBOARD_KEY_40=64 KEYBOARD_KEY_41=65 KEYBOARD_KEY_42=66 KEYBOARD_KEY_43=67 KEYBOARD_KEY_44=69 KEYBOARD_KEY_db=search # Same position as caps lock key on most keyboards #KEYBOARD_KEY_3e=fullscreen, no defined key sym
I also tried using "f1" "f2"...ect in place of the numbers, but had the same lack of results.
You have to use names (“f1”, “f2” etc.). Did you rebuild hwdb.bin afterwards?
See https://wiki.archlinux.org/index.php/Ma … o_keycodes
Offline
I think instead of using the F1, F2, etc. keys, it would be better just to comment all of those lines out.
But then after commenting them out, rebuild with udev as you said, I think that was the piece of the puzzle we were missing :-)
Offline
Will you guys try commenting out the lines in the "60-keyboard.hwdb" file and then recompiling with something like "sudo udevadm hwdb --update"
Offline
Will you guys try commenting out the lines in the "60-keyboard.hwdb" file and then recompiling with something like "sudo udevadm hwdb --update"
Yep, that did it :-) I just needed to run the update, now the keys all work as they should.
Offline