F8x86_64 on the Acer Ferrari 3400LMi
Button
P1e074
P2e073
8.1.3 Linux key-codes
3.Next, figure out what Linux keycodes that are available by looking at the Linux scancode – keycode mapping.
# getkeycodes |
|
|
|
|
|
|
| |||
Plain scancodes | xx (hex) versus | keycodes (dec) | ||||||||
for 183 | (0x010x53) | 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 |
4.First we need to set a Linux keycode for the keys that lack one. Add the following lines to /etc/rc.d/rc.local to set the keycodes after all services are started.
#Set Linux keycodes for special keys & buttons:
12