Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-tegatech-tegav2: Commit

device/tegatech/tegav2


Commit MetaInfo

Révision055cf0945b10c9036e349dc163d58ae8a2bb49a3 (tree)
l'heure2011-08-08 19:59:30
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

tegav2_info: initialize tegav2 stuff no matter what the tablet model is

There are too many variants of tegav2. Just ignore the model name
and do the necessary initialization.

Change Summary

Modification

--- a/tegav2_info
+++ b/tegav2_info
@@ -5,17 +5,17 @@ tegav2_info()
55 board=`cat $DMIPATH/product_name`
66 case "$board" in
77 TEGA*|VPAD10*|X1*|PC*)
8- #BOARD_USES_TSLIB=true
9- # FIXME: a workaround for the race condition of auto-probing
10- EXTMOD="$EXTMOD hid-multitouch"
11- mkdir /android/mnt/USB
12- chown 1000.1015 /android/mnt/USB # system.sdcard_rw
13- btn_switch 0x0 0x1 > /dev/null
148 ;;
159 *)
10+ error WARNING: An unknown model
1611 ;;
1712 esac
1813
14+ # FIXME: a workaround for the race condition of auto-probing
15+ EXTMOD="$EXTMOD hid-multitouch"
16+ mkdir /android/mnt/USB
17+ chown 1000.1015 /android/mnt/USB # system.sdcard_rw
18+
1919 return 1 # auto_detect
2020 }
2121
@@ -23,12 +23,13 @@ detect_hardware()
2323 {
2424 case "`cat $DMIPATH/uevent`" in
2525 *TEGA*|*VPAD10*|*azpen*|*AZPENPC*)
26- tegav2_info
2726 ;;
2827 *)
2928 error WARNING: An unknown tablet
3029 ;;
3130 esac
31+
32+ tegav2_info
3233 }
3334
3435 post_detect()
Afficher sur ancien navigateur de dépôt.