Hi,
I'm facing te problem to connect a Telit modem (HE910) to my BBB running Android.
My modem uses ttyACM0 and ttyACM3 (PCUI and Modem) ports are all set in system/core/rootdir/init.rc as other specific rild
#Telit HE910 chown radio system /system/bin/chat chown radio system /system/etc/options chown radio system /system/etc/ppp/ip-up-ppp0 chown radio system /system/etc/ppp/ip-down-ppp0 chmod 0777 /system/etc/chat chmod 0777 /system/etc/options chmod 0777 /system/etc/ppp/ip-up-ppp0 chmod 0777 /system/etc/ppp/ip-down-ppp0 chown radio system /dev/ttyACM0 chown radio system /dev/ttyACM3 chmod 0777 /system/etc/hsdpa_connect chmod 0777 /system/etc/hsdpa_disconnect chown radio system /system/etc/hsdpa_connect chown radio system /system/etc/hsdpa_disconnect
and later on same file
service pppd /system/bin/pppd file /etc/options class main user root group shell radio oneshot disabled service ril-daemon /system/bin/rild class main socket rild stream 660 root radio socket rild-debug stream 660 radio system user root group radio cache inet misc audio vpn net_admin log
I've made a double (more than double) check and all files are in place when build and running.
rild starts but...
on adb logcat -b radio i continue to have this output:
root@ubuntu:~/aosp# adb logcat -b radio I/RIL ( 68): Opening tty device /dev/ttyACM0 E/RILC ( 68): RIL_register: RIL version 9 D/RIL ( 68): setRadioState(0) D/AT ( 68): AT> ATE0Q0V1 D/AT ( 68): AT< OK I/RIL-SERIAL( 68): Found GSM Modem D/AT ( 68): AT> ATE0 D/AT ( 68): AT< OK D/AT ( 68): AT> ATE0Q0V1 D/AT ( 68): AT< OK E/RIL-SERIAL( 68): TELIT:ril-serial.c sending CFUN=4 D/AT ( 68): AT> AT+CFUN=4 D/AT ( 68): AT< OK D/AT ( 68): AT> AT&W D/AT ( 68): AT< OK D/AT ( 68): AT> AT&P D/AT ( 68): AT< OK D/AT ( 68): AT> ATS0=0 D/AT ( 68): AT< OK D/AT ( 68): AT> AT+CMEE=1 D/AT ( 68): AT< OK D/AT ( 68): AT> AT+CREG=2 D/AT ( 68): AT< OK D/AT ( 68): AT> AT+CGREG=2 D/AT ( 68): AT< OK D/AT ( 68): AT> AT+CMUT=0 D/AT ( 68): AT< OK D/AT ( 68): AT> AT#QSS=2 D/AT ( 68): AT< OK D/AT ( 68): AT> AT+WIND=32 D/AT ( 68): AT< OK D/AT ( 68): AT> AT+CFUN? D/AT ( 68): AT< +CFUN: 4 D/AT ( 68): AT< OK D/RIL ( 68): setRadioState(0) D/TelephonyManager( 72): No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied) D/TelephonyManager( 72): /proc/cmdline=
It seems like phone goes on airplane mode or someting else..
Someone find similar problems during init of ril?
Regards,
Gianmaria