History log of /netbsd-src/usr.sbin/btattach/btattach.c (Results 1 – 16 of 16)
Revision Date Author Comments
# e2144167 07-Feb-2023 mlelstv <mlelstv@NetBSD.org>

- Reconfigure port speed only when initial speed was different.
- Time out HCI commands instead of hanging forever.
- When bcm43xx reset fails, assume that firmware is already
running and start lin

- Reconfigure port speed only when initial speed was different.
- Time out HCI commands instead of hanging forever.
- When bcm43xx reset fails, assume that firmware is already
running and start line discipline.

This allows to re-attach bcm43xx without reboot.

show more ...


# 6ad4d0f8 11-Aug-2017 jmcneill <jmcneill@NetBSD.org>

Make the "bcm43xx" type use H4 transport and add a new "bcm43xx-3wire"
type for use with H5 transport. The naming of the types here matches
those used in a series of BlueZ patches from the Raspberry

Make the "bcm43xx" type use H4 transport and add a new "bcm43xx-3wire"
type for use with H5 transport. The naming of the types here matches
those used in a series of BlueZ patches from the Raspberry Pi foundation.

show more ...


# e5d9803b 10-Aug-2017 nat <nat@NetBSD.org>

Add support for bcm 43xx devices using the btuart h5 protocol.

Currently It will only load 1 firmware image for rpi3.

To use change to the directory containing the firmware BCM4340A1.hcd.
Then issu

Add support for bcm 43xx devices using the btuart h5 protocol.

Currently It will only load 1 firmware image for rpi3.

To use change to the directory containing the firmware BCM4340A1.hcd.
Then issue: btattach -FPi 115200 bcm43xx /dev/ttydevice 921600.

Then you can use the bluetooth device btfive0.

This enables the embedded bluetooth controller on rpi3.

show more ...


# 8ee626c9 16-Jun-2015 christos <christos@NetBSD.org>

improve error messages (remove \n, use __func__, etc)


# 94b1bee2 27-Aug-2011 joerg <joerg@NetBSD.org>

Mark types as static and usage as dead.


# cecd9b8e 09-Mar-2010 kiyohara <kiyohara@NetBSD.org>

Remove white-spaces.


# c683e41b 08-Mar-2010 plunky <plunky@NetBSD.org>

use %zd for ssize_t argument


# 7937d424 08-Mar-2010 plunky <plunky@NetBSD.org>

fix compilation errors


# 46700600 08-Mar-2010 kiyohara <kiyohara@NetBSD.org>

Add option 'test mode'(-t).
Can test your Bluetooth module via com-port.
This mode guess speed for bcsp(4) or btuart(4), if not respond.


# 45be6911 08-Mar-2010 kiyohara <kiyohara@NetBSD.org>

Add options 'no parity'(-P) and 'disable flow control'(-F).
Also default enable parity for bcsp.


# de7a8fb3 17-Feb-2010 plunky <plunky@NetBSD.org>

sort entries in structure
clarify init name type for CSR modules


# 4e74fe32 06-Dec-2009 kiyohara <kiyohara@NetBSD.org>

Support Infineon UniStone (PBA31308).
from Gumstix's bluez-utils-hciattach-pba31308.patch.
tested on Gumstix verdex-pro.


# adcbe4e3 06-Dec-2009 kiyohara <kiyohara@NetBSD.org>

Fix some bugs.
1. Remove O_NDELAY. Please block it. Or read() returns EAGAIN.
2. We want data size. header already read.
3. Call errx(). errno(2) unspecified at now.


# 4d8dfd66 15-Apr-2009 lukem <lukem@NetBSD.org>

Fix -Wsign-compare issues.
(Use %u not %d for unsigned ints.)


# 9c194566 21-Jul-2008 lukem <lukem@NetBSD.org>

Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.


# 486e4624 15-Apr-2008 plunky <plunky@NetBSD.org>

some changes to serial bluetooth host controller interfaces

btuartd(8) should be named btattach(8) for consistency
with other parts of NetBSD

make btattach(8) a single-use tool for less complexity

some changes to serial bluetooth host controller interfaces

btuartd(8) should be named btattach(8) for consistency
with other parts of NetBSD

make btattach(8) a single-use tool for less complexity

device specicific initialisation (from btuart(4)) is carried
out prior to activating the line discipline (in btattach(8)),
which simplifies the API somewhat and means that the user
tool and the kernel do not need to be kept in sync.

btuart(4) driver is much reduced; naming is made consistent
and all tsleep() and delay() are removed to userland

show more ...