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