Skip to content

missing ~/phonebook/telecom/ causes connection drop #867

Closed as not planned
Closed as not planned

Description

@kolAflash

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)

Activity

  1. kolAflash commented on Jun 9, 2024

    @kolAflash
    Author

    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! :-)

  2. rukmal commented on Sep 24, 2024

    @rukmal

    +1 on this, I'm running into this issue on NixOS too.

  3. github-actions commented on May 10, 2025

    @github-actions

    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.

  4. kolAflash commented on May 12, 2025

    @kolAflash
    Author

    I'd suggest to keep this open. But I can't remove the stale label.

    I would think, that the fix is probably be pretty easy and would save users a lot of worrying.

  5. github-actions commented on Sep 10, 2025

    @github-actions

    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.

  6. kolAflash commented on Sep 11, 2025

    @kolAflash
    Author

    As said, it's probably an easy fix if someone knows the codebase.

    These lines look promising:

  7. github-actions commented on Oct 22, 2025

    @github-actions

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions