From cfd2114a3cdbc84f12af2f071902d7f60e0d59ae Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Fri, 25 Nov 2011 02:16:34 +0000 Subject: [PATCH] leo: PPP only, renamed the idc file for touchscreen to make it work --- leo.mk | 4 ++-- ...mi-touchscreen.idc => htcleo-touchscreen.idc} | 0 prebuilt/init.htcleo.rc | 16 +++++++--------- 3 files changed, 9 insertions(+), 11 deletions(-) rename prebuilt/{synaptics-rmi-touchscreen.idc => htcleo-touchscreen.idc} (100%) diff --git a/leo.mk b/leo.mk index 8651416..57ff947 100755 --- a/leo.mk +++ b/leo.mk @@ -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 diff --git a/prebuilt/synaptics-rmi-touchscreen.idc b/prebuilt/htcleo-touchscreen.idc similarity index 100% rename from prebuilt/synaptics-rmi-touchscreen.idc rename to prebuilt/htcleo-touchscreen.idc diff --git a/prebuilt/init.htcleo.rc b/prebuilt/init.htcleo.rc index e4ff897..5e1dcfc 100644 --- a/prebuilt/init.htcleo.rc +++ b/prebuilt/init.htcleo.rc @@ -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