This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RILd on BBB

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

 




  • PS: this is my full boo log:

    U-Boot SPL 2013.01.01-bbb-fb-gb554b8e (Feb 18 2015 - 17:52:26)
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    OMAP SD/MMC: 0
    mmc_send_cmd : timeout: No status update
    
    
    U-Boot 2013.01.01-bbb-fb-gb554b8e (Feb 18 2015 - 17:52:26)
    
    I2C:   ready
    DRAM:  512 MiB
    WARNING: Caches not enabled
    NAND:  No NAND device found!!!
    0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - readenv() failed, using default environment
    
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    Hit any key to stop autoboot:  1 [08][08][08] 0 
    mmc_send_cmd : timeout: No status update
    Card did not respond to voltage select!
    mmc0(part 0) is current device
    mmc_send_cmd : timeout: No status update
    Card did not respond to voltage select!
    mmc_send_cmd : timeout: No status update
    mmc1(part 0) is current device
    mmc_send_cmd : timeout: No status update
    Loading efi partition table:
         256     128K spl
         512     512K bootloader
        1536     128K misc
        2048       8M recovery
       18432       8M boot
       34816     512M system
     1083392     256M cache
     1607680    1047M userdata
     3751936    1912M media
    Loaded eMMC partition table
    SELECT MMC DEV: 1 
    mmc1(part 0) is current device
    mmc_send_cmd : timeout: No status update
       Image magic:   ANDROID!À”?
       kernel_size:   0x3f94c0
       kernel_addr:   0x80010000
       rdisk_size:   0x4ede0
       rdisk_addr:   0x81008000
       second_size:   0x0
       second_addr:   0x80f08000
       tags_addr:   0x80008100
       page_size:   0x800
       name:      
       cmdline:   0x9fb966f0
       id[0]:   0x0
       id[1]:   0x0
       id[2]:   0x0
       id[3]:   0x0
       id[4]:   0x0
       id[5]:   0x0
       id[6]:   0x0
       id[7]:   0x0
    
    Header: Kernel Addr:0x80010000
    Header: Kernel Size:0x3f94c0
    Header: Ramdisk Addr:0x81008000
    Header: Ramdisk Size:0x4ede0
    
    ramdisk sector count:630
    
    ramdisk sector count:630kernel   @ 80010000 (4166848)
    ramdisk  @ 81008000 (323040)
    
    Starting kernel ...
    
    
    Cleanup before kernel ...
    
    
    Starting kernel, theKernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.2.0-00245-g03f2a1e-dirty (root@ubuntu) (gcc version 4.7 (GCC) ) #1 Tue Feb 24 02:00:51 PST 2015
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES2.1 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
    [    0.000000] Kernel command line: console=ttyO0,115200n8 androidboot.console=ttyO0 rootwait ro
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 512MB = 512MB total
    [    0.000000] Memory: 509596k/509596k available, 14692k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0781000   (7652 kB)
    [    0.000000]       .init : 0xc0781000 - 0xc07d7000   ( 344 kB)
    [    0.000000]       .data : 0xc07d8000 - 0xc0843a30   ( 431 kB)
    [    0.000000]        .bss : 0xc0843a54 - 0xc099b810   (1376 kB)
    [    0.000000] NR_IRQS:396
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
    [    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000091] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [    0.088836] pid_max: default: 32768 minimum: 301
    [    0.088958] Security Framework initialized
    [    0.089019] Mount-cache hash table entries: 512
    [    0.089355] CPU: Testing write buffer coherency: ok
    [    0.089385] ftrace: allocating 22473 entries in 67 pages
    [    0.145233] omap_hwmod: pruss: failed to hardreset
    [    0.145874] print_constraints: dummy: 
    [    0.146057] NET: Registered protocol family 16
    [    0.146942] OMAP GPIO hardware version 0.1
    [    0.147735] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.148559]  omap_i2c.1: alias fck already exists
    [    0.149047]  omap2_mcspi.1: alias fck already exists
    [    0.149139]  omap2_mcspi.2: alias fck already exists
    [    0.149230]  edma.0: alias fck already exists
    [    0.149261]  edma.0: alias fck already exists
    [    0.149261]  edma.0: alias fck already exists
    [    0.156829] bio: create slab <bio-0> at 0
    [    0.157592] SCSI subsystem initialized
    [    0.158264] usbcore: registered new interface driver usbfs
    [    0.158355] usbcore: registered new interface driver hub
    [    0.158477] usbcore: registered new device driver usb
    [    0.158721] registerd cppi-dma Intr @ IRQ 17
    [    0.158721] Cppi41 Init Done Qmgr-base(e087a000) dma-base(e0878000)
    [    0.158721] Cppi41 Init Done
    [    0.158752] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [    0.158935] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [    0.159271] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.159912] tps65910 1-002d: could not be detected
    [    0.160308] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.160736] Bluetooth: Core ver 2.16
    [    0.160797] NET: Registered protocol family 31
    [    0.160827] Bluetooth: HCI device and connection manager initialized
    [    0.160827] Bluetooth: HCI socket layer initialized
    [    0.160827] Bluetooth: L2CAP socket layer initialized
    [    0.160858] Bluetooth: SCO socket layer initialized
    [    0.161010] Switching to clocksource gp timer
    [    0.174865] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.175048] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    [    0.175201] MUSB0 controller's USBSS revision = 4ea20800
    [    0.175231] musb0: Enabled SW babble control
    [    0.175933] musb-hdrc musb-hdrc.0: USB OTG mode controller at e083c000 using DMA, IRQ 18
    [    0.176116] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    [    0.176269] MUSB1 controller's USBSS revision = 4ea20800
    [    0.176269] musb1: Enabled SW babble control
    [    0.176605] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    0.176696] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    0.176818] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.176818] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.176818] usb usb1: Product: MUSB HDRC host driver
    [    0.176849] usb usb1: Manufacturer: Linux 3.2.0-00245-g03f2a1e-dirty musb-hcd
    [    0.176849] usb usb1: SerialNumber: musb-hdrc.1
    [    0.177246] hub 1-0:1.0: USB hub found
    [    0.177246] hub 1-0:1.0: 1 port detected
    [    0.177551] musb-hdrc musb-hdrc.1: USB Host mode controller at e083e800 using DMA, IRQ 19
    [    0.177856] NET: Registered protocol family 2
    [    0.178009] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.178344] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    [    0.178558] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.178680] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.178680] TCP reno registered
    [    0.178680] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.178710] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.178863] NET: Registered protocol family 1
    [    0.179107] RPC: Registered named UNIX socket transport module.
    [    0.179107] RPC: Registered udp transport module.
    [    0.179107] RPC: Registered tcp transport module.
    [    0.179107] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.179321] Trying to unpack rootfs image as initramfs...
    [    0.199188] Freeing initrd memory: 312K
    [    0.199218] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.292297] ashmem: initialized
    [    0.292480] VFS: Disk quotas dquot_6.5.2
    [    0.292541] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.293212] fuse init (API version 7.17)
    [    0.293395] msgmni has been set to 995
    [    0.294250] io scheduler noop registered
    [    0.294250] io scheduler deadline registered
    [    0.294311] io scheduler cfq registered (default)
    [    0.294799] Could not set LED4 to fully on
    [    0.331695] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.954528] console [ttyO0] enabled
    [    0.958557] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.966186] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.973785] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.981353] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.988952] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.996673] [drm] Initialized drm 1.1.0 20060810
    [    1.005828] brd: module loaded
    [    1.011352] loop: module loaded
    [    1.014831] i2c-core: driver [tsl2550] using legacy suspend method
    [    1.021301] i2c-core: driver [tsl2550] using legacy resume method
    [    1.027740] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    1.131591] No daughter card found on AM335x EVM
    [    1.136444] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    1.151641] Board name: A335BNLT
    [    1.154998] Board version: 000C
    [    1.158294] The board is a AM335x Beaglebone Black.
    [    1.165039] tps65217 1-0024: TPS65217 ID 0xe version 1.2
    [    1.172271] print_constraints: DCDC1: 900 <--> 1800 mV at 1500 mV 
    [    1.180450] print_constraints: DCDC2: 900 <--> 3300 mV at 1325 mV 
    [    1.188659] print_constraints: DCDC3: 900 <--> 1500 mV at 1125 mV 
    [    1.196807] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV 
    [    1.204986] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV 
    [    1.213043] print_constraints: LDO3: 1800 <--> 3300 mV at 1800 mV 
    [    1.221252] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV 
    [    1.230590] Maximum current provided by the USB port is 500mA which is not sufficient
    [    1.230590] when operating @OPP120, OPPTURBO and OPPNITRO. The current requirement for some
    [    1.230590] use-cases using OPP100 might also exceed the maximum current that the
    [    1.230621] USB port can provide. Unless you are fully confident that the current
    [    1.230621] requirements for OPP100 use-case don't exceed the USB limits, switching
    [    1.230621] to AC power is recommended.
    [    1.275177] usb 1-1: new high-speed USB device number 2 using musb-hdrc
    [    1.282531]  omap_hsmmc.0: alias fck already exists
    [    1.287811]  omap_hsmmc.1: alias fck already exists
    [    1.293060]  omap_i2c.3: alias fck already exists
    [    1.298156] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
    [    1.304473]  davinci-mcasp.0: alias fck already exists
    [    1.311035] at24 3-0054: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    1.318328] IN : bone_setup_display_daughter_board 
    [    1.421630] No display cape found on BeagleBone
    [    1.426849]  da8xx_lcdc.0: alias fck already exists
    [    1.432159] da8xx_lcdc da8xx_lcdc.0: GLCD: Found nxp-1280x720@60 panel
    [    1.467987] usb 1-1: New USB device found, idVendor=1bc7, idProduct=0021
    [    1.475036] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    1.482482] usb 1-1: Product: Telit Wireless Module
    [    1.487579] usb 1-1: Manufacturer: Telit wireless solutions
    [    1.493408] usb 1-1: SerialNumber: 357164040557400
    [    1.583984] tda998x 1-0070: found TDA19988
    [    3.621673] tda998x 1-0070: failed to read EDID
    [    3.632141] Setup HDMI display complete
    [    3.636199] at24 3-0055: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    3.643493] IN : bone_setup_daughter_board 
    [    3.741668] at24 3-0056: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    3.748962] IN : bone_setup_daughter_board 
    [    3.831665] at24 3-0057: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    3.838958] IN : bone_setup_daughter_board 
    [    3.921813] (hci_tty): inside hci_tty_init
    [    3.926239] (hci_tty): allocated 251, 0
    [    3.930358] NFC Driver for TI WiLink
    [    3.934631] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    3.941711] omap2-nand driver initializing
    [    3.946044] OneNAND driver initializing
    [    3.950439] CAN device driver interface
    [    3.954467] CAN bus driver for Bosch D_CAN controller 1.0
    [    4.001678] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    4.008148] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    [    4.015380] davinci_mdio.0: probed
    [    4.018920] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
    [    4.027557] PPP generic driver version 2.4.2
    [    4.032165] PPP BSD Compression module registered
    [    4.037078] PPP Deflate Compression module registered
    [    4.042480] usbcore: registered new interface driver cdc_ether
    [    4.048645] usbcore: registered new interface driver cdc_eem
    [    4.054626] usbcore: registered new interface driver dm9601
    [    4.060485] usbcore: registered new interface driver cdc_subset
    [    4.066741] cdc_ncm: 04-Aug-2011
    [    4.070159] usbcore: registered new interface driver cdc_ncm
    [    4.076141] cdc_acm 1-1:1.0: This device cannot do calls on its own. It is not a modem.
    [    4.085021] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
    [    4.091674] cdc_acm 1-1:1.2: This device cannot do calls on its own. It is not a modem.
    [    4.100555] cdc_acm 1-1:1.2: ttyACM1: USB ACM device
    [    4.106567] cdc_acm 1-1:1.4: This device cannot do calls on its own. It is not a modem.
    [    4.115509] cdc_acm 1-1:1.4: ttyACM2: USB ACM device
    [    4.121765] cdc_acm 1-1:1.6: This device cannot do calls on its own. It is not a modem.
    [    4.130706] cdc_acm 1-1:1.6: ttyACM3: USB ACM device
    [    4.137237] cdc_acm 1-1:1.8: This device cannot do calls on its own. It is not a modem.
    [    4.146240] cdc_acm 1-1:1.8: ttyACM4: USB ACM device
    [    4.152313] cdc_acm 1-1:1.10: This device cannot do calls on its own. It is not a modem.
    [    4.161437] cdc_acm 1-1:1.10: ttyACM5: USB ACM device
    [    4.167602] cdc_acm 1-1:1.12: This device cannot do calls on its own. It is not a modem.
    [    4.176818] cdc_acm 1-1:1.12: ttyACM6: USB ACM device
    [    4.183074] usbcore: registered new interface driver cdc_acm
    [    4.188995] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    4.197387] Initializing USB Mass Storage driver...
    [    4.202789] usbcore: registered new interface driver usb-storage
    [    4.209075] USB Mass Storage support registered.
    [    4.214019] usbcore: registered new interface driver usbserial
    [    4.220153] USB Serial support registered for generic
    [    4.225494] usbcore: registered new interface driver usbserial_generic
    [    4.232330] usbserial: USB Serial Driver core
    [    4.236907] USB Serial support registered for GSM modem (1-port)
    [    4.243713] usbcore: registered new interface driver option
    [    4.249511] option: v0.7.2:USB Driver for GSM modems
    [    4.255950]  gadget: Mass Storage Function, version: 2009/09/11
    [    4.262176]  gadget: Number of LUNs=1
    [    4.266021]  lun0: LUN: removable file: (no medium)
    [    4.271270]  gadget: android_usb ready
    [    4.275238] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [    4.280822] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    [    4.288696] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    4.295806] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    4.303344] usb usb2: Product: MUSB HDRC host driver
    [    4.308532] usb usb2: Manufacturer: Linux 3.2.0-00245-g03f2a1e-dirty musb-hcd
    [    4.316009] usb usb2: SerialNumber: musb-hdrc.0
    [    4.321136] hub 2-0:1.0: USB hub found
    [    4.325073] hub 2-0:1.0: 1 port detected
    [    4.329681] mousedev: PS/2 mouse device common for all mice
    [    4.336456] using rtc device, am33xx-rtc, for alarms
    [    4.341491] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
    [    4.348754] am33xx-rtc: already running
    [    4.352844] i2c /dev entries driver
    [    4.356750] Linux video capture interface: v2.00
    [    4.361907] usbcore: registered new interface driver uvcvideo
    [    4.367889] USB Video Class driver (1.1.1)
    [    4.632324] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    4.638824] device-mapper: uevent: version 1.0.3
    [    4.643829] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
    [    4.652679] Bluetooth: HCI UART driver ver 2.2
    [    4.657318] Bluetooth: HCI H4 protocol initialized
    [    4.662322] Bluetooth: HCILL protocol initialized
    [    4.667236] Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
    [    4.749969] cpuidle: using governor ladder
    [    4.754699] cpuidle: using governor menu
    [    4.763977] usbcore: registered new interface driver usbhid
    [    4.769897] usbhid: USB HID core driver
    [    4.774993] logger: created 256K log 'log_main'
    [    4.780059] logger: created 256K log 'log_events'
    [    4.785339] logger: created 256K log 'log_radio'
    [    4.790496] logger: created 256K log 'log_system'
    [    4.797119] usbcore: registered new interface driver snd-usb-audio
    [    4.808074] asoc: am335x-hdmi-hifi <-> davinci-mcasp.0 mapping ok
    [    4.816040] ALSA device list:
    [    4.819213]   #0: AM335X BONE
    [    4.822387] oprofile: hardware counters not available
    [    4.827758] oprofile: using timer interrupt.
    [    4.832550] Netfilter messages via NETLINK v0.30.
    [    4.837738] nf_conntrack version 0.5.0 (7967 buckets, 31868 max)
    [    4.844818] ctnetlink v0.93: registering with nfnetlink.
    [    4.850524] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
    [    4.857971] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
    [    4.864807] xt_time: kernel timezone is -0000
    [    4.869842] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    4.875946] arp_tables: (C) 2002 David S. Miller
    [    4.880981] TCP cubic registered
    [    4.884765] NET: Registered protocol family 10
    [    4.890960] Mobile IPv6
    [    4.893707] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [    4.899810] IPv6 over IPv4 tunneling driver
    [    4.905517] NET: Registered protocol family 17
    [    4.910278] NET: Registered protocol family 15
    [    4.915039] can: controller area network core (rev 20090105 abi 8)
    [    4.921844] NET: Registered protocol family 29
    [    4.926544] can: raw protocol (rev 20090105)
    [    4.931091] can: broadcast manager protocol (rev 20090105 t)
    [    4.937438] Bluetooth: RFCOMM TTY layer initialized
    [    4.942749] Bluetooth: RFCOMM socket layer initialized
    [    4.948181] Bluetooth: RFCOMM ver 1.11
    [    4.952178] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    4.957824] Bluetooth: BNEP filters: protocol multicast
    [    4.963378] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [    4.969909] Registering the dns_resolver key type
    [    4.975067] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    4.983215] ThumbEE CPU extension supported.
    [    4.987823] mux: Failed to setup hwmod io irq -22
    [    4.994110] Power Management for AM33XX family
    [    4.999145] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [    5.005981] Copied the M3 firmware to UMEM
    [    5.010406] Cortex M3 Firmware Version = 0x181
    [    5.022003] clock: disabling unused clocks to save power
    [    5.030212] Detected MACID=d0:39:72:39:aa:d
    [    5.037078] omap_rtc am33xx-rtc: setting system clock to 2015-02-27 19:14:54 UTC (1425064494)
    [    5.047821] Freeing init memory: 344K
    [    5.131225] mmc1: new high speed MMC card at address 0001
    [    5.141906] mmcblk0: mmc1:0001 MMC04G 3.65 GiB 
    [    5.151885] mmcblk0boot0: mmc1:0001 MMC04G partition 1 1.00 MiB
    [    5.161895] mmcblk0boot1: mmc1:0001 MMC04G partition 2 1.00 MiB
    [    5.176422] Alternate GPT is invalid, using primary GPT.
    [    5.182403]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9
    [    5.211975]  mmcblk0boot1: unknown partition table
    [    5.232025]  mmcblk0boot0: unknown partition table
    [    7.386383] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
    [    7.560943] init: /dev/hw_random not found
    [    7.566345] init: cannot open '/initlogo.rle'
    [    7.594146] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
    [   12.940673] EXT4-fs (mmcblk0p8): recovery complete
    [   12.947326] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic
    [   13.226074] EXT4-fs (mmcblk0p7): recovery complete
    [   13.232696] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic
    [   13.257934] init: /dev/hw_random not found
    [   13.295867] healthd: wakealarm_init: timerfd_create failed
    [   13.302368] healthd: No charger supplies found
    [   13.356018] healthd: BatteryStatusPath not found
    [   13.361297] healthd: BatteryHealthPath not found
    [   13.371429] healthd: BatteryPresentPath not found
    [   13.377655] healthd: BatteryCapacityPath not found
    [   13.384674] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
    [   13.396270] healthd: BatteryVoltagePath not found
    [   13.407257] healthd: BatteryTemperaturePath not found
    [   13.417877] healthd: BatteryTechnologyPath not found
    [   13.423980] binder: 63:63 transaction failed 29189, size 0-0
    [   13.553985] init: property 'ro.serialno' doesn't exist while expanding '${ro.serialno}'
    [   13.562530] init: cannot expand '${ro.serialno}' while writing to '/sys/class/android_usb/android0/iSerial'
    [   13.578704] init: property 'sys.powerctl' doesn't exist while expanding '${sys.powerctl}'
    [   13.603668] init: powerctl: cannot expand '${sys.powerctl}'
    [   13.611358] init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}'
    [   13.675842] init: cannot expand '${sys.sysctl.extra_free_kbytes}' while writing to '/proc/sys/vm/extra_free_kbytes'
    [   13.740417] init: property 'sys.sysctl.tcp_def_init_rwnd' doesn't exist while expanding '${sys.sysctl.tcp_def_init_rwnd}'
    [   13.783172] init: cannot expand '${sys.sysctl.tcp_def_init_rwnd}' while writing to '/proc/sys/net/ipv4/tcp_default_init_rwnd'
    [   13.799163] android_usb: already disabled
    [   13.808166] adb_bind_config
    [   13.842224] Disabling lock debugging due to kernel taint
    [   13.888153] adb_bind_config
    [   13.905120] adb_open
    shell@beagleboneblack:/ $ [   14.221343] android_work: sent uevent USB_STATE=CONNECTED
    [   14.777374] android_work: sent uevent USB_STATE=DISCONNECTED
    [   14.824523] android_work: sent uevent USB_STATE=CONNECTED
    [   14.941284] android_work: sent uevent USB_STATE=DISCONNECTED
    [   14.984741] android_work: sent uevent USB_STATE=CONNECTED
    [   15.144744]  gadget: high-speed config #1: android
    [   15.150177] android_work: sent uevent USB_STATE=CONFIGURED

  • Hi Gianmaria,

    Based on the logs: E/RIL-SERIAL(   68): TELIT:ril-serial.c sending CFUN=4
    The TELIT (RIL-SERIAL)
    seems to disable the TX/RX radio emission which cause the modem to go in OFF mode: D/RIL     (   68): setRadioState(0) during the initialization. One idea would be to check the source code of the RIL-SERIAL if it's available or to add some delay right after setRadioState (RADIO_STATE_OFF) in hardware/ril/reference-ril/reference-ril.c:2045

    Unfortunately, we cannot provide any support for the Telit modem (HE910) as this is not part of the reference platform.