Bug 204629
Summary: | Bluetooth headset auto connected but failed to recognize as audio device | ||
---|---|---|---|
Product: | Drivers | Reporter: | Guo Yunhe (i) |
Component: | Bluetooth | Assignee: | linux-bluetooth (linux-bluetooth) |
Status: | NEW --- | ||
Severity: | normal | CC: | codyrude, juha-pekka.savolainen, mirh, pali |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.2.8 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Guo Yunhe
2019-08-19 20:52:20 UTC
Could you please compile and run bluetoothd daemon from git master branch https://git.kernel.org/pub/scm/bluetooth/bluez.git/ ? "Unable to get io data" is wrong error message and real one was removed by bluetoothd daemon. So from log we do not know what happen. Reporting of this incorrect message was fixed just few days ago in git master branch, so compiling and testing new bluetoothd daemon from git is needed. Can you provide relevant commit(s) in master branch? I'm facing similar looking issue but can not upgrade the BlueZ. I could however try by patching the current version if pointed to correct commit(s). b0ebdd778b06a71c1cbc2fcf30d7fe5842e749fb I guess? Is this still a thing? I'm having this same problem in bluez 5.62, which contains the commit to provide more updated logging information. However, the original error message is appearing, which I guess implies that this is an io error and not a regular error.
Here are my bluetooth logs:
> Oct 16 21:58:51 Neltharion bluetoothd[413]: Bluetooth daemon 5.62
> Oct 16 21:58:51 Neltharion bluetoothd[413]: Starting SDP server
> Oct 16 21:58:51 Neltharion bluetoothd[413]: Bluetooth management interface
> 1.21 initialized
> Oct 16 21:58:51 Neltharion dbus-daemon[414]: [system] Activating via systemd:
> service name='org.freedesktop.hostname1'
> unit='dbus-org.freedesktop.hostname1.service' requested by ':1.2' (uid=0
> pid=413 comm="/usr/lib/bluetooth/bluetoothd ")
> Oct 16 22:09:46 Neltharion bluetoothd[413]: Endpoint registered: sender=:1.37
> path=/MediaEndpoint/A2DPSink/sbc
> Oct 16 22:09:46 Neltharion bluetoothd[413]: Endpoint registered: sender=:1.37
> path=/MediaEndpoint/A2DPSource/sbc
> Oct 16 22:09:46 Neltharion bluetoothd[413]: Endpoint registered: sender=:1.37
> path=/MediaEndpoint/A2DPSink/sbc_xq_453
> Oct 16 22:09:46 Neltharion bluetoothd[413]: Endpoint registered: sender=:1.37
> path=/MediaEndpoint/A2DPSource/sbc_xq_453
> Oct 16 22:09:46 Neltharion bluetoothd[413]: Endpoint registered: sender=:1.37
> path=/MediaEndpoint/A2DPSink/sbc_xq_512
> Oct 16 22:09:46 Neltharion bluetoothd[413]: Endpoint registered: sender=:1.37
> path=/MediaEndpoint/A2DPSource/sbc_xq_512
> Oct 16 22:09:46 Neltharion bluetoothd[413]: Endpoint registered: sender=:1.37
> path=/MediaEndpoint/A2DPSink/sbc_xq_552
> Oct 16 22:09:46 Neltharion bluetoothd[413]: Endpoint registered: sender=:1.37
> path=/MediaEndpoint/A2DPSource/sbc_xq_552
> Oct 16 22:11:32 Neltharion bluetoothd[413]:
> src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free
> Voice gateway: getpeername: Transport endpoint is not connected (107)
I've discovered that setting the headphones as trusted fixes the issue and it auto-connects properly |