Disable Bluetooth autosuspend

cat /sys/bus/usb/devices/*/power/control
lsusb -t

Add the following to kernel command line if they are compiled into kernel.

btusb.enable_autosuspend=n
usbcore.autosuspend=-1
usbcore.autosuspend_delay_ms=-1

Or add to /etc/modprobe.d/ if they are loaded as modules.

options usbcore autosuspend=-1
options usbcore autosuspend_delay_ms=-1
options btusb enable_autosuspend=n

You can also change udev rules

ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="on" 
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/autosuspend", ATTR{power/autosuspend}="-1"
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/autosuspend_delay_ms", ATTR{power/autosuspend_delay_ms}="-1"

 

https://www.kernel.org/doc/Documentation/usb/power-management.txt

https://bugzilla.redhat.com/show_bug.cgi?id=1514836

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s