Summary: | Bluetooth dysfunction with TP-Link UB500 | ||
---|---|---|---|
Product: | Base System | Reporter: | xyesbee |
Component: | wireless | Assignee: | freebsd-wireless (Nobody) <wireless> |
Status: | New --- | ||
Severity: | Affects Only Me | CC: | jonasbsd, swills |
Priority: | --- | ||
Version: | 13.0-RELEASE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
xyesbee
2022-05-10 18:00:02 UTC
I dug up a little bit and found out /etc/rc.d/bluetooth uses ngctl (Netgraph API) to configure the Bluetooth stack for a certain device. So I ran through man pages and decided what was most appropriate and ran "ngctl ls" whose results are the following if they help debugging the issue. There are 8 total nodes: Name: ubt0 Type: ubt ID: 00000001 Num hooks: 1 Name: ubt0hci Type: hci ID: 00000022 Num hooks: 3 Name: btsock_hci_raw Type: btsock_hci_raw ID: 00000002 Num hooks: 1 Name: btsock_l2c_raw Type: btsock_l2c_raw ID: 00000003 Num hooks: 1 Name: btsock_l2c Type: btsock_l2c ID: 00000004 Num hooks: 1 Name: btsock_sco Type: btsock_sco ID: 00000005 Num hooks: 0 Name: ubt0l2cap Type: l2cap ID: 00000026 Num hooks: 3 Name: ngctl8974 Type: socket ID: 0000002c Num hooks: 0 Lastly, state of /var/log/messages at when I plugged the device in. May 10 10:20:22 xsbeepc kernel: ugen0.4: <vendor 0x2357 TP-Link UB500 Adapter> at usbus0 May 10 10:20:22 xsbeepc kernel: ubt0 on uhub1 May 10 10:20:22 xsbeepc kernel: ubt0: <Bluetooth Radio> on usbus0 May 10 10:20:22 xsbeepc kernel: WARNING: attempt to domain_add(bluetooth) after domainfinalize() May 10 10:20:22 xsbeepc kernel: WARNING: attempt to domain_add(netgraph) after domainfinalize() And when I ran setup commands. May 10 10:21:56 xsbeepc root[91655]: /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0hci May 10 10:22:00 xsbeepc root[94305]: /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0hci May 10 10:22:02 xsbeepc root[98572]: /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0hci May 10 10:22:06 xsbeepc root[681]: /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 For the last apparent successful invocation, there is no error in /var/log/messages. Dear I have the same problem! Att, Jonas |