Hi,
I'm a bit stuck with debugging bluetooth. I've followed the porting guide recommendations. But I'm not yet able to get bluetooth to work. I have attached the repo diff for all the changes that I made. Also boot log.
I see the ti-st driver output like:
(stk) :sysfs entries created
(stk) : debugfs entries created
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCILL protocol initialized
Bluetooth: HCIATH3K protocol initialized
Bluetooth: Generic Bluetooth USB driver ver 0.6
usbcore: registered new interface driver btusb
Bluetooth: Generic Bluetooth SDIO driver ver 0.1
Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
(btdrv): bt_drv_init Start
(btdrv): Bluetooth Driver Version 1.0
(btdrv): hci_st_register_dev Start
(btdrv): HCI device allocated. hdev= cf291000
usb 1-2: new high speed USB device using ehci-omap and address 2
(btdrv): HCI device registered. hdev= cf291000
(btdrv): hci_st_register_dev Exit(0)
(btdrv): bt_drv_init Exit(0)
But when I try to turn on bluetooth using the UI, I see:
D/BluetoothAdapterStateMachine( 1220): Bluetooth state 10 -> 11
E/BluetoothAdapterStateMachine( 1220): failed to prepare bluetooth, abort turning on
D/BluetoothAdapterStateMachine( 1220): Bluetooth state 11 -> 10
root@android:/ # hcitool dev
Devices:
Any suggestions on what I could look at to find out which part is not working?
Thanks,
jayakumar