• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/x86


Commit MetaInfo

Revision8dcd7f920a6ed9927a3e54bd4d7e48d5f152bb9e (tree)
Zeit2015-01-19 12:48:48
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

android-x86-4.4-r2 release (20150101)

Ändern Zusammenfassung

Diff

--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -38,7 +38,10 @@ TARGET_NO_KERNEL ?= false
3838 TARGET_NO_RECOVERY ?= true
3939 TARGET_PROVIDES_INIT_RC ?= true
4040 TARGET_CPU_SMP ?= true
41-TARGET_EXTRA_KERNEL_MODULES := 8723au tp_smapi
41+TARGET_EXTRA_KERNEL_MODULES := tp_smapi
42+ifneq ($(filter efi_img,$(MAKECMDGOALS)),)
43+TARGET_KERNEL_ARCH ?= x86_64
44+endif
4245
4346 TARGET_USE_DISKINSTALLER ?= false
4447
@@ -81,4 +84,4 @@ TARGET_HARDWARE_3D := true
8184 BOARD_EGL_CFG ?= device/generic/x86/gpu/egl_mesa.cfg
8285 endif
8386
84-BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.hardware=$(TARGET_PRODUCT) video=-16
87+BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.hardware=$(TARGET_PRODUCT)
Binary files a/app/AndroidTerm.apk and b/app/AndroidTerm.apk differ
--- /dev/null
+++ b/idc/AlpsPS_2_ALPS_DualPoint_TouchPad.idc
@@ -0,0 +1,3 @@
1+touch.deviceType = default
2+touch.orientationAware = 1
3+touch.gestureMode = spots
--- /dev/null
+++ b/idc/AlpsPS_2_ALPS_GlidePoint.idc
@@ -0,0 +1,3 @@
1+touch.deviceType = default
2+touch.orientationAware = 1
3+touch.gestureMode = spots
--- a/init.sh
+++ b/init.sh
@@ -20,7 +20,6 @@ function init_misc()
2020
2121 case "$PRODUCT" in
2222 T10*TA)
23- echo on > /sys/bus/platform/drivers/sdhci-acpi/INT33BB:00/power/control
2423 ;;
2524 *)
2625 ;;
@@ -142,19 +141,6 @@ function init_hal_power()
142141 function init_hal_sensors()
143142 {
144143 case "$(cat $DMIPATH/uevent)" in
145- *T*00LA*)
146- modprobe kfifo-buf
147- modprobe industrialio-triggered-buffer
148- modprobe hid-sensor-hub
149- modprobe hid-sensor-iio-common
150- modprobe hid-sensor-trigger
151- modprobe hid-sensor-accel-3d
152- modprobe hid-sensor-gyro-3d
153- modprobe hid-sensor-als
154- modprobe hid-sensor-magn-3d
155- sleep 1; busybox chown -R 1000.1000 /sys/bus/iio/devices/iio:device?/
156- set_property hal.sensors hsb
157- ;;
158144 *Lucid-MWE*)
159145 set_property ro.ignore_atkbd 1
160146 set_property hal.sensors hdaps
@@ -162,17 +148,6 @@ function init_hal_sensors()
162148 *ICONIA*W5*)
163149 set_property hal.sensors w500
164150 ;;
165- *Zmax*B10T*)
166- modprobe kfifo-buf
167- modprobe industrialio-triggered-buffer
168- modprobe hid-sensor-hub
169- modprobe hid-sensor-iio-common
170- modprobe hid-sensor-trigger
171- modprobe hid-sensor-accel-3d
172- modprobe hid-sensor-als
173- sleep 1; busybox chown -R 1000.1000 /sys/bus/iio/devices/iio:device?/
174- set_property hal.sensors hsb
175- ;;
176151 *S10-3t*)
177152 set_property hal.sensors s103t
178153 ;;
@@ -190,6 +165,19 @@ function init_hal_sensors()
190165 io_switch 0x0 0x1
191166 setkeycodes 0x6d 125
192167 ;;
168+ *DLI*)
169+ set_property ro.ignore_atkbd 1
170+ set_property hal.sensors kbd
171+ set_property hal.sensors.kbd.type 1
172+ setkeycodes 0x64 1
173+ setkeycodes 0x65 172
174+ setkeycodes 0x66 127
175+ setkeycodes 0x67 116
176+ setkeycodes 0x68 114
177+ setkeycodes 0x69 115
178+ setkeycodes 0x6c 114
179+ setkeycodes 0x6d 115
180+ ;;
193181 *tx2*)
194182 setkeycodes 0xb1 138
195183 setkeycodes 0x8a 152
@@ -200,7 +188,9 @@ function init_hal_sensors()
200188 ;;
201189 *MS-N0E1*)
202190 set_property ro.ignore_atkbd 1
203- set_property poweroff.doubleclick 0
191+ setkeycodes 0xa5 125
192+ setkeycodes 0xa7 1
193+ setkeycodes 0xe3 142
204194 ;;
205195 *Aspire1*25*)
206196 modprobe lis3lv02d_i2c
@@ -215,6 +205,15 @@ function init_hal_sensors()
215205 set_property hal.sensors kbd
216206 ;;
217207 esac
208+
209+ # has sensor-hub?
210+ for i in /sys/bus/iio/devices/iio:device?; do
211+ if [ -e $i/in_accel_scale ]; then
212+ busybox chown -R 1000.1000 /sys/bus/iio/devices/iio:device?/
213+ set_property hal.sensors hsb
214+ break
215+ fi
216+ done
218217 }
219218
220219 function create_pointercal()
@@ -308,9 +307,12 @@ function do_bootcomplete()
308307 # FIXME: autosleep works better on i965?
309308 [ "$(getprop debug.mesa.driver)" = "i965" ] && setprop debug.autosleep 1
310309
310+ lsmod | grep -e brcmfmac && setprop wlan.no-unload-driver 1
311+
311312 for bt in $(lsusb -v | awk ' /Class:.E0/ { print $9 } '); do
312313 chown 1002.1002 $bt && chmod 660 $bt
313314 done
315+# am force-stop com.android.bluetooth
314316
315317 case "$PRODUCT" in
316318 1866???|1867???|1869???) # ThinkPad X41 Tablet