2015-03-30 22:30:22

by Randy Yates

[permalink] [raw]
Subject: Hard-configuring a BT Module

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.
--
Randy Yates
Digital Signal Labs
http://www.digitalsignallabs.com


2015-03-30 22:59:42

by Randy Yates

[permalink] [raw]
Subject: Re: Hard-configuring a BT Module

Marcel Holtmann <[email protected]> writes:

> Hi Randy,
>
>> 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.
>
>> 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.
--
Randy Yates
Digital Signal Labs
http://www.digitalsignallabs.com

2015-03-30 22:49:59

by Marcel Holtmann

[permalink] [raw]
Subject: Re: Hard-configuring a BT Module

Hi Randy,

> 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.

> 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