Bluetooth adapter disappears after suspend", only shutdown can fix

Bluetooth adapter disappears after suspend", only shutdown can fix

Hello, I’m having trouble with my Bluetooth adapter on my e-os Linux system with a lenovo laptop, kernel version 6.6.21/6.8.1.
After suspending the system, the Bluetooth adapter disappears and I’m unable to reconnect. Below is the lsusb output:

➜  ~ lsusb               
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub  
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  
Bus 003 Device 002: ID 30c9:00a8 Luxvisions Innotech Limited Integrated RGB Camera  
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub  
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub  
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

ONLY shutdown and start the laptop, the bluetooth can go back, if only reboot, the bluetooth cant go back.
After the bluethooth adapter goes back, the lsusb output:

➜  ~ lsusb | grep Blue
Bus 001 Device 002: ID 0489:e0d8 Foxconn / Hon Hai Bluetooth Adapter

My system version:

➜  ~ uname -a
Linux lj-82y8 6.8.1-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 17:15:23 +0000 x86_64 GNU/Linux

➜  ~ inxi -Eazy
  
Bluetooth:
  Device-1: Foxconn / Hon Hai Bluetooth Adapter driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:2 chip-ID: 0489:e0d8
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c010c
    

Btw, I have already added the btusb.enable_autosuspend=0 kernel parameter:

➜  ~  systool -v -m btusb 
Module = "btusb"

  Attributes:
    coresize            = "86016"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "0"
    srcversion          = "5889BCB445ACD2BE60E76CB"
    taint               = ""
    uevent              = <store method only>
    version             = "0.8"

  Parameters:
    disable_scofix      = "N"
    enable_autosuspend  = "N"
    force_scofix        = "N"
    reset               = "Y"

I found some weird journal log when I close the lid, the laptop suspends, the system wake up seconds later by the Bluetooth.

3月 19 19:06:43 lj-82y8 systemd-logind[860]: Lid closed.
3月 19 19:06:43 lj-82y8 systemd-logind[860]: The system will suspend now!
3月 19 19:06:43 lj-82y8 NetworkManager[905]: <info>  [1710846403.6445] manager: sleep: sleep requested (sleeping: no  enabled: yes)
3月 19 19:06:43 lj-82y8 NetworkManager[905]: <info>  [1710846403.6447] device (p2p-dev-wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-stat>

.....
3月 19 19:06:52 lj-82y8 systemd-sleep[5768]: System returned from sleep operation 'suspend'.
3月 19 19:06:52 lj-82y8 bluetoothd[855]: Controller resume with wake event 0x0
3月 19 19:06:52 lj-82y8 kernel: PM: suspend exit

issue summary:

  • after suspend, the bluetooth adapter disappears RANDOMLY, especially discharge the AC adapter
  • only shutdown laptop can make bluethooth adapter go back, restart service, reboot system can’t
  • tried btusb.enable_autosuspend=0 , not working
  • no windows installed, only linux

I also posted this issue https://forum.manjaro.org/t/bluetooth-adapter-disappears-after-suspend-only-shutdown-can-fix/157919
because I have the same problem on the manjaro installation also.

Thank you in advance for any help you can provide. I appreciate your time and expertise.

1 Like

I found the work around, disable the blue tooth wake up can solve the problem…

disable this https://wiki.archlinux.org/title/bluetooth#Wake_from_suspend

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.