meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:bluetooth:bluez:btattach [2025/04/11 08:14] – niziak | linux:bluetooth:bluez:btattach [2025/04/11 12:23] (current) – niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== btattach ====== | ====== btattach ====== | ||
- | Is not working in '' | + | hci/ |
+ | * bluez (bluetoothd service) is running | ||
+ | * '' | ||
+ | * '' | ||
+ | * bluez is configuring it | ||
+ | * NOTE: w/o blues try to call '' | ||
+ | * now possible put inteface up: | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ===== EUNATCH (Protocol driver not attached) ===== | ||
+ | |||
+ | Search tags: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | Btattach is not working in '' | ||
<code bash> | <code bash> | ||
Line 23: | Line 40: | ||
write(2, "No controller attached\n", | write(2, "No controller attached\n", | ||
</ | </ | ||
+ | |||
+ | |||
+ | ===== old hciattach works well ! ===== | ||
<code bash> | <code bash> | ||
strace hciattach -n / | strace hciattach -n / | ||
</ | </ | ||
- | |||
* '' | * '' | ||
+ | |||
+ | < | ||
+ | openat(AT_FDCWD, | ||
+ | ioctl(3, TCFLSH, TCIOFLUSH) | ||
+ | ioctl(3, TCGETS, {c_iflag=, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|, | ||
+ | ioctl(3, SNDCTL_TMR_START or TCSETS, {c_iflag=, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|, | ||
+ | ioctl(3, SNDCTL_TMR_START or TCSETS, {c_iflag=, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|, | ||
+ | ioctl(3, TCFLSH, TCIOFLUSH) | ||
+ | ioctl(3, TCFLSH, TCIOFLUSH) | ||
+ | ioctl(3, SNDCTL_TMR_START or TCSETS, {c_iflag=, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|, | ||
+ | ioctl(3, TIOCSETD, [15]) = 0 | ||
+ | ioctl(3, _IOC(_IOC_WRITE, | ||
+ | fstat(1, {st_mode=S_IFCHR|0600, | ||
+ | ioctl(1, TCGETS, {c_iflag=ICRNL|IXON|IXOFF|IUTF8, | ||
+ | ... | ||
+ | write(1, " | ||
+ | </ | ||
+ | |||
+ | ===== Headline ===== | ||
+ | |||
+ | It is not working since 2017 :( | ||
+ | * [[https:// | ||
+ | |||
+ | Issue was posted on mailing list but without any deep look from developer. | ||
+ | Problem is not related to connected nrF52 device. | ||
+ | It can be reproduced on any UART. Problem is during UART configuration before any data transmission! | ||
+ | |||
+ |