- Sometimes attaching the ttyO1 serial port to the HCI Bluetooth subsystem can time out with the following message:
root@cm-debian:~# hciattach -s 115200 /dev/ttyO1 texas 3000000
Initialization timed out.
- Workaround : Reset the WL1271 Bluetooth module manually, then run the hciattach command again:
root@cm-debian:~# echo 0 > /sys/class/gpio/gpio19/value
root@cm-debian:~# echo 1 > /sys/class/gpio/gpio19/value
root@cm-debian:~# hciattach -s 115200 /dev/ttyO1 texas 3000000
Found a Texas Instruments' chip!
Firmware file : /lib/firmware/TIInit_7.6.15.bts
Loaded BTS script version 1
texas: changing baud rate to 3000000, flow control to 1
[ 406.694167] Bluetooth: HCI UART driver ver 2.2
[ 406.698847] Bluetooth: HCI H4 protocol initialized
[ 406.703912] Bluetooth: HCI BCSP protocol initialized
[ 406.709097] Bluetooth: HCILL protocol initialized
Device setup complete
|