Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bluetooth problems (after laptop firmware update?) [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
equaeghe
l33t
l33t


Joined: 22 Feb 2005
Posts: 637

PostPosted: Tue Dec 12, 2023 10:08 am    Post subject: bluetooth problems (after laptop firmware update?) [solved] Reply with quote

This weekend, I installed a firmware update for my laptop (Lenovo T14 Gen1 AMD). I also installed a new kernel (gentoo-sources 6.1.57 → 6.1.66) around the same time.
Since then, I have the problem that my bluetooth either fails to start or fails after a while, after having successfully started. Some googling gave me the information to unload and reload the btusb module to temporarily fix it; it does, but very temporarily (15 mins?). Currentlly, I have no clue how to diagnose and fix what is going on, so I hope someone can give some good advice.

Below, I'm going to give some hopefully relevant excerpts of boot sequences with two kernels, until bluetooth gives out.

6.1.57, quickly giving a kernel oops:
Code:

Bluetooth: Core ver 2.22
NET: Registered PF_BLUETOOTH protocol family
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
mousedev: PS/2 mouse device common for all mice
usbcore: registered new interface driver btusb
Loading firmware: intel/ibt-20-1-3.sfi
Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
Bluetooth: hci0: Boot Address: 0x24800
Bluetooth: hci0: Firmware Version: 255-255.255
usb 6-4: USB disconnect, device number 3
Bluetooth: hci0: FW download error recovery failed (-19)
Bluetooth: hci0: Hardware error 0x0a
BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 0 P4D 0
Oops: 0000 [#1] SMP NOPTI
CPU: 14 PID: 187 Comm: kworker/u33:0 Tainted: G           O    T  6.1.57-gentoo-a #1
Hardware name: LENOVO 20UDS0DK00/20UDS0DK00, BIOS R1BET77W(1.46 ) 10/24/2023
Workqueue: hci0 0xffffffffc0c685e0
RIP: 0010:0xffffffffb5c6e531
Code: c6 04 0f 85 e9 00 00 00 48 c1 ee 05 81 fe ff ff ff 7f 0f 84 e4 00 00 00 48 63 f6 48 c7 c7 30 2d 62 b7 e8 52 8a b5 00 49 89 c7 <48> 8b 7d 00 4d 85 ff 0f 84 c9 00 00 00 49 39 ff 0f 84 c0 00 00 00
RSP: 0018:ffffbb6e41fdfd80 EFLAGS: 00010046
RAX: ffff9ff704b78800 RBX: ffff9ff703966988 RCX: ffff9ff700400b68
RDX: ffff9ff704b78800 RSI: 0000000000000000 RDI: 0000000000000021
RBP: 0000000000000000 R08: ffff9ff700400c98 R09: ffffffffb7622d30
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000010
R13: 000000000000000e R14: ffff9ff700dfc800 R15: ffff9ff704b78800
FS:  0000000000000000(0000) GS:ffffa001df980000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000109d48000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 ? 0xffffffffb67eae9b
 ? 0xffffffffb5c6e90f
 ? 0xffffffffb67eb034
 ? 0xffffffffb5c39b39
 ? 0xffffffffb684b423
 ? 0xffffffffb6a00b72
 ? 0xffffffffb5c6e531
 0xffffffffb5c6e90f
 0xffffffffc0caedd5
 0xffffffffc0caee40
 0xffffffffc07a44da
 0xffffffffc0c68609
 0xffffffffb5c6fdb5
 0xffffffffb5c70329
 ? 0xffffffffb5c702e0
 0xffffffffb5c75aa1
 ? 0xffffffffb5c759e0
 0xffffffffb5c01ba2
 </TASK>
Modules linked in: btusb btintel mousedev bluetooth ecdh_generic ecc uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc ext4 crc16 mbcache jbd2 iwlmvm mac80211 snd_ctl>
 platform_profile tpm_tis usb_common typec tpm_tis_core snd soundcore rfkill i2c_scmi input_leds acpi_cpufreq led_class serio_raw evdev sch_fq_codel vboxnetflt(O) vboxnetadp(O) vboxdrv(O) pkcs8_key_parser>
CR2: 0000000000000000
---[ end trace 0000000000000000 ]---
RIP: 0010:0xffffffffb5c6e531
Code: c6 04 0f 85 e9 00 00 00 48 c1 ee 05 81 fe ff ff ff 7f 0f 84 e4 00 00 00 48 63 f6 48 c7 c7 30 2d 62 b7 e8 52 8a b5 00 49 89 c7 <48> 8b 7d 00 4d 85 ff 0f 84 c9 00 00 00 49 39 ff 0f 84 c0 00 00 00
RSP: 0018:ffffbb6e41fdfd80 EFLAGS: 00010046
RAX: ffff9ff704b78800 RBX: ffff9ff703966988 RCX: ffff9ff700400b68
RDX: ffff9ff704b78800 RSI: 0000000000000000 RDI: 0000000000000021
RBP: 0000000000000000 R08: ffff9ff700400c98 R09: ffffffffb7622d30
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000010
R13: 000000000000000e R14: ffff9ff700dfc800 R15: ffff9ff704b78800
FS:  0000000000000000(0000) GS:ffffa001df980000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000109d48000 CR4: 0000000000350ee0


6.1.66 seems to do well, but later fails; starting the excerpt beyond the point where bluetooth seemed correctly loaded:
Code:

kernel: Bluetooth: hci0: Waiting for firmware download to complete
kernel: Bluetooth: hci0: Firmware loaded in 1488402 usecs
kernel: Bluetooth: hci0: Waiting for device to boot
kernel: Bluetooth: hci0: Device booted in 13896 usecs
kernel: Loading firmware: intel/ibt-20-1-3.ddc
kernel: Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-20-1-3.ddc
kernel: Bluetooth: hci0: Applying Intel DDC parameters completed
kernel: Bluetooth: hci0: Firmware revision 0.3 build 249 week 27 2023
kernel: Bluetooth: MGMT ver 1.22
bluetoothd[953]: src/device.c:device_set_wake_support() Unable to set wake_support without RPA resolution
NetworkManager[832]: <info>  [1702367806.0281] manager: (98:B8:BC:63:C9:86): new Bluetooth device (/org/freedesktop/NetworkManager/Devices/7)
NetworkManager[832]: <info>  [1702367806.0286] device (98:B8:BC:63:C9:86): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
NetworkManager[832]: <info>  [1702367806.0297] device (98:B8:BC:63:C9:86): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
bluetoothd[953]: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters
kernel: Bluetooth: hci0: Bad flag given (0x1) vs supported (0x0)
kernel: [drm] crtc[1] needs mode_changed
systemd[1]: updatedb.service: Deactivated successfully.
systemd[1]: Finished updatedb.service.
kernel: Bluetooth: hci0: Unknown advertising packet type: 0x40    <-------- REPEATED MULTIPLE TIMES LATER ON
[…]
kernel: Bluetooth: hci0: Ignoring error of Inquiry Cancel command
[…]
kernel: Bluetooth: hci0: Opcode 0x0401 failed: -16    <-------- REPEATED MULTIPLE TIMES LATER ON
[…]
bluetoothd[953]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down    <-------- REPEATED MULTIPLE TIMES LATER ON

After rmmod'ing and insmod'ing btusb, I get
Code:

sudo[18508]: equaeghe : TTY=pts/9 ; PWD=/home/equaeghe ; USER=root ; COMMAND=/usr/sbin/insmod /lib/modules/6.1.66-gentoo-a/kernel/drivers/bluetooth/btusb.ko
kernel: usbcore: registered new interface driver btusb
systemd[1718]: Reached target bluetooth.target.
systemd[1]: Reached target bluetooth.target.
kernel: Loading firmware: intel/ibt-20-1-3.sfi
kernel: Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
kernel: Bluetooth: hci0: Boot Address: 0x24800
kernel: Bluetooth: hci0: Firmware Version: 255-255.255
kernel: usb 6-4: USB disconnect, device number 3
kernel: Bluetooth: hci0: FW download error recovery failed (-19)
systemd[1718]: Stopped target bluetooth.target.
systemd[1]: Stopped target bluetooth.target.
kernel: usb 6-4: new full-speed USB device number 5 using xhci_hcd
kernel: usb 6-4: New USB device found, idVendor=8087, idProduct=0029, bcdDevice= 0.01
kernel: usb 6-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
kernel: Bluetooth: hci0: Bootloader revision 0.3 build 0 week 24 2017
kernel: Bluetooth: hci0: Device revision is 1
kernel: Bluetooth: hci0: Secure boot is enabled
kernel: Bluetooth: hci0: OTP lock is enabled
kernel: Bluetooth: hci0: API lock is enabled
kernel: Bluetooth: hci0: Debug lock is disabled
kernel: Bluetooth: hci0: Minimum firmware build 1 week 10 2014
kernel: Loading firmware: intel/ibt-20-1-3.sfi
kernel: Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
kernel: Bluetooth: hci0: Boot Address: 0x24800
kernel: Bluetooth: hci0: Firmware Version: 255-255.255
systemd[1718]: Reached target bluetooth.target.
systemd[1]: Reached target bluetooth.target.
kernel: Bluetooth: hci0: Waiting for firmware download to complete
kernel: Bluetooth: hci0: Firmware loaded in 1424716 usecs
kernel: Bluetooth: hci0: Waiting for device to boot
kernel: Bluetooth: hci0: Device booted in 14958 usecs
kernel: Loading firmware: intel/ibt-20-1-3.ddc
kernel: Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-20-1-3.ddc
kernel: Bluetooth: hci0: Applying Intel DDC parameters completed
kernel: Bluetooth: hci0: Firmware revision 0.3 build 249 week 27 2023
kernel: Bluetooth: MGMT ver 1.22
bluetoothd[953]: src/device.c:device_set_wake_support() Unable to set wake_support without RPA resolution
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/ldac
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink/aptx_hd
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_hd
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink/aptx
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink/aac
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aac
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink/sbc
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/sbc
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink/sbc_xq
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/sbc_xq
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_ll_1
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_ll_0
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/faststream
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/faststream_duplex
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink/opus_05
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/opus_05
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink/opus_05_duplex
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/opus_05_duplex
NetworkManager[832]: <info>  [1702375061.8440] manager: (98:B8:BC:63:C9:86): new Bluetooth device (/org/freedesktop/NetworkManager/Devices/9)
NetworkManager[832]: <info>  [1702375061.8445] device (98:B8:BC:63:C9:86): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
NetworkManager[832]: <info>  [1702375061.8452] device (98:B8:BC:63:C9:86): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
bluetoothd[953]: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters
kernel: Bluetooth: hci0: Bad flag given (0x1) vs supported (0x0)
kernel: input: MX Anywhere 3 Mouse as /devices/virtual/misc/uhid/0005:046D:B025.000B/input/input33
kernel: hid-generic 0005:046D:B025.000B: input,hidraw8: BLUETOOTH HID v0.14 Mouse [MX Anywhere 3] on 64:bc:58:45:b7:70
kded5[18578]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
kded5[18578]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
kded5[18578]: kcm_touchpad: Using X11 backend
kernel: usb 6-3: USB disconnect, device number 4
kernel: usb 6-3: new full-speed USB device number 6 using xhci_hcd
kernel: usb 6-3: New USB device found, idVendor=06cb, idProduct=00bd, bcdDevice= 0.00
kernel: usb 6-3: New USB device strings: Mfr=0, Product=0, SerialNumber=1
kernel: usb 6-3: SerialNumber: 160cbab14e26
mtp-probe[18608]: checking bus 6, device 6: "/sys/devices/pci0000:00/0000:00:08.1/0000:07:00.4/usb6/6-3"
mtp-probe[18608]: bus: 6, device: 6 was not an MTP device
mtp-probe[18637]: checking bus 6, device 6: "/sys/devices/pci0000:00/0000:00:08.1/0000:07:00.4/usb6/6-3"
mtp-probe[18637]: bus: 6, device: 6 was not an MTP device
kernel: usb 6-4: reset full-speed USB device number 5 using xhci_hcd
org_kde_powerdevil[1951]: QObject::disconnect: Unexpected nullptr parameter
org_kde_powerdevil[1951]: QObject::disconnect: Unexpected nullptr parameter
kernel: Bluetooth: hci0: command 0x0406 tx timeout
kernel: usb 6-4: USB disconnect, device number 5
kernel: Bluetooth: hci0: command 0x0c03 tx timeout
bluetoothd[953]: Failed to disconnect device: Invalid Index (0x11)
kernel: Bluetooth: hci0: HCI reset during shutdown failed
bluetoothd[953]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Software caused connection abort
NetworkManager[832]: <info>  [1702375088.8503] device (98:B8:BC:63:C9:86): state change: disconnected -> unmanaged (reason 'removed', sys-iface-state: 'removed')
bluetoothd[953]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 44:EA:D8:EB:24:E3: Software caused connection abort (103)
bluetoothd[953]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Software caused connection abort
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource/ldac
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSink/aptx_hd
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_hd
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSink/aptx
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSink/aac
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aac
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSink/sbc
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource/sbc
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSink/sbc_xq
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource/sbc_xq
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_ll_1
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_ll_0
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource/faststream
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource/faststream_duplex
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSink/opus_05
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource/opus_05
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSink/opus_05_duplex
bluetoothd[953]: Endpoint unregistered: sender=:1.48 path=/MediaEndpoint/A2DPSource/opus_05_duplex
plasmashell[1887]: file:///usr/lib64/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
systemd[1718]: Stopped target bluetooth.target.
systemd[1]: Stopped target bluetooth.target.
dbus-daemon[758]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.48" (uid=1000 pid=2001 comm="/usr/bin/wireplumber") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndp>    <---- REPEATED MANY TIMES
[…]
kdeconnectd[2154]: qt.bluetooth.bluez: Device discovery aborted due to unexpected adapter changes from another process.
plasmashell[1887]: kf.bluezqt: PendingCall Error: "Method \"Set\" with signature \"ssv\" on interface \"org.freedesktop.DBus.Properties\" doesn't exist\n"
plasmashell[1887]: kf.bluezqt: PendingCall Error: "Method \"Set\" with signature \"ssv\" on interface \"org.freedesktop.DBus.Properties\" doesn't exist\n"
kernel: usb 6-3: USB disconnect, device number 6
kernel: usb 6-3: new full-speed USB device number 7 using xhci_hcd
kernel: usb 6-3: New USB device found, idVendor=06cb, idProduct=00bd, bcdDevice= 0.00
kernel: usb 6-3: New USB device strings: Mfr=0, Product=0, SerialNumber=1
kernel: usb 6-3: SerialNumber: 160cbab14e26
mtp-probe[18748]: checking bus 6, device 7: "/sys/devices/pci0000:00/0000:00:08.1/0000:07:00.4/usb6/6-3"
mtp-probe[18748]: bus: 6, device: 7 was not an MTP device
mtp-probe[18777]: checking bus 6, device 7: "/sys/devices/pci0000:00/0000:00:08.1/0000:07:00.4/usb6/6-3"
mtp-probe[18777]: bus: 6, device: 7 was not an MTP device
kernel: usb 6-4: new full-speed USB device number 8 using xhci_hcd
kernel: usb 6-4: New USB device found, idVendor=8087, idProduct=0029, bcdDevice= 0.01
kernel: usb 6-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
kernel: Bluetooth: hci0: Bootloader revision 0.3 build 0 week 24 2017
kernel: Bluetooth: hci0: Device revision is 1
kernel: Bluetooth: hci0: Secure boot is enabled
kernel: Bluetooth: hci0: OTP lock is enabled
kernel: Bluetooth: hci0: API lock is enabled
kernel: Bluetooth: hci0: Debug lock is disabled
kernel: Bluetooth: hci0: Minimum firmware build 1 week 10 2014
kernel: Loading firmware: intel/ibt-20-1-3.sfi
kernel: Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
kernel: Bluetooth: hci0: Boot Address: 0x24800
kernel: Bluetooth: hci0: Firmware Version: 255-255.255
systemd[1718]: Reached target bluetooth.target.
systemd[1]: Reached target bluetooth.target.
kernel: Bluetooth: hci0: Waiting for firmware download to complete
kernel: Bluetooth: hci0: Firmware loaded in 1537995 usecs
kernel: Bluetooth: hci0: Waiting for device to boot
kernel: Bluetooth: hci0: Device booted in 14684 usecs
kernel: Loading firmware: intel/ibt-20-1-3.ddc
kernel: Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-20-1-3.ddc
kernel: Bluetooth: hci0: Applying Intel DDC parameters completed
kernel: Bluetooth: hci0: Firmware revision 0.3 build 249 week 27 2023
kernel: Bluetooth: MGMT ver 1.22
bluetoothd[953]: src/device.c:device_set_wake_support() Unable to set wake_support without RPA resolution
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/ldac
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink/aptx_hd
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_hd
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink/aptx
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink/aac
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aac
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink/sbc
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/sbc
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink/sbc_xq
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/sbc_xq
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_ll_1
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_ll_0
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/faststream
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/faststream_duplex
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink/opus_05
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/opus_05
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSink/opus_05_duplex
bluetoothd[953]: Endpoint registered: sender=:1.48 path=/MediaEndpoint/A2DPSource/opus_05_duplex
NetworkManager[832]: <info>  [1702375091.6228] manager: (98:B8:BC:63:C9:86): new Bluetooth device (/org/freedesktop/NetworkManager/Devices/10)
NetworkManager[832]: <info>  [1702375091.6232] device (98:B8:BC:63:C9:86): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
NetworkManager[832]: <info>  [1702375091.6239] device (98:B8:BC:63:C9:86): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
bluetoothd[953]: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters
kernel: Bluetooth: hci0: Bad flag given (0x1) vs supported (0x0)
bluetoothd[953]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down    <-------- REPEATED MULTIPLE TIMES LATER ON
kernel: Bluetooth: hci0: Unknown advertising packet type: 0x40
kernel: input: MX Anywhere 3 Mouse as /devices/virtual/misc/uhid/0005:046D:B025.000C/input/input35
kernel: hid-generic 0005:046D:B025.000C: input,hidraw8: BLUETOOTH HID v0.14 Mouse [MX Anywhere 3] on 64:bc:58:45:b7:70
kernel: input: SoundTouch 10 (AVRCP) as /devices/virtual/input/input37
systemd-logind[761]: Watching system buttons on /dev/input/event26 (SoundTouch 10 (AVRCP))
kded5[18841]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
kded5[18841]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
kded5[18841]: kcm_touchpad: Using X11 backend
kernel: Bluetooth: hci0: Opcode 0x200e failed: -16
[…]
org_kde_powerdevil[1951]: QObject::disconnect: Unexpected nullptr parameter
org_kde_powerdevil[1951]: QObject::disconnect: Unexpected nullptr parameter
kernel: usb 6-3: USB disconnect, device number 7
kernel: usb 6-3: new full-speed USB device number 9 using xhci_hcd
kernel: usb 6-3: New USB device found, idVendor=06cb, idProduct=00bd, bcdDevice= 0.00
kernel: usb 6-3: New USB device strings: Mfr=0, Product=0, SerialNumber=1
kernel: usb 6-3: SerialNumber: 160cbab14e26
mtp-probe[18915]: checking bus 6, device 9: "/sys/devices/pci0000:00/0000:00:08.1/0000:07:00.4/usb6/6-3"
mtp-probe[18915]: bus: 6, device: 9 was not an MTP device
mtp-probe[18944]: checking bus 6, device 9: "/sys/devices/pci0000:00/0000:00:08.1/0000:07:00.4/usb6/6-3"
kernel: usb 6-4: reset full-speed USB device number 8 using xhci_hcd
mtp-probe[18944]: bus: 6, device: 9 was not an MTP device
kernel: Bluetooth: hci0: command 0x2042 tx timeout
kernel: Bluetooth: hci0: Opcode 0x2042 failed: -110
kernel: Bluetooth: hci0: Unable to disable scanning: -110

By the end of this (less than two minutes later) bluetooth is down again.


Last edited by equaeghe on Thu Dec 14, 2023 9:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Tue Dec 12, 2023 9:11 pm    Post subject: Reply with quote

I do not trust too much Intel wireless wifi and bluetooth. You probably have a wifi/bluetooth mini-pcie combo but, if it was working before it is probably again the firmware and/or the kernel updates who give problem. To identify the culprit you can update the kernel to a testing version higher than the one you have now and see if it change something. If not than upgrade the firmware and see.

The moment that the kernel probe for bluetooth is important. If the bluetooth support is in the kernel [y] than the firmware must be in the kernel too. If it is module [m] and in an initramfs than the firmware must be in the initramfs too. Otherwise you can ask to load the bluetooth kernel modules after the real root partition is mounted.
_________________
Paul


Last edited by Logicien on Thu Dec 14, 2023 10:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1441
Location: Earth

PostPosted: Wed Dec 13, 2023 12:08 am    Post subject: Reply with quote

Quote:
managed to work around the issue by resetting the Bluetooth adapter when it doesn't work:

Code:
usb_modeswitch -R -v 0489 -p e0cd

found it here - hope it'll help. https://www.reddit.com/r/thinkpad/comments/wz5nps/thinkpad_t14s_amd_gen_1_usb_and_bluetooth_problems/

have you tried by resetting your BIOS to default and maybe deactivate some settings which you don't need in BIOS? <<< if you're familiar with BIOS and such !

please try one of the current 6.6.* kernels - to my knowledge LTS kernels behaving weird sometimes.

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
equaeghe
l33t
l33t


Joined: 22 Feb 2005
Posts: 637

PostPosted: Thu Dec 14, 2023 9:31 pm    Post subject: Reply with quote

Switching to gentoo-sources-6.6.7 seems to be an adequate fix for now. Thanks for pushing me to try it!
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1441
Location: Earth

PostPosted: Thu Dec 14, 2023 10:36 pm    Post subject: Reply with quote

equaeghe wrote:
Switching to gentoo-sources-6.6.7 seems to be an adequate fix for now. Thanks for pushing me to try it!

glad to hear.

have fun with Gentoo.

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum