[Q] GT-I9205 Bluetooth failed to turn on

Search This thread

dynomist

Senior Member
Dec 23, 2013
51
41
Hi currently im building omnirom for GT-I9205,

Im having some issue with the bluetooth,
i can confirm the bluetooth will work in this device (work on CM11 base source).

here is my logcat, hoping someone will point me to correct direction
Code:
D/BluetoothManagerService(  914): BluetoothServiceConnection: com.android.bluetooth.btservice.AdapterService
D/BluetoothManagerService(  914): Message: 40
D/BluetoothManagerService(  914): MESSAGE_BLUETOOTH_SERVICE_CONNECTED: 1
---
D/BluetoothPanServiceJni( 1650): initializeNative(L110): pan
D/BluetoothTethering(  914): got CMD_CHANNEL_HALF_CONNECTED
E/BluetoothTethering(  914): Trying to set mAsyncChannel twice!
---
I/bluedroid( 1650): enable
I/bt_hci_bdroid( 1650): init
I/bt_vendor( 1650): bt-vendor : init
I/bt_hwcfg( 1650): Starting hciattach daemon
I/bt_hwcfg( 1650): try to set false
I/bt_hwcfg( 1650): Starting hciattach daemon
I/bt_hwcfg( 1650): try to set true
I/bt_hci_bdroid( 1650): bt_hc_worker_thread started
I/qcom-bluetooth( 3318): /system/etc/init.qcom.bt.sh: init.qcom.bt.sh config =  
I/qcom-bluetooth( 3324): /system/etc/init.qcom.bt.sh: Transport : smd 
I/qcom-bluetooth( 3325): /system/etc/init.qcom.bt.sh: ** Bluedroid stack ** 
I/qcom-bluetooth( 3332): /system/etc/init.qcom.bt.sh: Power Class: Ignored. Default(1) used (1-CLASS1/2-CLASS2/3-CUSTOM) 
I/qcom-bluetooth( 3333): /system/etc/init.qcom.bt.sh: Power Class: To override, Before turning BT ON; setprop qcom.bt.dev_power_class <1 or 2 or 3> 
I/qcom-bluetooth( 3334): /system/etc/init.qcom.bt.sh: LE Power Class: Ignored. Default(2) used (1-CLASS1/2-CLASS2/3-CUSTOM) 
I/qcom-bluetooth( 3335): /system/etc/init.qcom.bt.sh: LE Power Class: To override, Before turning BT ON; setprop qcom.bt.le_dev_pwr_class <1 or 2 or 3> 
I/qcom-bluetooth( 3340): /system/etc/init.qcom.bt.sh: Bluetooth QSoC firmware download succeeded,     
I/qcom-bluetooth( 3341): /system/etc/init.qcom.bt.sh: ** Bluedroid stack ** 
I/bt_hwcfg( 1650): bluetooth satus is on
I/bt_userial_vendor( 1650): Done intiailizing UART
I/bt_userial_vendor( 1650): Done intiailizing UART
E/bt_userial( 1650): userial_open: wrong numbers of open fd in vendor lib [2]!
E/bt_userial( 1650): userial_open: HCI UART expects only one open fd
I/bt_vendor( 1650): Bluetooth Firmware and smd is initialized
I/GKI_LINUX( 1650): gki_task_entry: gki_task_entry task_id=0 [BTU] starting
I/bt-btu  ( 1650): btu_task pending for preload complete event
I/bt-btu  ( 1650): btu_task received preload complete event
I/        ( 1650): BTE_InitTraceLevels -- TRC_HCI
I/        ( 1650): BTE_InitTraceLevels -- TRC_L2CAP
I/        ( 1650): BTE_InitTraceLevels -- TRC_RFCOMM
I/        ( 1650): BTE_InitTraceLevels -- TRC_AVDT
I/        ( 1650): BTE_InitTraceLevels -- TRC_AVRC
I/        ( 1650): BTE_InitTraceLevels -- TRC_A2D
I/        ( 1650): BTE_InitTraceLevels -- TRC_BNEP
I/        ( 1650): BTE_InitTraceLevels -- TRC_BTM
I/        ( 1650): BTE_InitTraceLevels -- TRC_GAP
I/        ( 1650): BTE_InitTraceLevels -- TRC_PAN
I/        ( 1650): BTE_InitTraceLevels -- TRC_SDP
I/        ( 1650): BTE_InitTraceLevels -- TRC_GATT
I/        ( 1650): BTE_InitTraceLevels -- TRC_SMP
I/        ( 1650): BTE_InitTraceLevels -- TRC_BTAPP
I/        ( 1650): BTE_InitTraceLevels -- TRC_BTIF
W/qdhwcomposer(  215): Excessive delay reading vsync: took 3945 ms vsync_period 33 ms
D/BluetoothAdapterState( 1650): CURRENT_STATE=PENDING, MESSAGE = ENABLE_TIMEOUT, isTurningOn=true, isTurningOff=false
E/BluetoothAdapterState( 1650): Error enabling Bluetooth

i think the problem is most likely due to >> userial_open: wrong numbers of open fd in vendor lib [2]!
what exactly is "fd"?