Repository navigation
Closed as not planned
Labels
Description
When I connect my notebook to my car as described here, the connection drops after about 1 minute and 10 seconds.
Notebook: HP EliteBook 845 G8, Ryzen-5650U, Debian-12, bluez-obexd-5.66 by Debian
Car: Volkswagen ID.3, firmware 3.2
/var/log/syslog reports:
obexd[*]: stat(/home/myuser/phonebook/telecom): No such file or directory (2)
obexd[*]: stat(/home/myuser/phonebook/telecom/XXX): No such file or directory (2)
[...]
obexd[*]: open(/telecom/XXX.vcf): No such file or directory (2)
[...]
Where XXX is one of these: cch ich mch och pb
Creating just ~/phonebook/telecom/ fixed the problem. (subdirectories and vcf files not needed)
Now my car stays connected.
I'm not sure what happens inside of obexd. But I propose that obexd should continue working without that directory in the same way as with that directory. Or alternatively it should create that directory if it's missing.
full log
2024-06-08T23:14:46.952669+02:00 myhost wireplumber[1539]: RFCOMM receive command but modem not available: AT+CREG?#015
2024-06-08T23:14:47.024897+02:00 myhost wireplumber[1539]: RFCOMM receive command but modem not available: AT+NREC=0#015
2024-06-08T23:14:47.420654+02:00 myhost kernel: [ 957.105284][ T888] input: CARNAME (AVRCP) as /devices/virtual/input/input34
2024-06-08T23:14:47.549097+02:00 myhost wireplumber[1539]: RFCOMM receive command but modem not available: AT+CCWA=1#015
2024-06-08T23:14:47.613916+02:00 myhost obexd[1930]: CONNECT(0x0), <unknown>(0xff)
2024-06-08T23:14:47.622143+02:00 myhost obexd[1930]: CONNECT(0x0), <unknown>(0x0)
2024-06-08T23:14:47.665801+02:00 myhost obexd[1930]: CONNECT(0x0), <unknown>(0xff)
2024-06-08T23:14:47.666101+02:00 myhost obexd[1930]: CONNECT(0x0), <unknown>(0x0)
2024-06-08T23:14:47.677426+02:00 myhost obexd[1930]: SETPATH(0x5), <unknown>(0xff)
2024-06-08T23:14:47.677759+02:00 myhost obexd[1930]: stat(/home/moritz/phonebook/telecom): No such file or directory (2)
2024-06-08T23:14:47.677982+02:00 myhost obexd[1930]: SETPATH(0x5), Not Found(0x44)
2024-06-08T23:14:47.685024+02:00 myhost obexd[1930]: SETPATH(0x5), <unknown>(0xff)
2024-06-08T23:14:47.685212+02:00 myhost obexd[1930]: SETPATH(0x5), Not Found(0x44)
2024-06-08T23:14:47.740845+02:00 myhost obexd[1930]: GET(0x3), <unknown>(0xff)
2024-06-08T23:14:47.741051+02:00 myhost obexd[1930]: open((null)): Function not implemented (38)
2024-06-08T23:14:47.741122+02:00 myhost obexd[1930]: GET(0x3), Not Implemented(0x51)
2024-06-08T23:14:47.817024+02:00 myhost wireplumber[1539]: RFCOMM receive command but modem not available: AT+CSCS=?#015
2024-06-08T23:14:47.868171+02:00 myhost bluetoothd[888]: /org/bluez/hci0/dev_00_00_00_00_00_00/sep2/fd9: fd(42) ready
2024-06-08T23:15:47.621949+02:00 myhost obexd[1930]: DISCONNECT(0x1), <unknown>(0xff)
2024-06-08T23:15:47.623115+02:00 myhost obexd[1930]: DISCONNECT(0x1), Success(0x20)
2024-06-08T23:15:47.677268+02:00 myhost obexd[1930]: disconnected: Transport got disconnected
2024-06-08T23:15:47.678164+02:00 myhost bluetoothd[888]: src/profile.c:ext_io_disconnected() Unable to get io data for Message Access: getpeername: Transport endpoint is not connected (107)
2024-06-08T23:16:01.239487+02:00 myhost obexd[1930]: disconnected: Transport got disconnected
2024-06-08T23:16:01.301441+02:00 myhost bluetoothd[888]: src/profile.c:ext_io_disconnected() Unable to get io data for Phone Book Access: getpeername: Transport endpoint is not connected (107)
2024-06-08T23:16:01.302198+02:00 myhost bluetoothd[888]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Reacted by Rukmal Weerawarana and mcnesium
Activity
kolAflash commentedon Jun 9, 2024
P.S.
Copy of my Reddit post linked above.
(Reddit somehow removed it 🤪)
==========
I've got a notebook with Debian-12 & Pipewire-0.3.65, an Android-12 phone and a Volkswagen ID.3 car running the firmware version 3.2.
I can easily connect my phone with the car via Bluetooth and play music from any app. And I can also connect my notebook with the car via Bluetooth. But it won't play audio.
When the car is connected to the notebook, it shows up in Pipewire. If I open Pavucontrol I can see the car under "Configuration" offering "High Fidelity Playback (A2DP, Sink)" (SBC & SBC-XQ) and "Headset Head Unit (HSP/HFP)" (mSBC & CVSD). In "Output Devices" the car has a "Auto (plugged in)" port.
I tried playing music with different programs like VLC or Firefox. But there simply no sound coming out of my cars speakers. Also the Bluetooth connection drops after about one minute.
There's on difference visible in the car when connecting the phone or the notebook. As soon as the phone's connected, the car's display shows an entry "Bluetooth Player" and when I click that it shows "VLC" under which all my audio files on the phone are listed and I can start the playback of a file from the car's display without touching my phone. (I got VLC for Android installed on my phone)
Starting the playback from the phone is also possible. In that case any app I've tested works. (tested VLC, Vanilla Player, Spotify and others)
But when connecting my notebook, the the "Bluetooth Player" entry is missing on the car's display. My guess is, that the car is expecting some additional protocol beside A2DP via the Bluetooth connection. Something like a DLNA Media Server (DMS) but for Bluetooth.
Any ideas?
Thanks! :-)
rukmal commentedon Sep 24, 2024
+1 on this, I'm running into this issue on NixOS too.
github-actions commentedon May 10, 2025
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
kolAflash commentedon May 12, 2025
I'd suggest to keep this open. But I can't remove the
stalelabel.I would think, that the fix is probably be pretty easy and would save users a lot of worrying.
github-actions commentedon Sep 10, 2025
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
kolAflash commentedon Sep 11, 2025
As said, it's probably an easy fix if someone knows the codebase.
These lines look promising:
bluez/obexd/client/pbap.c
Line 212 in 441f95a
bluez/obexd/client/pbap.c
Line 220 in 441f95a
bluez/obexd/plugins/phonebook-ebook.c
Line 170 in 441f95a
bluez/obexd/plugins/phonebook-tracker.c
Line 544 in 441f95a
github-actions commentedon Oct 22, 2025
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.