Branch: refs/heads/957071 Home: https://github.com/bluez/bluez Commit: 4090786a2a3d54d17526112ae3918599eb52fca5 https://github.com/bluez/bluez/commit/4090786a2a3d54d17526112ae3918599eb52fca5 Author: Frédéric Danis <frederic.danis@xxxxxxxxxxxxx> Date: 2025-04-25 (Fri, 25 Apr 2025) Changed paths: M src/device.c Log Message: ----------- device: Check presence of ServiceRecords when loading from store For a HID paired device, if the cache file containing the SDP records is not present this will prevent the device to connect and need to remove it and pair again. Current bluetoothd traces: src/shared/mgmt.c:can_read_data() [0x0000] event 0x000b src/adapter.c:connected_callback() hci0 device EC:83:50:76:BD:67 connected eir_len 31 src/shared/mgmt.c:can_read_data() [0x0000] event 0x0006 profiles/input/server.c:connect_event_cb() Incoming connection from EC:83:50:76:BD:67 on PSM 17 profiles/input/device.c:input_device_set_channel() idev 0x5580c6a331b0 psm 17 profiles/input/server.c:confirm_event_cb() profiles/input/server.c:connect_event_cb() Incoming connection from EC:83:50:76:BD:67 on PSM 19 profiles/input/device.c:input_device_set_channel() idev 0x5580c6a331b0 psm 19 profiles/input/device.c:hidp_add_connection() Could not parse HID SDP record: No such file or directory (2) profiles/input/device.c:ctrl_watch_cb() Device EC:83:50:76:BD:67 disconnected profiles/input/device.c:intr_watch_cb() Device EC:83:50:76:BD:67 disconnected This commit sets BREDR svc_resolved to false if the ServiceRecords entry is not present in the cache file, triggering service rediscover on next device connection. To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications