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.

Bluetooth doesn't work on 4AI.1.3

Other Parts Discussed in Thread: 4430, TWL6030, WL1271

Hi,

I am using custom tablet board with 4430. My board is using L27.IS.1 release and can work OK. After I move to 4AI.1.3, The Bluetooth can't bring up. 

I can see the error message from kernel such as :Bluetooth: st_register failed -22

and messages from mydroid such as: bt_enable: ret: -1, errno: 5

here is my error log:

From kernel:

init: no such service 'hciattach'
[ 108.650665] Turn on the WIFI power
[ 108.768890] (stc): st_register(2)
[ 108.772888] (stc): chnl_id list empty :2
[ 108.777465] (stk) : st_kim_start
[ 108.886322] (stk) :ldisc_install = 1
[ 110.042358] (stk) :ldisc installation timeout
[ 110.047515] (stk) :ldisc_install = 0
[ 111.206420] (stk) : timed out waiting for ldisc to be un-installed
[ 111.323181] (stk) :ldisc_install = 1
[ 112.479797] (stk) :ldisc installation timeout
[ 112.485137] (stk) :ldisc_install = 0
[ 113.643157] (stk) : timed out waiting for ldisc to be un-installed
[ 113.754943] (stk) :ldisc_install = 1
[ 114.908782] (stk) :ldisc installation timeout
[ 114.913940] (stk) :ldisc_install = 0
[ 116.073669] (stk) : timed out waiting for ldisc to be un-installed
[ 116.185638] (stk) :ldisc_install = 1
[ 117.339233] (stk) :ldisc installation timeout
[ 117.344573] (stk) :ldisc_install = 0
[ 118.503295] (stk) : timed out waiting for ldisc to be un-installed
[ 118.615142] (stk) :ldisc_install = 1
[ 119.768920] (stk) :ldisc installation timeout
[ 119.774078] (stk) :ldisc_install = 0
[ 120.932983] (stk) : timed out waiting for ldisc to be un-installed
[ 121.044982] (stk) :ldisc_install = 1
[ 122.198608] (stk) :ldisc installation timeout
[ 122.203918] (stk) :ldisc_install = 0
[ 123.362701] (stk) : timed out waiting for ldisc to be un-installed
[ 123.370056] Bluetooth: st_register failed -22
[ 123.476531] Turn on the WIFI power
[ 123.588470] (stc): st_register(2)
[ 123.592437] (stc): chnl_id list empty :2
[ 123.597015] (stk) : st_kim_start
[ 123.705230] (stk) :ldisc_install = 1
[ 124.862640] (stk) :ldisc installation timeout
[ 124.867797] (stk) :ldisc_install = 0
[ 126.026702] (stk) : timed out waiting for ldisc to be un-installed
[ 126.138641] (stk) :ldisc_install = 1
[ 127.292358] (stk) :ldisc installation timeout
[ 127.297668] (stk) :ldisc_install = 0
[ 128.455657] (stk) : timed out waiting for ldisc to be un-installed
[ 128.567382] (stk) :ldisc_install = 1
[ 129.721740] (stk) :ldisc installation timeout
[ 129.727050] (stk) :ldisc_install = 0
[ 130.886108] (stk) : timed out waiting for ldisc to be un-installed
[ 130.998565] (stk) :ldisc_install = 1
[ 132.159576] (stk) :ldisc installation timeout
[ 132.164886] (stk) :ldisc_install = 0
[ 133.323760] (stk) : timed out waiting for ldisc to be un-installed
[ 133.447570] (stk) :ldisc_install = 1
[ 134.604888] (stk) :ldisc installation timeout
[ 134.609985] (stk) :ldisc_install = 0
[ 135.768920] (stk) : timed out waiting for ldisc to be un-installed


From mydroid:

D/BluetoothAdapterStateMachine( 187): PowerOff process message: 1
D/BluetoothAdapterStateMachine( 187): Bluetooth state 10 -> 11
I/bluedroid( 187): Starting hciattach daemon
I/ActivityManager( 187): Start proc com.android.bluetooth for broadcast com.android.bluetooth/.pbap.BluetoothPbapReceiver: pid=812 uid=10002 gids={3003, 3002, 3001, 1015}
V/BluetoothEventManager( 422): Received android.bluetooth.adapter.action.STATE_CHANGED
I/ActivityThread( 812): Pub com.android.bluetooth.opp: com.android.bluetooth.opp.BluetoothOppProvider
E/uim-sysfs( 108): uim: Inside st_uart_config
E/uim-sysfs( 108): uim:install set to 1
E/uim-sysfs( 108): uim: Inside set_baud_rate
E/uim-sysfs( 108): uim: set_baud_rate() done
E/uim-sysfs( 108): uim: Setting speed to 3000000
E/uim-sysfs( 108): uim: Inside read_command_complete
E/uim-sysfs( 108): uim: Command complete started
E/uim-sysfs( 108): uim: Inside read_hci_event
E/uim-sysfs( 108): uim: read_hci_event
E/uim-sysfs( 108): uim: Invalid response
E/uim-sysfs( 108): uim:cleanup
D/dalvikvm( 187): GC_CONCURRENT freed 407K, 21% free 8528K/10759K, paused 2ms+3ms
I/bluedroid( 187): bt_enable: ret: -1, errno: 5
I/bluedroid( 187): bt_enable: ret: -1, errno: 5
E/uim-sysfs( 108): uim: Inside st_uart_config
E/uim-sysfs( 108): uim:install set to 1
E/uim-sysfs( 108): uim: Inside set_baud_rate
E/uim-sysfs( 108): uim: set_baud_rate() done
E/uim-sysfs( 108): uim: Setting speed to 3000000
E/uim-sysfs( 108): uim: Inside read_command_complete
E/uim-sysfs( 108): uim: Command complete started
E/uim-sysfs( 108): uim: Inside read_hci_event
E/uim-sysfs( 108): uim: read_hci_event
E/uim-sysfs( 108): uim: Invalid response
E/uim-sysfs( 108): uim:cleanup
W/ThrottleService( 187): unable to find stats for iface rmnet0
I/bluedroid( 187): bt_enable: ret: -1, errno: 5
I/bluedroid( 187): bt_enable: ret: -1, errno: 5
I/power ( 187): *** set_screen_state 0
D/SurfaceFlinger( 113): About to give-up screen, flinger = 0xbe9918
D/Sensors ( 187): AccelSensor.cpp: setDelay 66 ms
D/dalvikvm( 187): GC_CONCURRENT freed 390K, 20% free 8652K/10759K, paused 2ms+3ms
W/NetworkManagementSocketTagger( 187): setKernelCountSet(1000, 0) failed with errno -2
E/uim-sysfs( 108): uim: Inside st_uart_config
E/uim-sysfs( 108): uim:install set to 1
E/uim-sysfs( 108): uim: Inside set_baud_rate
E/uim-sysfs( 108): uim: set_baud_rate() done
E/uim-sysfs( 108): uim: Setting speed to 3000000
E/uim-sysfs( 108): uim: Inside read_command_complete
E/uim-sysfs( 108): uim: Command complete started
E/uim-sysfs( 108): uim: Inside read_hci_event
E/uim-sysfs( 108): uim: read_hci_event
E/uim-sysfs( 108): uim: Invalid response
E/uim-sysfs( 108): uim:cleanup
D/dalvikvm( 187): GC_CONCURRENT freed 132K, 17% free 9007K/10759K, paused 2ms+4ms
D/libEGL ( 187): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 187): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 187): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 187): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
D/OpenGLRenderer( 187): Enabling debug mode 0
I/bluedroid( 187): bt_enable: ret: -1, errno: 5
I/bluedroid( 187): bt_enable: ret: -1, errno: 5
E/uim-sysfs( 108): uim: Inside st_uart_config
E/uim-sysfs( 108): uim: Un-Installed N_TI_WL Line displine
E/uim-sysfs( 108): uim: Inside st_uart_config
E/uim-sysfs( 108): uim:install set to 1
E/uim-sysfs( 108): uim: Inside set_baud_rate
E/uim-sysfs( 108): uim: set_baud_rate() done
E/uim-sysfs( 108): uim: Setting speed to 3000000
E/uim-sysfs( 108): uim: Inside read_command_complete
E/uim-sysfs( 108): uim: Command complete started
E/uim-sysfs( 108): uim: Inside read_hci_event
E/uim-sysfs( 108): uim: read_hci_event
E/uim-sysfs( 108): uim: Invalid response
E/uim-sysfs( 108): uim:cleanup
I/bluedroid( 187): bt_enable: ret: -1, errno: 5
I/bluedroid( 187): bt_enable: ret: -1, errno: 5
E/uim-sysfs( 108): uim: Inside st_uart_config
E/uim-sysfs( 108): uim:install set to 1
E/uim-sysfs( 108): uim: Inside set_baud_rate
E/uim-sysfs( 108): uim: set_baud_rate() done
E/uim-sysfs( 108): uim: Setting speed to 3000000
E/uim-sysfs( 108): uim: Inside read_command_complete
E/uim-sysfs( 108): uim: Command complete started
E/uim-sysfs( 108): uim: Inside read_hci_event
E/uim-sysfs( 108): uim: read_hci_event
E/uim-sysfs( 108): uim: Invalid response
E/uim-sysfs( 108): uim:cleanup
I/bluedroid( 187): bt_enable: ret: -1, errno: 5
D/dalvikvm( 187): GC_CONCURRENT freed 480K, 16% free 9046K/10759K, paused 6ms+3ms
I/bluedroid( 187): bt_enable: ret: -1, errno: 5
E/uim-sysfs( 108): uim: Inside st_uart_config
E/uim-sysfs( 108): uim:install set to 1
E/uim-sysfs( 108): uim: Inside set_baud_rate
E/uim-sysfs( 108): uim: set_baud_rate() done
E/uim-sysfs( 108): uim: Setting speed to 3000000
E/uim-sysfs( 108): uim: Inside read_command_complete
E/uim-sysfs( 108): uim: Command complete started
E/uim-sysfs( 108): uim: Inside read_hci_event
E/uim-sysfs( 108): uim: read_hci_event
E/uim-sysfs( 108): uim: Invalid response
E/uim-sysfs( 108): uim:cleanup
I/bluedroid( 187): bt_enable: ret: -1, errno: 5
I/bluedroid( 187): bt_enable: ret: -1, errno: 5
I/power ( 187): *** set_screen_state 1
D/Sensors ( 187): AccelSensor.cpp: setDelay 200 ms
D/Sensors ( 187): AccelSensor.cpp: setDelay 66 ms
I/WindowManager( 187): Lock screen displayed!
D/SurfaceFlinger( 113): Screen about to return, flinger = 0xbe9918
W/NetworkManagementSocketTagger( 187): setKernelCountSet(1000, 1) failed with errno -2

Any suggestions on what the problem could be or where I need to look at would be extremely helpful.

Thank you very much

Regards,

Connie Kuang


  • Hi Connie,

    Can you attach a file with all the kernel boot log?

    Also the init.omap4<board_you_are_using>.rc files from L27.IS and 4AI files

  • Hi, Israel

    Please see the attachments:
    bt-kernel.log is the entire kernel log;
    init.omap4430.rc is from L27.IS.1;
    init.omap4blazeboard.rc is from 4AI.1.3;


    Thank you

    Conne

  • Sorry, it seems that the files are not attached successfully.  Please see the logs here:

    kernel error log:

    D0!

    Texas Instruments Inc X-Loader 1.41.0 (May 21 2012 - 16:46:09)
    Starting OS Bootloader from EMMC ...


    U-Boot 1.1.4 (May 22 2012 - 16:41:46)

    Load address: 0x80e80000
    DRAM:  1024 MB
    Flash:  0 kB
    Reserving 10240k for LCD Framebuffer at: 80db7000
    Using default environment

    Video: 1024x768x32 11kHz 14Hz
    32
     pGD->frameAdrs 817B7000
    The omap register is 0x0
    OMAP DSS rev 4.0
    OMAP DISPC rev 4.0
    OMAP DSI rev 3.0
    =====omap_pre_init_dispc===464
    =====omap_pre_init_dispc===465
    timing_h is 32577797 timing_v is 15732487
    Should be run the 38400000 case
    The cinfo->dsi_pll_dispc_fclk  is 132715748l
    The cinfo->dsi_pll_dsi_fclk  is 132715748l
    L_dsi_pll_dispc_fclk is 132715748
    ddr_clk_pre 24, ddr_clk_post 16
    enter_hs_mode_lat 14, exit_hs_mode_lat 15
    LP_CLK_DIV 5, LP_CLK 8847716
    STOP_STATE_COUNTER 4096 ticks (0x1000) = 46545 ns
    TA_TO 1048448 ticks (0x1fff x8 x16) = 11914181 ns
    LP_RX_TO 524224 ticks (0x1fff x4 x16) = 5957090 ns
    HS_TX_TO 524224 ticks (0x1fff x4 x16) = 10698448 ns
    TEST THE VALUE 64
    TEST THE VALUE 0
    TEST THE VALUE 64
    TEST THE VALUE41 0
    timing_h is 32577797 timing_v is 15732487
    Should be run the 38400000 case
    The cinfo->dsi_pll_dispc_fclk  is 132715748l
    The cinfo->dsi_pll_dsi_fclk  is 132715748l
    L_dsi_pll_dispc_fclk is 132715748
    ddr_clk_pre 24, ddr_clk_post 16
    enter_hs_mode_lat 14, exit_hs_mode_lat 15
    LP_CLK_DIV 5, LP_CLK 8847716
    STOP_STATE_COUNTER 4096 ticks (0x1000) = 46545 ns
    TA_TO 1048448 ticks (0x1fff x8 x16) = 11914181 ns
    LP_RX_TO 524224 ticks (0x1fff x4 x16) = 5957090 ns
    HS_TX_TO 524224 ticks (0x1fff x4 x16) = 10698448 ns
    >>>omapdss_dsi_display_enable Success<<<
    >>>Start configure the panel d2l<<<
    >>>Turn on the LCD out<<<
    >>>The LCD should be show<<<
    Video: Drawing the logo ...
    timed out in wait_for_pin: I2C_STAT=0
    I2C write: I/O error

    ** Unable to use mmc 0:1 for fatload **
    In:    serial
    Out:   serial
    Err:   serial
    Initializing SD(0) Slot.
    ptbl slot: SD:(0).
    Read not permitted as Card on SLOT-0 not Initialized
    efi partition table not found
    efi partition table:
    ptbl slot: EMMC:(1).
         256     128K xloader
         512     256K bootloader
        1024     128K misc
        2048      16M efs
       34816      16K crypto
       34848       8M recovery
       51232       8M boot
       67616     512M system
     1116192     256M cache
     1640480     256M us2
     2164768    6574M userdata
    Net:   KS8851SNL
    =default=bootcmd=booti mmc1
    =changed=bootcmd=booti mmc1
    Hit any key to stop autoboot:  0
    kernel   @ 80008000 (4157248)
    ramdisk  @ 81000000 (165315)
    I2C read: I/O error

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Linux version 3.0.21-00002-OMAP-Android+ (root@linuxserver) (gcc version

    4.4.1 (Sourcery G++ Lite 2010q1-202) ) #12 SMP PREEMPT Thu May 24 18:11:01 CST 2012
    [    0.000000] CPU: ARMv7 Processor [411fc093] revision 3 (ARMv7), cr=10c5387d
    [    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: OMAP4 blaze board
    [    0.000000] Ignoring unrecognised tag 0x54410008
    [    0.000000] Reserving 16777216 bytes SDRAM for VRAM
    [    0.000000] Memory policy: ECC disabled, Data cache writealloc
    [    0.000000] OMAP4430 ES2.3
    [    0.000000] SRAM: Mapped pa 0x40300000 to va 0xfe400000 size: 0xd000
    [    0.000000] On node 0 totalpages: 174080
    [    0.000000] free_area_init_node: node 0, pgdat c0806de0, node_mem_map c1029000
    [    0.000000]   Normal zone: 256 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 32512 pages, LIFO batch:7
    [    0.000000]   HighMem zone: 1792 pages used for memmap
    [    0.000000]   HighMem zone: 139520 pages, LIFO batch:31
    [    0.000000] PERCPU: Embedded 7 pages/cpu @c1834000 s7072 r8192 d13408 u32768
    [    0.000000] pcpu-alloc: s7072 r8192 d13408 u32768 alloc=8*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 172032
    [    0.000000] Kernel command line: console=ttyO2,115200n8 mem=1G vmalloc=768M

    androidboot.console=ttyO2 omap_wdt.timer_margin=30 androidboot.serialno=7232000600000001

    androidboot.bootloader=U-Boot_1.1.4
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Memory: 512MB 168MB = 680MB total
    [    0.000000] Memory: 678184k/678184k available, 370392k reserved, 565248K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    [    0.000000]     vmalloc : 0xc8800000 - 0xf8000000   ( 760 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .init : 0xc0008000 - 0xc004f000   ( 284 kB)
    [    0.000000]       .text : 0xc004f000 - 0xc0799000   (7464 kB)
    [    0.000000]       .data : 0xc079a000 - 0xc0807940   ( 439 kB)
    [    0.000000]        .bss : 0xc0807964 - 0xc0958440   (1347 kB)
    [    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] NR_IRQS:410
    [    0.000000] omap_hwmod: dpll_mpu_m2_ck: missing clockdomain for dpll_mpu_m2_ck.
    [    0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [    0.000061] Calibrating delay loop... 1194.24 BogoMIPS (lpj=4665344)
    [    0.015655] pid_max: default: 32768 minimum: 301
    [    0.070739] Mount-cache hash table entries: 512
    [    0.070739] Initializing cgroup subsys debug
    [    0.070739] Initializing cgroup subsys cpuacct
    [    0.070739] Initializing cgroup subsys freezer
    [    0.071929] CPU: Testing write buffer coherency: ok
    [    0.072479] L310 cache controller enabled
    [    0.072479] l2x0: 16 ways, CACHE_ID 0x410000c4, AUX_CTRL 0x5e470000, Cache size: 1048576

    B
    [    0.150665] CPU1: Booted secondary processor
    [    0.181915] Brought up 2 CPUs
    [    0.181915] SMP: Total of 2 processors activated (2388.48 BogoMIPS).
    [    0.186218] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for emif_fw
    [    0.186218] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_instr
    [    0.186248] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_main_1
    [    0.186248] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_main_2
    [    0.186248] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_abe
    [    0.186309] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_cfg
    [    0.186309] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_per
    [    0.186309] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_wkup
    [    0.186340] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for mpu_private
    [    0.186340] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for sl2if
    [    0.186340] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for usbhs_ohci
    [    0.186492] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for usbhs_ehci
    [    0.186492] omap_hwmod: l3_div_ck: missing clockdomain for l3_div_ck.
    [    0.213134] omap_hwmod: dss_rfbi: softreset failed (waited 10000 usec)
    [    0.223388] print_constraints: dummy:
    [    0.223388] NET: Registered protocol family 16
    [    0.223907] GPMC revision 6.0
    [    0.223907] EMIF0 is enabled with IRQ142
    [    0.225372] EMIF1 is enabled with IRQ143
    [    0.225372] Last reset was cold reset (PRM_RSTST=0x1)
    [    0.225524]
    [    0.226135] OMAP GPIO hardware version 0.1
    [    0.228820] omap_mux_init: Add partition: #1: core, flags: 2
    [    0.228820] omap_mux_init: Add partition: #2: wkup, flags: 2
    [    0.233367] omap_mux_get_by_name: Could not find signal uart1_cts.uart1_cts
    [    0.233398] omap_hwmod_mux_init: Could not allocate device mux entry
    [    0.241149] HSI: skipping omap_device registration
    [    0.241149] OMAP DMA hardware revision 0.0
    [    0.241149] omap_rproc_get_pool: dsp - no carveout memory is available at all
    [    0.242401] omap_rproc_get_pool: ipu - carveout memory is unavailable: 0x0, 0x0
    [    0.253204] bio: create slab <bio-0> at 0
    [    0.253997] print_constraints: vwl1271: 1800 mV
    [    0.253997] i2c-core: driver [twl] using legacy suspend method
    [    0.254486] i2c-core: driver [twl] using legacy resume method
    [    0.254486] SCSI subsystem initialized
    [    0.255920] usbcore: registered new interface driver usbfs
    [    0.256378] usbcore: registered new interface driver hub
    [    0.256530] usbcore: registered new device driver usb
    [    0.257263] omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz
    [    0.258148] Skipping twl internal clock init and using bootloader value (unknown osc

    rate)
    [    0.261840] twl6030: PIH (irq 39) chaining IRQs 368..387
    [    0.264678] print_constraints: VUSB: 3300 mV normal standby
    [    1.291290] PC detected
    [    1.291778] twl6030_usb twl6030_usb: Initialized TWL6030 USB module
    [    1.292663] print_constraints: VMMC: 1200 <--> 3000 mV at 3000 mV normal standby
    [    1.293548] print_constraints: VPP: 1800 <--> 2500 mV at 1900 mV normal standby
    [    1.294464] print_constraints: VUSIM: 1200 <--> 2900 mV at 1800 mV normal standby
    [    1.295684] print_constraints: VCXIO: 1800 mV normal standby
    [    1.297027] print_constraints: VDAC: 1800 mV normal standby
    [    1.297607] print_constraints: VAUX1_6030: 1000 <--> 3000 mV at 2800 mV normal standby
    [    1.298248] print_constraints: VAUX2_6030: 1200 <--> 2800 mV at 1800 mV normal standby
    [    1.299133] print_constraints: VAUX3_6030: 1000 <--> 3000 mV at 1200 mV normal standby
    [    1.300567] print_constraints: VDD1:
    [    1.302093] print_constraints: VDD2:
    [    1.303497] print_constraints: V2V1: at 2100 mV
    [    1.304779] print_constraints: VANA: 2100 mV normal standby
    [    1.305786] print_constraints: CLK32KG:
    [    1.306915] print_constraints: CLK32KAUDIO:
    [    1.308074] print_constraints: SYSEN:
    [    1.309387] print_constraints: REGEN1:
    [    1.309997] print_constraints: VOUT: 4075 <--> 4950 mV at 3825 mV normal standby
    [    1.310455] tps6130x 1-0033: Revision 5
    [    1.310974] omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
    [    1.311920] omap_i2c omap_i2c.3: bus 3 rev4.0 at 400 kHz
    [    1.312286] omap_i2c omap_i2c.4: bus 4 rev4.0 at 400 kHz
    [    1.313201] omap-rproc omap-rproc.0: dsp is available
    [    1.313293] omap-rproc omap-rproc.1: ipu is available
    [    1.313537] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    1.313537] Bluetooth: Core ver 2.16
    [    1.314453] NET: Registered protocol family 31
    [    1.314453] Bluetooth: HCI device and connection manager initialized
    [    1.314483] Bluetooth: HCI socket layer initialized
    [    1.314514] Bluetooth: L2CAP socket layer initialized
    [    1.314514] Bluetooth: SCO socket layer initialized
    [    1.314849] Switching to clocksource 32k_counter
    [    1.317199] musb-hdrc: version 6.0, musb-dma, otg (peripheral+host)
    [    1.322540] Switched to NOHz mode on CPU #0
    [    1.322570] Switched to NOHz mode on CPU #1
    [    1.611389] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-

    ISO Rx, HB-ISO Tx, SoftConn)
    [    1.611389] musb-hdrc: MHDRC RTL version 2.0
    [    1.611389] musb-hdrc: setup fifo_mode 4
    [    1.616943] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    1.616943] musb-hdrc musb-hdrc: USB OTG mode controller at fc0ab000 using DMA, IRQ 124
    [    1.617645] NET: Registered protocol family 2
    [    1.617645] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    [    1.619476] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    [    1.619873] TCP bind hash table entries: 16384 (order: 6, 393216 bytes)
    [    1.619873] TCP: Hash tables configured (established 16384 bind 16384)
    [    1.619873] TCP reno registered
    [    1.621032] UDP hash table entries: 64 (order: 0, 4096 bytes)
    [    1.621032] UDP-Lite hash table entries: 64 (order: 0, 4096 bytes)
    [    1.621704] NET: Registered protocol family 1
    [    1.622100] RPC: Registered named UNIX socket transport module.
    [    1.622314] RPC: Registered udp transport module.
    [    1.622344] RPC: Registered tcp transport module.
    [    1.622344] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.622619] Trying to unpack rootfs image as initramfs...
    [    1.636932] Freeing initrd memory: 160K
    [    1.705566] omap_init_opp_table: no hwmod or odev for hsi, [18] cannot add OPPs.
    [    1.706085] omap_init_opp_table: no hwmod or odev for hsi, [19] cannot add OPPs.
    [    1.706085] ram_console: got buffer at a0000000, size 200000
    [    1.707519] ram_console: error in header, 2
    [    1.707519] ram_console: found existing buffer, size 59201, start 59201
    [    1.970458] console [ram-1] enabled
    [    1.971191] omap-iommu omap-iommu.0: ducati registered
    [    1.971191] omap-iommu omap-iommu.1: tesla registered
    [    1.986999] highmem bounce pool size: 64 pages
    [    1.986999] ashmem: initialized
    [    1.998229] fuse init (API version 7.16)
    [    1.998962] msgmni has been set to 220
    [    1.998962] Registering char device tf_driver (122:0)
    [    1.998962] SMCAG01.06.0 D   
    [    2.002075] io scheduler noop registered
    [    2.002197] io scheduler deadline registered
    [    2.002441] io scheduler cfq registered (default)
    [    2.002655] start plist test
    [    2.002655] end plist test
    [    2.010040] OMAP DSS rev 4.0
    [    2.013214] tc358765_i2c 4-000f: D2L i2c initialized
    [    2.013824] tc358765 display0: tc358765_probe
    [    2.013824] tc358765 display0: tc358765_probe done
    [    2.013824] dsscomp: initializing.
    [    2.013824] misc dsscomp: display0=tc358765
    [    2.013824] misc dsscomp: display1=hdmi_panel
    [    2.014984] misc dsscomp: found 2 displays and 4 overlays
    [    2.015563] could not allocate slot
    [    2.016113] omap-rproc omap-rproc.1: powering up ipu
    [    2.016723] virtio_rpmsg_bus virtio0: rpmsg backend virtproc probed successfully
    [    2.017761] virtio_rpmsg_bus virtio1: rpmsg backend virtproc probed successfully
    [    2.019012] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 104) is a OMAP UART0
    [    2.019531] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 105) is a OMAP UART1
    [    2.020111] omap_uart.2: ttyO2 at MMIO 0x48020000 (irq = 106) is a OMAP UART2
    [    3.168548] console [ttyO2] enabled
    [    3.172851] omap_uart.3: ttyO3 at MMIO 0x4806e000 (irq = 102) is a OMAP UART3
    [    3.181762] omap_ion_probe: adding heap secure_input of type 2 with ba300000@5a00000
    [    3.190399] omap_ion_probe: adding heap tiler of type 4 with ada00000@6000000
    [    3.198486] omap_ion_probe: adding heap nonsecure_tiler of type 4 with a0200000@2000000
    [    3.216156] brd: module loaded
    [    3.221160] loop: module loaded
    [    3.227416] (stk) :sysfs entries created
    [    3.232177] (stk) : debugfs entries created
    [    3.237091] No CPUfreq policy at this point.
    [    3.250732] twl: i2c_write failed to transfer all messages (addr 0x004b, reg 4, len 2)
    [    3.262542] PPP generic driver version 2.4.2
    [    3.268829] PPP Deflate Compression module registered
    [    3.274810] PPP BSD Compression module registered
    [    3.281188] PPP MPPE Compression module registered
    [    3.286682] NET: Registered protocol family 24
    [    3.291473] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    3.302032] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    [    3.308349] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    [    3.317047] ehci-omap ehci-omap.0: irq 109, io mem 0x4a064c00
    [    3.351623] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    [    3.351654] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    3.365783] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.365783] usb usb1: Product: OMAP-EHCI Host Controller
    [    3.379943] usb usb1: Manufacturer: Linux 3.0.21-00002-OMAP-Android+ ehci_hcd
    [    3.387878] usb usb1: SerialNumber: ehci-omap.0
    [    3.393829] hub 1-0:1.0: USB hub found
    [    3.398071] hub 1-0:1.0: 3 ports detected
    [    3.439910] usbcore: registered new interface driver cdc_acm
    [    3.439910] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    3.463195] Initializing USB Mass Storage driver...
    [    3.468963] usbcore: registered new interface driver usb-storage
    [    3.475646] USB Mass Storage support registered.
    [    3.480895] usbcore: registered new interface driver usbserial
    [    3.487640] usbserial: USB Serial Driver core
    [    3.793914] android_usb gadget: Mass Storage Function, version: 2009/09/11
    [    3.801574] android_usb gadget: Number of LUNs=1
    [    3.801574]  lun0: LUN: removable file: (no medium)
    [    3.812316] android_usb gadget: android_usb ready
    [    3.817993] musb-hdrc musb-hdrc: MUSB HDRC host driver
    [    3.823730] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 2
    [    3.823730] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    3.839569] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.839569] usb usb2: Product: MUSB HDRC host driver
    [    3.839569] usb usb2: Manufacturer: Linux 3.0.21-00002-OMAP-Android+ musb-hcd
    [    3.861206] usb usb2: SerialNumber: musb-hdrc
    [    3.866638] hub 2-0:1.0: USB hub found
    [    3.871002] hub 2-0:1.0: 1 port detected
    [    4.174163] mousedev: PS/2 mouse device common for all mice
    [    4.182098] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    4.190490] [egalax_i2c]:  /proc/egalax_dbg created
    [    4.190490] [egalax_i2c]:  Driver init done!
    [    4.196014] [egalax_i2c]:  Start probe
    [    4.205047] input: eGalax_Touch_Screen as /devices/virtual/input/input1
    [    4.212768] [egalax_i2c]:  Register input device done
    [    4.218750] [egalax_i2c]:  Request irq(312) gpio(152) with result:0
    [    4.219085] [egalax_i2c]:  Get Device type=0
    [    4.230621] [egalax_i2c]:  Register early_suspend done
    [    4.236450] [egalax_i2c]:  I2C probe done
    [    4.241943] twl6030_pwrbutton_probe: Enter
    [    4.247009] input: twl6030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-

    0049/twl6030_pwrbutton/input/input2
    [    4.260284] input: cwmi_acc as /devices/virtual/input/input3
    [    4.260772] cwmi_ori_input_init
    [    4.260772] input: cwmi_orientation as /devices/virtual/input/input4
    [    4.278442] cwmi_acc i2c device created (Interruptible=0).
    [    4.278442] input: cwmi_mag as /devices/virtual/input/input5
    [    4.291229] cwmi_mag i2c device created (Interruptible=0).
    [    4.291229] i2c-core: driver [cwmi] using legacy suspend method
    [    4.304290] i2c-core: driver [cwmi] using legacy resume method
    [    4.310882] CyWee CWGD 3-axis digital Gyroscope: probe start.
    [    4.318206] i2c Device detected!
    [    4.322448] tony: cwgd_probe(): =0xd3 WHOAMI_CWGD=0xd3
    [    4.322448] tony: cwgd_probe(): sensor->client->irq=0
    [    4.334106] input: CyWee CWGD 3-axis digital Gyroscope as

    /devices/platform/omap/omap_i2c.2/i2c-2/2-0069/input/input6
    [    4.346160] tony: cwgd_probe(): ok
    [    4.346160] CyWee CWGD 3-axis digital Gyroscope probed: device created successfully:

    interruptible: 0 irq=0
    [    4.364685] using rtc device, twl_rtc, for alarms
    [    4.370300] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
    [    4.377838] i2c /dev entries driver
    [    4.382690] lirc_dev: IR Remote Control driver registered, major 249
    [    4.382690] IR NEC protocol handler initialized
    [    4.395019] IR RC5(x) protocol handler initialized
    [    4.400451] IR RC6 protocol handler initialized
    [    4.405517] IR JVC protocol handler initialized
    [    4.410614] IR Sony protocol handler initialized
    [    4.415863] IR RC5 (streamzap) protocol handler initialized
    [    4.415863] IR LIRC bridge handler initialized
    [    4.427124] Linux video capture interface: v2.00
    [    4.432525] dmm: probe base: fd300000, irq 145
    [    4.437591] MAX17042: Lishen battery detected
    [    4.446594] i2c-core: driver [max17042] using legacy suspend method
    [    4.453735] i2c-core: driver [max17042] using legacy resume method
    [    4.468719] ltr328 init start......
    [    4.472747] [ LTR328 ] LTR328 probe
    [    4.479003] input: LTR328 Light Sensor as /devices/platform/omap/omap_i2c.2/i2c-2/2-

    0029/input/input7
    [    4.489318] [ LTR328 ] input_register_device err = 0
    [    4.495239] [ LTR328 ] ltr328_add_fs ret = 0
    [    4.500305] i2c-core: driver [ltr328] using legacy suspend method
    [    4.507263] i2c-core: driver [ltr328] using legacy resume method
    [    4.515014] OMAP Watchdog Timer Rev 0x00: initial timeout 30 sec
    [    4.523620] device-mapper: uevent: version 1.0.3
    [    4.529235] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-

    devel@redhat.com
    [    4.538726] Bluetooth: HCI UART driver ver 2.2
    [    4.543731] Bluetooth: HCI H4 protocol initialized
    [    4.549163] Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
    [    4.558044] Turn on  the WIFI power
    [    4.562164] cpuidle: using governor ladder
    [    4.566833] cpuidle: using governor menu
    [    4.577728] omap4430_sdp_display_probe:Enter
    [    4.582824] Registered led device: lcd-backlight
    [    4.666503] (stc): st_register(2)
    [    4.670227] (stc):  chnl_id list empty :2
    [    4.674865] (stk) : st_kim_start
    [    4.678588] mmc0: new high speed DDR MMC card at address 0001
    [    4.690490] mmcblk0: mmc0:0001 M8G2FA 7.45 GiB
    [    4.697784] mmcblk0boot0: mmc0:0001 M8G2FA partition 1 512 KiB
    [    4.704589] mmcblk0boot1: mmc0:0001 M8G2FA partition 2 512 KiB
    [    4.713867] [egalax_i2c]:  Close egalax_i2c_wq_loopback work
    [    4.720977] [egalax_i2c]:  Get Device type=2
    [    4.725830] Alternate GPT is invalid, using primary GPT.
    [    4.731933]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
    [    4.741577]  mmcblk0boot1: unknown partition table
    [    4.748168]  mmcblk0boot0: unknown partition table
    [    4.796630] (stk) :ldisc_install = 1
    [    4.800476] omap4430_sdp_display_probe:Exit
    [    4.808380] usbcore: registered new interface driver usbhid
    [    4.814666] usbhid: USB HID core driver
    [    4.819610] logger: created 256K log 'log_main'
    [    4.824920] logger: created 256K log 'log_events'
    [    4.830291] logger: created 256K log 'log_radio'
    [    4.835632] logger: created 256K log 'log_system'
    [    4.841186] thermal_governor_dev_register:Adding omap_ondie_governor governor
    [    4.850219] OMAP HSI: HSI driver version 0.4.3
    [    4.855682] OMAP HSI: Platform DRIVER register FAILED: -19
    [    4.862335] usbcore: registered new interface driver snd-usb-audio
    [    4.872985] SDP4430 SoC init
    [    4.912902] asoc: null-codec-dai <-> MultiMedia1 mapping ok
    [    4.920837] asoc: null-codec-dai <-> MultiMedia2 mapping ok
    [    4.929199] asoc: null-codec-dai <-> Voice mapping ok
    [    4.936553] asoc: null-codec-dai <-> Tones mapping ok
    [    4.943786] asoc: null-codec-dai <-> Vibra mapping ok
    [    4.950531] asoc: null-codec-dai <-> MODEM mapping ok
    [    4.957244] asoc: null-codec-dai <-> MultiMedia1 LP mapping ok
    [    4.965881] asoc: FM Digital <-> omap-mcbsp-dai.1 mapping ok
    [    4.973846] asoc: twl6040-dl1 <-> mcpdm-dl mapping ok
    [    4.981903] asoc: dmic-hifi <-> omap-dmic-dai-0 mapping ok
    [    4.990356] twl6040-codec twl6040-codec: ASoC: Failed to create Aux/FM Stereo In debugfs

    file
    [    5.001098] asoc: twl6040-dl1 <-> mcpdm-dl1 mapping ok
    [    5.007904] asoc: twl6040-ul <-> mcpdm-ul1 mapping ok
    [    5.014648] asoc: twl6040-dl2 <-> mcpdm-dl2 mapping ok
    [    5.021484] asoc: twl6040-vib <-> mcpdm-vib mapping ok
    [    5.028320] asoc: Bluetooth <-> omap-mcbsp-dai.0 mapping ok
    [    5.035797] asoc: Bluetooth <-> omap-mcbsp-dai.0 mapping ok
    [    5.043151] asoc: FM Digital <-> omap-mcbsp-dai.1 mapping ok
    [    5.050720] asoc: MODEM <-> omap-mcbsp-dai.1 mapping ok
    [    5.057617] asoc: dmic-hifi <-> omap-dmic-abe-dai-0 mapping ok
    [    5.065307] asoc: dmic-hifi <-> omap-dmic-abe-dai-1 mapping ok
    [    5.072906] asoc: dmic-hifi <-> omap-dmic-abe-dai-2 mapping ok
    [    5.080657] asoc: null-codec-dai <-> omap-abe-vxrec-dai mapping ok
    [    5.090637] input: Tablet44xx Headset Jack as /devices/platform/soc-

    audio/sound/card0/input8
    [    5.104003] asoc: hdmi-audio-codec <-> hdmi-audio-dai mapping ok
    [    5.111419] ALSA device list:
    [    5.114807]   #0: TI OMAP4 Board
    [    5.118438]   #1: OMAP4HDMI
    [    5.121887] GACT probability NOT on
    [    5.125823] Mirror/redirect action on
    [    5.129943] u32 classifier
    [    5.133026]     Actions configured
    [    5.136962] Netfilter messages via NETLINK v0.30.
    [    5.142303] nf_conntrack version 0.5.0 (10599 buckets, 42396 max)
    [    5.150787] ctnetlink v0.93: registering with nfnetlink.
    [    5.157165] xt_time: kernel timezone is -0000
    [    5.165405] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    5.171630] arp_tables: (C) 2002 David S. Miller
    [    5.176910] TCP cubic registered
    [    5.181640] NET: Registered protocol family 10
    [    5.195404] Mobile IPv6
    [    5.198242] IPv6 over IPv4 tunneling driver
    [    5.211669] NET: Registered protocol family 17
    [    5.216705] NET: Registered protocol family 15
    [    5.221862] Bluetooth: RFCOMM TTY layer initialized
    [    5.227416] Bluetooth: RFCOMM socket layer initialized
    [    5.233154] Bluetooth: RFCOMM ver 1.11
    [    5.237457] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    5.243377] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [    5.250274] NET: Registered protocol family 35
    [    5.255859] NET: Registered protocol family 37
    [    5.260864] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    5.269592] ThumbEE CPU extension supported.
    [    5.274383] Registering SWP/SWPB emulation handler
    [    5.286071] Reprogramming LPDDR2 timings to 400000000 Hz
    [    5.292358] sr_init: No PMIC hook to init smartreflex
    [    5.298370] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
    [    5.307220] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
    [    5.316101] smartreflex smartreflex.2: omap_sr_probe: SmartReflex driver initialized
    [    5.325195] SmartReflex class 1.5 driver: initialized (86400000ms)
    [    5.332153] thermal_cooling_dev_register:Found cpu cpu
    [    5.338897] Power Management for TI OMAP4.
    [    5.343688] OMAP4 PM: Static dependency added between MPUSS <-> EMIF, MPUSS <->

    L4_PER/CFG MPUSS <-> L3_MAIN_1.
    [    5.354644] OMAP4 PM: Static dependency added between DUCATI <-> L4_PER/CFG and DUCATI <

    -> L3.
    [    5.374267] clock: disabling unused clocks to save power
    [    5.424346] sr_class1p5_calib_work: mpu: Calibration complete: Voltage

    Nominal=1200000Calib=1076140 margin=0
    [    5.435028] sr_class1p5_calib_work: core: Calibration complete: Voltage

    Nominal=1127000Calib=1025500 margin=0
    [    5.445739] sr_class1p5_calib_work: iva: Calibration complete: Voltage

    Nominal=950000Calib=848260 margin=0
    [    5.549407] sr_class1p5_calib_work: core: Calibration complete: Voltage

    Nominal=962000Calib=873580 margin=0
    [    5.560394] sr_class1p5_calib_work: mpu: Calibration complete: Voltage

    Nominal=1025000Calib=898900 margin=0
    [    5.621948] cannot apply mgr(lcd) on inactive device
    [    5.627746] omapfb omapfb: failed to apply dispc config
    [    5.633911] cannot apply mgr(tv) on inactive device
    [    5.639617] omapfb omapfb: failed to apply dispc config
    [    5.645294] cannot apply mgr(lcd2) on inactive device
    [    5.650848] omapfb omapfb: failed to apply dispc config
    [    5.656433] tc358765 display0: enable
    [    5.660430] tc358765 display0: power_on
    [    5.807312] omapdss DSI error: rx fifo not empty when sending BTA, dumping data:
    [    5.815734] omapdss DSI error:       rawval 0x17000202
    [    5.821014] omapdss DSI error:       ACK with ERROR (0x2):
    [    5.826873] omapdss DSI error:               SoT Sync Error
    [    5.869628] tc358765 display0: power_on done
    [    5.879058] twl_rtc twl_rtc: setting system clock to 2012-05-28 08:24:30 UTC (1338193470)
    [    5.889984] Freeing init memory: 284K
    [    5.903991] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj

    instead.
    [    5.963378] (stk) :ldisc installation timeout
    [    5.963409] sr_class1p5_calib_work: mpu: Calibration complete: Voltage

    Nominal=1388000Calib=1202740 margin=0
    [    5.987640] Invalid Device Structure
    [    5.991638] (stk) :ldisc_install = 0
    [    6.037353] keychord: using input dev gpio-keys for fevent
    [    6.108673] EXT4-fs (mmcblk0p8): INFO: recovery required on readonly filesystem
    [    6.117034] EXT4-fs (mmcblk0p8): write access will be enabled during recovery
    [    6.132568] EXT4-fs (mmcblk0p8): recovery complete
    [    6.147918] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)
    [    7.150909] (stk) : timed out waiting for ldisc to be un-installed
    [    7.262817] (stk) :ldisc_install = 1
    [    7.313323] omap-rproc omap-rproc.1: Loaded BIOS image ducati-m3.bin, size 5756300
    [    7.322235] omap-rproc omap-rproc.1: BIOS image version is 2
    [    7.393737] omap_hwmod: ipu: failed to hardreset
    [    7.398742] omap-iommu omap-iommu.0: ducati: version 2.1
    [    7.411590] omap-rproc omap-rproc.1: remote processor ipu is now up
    [    7.424743] omap_rpmsg_mbox_callback: received echo reply from ipu !
    [    7.431579] omap_rpmsg_mbox_callback: received echo reply from ipu !
    [    7.438385] omap_rpmsg_mbox_callback: received echo reply from ipu !
    [    7.445312] omap_rpmsg_mbox_callback: received echo reply from ipu !
    [    7.452301] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x32
    [    7.460784] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x33
    [    7.469268] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx addr 0x3c
    [    7.477081] rpmsg_omx rpmsg-omx0: new OMX connection srv channel: 1024 -> 60!
    [    7.915130] virtio_rpmsg_bus virtio1: creating channel rpmsg-omx addr 0x3c
    [    7.916931] EXT4-fs (mmcblk0p11): recovery complete
    [    7.929534] rpmsg_omx rpmsg-omx1: new OMX connection srv channel: 1024 -> 60!
    [    7.937805] EXT4-fs (mmcblk0p11): mounted filesystem with ordered data mode. Opts:

    nomblk_io_submit
    [    7.973663] EXT4-fs (mmcblk0p9): recovery complete
    [    7.983947] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts:

    nomblk_io_submit
    [    7.995269] EXT4-fs (mmcblk0p4): VFS: Can't find ext4 filesystem
    [    8.081634] EXT4-fs (mmcblk0p10): VFS: Can't find ext4 filesystem
    [    8.238677] HDCP: failed to load keys
    [    8.244171] init: cannot find '/system/etc/install-recovery.sh', disabling

    'flash_recovery'
    [    8.309356] compat: version magic '3.0.21-00002-OMAP-Android SMP preempt mod_unload ARMv7

    ' should be '3.0.21-00002-OMAP-Android+ SMP preempt mod_unload ARMv7 '
    [    8.416595] (stk) :ldisc installation timeout
    [    8.421630] (stk) :ldisc_install = 0
    [    8.547393] cfg80211: version magic '3.0.21-00002-OMAP-Android SMP preempt mod_unload

    ARMv7 ' should be '3.0.21-00002-OMAP-Android+ SMP preempt mod_unload ARMv7 '
    [    8.766510] PVR: PVRCore_Init
    [    8.774078] PVR: PVRSRVDriverProbe(pDevice=c78a4000)
    [    8.782348] PVR: SGX register base: 0x56000000
    [    8.791900] PVR: SGX register size: 65535
    [    8.796386] PVR: SGX IRQ: 53
    [    8.799652] PVR: EnableSystemClocks: Enabling System Clocks
    [    8.806671] PVR: PVRCore_Init: major device 247
    [    8.889251] omaplfbOMAPLFBInit: Blitsville gc2d not present, blits disabled
    [    8.897613] omaplfb OMAPLFBInitIonOmap: Device 0: Requesting 2 TILER 2D framebuffers
    [    9.078460] mac80211: version magic '3.0.21-00002-OMAP-Android SMP preempt mod_unload

    ARMv7 ' should be '3.0.21-00002-OMAP-Android+ SMP preempt mod_unload ARMv7 '
    [    9.219207] wl12xx: version magic '3.0.21-00002-OMAP-Android SMP preempt mod_unload ARMv7

    ' should be '3.0.21-00002-OMAP-Android+ SMP preempt mod_unload ARMv7 '
    [    9.229553] EXT4-fs (mmcblk0p8): re-mounted. Opts: (null)
    [    9.254913] android_usb: already disabled
    [    9.259643] mtp_bind_config
    [    9.265716] adb_bind_config
    [    9.273681] warning: `adbd' uses 32-bit capabilities (legacy support in use)
    [    9.287414] adb_open
    [    9.348327] PVR: Installing MISR with cookie bf038728
    [    9.373840] PVR: Installing device LISR SGX ISR on IRQ 53 with cookie c7a7bd00
    [    9.382873] PVR: OSUnMapPhysToLin: unmapping 65535 bytes from c8be0000
    [    9.395721] PVR: SysFinalise: Version string: SGX revision = 1.2.0
    [    9.448730] EXT4-fs (mmcblk0p8): re-mounted. Opts: (null)
    [    9.580627] (stk) : timed out waiting for ldisc to be un-installed
    [    9.696960] android_work: sent uevent USB_STATE=CONNECTED
    [    9.701110] (stk) :ldisc_install = 1
    [    9.707672] android_work: sent uevent USB_STATE=DISCONNECTED
    [    9.744873] rpmsg_omx rpmsg-omx1: local addr assigned: 0x401
    [    9.760772] rpmsg_omx rpmsg6: conn rsp: status 0 addr 101
    [    9.947204] android_work: sent uevent USB_STATE=CONNECTED
    [    9.961822] android_usb gadget: high speed config #1: android
    [    9.969055] android_work: sent uevent USB_STATE=CONFIGURED
    [   10.017883] tc358765 display0: disable
    [   10.017974] misc dsscomp: [c735e400] ignoring set failure -22
    [   10.059631] tc358765 display0: enable
    [   10.059661] tc358765 display0: power_on
    [   10.073242] rprm_gpio_request: error providing gpio 38
    [   10.073242] rprm_resource_alloc: request for 10 (GPIO) failed: -16
    [   10.073272] rpmsg_resmgr rpmsg2: resource allocation failed! ret -16
    [   10.074615] omap_rpmsg_mbox_callback: ipu has just crashed !
    [   10.074645] dump_ipu_registers: REGISTER DUMP FOR REMOTEPROC ipu
    [   10.074645] dump_ipu_registers: PC is at 00000000
    [   10.074676] dump_ipu_registers: LR is at 002d2fab
    [   10.074676] dump_ipu_registers: pc : [<00000000>]    lr : [<002d2fab>]    psr: 20000000
    [   10.074676] sp : 8510e410  ip : 8510e378  fp : 00000000
    [   10.074676] dump_ipu_registers: r10: 8513c9a8  r9 : 00000004  r8 : 851278a8
    [   10.074707] dump_ipu_registers: r7 : 8513e140  r6 : 00000000  r5 : 8513c9a8  r4 :

    00000000
    [   10.074707] dump_ipu_registers: r3 : 00000000  r2 : 00000004  r1 : 00000000  r0 :

    8513e0f8
    [   10.074707] dump_ipu_registers: Flags: nzCv  IRQs on  FIQs on
    [   10.075286] _event_notify: remoteproc: ipu has crashed
    [   10.075286] rpmsg_rproc_error: Fatal error in ipu
    [   10.075317] rpmsg_rproc_error: Fatal error in ipu
    [   10.075317] omap_rpmsg_mbox_callback: ipu has just crashed !
    [   10.075317] rpmsg_reset_work: reseting virtio device 0
    [   10.075469] rpmsg_resmgr rpmsg0: Enter rprm_remove
    [   10.075866] rpmsg_omx rpmsg-omx0: rpmsg omx driver is removed
    [   10.076141] rpmsg_reset_work: reseting virtio device 1
    [   10.076263] rpmsg_resmgr rpmsg2: Enter rprm_remove
    [   10.076507] rpmsg_omx rpmsg-omx1: rpmsg omx driver is removed
    [   10.076568] rproc_reset_poolmem: invalid pool
    [   10.076782] omap-rproc omap-rproc.1: stopped remote processor ipu
    [   10.077178] omap-rproc omap-rproc.1: powering up ipu
    [   10.087249] virtio_rpmsg_bus virtio2: rpmsg backend virtproc probed successfully
    [   10.088104] virtio_rpmsg_bus virtio3: rpmsg backend virtproc probed successfully
    [   10.148803] omap-rproc omap-rproc.1: Loaded BIOS image ducati-m3.bin, size 5756300
    [   10.148834] omap-rproc omap-rproc.1: BIOS image version is 2
    [   10.197875] omapdss DSI error: rx fifo not empty when sending BTA, dumping data:
    [   10.197906] omapdss DSI error:       rawval 0x17000202
    [   10.197906] omapdss DSI error:       ACK with ERROR (0x2):
    [   10.197906] omapdss DSI error:               SoT Sync Error
    [   10.221374] omap_hwmod: ipu: failed to hardreset
    [   10.222259] omap-iommu omap-iommu.0: ducati: version 2.1
    [   10.232208] omap-rproc omap-rproc.1: remote processor ipu is now up
    [   10.236816] tc358765 display0: power_on done
    [   10.479278] omap_rpmsg_mbox_callback: received echo reply from ipu !
    [   10.479278] omap_rpmsg_mbox_callback: received echo reply from ipu !
    [   10.479309] virtio_rpmsg_bus virtio2: creating channel rpmsg-client-sample addr 0x32
    [   10.479522] virtio_rpmsg_bus virtio2: creating channel rpmsg-client-sample addr 0x33
    [   10.479644] virtio_rpmsg_bus virtio2: creating channel rpmsg-omx addr 0x3c
    [   10.479949] rpmsg_omx rpmsg-omx0: new OMX connection srv channel: 1024 -> 60!
    [   10.479949] omap_rpmsg_mbox_callback: received echo reply from ipu !
    [   10.479949] omap_rpmsg_mbox_callback: received echo reply from ipu !
    [   10.540100] virtio_rpmsg_bus virtio3: creating channel rpmsg-omx addr 0x3c
    [   10.540313] rpmsg_omx rpmsg-omx1: new OMX connection srv channel: 1024 -> 60!
    [   10.854064] (stk) :ldisc installation timeout
    [   10.858856] (stk) :ldisc_install = 0
    [   12.018859] (stk) : timed out waiting for ldisc to be un-installed
    [   12.191436] (stk) :ldisc_install = 1
    [   12.619689] sr_class1p5_calib_work: mpu: Calibration complete: Voltage

    Nominal=1325000Calib=1126780 margin=0
    [   13.346252] (stk) :ldisc installation timeout
    [   13.350799] (stk) :ldisc_install = 0
    [   14.510345] (stk) : timed out waiting for ldisc to be un-installed
    [   14.659332] (stk) :ldisc_install = 1cwmi accelerometer enabled
    [   15.291473] [ cwmi ] cwmi_ori_report_control, 131082
    [   15.308990] [ cwmi ] cwmi_mag_report_values, x 519, y 230, z66
    [   15.316253] [ cwmi ] cwmi_ori_report_control, 196618
    [   15.332763] [ cwmi ] cwmi_mag_report_values, x 512, y 229, z70
    [   15.357635] [ cwmi ] cwmi_mag_report_values, x 518, y 230, z66
    [   15.379394] [ cwmi ] cwmi_mag_report_values, x 520, y 226, z69
    [   15.403747] [ cwmi ] cwmi_mag_report_values, x 521, y 229, z73
    [   15.426727] [ cwmi ] cwmi_mag_report_values, x 522, y 229, z72
    [   15.451629] [ cwmi ] cwmi_mag_report_values, x 514, y 226, z73
    [   15.473388] [ cwmi ] cwmi_mag_report_values, x 514, y 230, z69
    [   15.498138] [ cwmi ] cwmi_mag_report_values, x 519, y 228, z69
    [   15.519897] [ cwmi ] cwmi_mag_report_values, x 523, y 228, z66
    [   15.544372] [ cwmi ] cwmi_mag_report_values, x 520, y 230, z75
    [   15.567108] [ cwmi ] cwmi_mag_report_values, x 525, y 229, z71
    [   15.592620] [ cwmi ] cwmi_mag_report_values, x 513, y 228, z73
    [   15.613983] [ cwmi ] cwmi_mag_report_values, x 517, y 230, z68
    [   15.638702] [ cwmi ] cwmi_mag_report_values, x 523, y 227, z64
    [   15.660552] [ cwmi ] cwmi_mag_report_values, x 525, y 230, z69
    [   15.684997] [ cwmi ] cwmi_mag_report_values, x 525, y 226, z68
    [   15.707855] [ cwmi ] cwmi_mag_report_values, x 524, y 230, z76
    [   15.732910] [ cwmi ] cwmi_mag_report_values, x 525, y 230, z67
    [   15.754608] [ cwmi ] cwmi_mag_report_values, x 510, y 230, z69
    [   15.779357] [ cwmi ] cwmi_mag_report_values, x 519, y 230, z65
    [   15.801177] [ cwmi ] cwmi_mag_report_values, x 514, y 229, z69
    [   15.815185] (stk) :ldisc installation timeout
    [   15.819763] (stk) :ldisc_install = 0[ cwmi ] cwmi_mag_report_values, x 529, y 230, z74
    [   15.848083] [ cwmi ] cwmi_mag_report_values, x 523, y 228, z72
    [   15.872985] [ cwmi ] cwmi_mag_report_values, x 525, y 226, z72
    [   15.895751] [ cwmi ] cwmi_mag_report_values, x 518, y 230, z68
    [   15.920013] [ cwmi ] cwmi_mag_report_values, x 515, y 228, z67
    [   15.941894] [ cwmi ] cwmi_mag_report_values, x 509, y 228, z68
    [   15.966247] [ cwmi ] cwmi_mag_report_values, x 515, y 228, z72
    [   15.989166] [ cwmi ] cwmi_mag_report_values, x 530, y 229, z72
    [   16.014678] [ cwmi ] cwmi_mag_report_values, x 514, y 228, z70
    [   16.036437] [ cwmi ] cwmi_mag_report_values, x 522, y 229, z64
    [   16.060607] [ cwmi ] cwmi_mag_report_values, x 505, y 230, z69
    [   16.082519] [ cwmi ] cwmi_mag_report_values, x 512, y 230, z69
    [   16.106842] [ cwmi ] cwmi_mag_report_values, x 522, y 227, z72
    [   16.129760] [ cwmi ] cwmi_mag_report_values, x 527, y 228, z71
    [   16.154724] [ cwmi ] cwmi_mag_report_values, x 517, y 227, z66
    [   16.162017] [ LTR328 ] LTR328 active_set buf = 1
    [   16.162048]
    [   16.172210] cwmi accelerometer disabled
    [   16.176879] [ cwmi ] cwmi_ori_report_control, 65546
    [   16.183288] [ cwmi ] cwmi_ori_report_control, 10
    [   16.188781] [ LTR328 ] LTR328 active_set buf = 0
    [   16.188781]
    [   16.986816] (stk) : timed out waiting for ldisc to be un-installed
    [   17.152313] (stk) :ldisc_install = 1
    [   18.307495] (stk) :ldisc installation timeout
    [   18.314758] (stk) :ldisc_install = 0
    [   19.303802] request_suspend_state: wakeup (3->0) at 19301391604 (2012-05-28

    08:24:43.915710450 UTC)
    [   19.328765] =LEO=omap4_tablet_set_primary_brightness 102
    [   19.471160] (stk) : timed out waiting for ldisc to be un-installed
    [   19.477783] Bluetooth: st_register failed -22
    [   21.086639] cwmi accelerometer enabled
    [   21.091674] Sensor [cwmi_acc] interval is 200
    [   21.097045] Sensor [cwmi_acc] interval is 200
    [   21.102905] odr mask=0x20
    [   21.106781] Sensor [cwmi_acc] interval is 66
    [   21.111572] Sensor [cwmi_acc] interval is 66
    [   21.116546] odr mask=0x30
    [   21.251983] init: no such service 'dhcpcd_:-h android-69376abe513cfc0 '
    [   21.355804] acc_open
    [   21.358276] acc_release
    [   23.004882] mtp_open
    [   25.018615] binder: release proc 163, transaction 4262, not freed
    shell@android:/ $ [   69.057891] sr_class1p5_calib_work: iva: Calibration complete: Voltage

    Nominal=1114000Calib=1012840 margin=0
    [   73.627838] init: no such service 'hciattach'
    [   73.628448] Turn on  the WIFI power
    [   73.737396] (stc): st_register(2)
    [   73.741149] (stc):  chnl_id list empty :2
    [   73.752685] (stk) : st_kim_start
    [   73.863281] (stk) :ldisc_install = 1
    [   75.018920] (stk) :ldisc installation timeout
    [   75.024261] (stk) :ldisc_install = 0
    [   76.182952] (stk) : timed out waiting for ldisc to be un-installed
    [   76.295593] (stk) :ldisc_install = 1
    [   77.456390] (stk) :ldisc installation timeout
    [   77.461547] (stk) :ldisc_install = 0
    [   78.620452] (stk) : timed out waiting for ldisc to be un-installed
    [   78.733032] (stk) :ldisc_install = 1
    [   79.893920] (stk) :ldisc installation timeout
    [   79.899230] (stk) :ldisc_install = 0
    [   81.057983] (stk) : timed out waiting for ldisc to be un-installed
    [   81.170471] (stk) :ldisc_install = 1
    [   82.331390] (stk) :ldisc installation timeout
    [   82.336547] (stk) :ldisc_install = 0
    [   83.495452] (stk) : timed out waiting for ldisc to be un-installed
    [   83.607879] (stk) :ldisc_install = 1
    [   84.768920] (stk) :ldisc installation timeout
    [   84.774047] (stk) :ldisc_install = 0
    [   85.932983] (stk) : timed out waiting for ldisc to be un-installed
    [   86.046447] (stk) :ldisc_install = 1
    [   87.206420] (stk) :ldisc installation timeout
    [   87.211578] (stk) :ldisc_install = 0
    [   88.370452] (stk) : timed out waiting for ldisc to be un-installed
    [   88.377624] Bluetooth: st_register failed -22
    [   88.483459] Turn on  the WIFI power
    [   88.597045] (stc): st_register(2)
    [   88.600830] (stc):  chnl_id list empty :2
    [   88.605743] (stk) : st_kim_start
    [   88.721923] (stk) :ldisc_install = 1
    [   89.878234] (stk) :ldisc installation timeout
    [   89.883544] (stk) :ldisc_install = 0
    [   91.042358] (stk) : timed out waiting for ldisc to be un-installed
    [   91.154510] (stk) :ldisc_install = 1
    [   92.307922] (stk) :ldisc installation timeout
    [   92.313079] (stk) :ldisc_install = 0
    [   93.471984] (stk) : timed out waiting for ldisc to be un-installed
    [   93.584228] (stk) :ldisc_install = 1
    [   94.737609] (stk) :ldisc installation timeout
    [   94.742919] (stk) :ldisc_install = 0
    [   95.901672] (stk) : timed out waiting for ldisc to be un-installed
    [   96.013916] (stk) :ldisc_install = 1
    [   97.167297] (stk) :ldisc installation timeout
    [   97.172454] (stk) :ldisc_install = 0
    [   98.331359] (stk) : timed out waiting for ldisc to be un-installed
    [   98.443572] (stk) :ldisc_install = 1
    [   99.596984] (stk) :ldisc installation timeout
    [   99.602294] (stk) :ldisc_install = 0
    [  100.761077] (stk) : timed out waiting for ldisc to be un-installed
    [  100.873260] (stk) :ldisc_install = 1
    [  102.026672] (stk) :ldisc installation timeout
    [  102.031829] (stk) :ldisc_install = 0
    [  103.190795] (stk) : timed out waiting for ldisc to be un-installed
    [  103.197967] Bluetooth: st_register failed -22
    [  103.304534] Turn on  the WIFI power
    [  103.417297] (stc): st_register(2)
    [  103.421081] (stc):  chnl_id list empty :2
    [  103.425842] (stk) : st_kim_start
    [  103.534484] (stk) :ldisc_install = 1
    [  104.690734] (stk) :ldisc installation timeout
    [  104.696075] (stk) :ldisc_install = 0
    [  105.854797] (stk) : timed out waiting for ldisc to be un-installed
    [  105.966979] (stk) :ldisc_install = 1
    [  107.120422] (stk) :ldisc installation timeout
    [  107.125579] (stk) :ldisc_install = 0
    [  108.284545] (stk) : timed out waiting for ldisc to be un-installed
    [  108.396759] (stk) :ldisc_install = 1
    [  109.550140] (stk) :ldisc installation timeout
    [  109.555480] (stk) :ldisc_install = 0
    [  110.714172] (stk) : timed out waiting for ldisc to be un-installed
    [  110.826416] (stk) :ldisc_install = 1
    [  111.979827] (stk) :ldisc installation timeout
    [  111.984985] (stk) :ldisc_install = 0
    [  113.143920] (stk) : timed out waiting for ldisc to be un-installed
    [  113.256103] (stk) :ldisc_install = 1
    [  114.409484] (stk) :ldisc installation timeout
    [  114.414825] (stk) :ldisc_install = 0
    [  115.573577] (stk) : timed out waiting for ldisc to be un-installed
    [  115.689422] (stk) :ldisc_install = 1
    [  116.846984] (stk) :ldisc installation timeout
    [  116.852111] (stk) :ldisc_install = 0
    [  118.011108] (stk) : timed out waiting for ldisc to be un-installed
    [  118.018280] Bluetooth: st_register failed -22
    [  118.124877] Turn on  the WIFI power
    [  118.237609] (stc): st_register(2)
    [  118.241424] (stc):  chnl_id list empty :2
    [  118.246154] (stk) : st_kim_start
    [  118.355255] (stk) :ldisc_install = 1
    [  119.511108] (stk) :ldisc installation timeout
    [  119.516265] (stk) :ldisc_install = 0
    [  120.675109] (stk) : timed out waiting for ldisc to be un-installed
    [  120.787445] (stk) :ldisc_install = 1
    [  121.940765] (stk) :ldisc installation timeout
    [  121.945892] (stk) :ldisc_install = 0
    [  123.104614] (stk) : timed out waiting for ldisc to be un-installed
    [  123.217010] (stk) :ldisc_install = 1
    [  124.370422] (stk) :ldisc installation timeout
    [  124.375732] (stk) :ldisc_install = 0
    [  125.534454] (stk) : timed out waiting for ldisc to be un-installed
    [  125.646545] (stk) :ldisc_install = 1=LEO=omap4_tablet_set_primary_brightness 97
    [  126.472351] =LEO=omap4_tablet_set_primary_brightness 92
    [  126.487976] =LEO=omap4_tablet_set_primary_brightness 88
    [  126.504486] =LEO=omap4_tablet_set_primary_brightness 83
    [  126.520019] =LEO=omap4_tablet_set_primary_brightness 79
    [  126.536590] =LEO=omap4_tablet_set_primary_brightness 74
    [  126.551940] =LEO=omap4_tablet_set_primary_brightness 70
    [  126.568664] =LEO=omap4_tablet_set_primary_brightness 65
    [  126.585815] =LEO=omap4_tablet_set_primary_brightness 60
    [  126.603149] =LEO=omap4_tablet_set_primary_brightness 56
    [  126.620483] =LEO=omap4_tablet_set_primary_brightness 51
    [  126.636322] =LEO=omap4_tablet_set_primary_brightness 47
    [  126.652648] =LEO=omap4_tablet_set_primary_brightness 42
    [  126.669708] =LEO=omap4_tablet_set_primary_brightness 38
    [  126.686126] =LEO=omap4_tablet_set_primary_brightness 33
    [  126.702514] =LEO=omap4_tablet_set_primary_brightness 29
    [  126.718048] =LEO=omap4_tablet_set_primary_brightness 24
    [  126.735229] =LEO=omap4_tablet_set_primary_brightness 20
    [  126.799377] (stk) :ldisc installation timeout
    [  126.804138] (stk) :ldisc_install = 0
    [  127.964172] (stk) : timed out waiting for ldisc to be un-installed
    [  128.076538] (stk) :ldisc_install = 1
    [  129.229858] (stk) :ldisc installation timeout
    [  129.235198] (stk) :ldisc_install = 0
    [  130.393859] (stk) : timed out waiting for ldisc to be un-installed
    [  130.506134] (stk) :ldisc_install = 1
    [  131.659515] (stk) :ldisc installation timeout
    [  131.664672] (stk) :ldisc_install = 0
    [  132.823547] (stk) : timed out waiting for ldisc to be un-installed
    [  132.830688] Bluetooth: st_register failed -22
    [  132.937286] Turn on  the WIFI power
    [  133.050170] (stc): st_register(2)
    [  133.053985] (stc):  chnl_id list empty :2
    [  133.058715] (stk) : st_kim_start
    [  133.169433] (stk) :ldisc_install = 1=LEO=omap4_tablet_set_primary_brightness 15
    [  133.481201] =LEO=omap4_tablet_set_primary_brightness 10
    [  133.497558] =LEO=omap4_tablet_set_primary_brightness 5
    [  133.513031] =LEO=omap4_tablet_set_primary_brightness 0
    [  133.519042] ---brightness and LCM are disabled
    [  133.724914] request_suspend_state: sleep (0->3) at 133722534182 (2012-05-28

    08:26:38.336883545 UTC)
    [  133.734649] [egalax_i2c]:  egalax_i2c_early_suspend
    [  133.740203] [egalax_i2c]:  Enter suspend state:1
    [  133.745727] [egalax_i2c]:  egalax suspend done!!
    [  133.750701] cwmi accelerometer disabled
    [  133.755279] Sensor [cwmi_acc] interval is 66
    [  133.759887] Sensor [cwmi_acc] interval is 66
    [  133.764526] odr mask=0x30
    [  133.767547] DSSCOMP: dsscomp_early_suspend
    [  133.789978] DSSCOMP: blanked screen
    [  133.797058] tc358765 display0: disable
    [  134.322784] (stk) :ldisc installation timeout
    [  134.327545] (stk) :ldisc_install = 0
    [  135.487640] (stk) : timed out waiting for ldisc to be un-installed
    [  135.599884] (stk) :ldisc_install = 1
    [  136.752990] (stk) :ldisc installation timeout
    [  136.757904] (stk) :ldisc_install = 0
    [  137.917297] (stk) : timed out waiting for ldisc to be un-installed
    [  138.029479] (stk) :ldisc_install = 1
    [  139.182922] (stk) :ldisc installation timeout
    [  139.188110] (stk) :ldisc_install = 0
    [  140.347045] (stk) : timed out waiting for ldisc to be un-installed
    [  140.459259] (stk) :ldisc_install = 1
    [  141.612670] (stk) :ldisc installation timeout
    [  141.617950] (stk) :ldisc_install = 0
    [  142.776672] (stk) : timed out waiting for ldisc to be un-installed
    [  142.888946] (stk) :ldisc_install = 1
    [  144.042327] (stk) :ldisc installation timeout
    [  144.047485] (stk) :ldisc_install = 0
    [  145.206359] (stk) : timed out waiting for ldisc to be un-installed
    [  145.318511] (stk) :ldisc_install = 1
    [  146.471984] (stk) :ldisc installation timeout
    [  146.477325] (stk) :ldisc_install = 0
    [  147.636077] (stk) : timed out waiting for ldisc to be un-installed
    [  147.643402] Bluetooth: st_register failed -22
    [  147.749847] Turn on  the WIFI power
    [  147.862609] (stc): st_register(2)
    [  147.866577] (stc):  chnl_id list empty :2
    [  147.871154] (stk) : st_kim_start
    [  147.979858] (stk) :ldisc_install = 1
    [  149.135406] (stk) :ldisc installation timeout
    [  149.140533] (stk) :ldisc_install = 0
    [  150.300109] (stk) : timed out waiting for ldisc to be un-installed
    [  150.412322] (stk) :ldisc_install = 1
    [  151.565795] (stk) :ldisc installation timeout
    [  151.571105] (stk) :ldisc_install = 0
    [  152.729827] (stk) : timed out waiting for ldisc to be un-installed
    [  152.842041] (stk) :ldisc_install = 1
    [  153.995422] (stk) :ldisc installation timeout
    [  154.000549] (stk) :ldisc_install = 0
    [  155.159515] (stk) : timed out waiting for ldisc to be un-installed
    [  155.271789] (stk) :ldisc_install = 1
    [  156.425109] (stk) :ldisc installation timeout
    [  156.430450] (stk) :ldisc_install = 0
    [  157.589172] (stk) : timed out waiting for ldisc to be un-installed
    [  157.701385] (stk) :ldisc_install = 1
    [  158.854827] (stk) :ldisc installation timeout
    [  158.859985] (stk) :ldisc_install = 0
    [  160.018859] (stk) : timed out waiting for ldisc to be un-installed
    [  160.131042] (stk) :ldisc_install = 1
    [  161.284515] (stk) :ldisc installation timeout
    [  161.289825] (stk) :ldisc_install = 0
    [  162.448547] (stk) : timed out waiting for ldisc to be un-installed
    [  162.455902] Bluetooth: st_register failed -22
    [  162.562316] Turn on  the WIFI power
    [  162.675140] (stc): st_register(2)
    [  162.679107] (stc):  chnl_id list empty :2
    [  162.683685] (stk) : st_kim_start
    [  162.792297] (stk) :ldisc_install = 1
    [  163.948577] (stk) :ldisc installation timeout
    [  163.953704] (stk) :ldisc_install = 0
    [  165.112518] (stk) : timed out waiting for ldisc to be un-installed
    [  165.224914] (stk) :ldisc_install = 1
    [  166.386077] (stk) :ldisc installation timeout
    [  166.391204] (stk) :ldisc_install = 0
    [  167.550140] (stk) : timed out waiting for ldisc to be un-installed
    [  167.662322] (stk) :ldisc_install = 1
    [  168.815032] (stk) :ldisc installation timeout
    [  168.820190] (stk) :ldisc_install = 0
    [  169.979858] (stk) : timed out waiting for ldisc to be un-installed
    [  170.092102] (stk) :ldisc_install = 1
    [  171.245483] (stk) :ldisc installation timeout
    [  171.250762] (stk) :ldisc_install = 0
    [  172.409545] (stk) : timed out waiting for ldisc to be un-installed
    [  172.521789] (stk) :ldisc_install = 1
    [  173.675109] (stk) :ldisc installation timeout
    [  173.680236] (stk) :ldisc_install = 0
    [  174.839202] (stk) : timed out waiting for ldisc to be un-installed
    [  174.951568] (stk) :ldisc_install = 1
    [  176.104797] (stk) :ldisc installation timeout
    [  176.110107] (stk) :ldisc_install = 0
    [  177.268218] (stk) : timed out waiting for ldisc to be un-installed

    init.omap4430.rc from L27.IS.1

    on init
        # CBT add start, Summer, 20110917
        # create mountpoints
        mkdir /mnt/sdcard 0777 system system
        mkdir /mnt/sdcard/external 0777 system system
        # CBT add end, Summer, 20110917
        # mount debugfs
        mount debugfs /sys/kernel/debug /sys/kernel/debug

    # power management
    # Enable off mode by default
        write /sys/kernel/debug/pm_debug/enable_off_mode 1
        write /sys/kernel/debug/pm_debug/volt_off_mode 1

    # Enable CPU Idle Path
        write /sys/devices/system/cpu/cpu0/cpuidle/enable_state 1

    # Enable Smart Reflex in debugfs
        write /sys/kernel/debug/pm_debug/smartreflex/sr_core/autocomp 1
        write /sys/kernel/debug/pm_debug/smartreflex/sr_iva/autocomp 1
        write /sys/kernel/debug/pm_debug/smartreflex/sr_mpu/autocomp 1

    on boot

        setprop ro.build.product omap4sdp
        setprop ro.product.device omap4sdp
        setprop ro.radio.noril yes
    #    setprop ro.sf.hwrotation 180
    # fake some battery state
        setprop status.battery.state Slow
        setprop status.battery.level 5
        setprop status.battery.level_raw  50
        setprop status.battery.level_scale 9
    # Foxconn add start, Summer, 20110917
    #for internalstorage
        setprop ro.have.internalstorage true
        setprop ro.volumename Internal
    # Foxconn add end, Summer, 20110917

    # wi-fi
        mkdir /data/misc/wifi/sockets 0770 wifi wifi
        mkdir /data/misc/dhcp 0770 dhcp dhcp

    # phone
    #    setprop ro.telephony.call_ring.multiple 0

    on fs
        mount ext4 /dev/block/platform/mmci-omap-hs.1/by-name/system /system wait ro
        mount ext4 /dev/block/platform/mmci-omap-hs.1/by-name/userdata /data wait noatime nosuid nodev
        mount ext4 /dev/block/platform/mmci-omap-hs.1/by-name/cache /cache wait noatime nosuid nodev

    # permissions for bluetooth.
    #    chown bluetooth bluetooth ro.bt.bdaddr_path

    #service gpsd /system/vendor/bin/gpsd -c /vendor/etc/gps.xml
    #    socket gps seqpacket 0660 gps system
    #    user gps
    #    group system inet

    # create filesystems if necessary
    #service setup_fs /system/bin/setup_fs /dev/block/platform/s3c-sdhci.0/by-name/userdata
    #    user root
    #    group root
    #    oneshot

    # switch CPUfreq from performance to hotplug
        write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor hotplug
        write /sys/devices/system/cpu/cpufreq/hotplug/down_threshold 30

    #Give system ownership and permission to boost clock for specified timeout
    #Note boost_timeout cannot be changed from application because of dynamic sysfs creation. It will have default value of 3 sec.
        chown system system /sys/devices/system/cpu/cpu0/cpufreq/boost_cpufreq
        chmod 0664  /sys/devices/system/cpu/cpu0/cpufreq/boost_cpufreq

    # Boost the CPU for 60 sec for boot optimization
        write /sys/devices/system/cpu/cpufreq/hotplug/boost_timeout 60000000
        write /sys/devices/system/cpu/cpu0/cpufreq/boost_cpufreq 1

    # We chown/chmod /data again so because mount is run as root + defaults
        chown system system /data
        chmod 0771 /data

        chown media media /dev/syslink-proc4430
        chown media media /dev/syslink-procmgr
        chown media media /dev/syslink_ipc
        chown media media /dev/omap-rproc0
        chown media media /dev/omap-rproc1
        chown media media /dev/omap-rproc2
        chown media media /dev/iovmm-omap0
        chown media media /dev/iovmm-omap1
        chown media media /dev/omap-devh0
        chown media media /dev/omap-devh1
        chown media media /dev/omap-devh2

        chmod 660 /dev/syslink-proc4430
        chmod 660 /dev/syslink-procmgr
        chmod 660 /dev/syslink_ipc
        chmod 440 /dev/omap-rproc0
        chmod 440 /dev/omap-rproc1
        chmod 440 /dev/omap-rproc2
        chmod 440 /dev/iovmm-omap0
        chmod 440 /dev/iovmm-omap1
        chmod 440 /dev/omap-devh0
        chmod 440 /dev/omap-devh1
        chmod 440 /dev/omap-devh2

        chown media media /system/bin/syslink_daemon.out
        chown media media /data/base_image_sys_m3.xem3
        chown media media /data/base_image_app_m3.xem3

        chmod 750 /system/bin/syslink_daemon.out
        chmod 640 /data/base_image_sys_m3.xem3
        chmod 640 /data/base_image_app_m3.xem3

        # change permissions for alsa nodes
        chmod 0777  /dev/snd/pcmC0D0c
        chmod 0777 /dev/snd/pcmC0D0p
        chmod 0777  /dev/snd/controlC0
        chmod 0777  /dev/snd/timer

        #change permissions for alsa nodes for audio modem
        chmod 0777 /dev/snd/pcmC0D5c
        chmod 0777 /dev/snd/pcmC0D5p

        #change permissions for alsa nodes for HDMI
        chmod 777  /dev/snd/pcmC0D7p

        # change permissions for modem
        chmod 0660 /dev/ttyS0
        chown radio radio /dev/ttyS0

        # change permissions for Camera
        chmod 0777 /dev/video5
        chmod 0777 /dev/video0
    # Foxconn add start, Summer, 20111105
        # change permissions for V4L2 Camera
        chmod 0777 /dev/video4

        # select V4L2 Camera sensor index
        setprop camera.defaults.index 4
    # Foxconn add end, Summer, 20111105

        # change permissions for Sensors
        chown system system /sys/bus/i2c/drivers/cma3000_accl/4-001c
        chown system system /sys/bus/i2c/drivers/cma3000_accl/4-001c/enable
        chown system system /sys/bus/i2c/drivers/cma3000_accl/4-001c/delay
        chown system system /sys/devices/platform/sfh7741.1
        chown system system /sys/devices/platform/sfh7741.1/state
        chown system system /sys/bus/i2c/drivers/bmp085/4-0077
        chown system system /sys/bus/i2c/drivers/bmp085/4-0077/enable
        chown system system /sys/bus/i2c/drivers/hmc5843/4-001e
        chown system system /sys/bus/i2c/drivers/hmc5843/4-001e/enable
        chown system system /sys/bus/i2c/drivers/hmc5843/4-001e/rate
        chown system system /sys/bus/i2c/drivers/bh1780/3-0029/
        chown system system /sys/bus/i2c/drivers/bh1780/3-0029/power_state

        # change permissions for Overlay
        chown system system /dev/video1
        chmod 0777 /dev/video1
        chown system system /dev/video2
        chmod 0777 /dev/video2
        chown system system /dev/video3
        chmod 0777 /dev/video3
        # change permissions for overlay managers and display devices
        chown system system /sys/devices/platform/omapdss/display0/enabled
        chmod 0777 /sys/devices/platform/omapdss/display0/enabled
        chown system system /sys/devices/platform/omapdss/display1/enabled
        chmod 0777 /sys/devices/platform/omapdss/display1/enabled
        chown system system /sys/devices/platform/omapdss/display2/enabled
        chmod 0777 /sys/devices/platform/omapdss/display2/enabled
        chown system system /sys/devices/platform/omapdss/display3/enabled
        chmod 0777 /sys/devices/platform/omapdss/display3/enabled
        chown system system /sys/devices/platform/omapdss/display0/name
        chmod 0777 /sys/devices/platform/omapdss/display0/name
        chown system system /sys/devices/platform/omapdss/display1/name
        chmod 0777 /sys/devices/platform/omapdss/display1/name
        chown system system /sys/devices/platform/omapdss/display2/name
        chmod 0777 /sys/devices/platform/omapdss/display2/name
        chown system system /sys/devices/platform/omapdss/display3/name
        chmod 0777 /sys/devices/platform/omapdss/display3/name
        chown system system /sys/devices/platform/omapdss/overlay0/manager
        chmod 0777 /sys/devices/platform/omapdss/overlay0/manager
        chown system system /sys/devices/platform/omapdss/overlay1/manager
        chmod 0777 /sys/devices/platform/omapdss/overlay1/manager
        chown system system /sys/devices/platform/omapdss/overlay2/manager
        chmod 0777 /sys/devices/platform/omapdss/overlay2/manager
        chown system system /sys/devices/platform/omapdss/overlay3/manager
        chmod 0777 /sys/devices/platform/omapdss/overlay3/manager
        chown system system /sys/devices/platform/omapdss/overlay0/zorder
        chmod 0777 /sys/devices/platform/omapdss/overlay0/zorder
        chown system system /sys/devices/platform/omapdss/overlay1/zorder
        chmod 0777 /sys/devices/platform/omapdss/overlay1/zorder
        chown system system /sys/devices/platform/omapdss/overlay2/zorder
        chmod 0777 /sys/devices/platform/omapdss/overlay2/zorder
        chown system system /sys/devices/platform/omapdss/overlay3/zorder
        chmod 0777 /sys/devices/platform/omapdss/overlay3/zorder
        # change permissions for manager tranparency parameters
        chown system system /sys/devices/platform/omapdss/manager0/name
        chmod 0777 /sys/devices/platform/omapdss/manager0/name
        chown system system /sys/devices/platform/omapdss/manager0/display
        chmod 0777 /sys/devices/platform/omapdss/manager0/display
        chown system system /sys/devices/platform/omapdss/manager1/name
        chmod 0777 /sys/devices/platform/omapdss/manager1/name
        chown system system /sys/devices/platform/omapdss/manager1/display
        chmod 0777 /sys/devices/platform/omapdss/manager1/display
        chown system system /sys/devices/platform/omapdss/manager2/name
        chmod 0777 /sys/devices/platform/omapdss/manager2/name
        chown system system /sys/devices/platform/omapdss/manager2/display
        chmod 0777 /sys/devices/platform/omapdss/manager2/display
        chown system system /sys/devices/platform/omapdss/overlay0/enabled
        chmod 0777 /sys/devices/platform/omapdss/overlay0/enabled
        chown system system /sys/devices/platform/omapdss/overlay1/enabled
        chmod 0777 /sys/devices/platform/omapdss/overlay1/enabled
        chown system system /sys/devices/platform/omapdss/overlay2/enabled
        chmod 0777 /sys/devices/platform/omapdss/overlay2/enabled
        chown system system /sys/devices/platform/omapdss/overlay3/enabled
        chmod 0777 /sys/devices/platform/omapdss/overlay3/enabled
        # change permissions for display timings to get the resolutions
        chown system system /sys/devices/platform/omapdss/display0/timings
        chmod 0777 /sys/devices/platform/omapdss/display0/timings
        chown system system /sys/devices/platform/omapdss/display1/timings
        chmod 0777 /sys/devices/platform/omapdss/display1/timings
        chown system system /sys/devices/platform/omapdss/display2/timings
        chmod 0777 /sys/devices/platform/omapdss/display2/timings
        chown system system /sys/devices/platform/omapdss/display3/timings
        chmod 0777 /sys/devices/platform/omapdss/display3/timings
        chown system system /sys/devices/platform/omapdss/display2/code
         # change permissions for Tiler driver
        chown media media /dev/tiler
        chmod 0660 /dev/tiler
        chmod 0660 /dev/dmm
    # Enable secondary display on Blaze
        #write /sys/devices/platform/omapdss/display1/enabled 1
        #write /sys/devices/platform/omapdss/overlay1/enabled 0
        #write /sys/devices/platform/omapdss/overlay1/manager "2lcd"
        #write /sys/devices/platform/omapdss/overlay1/enabled 1

    # Revert the boost_timeout to the default value of 3 sec. Note this won't affect the prev boost
    # request for boot time reduction
        write /sys/devices/system/cpu/cpufreq/hotplug/boost_timeout 3000000

    # Enable hotplug detection for HDMI
        write /sys/devices/platform/omapdss/display1/hpd_enabled 1

    # Change permissions for FB overlays for HDMI UI Cloning
        chown system system /sys/class/graphics/fb0/overlays
        chmod 0770 /sys/class/graphics/fb0/overlays
        chown system system /sys/class/graphics/fb0/fit_to_screen
        chmod 0770 /sys/class/graphics/fb0/fit_to_screen
        chown system system /sys/class/graphics/fb1/overlays
        chmod 0770 /sys/class/graphics/fb1/overlays

    # Enable UI-Cloning Service in SystemServer
        setprop tv.hdmi.uicloning.enable true

    # Keypad permissions
        chmod 0444 /system/usr/keychars/omap-keypad.kcm.bin
        chmod 0444 /system/usr/keychars/qwerty.kcm.bin

    # TI Thermal Manager
        chown root system /system/bin/thermaldaemon
        chmod 0755 /system/bin/thermaldaemon
        chmod 0666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
        chmod 0666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
        chmod 0666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
        chmod 0444 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq

        chmod 0666 /sys/class/hwmon/hwmon1/device/temp1_max
        chmod 0666 /sys/class/hwmon/hwmon1/device/temp1_max_hyst
        chmod 0666 /sys/class/hwmon/hwmon1/device/update_rate
        chown system system /sys/class/hwmon/hwmon1/device/temp1_max
        chown system system /sys/class/hwmon/hwmon1/device/temp1_max_hyst
        chown system system /sys/class/hwmon/hwmon1/device/update_rate

    # SGX driver
        chmod 0666 /dev/pvrsrvkm

    service thermaldaemon /system/bin/thermaldaemon
        critical

    # Initialize the SGX driver
    service pvrsrvinit /system/bin/pvrsrvinit
    #service pvrsrvinit /system/vendor/bin/pvrsrvinit
        user root
        group root
        oneshot

    #Load IVA firmware
    service baseimage /system/bin/syslink_daemon.out -f /data/base_image_sys_m3.xem3 /data/base_image_app_m3.xem3
    #   critical
        user media
        group media

    service uim /system/bin/uim-sysfs
        user root
        group media bluetooth
        oneshot

    service hciattach /system/bin/hciattach -l
        user root
    # changing user to root from bluetooth is a potential security issue
    # service hciattach_legacy is used instead of hciattach because, we dont
    # have nodes named ttyHS0
        group bluetooth net_bt_admin misc
        disabled
        oneshot

    # WLAN Related services
    service wlan_loader /system/bin/wlan_loader \
        -f /system/etc/wifi/firmware.bin -i /system/etc/wifi/tiwlan.ini -e /data/misc/wifi/nvs_map.bin
         disabled
         oneshot

    service wpa_supplicant /system/bin/wpa_supplicant -Dtiwlan0 -itiwlan0 -c/data/misc/wifi/wpa_supplicant.conf -dd
        socket wpa_tiwlan0 dgram 660 wifi wifi
        disabled
        oneshot

    service dhcpcd_tiwlan0 /system/bin/dhcpcd -ABKL
        disabled
        oneshot

    # HotSpot Related services
    service wlan_ap_loader /system/bin/tiap_loader \
        -f /system/etc/wifi/softap/firmware_ap.bin \
        -i /system/etc/wifi/softap/tiwlan_ap.ini \
        -e /data/misc/wifi/nvs_map.bin
        disabled
        oneshot

    service ifcfg_softap /system/bin/ifconfig tiap0 up
        disabled
        oneshot

    service hostapd /system/bin/hostap -dd /data/misc/wifi/hostapd.conf
        disabled
        oneshot

    # Foxconn add start ,Summer ,20110917
    service init_is /system/bin/emmcexpose /dev/block/mmcblk0p9 /mnt/sdcard
        oneshot

    init.omap4blazeboard.rc from 4AI.1.3

    import init.omap4blazeboard.usb.rc

    on early-init
        export EXTERNAL_STORAGE /mnt/sdcard
        mkdir /mnt/sdcard 0000 system system
        # for backwards compatibility
        symlink /mnt/sdcard /sdcard

    #leo add
        mkdir /file_store 0777 system system

    # create Ext SDcard mountpoint
        mkdir /mnt/ext_sdcard 0000 system system

    # create removable USB Mass Storage mountpoints
        mkdir /mnt/ext_usb1 0000 system system
        mkdir /mnt/ext_usb2 0000 system system


    on post-fs-data
        # we will remap this as /mnt/sdcard with the sdcard fuse tool
        mkdir /data/media 0775 media_rw media_rw
        chown media_rw media_rw /data/media
        mkdir /data/smc 0770 drmrpc drmrpc
            chown drmrpc drmrpc /data/smc/counter.bin
            chown drmrpc drmrpc /data/smc/storage.bin
            chown drmrpc drmrpc /data/smc/system.bin

        setprop vold.post_fs_data_done 1

    on boot
        mount debugfs /sys/kernel/debug /sys/kernel/debug
        chmod 0666 /dev/pvrsrvkm
        chmod 0444 /system/usr/keychars/omap4-keypad.kcm.bin
        setprop ro.crypto.keyfile.userdata /dev/block/platform/omap/omap_hsmmc.1/by-name/crypto

    # cpufreq interactive governor: timer 20ms, min sample 20ms, hispeed 800MHz
        write /sys/devices/system/cpu/cpufreq/interactive/timer_rate 20000
        write /sys/devices/system/cpu/cpufreq/interactive/min_sample_time 20000
        write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 800000

    # autosuspend root hubs immediatly after attached devices
        write /sys/bus/usb/devices/usb1/power/autosuspend_delay_ms 0
        write /sys/bus/usb/devices/usb2/power/autosuspend_delay_ms 0

    # Remove the Ultra Fast Media Card Reader on EHCI bus
        write /sys/bus/usb/devices/1-1.1/remove 1

    # Set Remote wakeup flag for the two Hubs on the Tablet board
        write /sys/bus/usb/devices/1-1/power/wakeup enabled
        write /sys/bus/usb/devices/1-1.2/power/wakeup enabled

    # wi-fi
        mkdir /data/misc/wifi/sockets 0770 wifi wifi
        mkdir /data/misc/dhcp 0770 dhcp dhcp
        insmod /system/lib/modules/compat.ko
        insmod /system/lib/modules/cfg80211.ko
        insmod /system/lib/modules/mac80211.ko
        insmod /system/lib/modules/wl12xx.ko debug_level=0x63c00

    # GPS
            insmod /system/lib/modules/gps_drv.ko

    on fs
        mkdir /factory 0775 radio radio
        mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/system /system wait ro
        setprop ro.crypto.tmpfs_options size=128m,mode=0771,uid=1000,gid=1000
        mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/userdata /data wait noatime nosuid nodev nomblk_io_submit
        mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/cache /cache wait noatime nosuid nodev nomblk_io_submit
        mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/efs /factory wait ro
    #leo add
        mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/us2 /file_store wait rw
        setprop ro.crypto.fuse_sdcard true

    # change permissions for ION driver
        chmod 0777 /dev/ion

    # We chown/chmod /factory because mount is run as root + defaults
        chown radio radio /factory
        chmod 0775 /factory

    #leo add
        chown system system /file_store
        chmod 0777 /file_store

    # add symlink for HDCP key
            symlink /factory/hdcp.keys /system/vendor/firmware/hdcp.keys

    # change permissions for Sensors
        chown system system /sys/bus/i2c/drivers/ltr328/2-0029
        chown system system /sys/bus/i2c/drivers/ltr328/2-0029/active
        chown system system /sys/bus/i2c/drivers/ltr328/2-0029/interval
        chown system system /sys/bus/i2c/drivers/cwgd/2-0069
        chown system system /sys/bus/i2c/drivers/cwgd/2-0069/active
        chown system system /sys/bus/i2c/drivers/cwgd/2-0069/interval
        chown system system /sys/class/input/input3/
        chown system system /sys/class/input/input3/active
        chown system system /sys/class/input/input3/interval
        chown system system /sys/class/input/input4/
        chown system system /sys/class/input/input4/active
        chown system system /sys/class/input/input4/interval
        chown system system /sys/class/input/input5
        chown system system /sys/class/input/input5/active
        chown system system /sys/class/input/input5/interval
        

    # camera calibration - DCC folder permission
        chown media media /data/misc/camera
        chown media media /data/misc/camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43
        chown media media /data/misc/camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42
        chown media media /data/misc/camera/R8_MVEN002_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1042

    # change permissions for Bluetooth/FM/GPS
        chmod 0600 /sys/class/rfkill/rfkill0/state
        chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
        chmod 0600 /dev/ttyO1
        chown bluetooth bluetooth /dev/ttyO1

    # change permissions for S3D hardware
        chown system system /sys/devices/platform/omapdss/display0/s3d_enable
        chown system system /sys/devices/platform/omapdss/display1/s3d_enable
        chown system system /sys/devices/platform/omapdss/display1/s3d_type

    # Change permissions on the governor (this is for debug only)
        chmod 444 /proc/cmdline

    service pvrsrvinit /vendor/bin/pvrsrvinit
        class core
        user root
        group root
        oneshot

    # create filesystems if necessary
    service setup_fs /system/bin/setup_fs \
            /dev/block/platform/omap/omap_hsmmc.1/by-name/cache \
            /dev/block/platform/omap/omap_hsmmc.1/by-name/userdata
            class core
            user root
            group root
            oneshot

    #shared transport user space mgr service for Bluetooth, FM and GPS
    service uim /system/bin/uim-sysfs
        class core
        user bluetooth
        group bluetooth net_bt_admin

    ###################################################
    # MSHIELD SMC Daemon - component required to store persistent data coming
    #   from the SMC PA to the device persistent storage
    ###################################################
    service tf_daemon /system/bin/tf_daemon \
        -d -c /vendor/etc/smc_normal_world_android_cfg.ini
        class main
        user root
        group root
        oneshot
        disabled

    ###################################################
    # MSHIELD SMC PA Control - installs the SMC PA into the Secure Environment
    ###################################################
    service smc_pa /system/bin/smc_pa_ctrl \
        -c /vendor/etc/smc_normal_world_android_cfg.ini \
        start /vendor/firmware/smc_pa.ift
        class core
        user root
        group root
        oneshot

    # bugreport is triggered by holding down volume down, volume up and home
    service bugreport /system/bin/bugmailer.sh -v
        class main
        disabled
        oneshot
        keycodes 114 115 102

    # create virtual SD card at /mnt/sdcard, based on the /data/media directory
    # daemon will drop to user/group system/media_rw after initializing
    # underlying files in /data/media will be created with user and group media_rw (1023)
    service sdcard /system/bin/sdcard /data/media 1023 1023
        class late_start

    service wpa_supplicant /system/bin/wpa_supplicant -Dnl80211 -iwlan0
        class main
        socket wpa_wlan0 dgram 660 wifi wifi
        disabled
        oneshot

    service p2p_supplicant /system/bin/wpa_supplicant -Dnl80211 -ip2p_wlan0
        socket wpa_p2p_wlan0 dgram 660 wifi wifi
        disabled
        oneshot

    service dhcpcd_wlan0 /system/bin/dhcpcd -ABKL
        class main
        disabled
        oneshot

    service iprenew_wlan0 /system/bin/dhcpcd -n
        class main
        disabled
        oneshot

    service dhcpcd_p2p /system/bin/dhcpcd -aABKL
        class main
        disabled
        oneshot

    service iprenew_p2p /system/bin/dhcpcd -n
        class main
        disabled
        oneshot

    service dhcpcd_eth0 /system/bin/dhcpcd -ABKL
        class main
        disabled
        oneshot

    service dhcpcd_bnep0 /system/bin/dhcpcd -ABKL
        class main
        disabled
        oneshot

    service iprenew_bnep0 /system/bin/dhcpcd -n
        class main
        disabled
        oneshot

    service hostapd_bin /system/bin/hostapd -d /data/misc/wifi/hostapd.conf
        socket wpa_wlan1 dgram 660 wifi wifi
        class main
        disabled
        oneshot

    on property:init.svc.smc_pa=stopped
        start tf_daemon

    on property:wlan.driver.status=ok
        chown wifi wifi /sys/devices/platform/wl1271/bt_coex_state

    service navl_server /system/bin/navd --android_log NAVD  -p3 -nav\"-c/system/etc/gps/config/pathconfigfile.txt\"
        class main
        disabled
        oneshot

  • Hi, Now I found the error early occurred in the following place:

    in \mydroid\hardware\ti\wpan\ti_st\uim-sysfs\Uim.c

    main( )->st_uart_config( )->read_command_complete( )(After setting speed)->read_hci_event( )

    int read_hci_event(int fd, unsigned char *buf, int size)
    {

    ...

    while (reading) {
    rd = read(fd, buf, 1);
    if (rd <= 0 && rd_retry_count++ < 4) {
    nanosleep(&tm, NULL);
    continue;
    } else if (rd_retry_count >= 4) {
    UIM_VER("connie: read_hci_event, err return rd_retry_count = %d", rd_retry_count);
    return -1;
    }

    if (buf[0] == RESP_PREFIX) {
    break;
    }
    }

    ...

    }

    In log, param rd_retry_count = 5. So it failed to get command complete response.

    What may cause the problem? Anyone who knows this?

    Thank you very much

    Connie Kuang

  • Hi Connie,

    The problem seems to be that the kernel is not "accepting" the module because it doesn't match the magic number:

    [    9.219207] wl12xx: version magic '3.0.21-00002-OMAP-Android SMP preempt mod_unload ARMv7

    ' should be '3.0.21-00002-OMAP-Android+ SMP preempt mod_unload ARMv7 '

    I am not sure why is this happening, I will take a look and comeback when have something.

  • Hi, Israel

    I fixed the magic number issue, but the Bluetooth still doesn't work.

    Now the most early error I found is in file tty_buffer,c, the function flush_to_ldisc() can't be invoked when n_tty_read() is called.

    by the way, I found that the module wl12xx_sdio.ko doesn't work. Its probe function wl1271_probe() does not be called. Does this module can impact Bluetooth? If yes, I will solve it first.

    Thank you very much!

    Connie kuang

  • Hi Connie,

    I am not too involved with that driver, but my understanding is that it must, because Wifi and Bluetooth features are provided by the  WiLink chip, so if that is the driver and it's not starting something will go wrong.

    Check that your init.omap4platform.rc file has the insmod, like this:

    # wi-fi
        mkdir /data/misc/wifi/sockets 0770 wifi wifi
        mkdir /data/misc/dhcp 0770 dhcp dhcp
        insmod /system/lib/modules/compat.ko
        insmod /system/lib/modules/cfg80211.ko
        insmod /system/lib/modules/mac80211.ko
        insmod /system/lib/modules/wl12xx.ko

    also check if you need wl12xx_sdio.ko module

  • Hi Israel

    My problem has been fixed after I correct the GPIO configuration for wl12xx power.

    Thank you for your help!

    Connie Kuang

  • Hi Connie,

    Good to read that. Also I would appreciate if you check as verify the answer to close the post.

    Thank you

  • Hi Israel,

    OK. Thanks again!

    Connie