leo: PPP only, renamed the idc file for touchscreen to make it work

This commit is contained in:
Arif Ali 2011-11-25 02:16:34 +00:00
parent 9d427fc953
commit cfd2114a3c
3 changed files with 9 additions and 11 deletions

4
leo.mk
View File

@ -89,9 +89,9 @@ PRODUCT_COPY_FILES += \
# Touchscreen
PRODUCT_COPY_FILES += \
device/htc/leo/prebuilt/synaptics-rmi-touchscreen.idc:system/usr/idc/synaptics-rmi-touchscreen.idc
device/htc/leo/prebuilt/htcleo-touchscreen.idc:system/usr/idc/htcleo-touchscreen.idc
#GSM APN LIST
# GSM APN LIST
PRODUCT_COPY_FILES += \
device/htc/leo/prebuilt/apns-conf.xml:system/etc/apns-conf.xml

View File

@ -213,17 +213,15 @@ on boot
chmod 755 /system/etc/ppp/*
chmod 4755 /system/bin/pppd
if [ -f /system/ppp ]
then
# PPP enabled, doing PPP specific stuff
# Enabling PPP enabled, doing PPP specific stuff
write /system/ppp 0
# Create link for resolv.conf (generated by pppd)
symlink /etc/ppp/resolv.conf /etc/resolv.conf
# Create link for resolv.conf (generated by pppd)
symlink /etc/ppp/resolv.conf /etc/resolv.conf
# Tweak kernel low memory handling
write /proc/sys/vm/lowmem_reserve_ratio 8 8
write /proc/sys/vm/min_free_kbytes 8192
fi
# Tweak kernel low memory handling
write /proc/sys/vm/lowmem_reserve_ratio 8 8
write /proc/sys/vm/min_free_kbytes 8192
service hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm \
--baudrate 3000000 --patchram /etc/firmware/bcm4329.hcd /dev/ttyHS0