Skip to content

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

@kolAflash

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)

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