Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-tegatech-tegav2: Commit

device/tegatech/tegav2


Commit MetaInfo

Révision8ed000e88e5f03aeab971355d93ab6c87b4d9ea4 (tree)
l'heure2012-07-10 09:35:35
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

support Fujitsu Q550

Change Summary

Modification

--- a/AndroidBoard.mk
+++ b/AndroidBoard.mk
@@ -1,5 +1,4 @@
11 LOCAL_PATH := $(call my-dir)
2-LOCAL_FIRMWARES := ath3k-1.fw $(notdir $(wildcard device/common/firmware/iwlwifi-*))
32 TARGET_INITRD_SCRIPTS := $(LOCAL_PATH)/tegav2_info
43 TARGET_KERNEL_CONFIG := $(LOCAL_PATH)/tegav2_defconfig
54
--- a/tegav2_defconfig
+++ b/tegav2_defconfig
@@ -1,6 +1,6 @@
11 #
22 # Automatically generated make config: don't edit
3-# Linux/x86 3.0.8 Kernel Configuration
3+# Linux/x86 3.0.36 Kernel Configuration
44 #
55 # CONFIG_64BIT is not set
66 CONFIG_X86_32=y
@@ -981,6 +981,7 @@ CONFIG_EXTRA_FIRMWARE=""
981981 # CONFIG_DEBUG_DRIVER is not set
982982 # CONFIG_DEBUG_DEVRES is not set
983983 # CONFIG_SYS_HYPERVISOR is not set
984+# CONFIG_SYNC is not set
984985 CONFIG_CONNECTOR=m
985986 # CONFIG_MTD is not set
986987 # CONFIG_PARPORT is not set
@@ -2212,7 +2213,7 @@ CONFIG_USB_HID=y
22122213 #
22132214 CONFIG_HID_A4TECH=m
22142215 CONFIG_HID_ACRUX=m
2215-CONFIG_HID_ACRUX_FF=m
2216+CONFIG_HID_ACRUX_FF=y
22162217 CONFIG_HID_APPLE=m
22172218 CONFIG_HID_BELKIN=m
22182219 CONFIG_HID_CHERRY=m
@@ -2701,7 +2702,8 @@ CONFIG_X86_PLATFORM_DEVICES=y
27012702 # CONFIG_ASUS_LAPTOP is not set
27022703 # CONFIG_DELL_WMI is not set
27032704 # CONFIG_DELL_WMI_AIO is not set
2704-# CONFIG_FUJITSU_LAPTOP is not set
2705+CONFIG_FUJITSU_LAPTOP=m
2706+CONFIG_FUJITSU_LAPTOP_DEBUG=y
27052707 # CONFIG_TC1100_WMI is not set
27062708 # CONFIG_HP_ACCEL is not set
27072709 # CONFIG_HP_WMI is not set
@@ -2726,7 +2728,7 @@ CONFIG_ACPI_WMI=m
27262728 # CONFIG_XO15_EBOOK is not set
27272729 # CONFIG_SAMSUNG_LAPTOP is not set
27282730 CONFIG_MXM_WMI=m
2729-# CONFIG_INTEL_OAKTRAIL is not set
2731+CONFIG_INTEL_OAKTRAIL=m
27302732 CONFIG_CLKSRC_I8253=y
27312733
27322734 #
--- a/tegav2_info
+++ b/tegav2_info
@@ -5,14 +5,20 @@ tegav2_info()
55 board=`cat $DMIPATH/product_name`
66 case "$board" in
77 TEGA*|Intel*|WeTab*|VPAD10*|X1*|PC*)
8+ TOUCH=hid-multitouch
9+ ;;
10+ *Q550)
11+ TOUCH=hid-ntrig
12+ UVESA_MODE=${UVESA_MODE:-1280x800}
813 ;;
914 *)
15+ TOUCH=hid-multitouch
1016 error WARNING: An unknown model
1117 ;;
1218 esac
1319
1420 # FIXME: a workaround for the race condition of auto-probing
15- EXTMOD="$EXTMOD ath3k uvcvideo hid-multitouch"
21+ EXTMOD="$EXTMOD ath3k uvcvideo $TOUCH"
1622
1723 return 1 # auto_detect
1824 }
@@ -20,7 +26,7 @@ tegav2_info()
2026 detect_hardware()
2127 {
2228 case "`cat $DMIPATH/uevent`" in
23- *TEGA*|*Intel*|*Lucid*|*WeTab*|*VPAD10*|*azpen*|*AZPENPC*)
29+ *TEGA*|*Q550*|*Intel*|*Lucid*|*WeTab*|*VPAD10*|*azpen*|*AZPENPC*)
2430 ;;
2531 *)
2632 error WARNING: An unknown tablet
Afficher sur ancien navigateur de dépôt.