Skip to contentSkip to conversation

Hard-configuring a BT Module

DISCUSSION Randy Yates 2 participants 3 messages Mar 30, 2015 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,

we are building a custom board using the TI AM335x ARM processor and want to base it on the armhf port of debian linux.

to save cost/power/etc), our system will not have a usb bridge, so the usual method of adding a bluetooth device via plugging it into a usb port will not be used.

is it possible to configure bluez and/or the kernel to recognize and use a BT module (an LSR TiWi-uB2) that has its HCI serial interface hard-wired to a specific serial port / uart on the ARM?

also, is the LSR TiWi-uB2 known to operate with bluez correctly?

thanks for any help you can suggest.

Signature · 3 lines
Randy Yates
Digital Signal Labs
http://www.digitalsignallabs.com
maintainer
#1 lore raw

Hi Randy,

Quoted 10 lines

we are building a custom board using the TI AM335x ARM processor and want to base it on the armhf port of debian linux.

to save cost/power/etc), our system will not have a usb bridge, so the usual method of adding a bluetooth device via plugging it into a usb port will not be used.

is it possible to configure bluez and/or the kernel to recognize and use a BT module (an LSR TiWi-uB2) that has its HCI serial interface hard-wired to a specific serial port / uart on the ARM?

you are looking for hciattach or btattach tool to attach a serial port to the kernel.

Quoted 1 line

also, is the LSR TiWi-uB2 known to operate with bluez correctly?

No idea. Nobody ever send me board and enough instructions to test this all. There is TI support in hciattach. So at least there is a starting point if it does not work out of the box.

Regards

Marcel

#2 lore raw
Quoted 13 lines · Marcel Holtmann

Hi Randy,

Quoted 10 lines

we are building a custom board using the TI AM335x ARM processor and want to base it on the armhf port of debian linux.

to save cost/power/etc), our system will not have a usb bridge, so the usual method of adding a bluetooth device via plugging it into a usb port will not be used.

is it possible to configure bluez and/or the kernel to recognize and use a BT module (an LSR TiWi-uB2) that has its HCI serial interface hard-wired to a specific serial port / uart on the ARM?

Quoted 5 lines

you are looking for hciattach or btattach tool to attach a serial port to the kernel.

Quoted 1 line

also, is the LSR TiWi-uB2 known to operate with bluez correctly?

No idea. Nobody ever send me board and enough instructions to test this all. There is TI support in hciattach. So at least there is a starting point if it does not work out of the box.

Aha! Excellent! Thank you, Marcel.

Signature · 3 lines
Randy Yates
Digital Signal Labs
http://www.digitalsignallabs.com