Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-ibm-thinkpad: Commit

device/ibm/thinkpad


Commit MetaInfo

Revisión66dfb0aca95b46a45d49084cb5fda749901d078e (tree)
Tiempo2012-02-25 06:46:12
AutorStefan Seidel <android@stef...>
CommiterStefan Seidel

Log Message

remove unnecessary amixer call, correct keycodes for screen bezel buttons, chmod rfkill state so that Bluetooth can be switched on if it was off on boot

Cambiar Resumen

Diferencia

--- a/init.thinkpad_x41t.rc
+++ b/init.thinkpad_x41t.rc
@@ -1,20 +1,22 @@
11 on boot
22 chown system system /sys/class/backlight/thinkpad_screen/brightness
3-
3+
44 setkeycode 0x6d 115
55 setkeycode 0x6e 114
66 setkeycode 0x69 28
7- setkeycode 0x6b 1
7+ setkeycode 0x6b 158
88 setkeycode 0x68 127
9- setkeycode 0x6c 125
9+ setkeycode 0x6c 172
1010 setkeycode 0x67 116
11+
12+ setprop system_init.startsurfaceflinger 0
1113
1214 service wacom-input /system/bin/wacom-input
1315 disabled
1416
15-service amixer-master /system/bin/alsa_amixer set Master 100 on
16- oneshot
17- disabled
17+#service amixer-master /system/bin/alsa_amixer set Master 100 on
18+# oneshot
19+# disabled
1820
1921 service amixer-pcm /system/bin/alsa_amixer set PCM 100 on
2022 oneshot
@@ -24,3 +26,6 @@ on property:dev.bootcomplete=1
2426 start wacom-input
2527 start amixer-master
2628 start amixer-pcm
29+
30+ chmod 660 /sys/class/rfkill/rfkill0/state
31+ chown system bluetooth /sys/class/rfkill/rfkill0/state
Show on old repository browser