Acer 3400LMI manual Linux key-codes

Page 12

F8­x86_64 on the Acer Ferrari 3400LMi

Button scan-code

P1e074

P2e073

Fn-F1 e025

Fn-F2 e026

Fn-F3 e027

8.1.3 Linux key-codes

3.Next, figure out what Linux key­codes that are available by looking at the Linux scan­code – key­code mapping.

# getkeycodes

 

 

 

 

 

 

 

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

4.First we need to set a Linux key­code for the keys that lack one. Add the following lines to /etc/rc.d/rc.local to set the key­codes after all services are started.

#Set Linux key­codes for special keys & buttons:

12

Image 12
Contents Table of Contents F8-x8664 on the Acer Ferrari 3400LMiF8­x8664 on the Acer Ferrari 3400LMi Introduction VersionQuick reference guide Hardware Status Details Installation Graphical installerPotential pitfalls Disk sizeIeee 1394 Firewire Hard driveUpgrading the drive Potential problems # time cp ­rp /media/ieee1394disk/430MBfolder ~Configuring Firewire CommentsIn-1 Card reader PC-cardSpecial keys & buttons Configuration procedure Key-codesButton Key-code Default X key symbols Scan-codesLinux key-codes Key-codes revisited WWW= XF86WWW Configure actions CPU & Acpi supportGraphics SuspendCPU frequency scaling BasicsSimple configuration Dual-HeadRadeon driver Virtual screen size # xrandr ­q Screen 0 minimumXrandr tool Fn-F5 button10.3 3D acceleration Simple benchmark OptimizationOther observations TV-out Load detectionNtsc or PAL InitializationWireless NIC Touch-padInstalling Wlan Wlan toolsWlan firmware Get started with Wlan Manual wayEssid # iwconfig wlan0 essid Perspektiv Bluetooth Verify installationGUI way Using a phone modem UP Running PscanPrepare the phone Prepare the laptopObex File Transfer 0x1106 Protocol Descriptor List Static configuration Short explanation of the command aboveDynamic routine Gprs AT+CGDATA=PPP,1KBluetooth InstallationSending files Mouse & keyboardMouse & keyboard Scan for devicesLock screen Configuring IrDA InfraredTransfer files IRQ DMATesting IrDA ModemInstalling daemon SLMODEMDCOUNTRY=SWEDEN SLMODEMDDEVICE=Potential issue ConnectingDisconnecting References System hangF8­x8664 on the Acer Ferrari 3400LMi Appendix a /etc/X11/xorg.conf XAA Appendix B dual­head.sh INTERNAL=LVDSNtsc ACTION=$1­$DEFAULTACTION CURNDX=$CURNDX­$INTNDX CURRENT=$ALLOUT$CURNDX Lvds LVDS+VGA­0 NEXT=$CURRENTInternal internal Tvout Usage Esac Appendix C dun­bind.sh F8­x8664 on the Acer Ferrari 3400LMi $CONFIG RETVAL=0SLMODEMDOPTS=$SLMODEMDOPTS $SLMODEMDDEVICE RETVAL=$? F8­x8664 on the Acer Ferrari 3400LMi