Bluetooth mouse sleeps after 5 seconds of inactivity, but btusb.enable_autosuspend=0 fixes it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I'm having bluetooth mouse lag issue. After leaving it stationary for 5 seconds, I have to move it for 2 seconds before the pointer starts moving.
I recently upgraded to Cosmic 3 days ago (from Bionic). There was no issue in the first 3 days, including after suspend/
I tried:
1. Running 'bluetoothctl' and then 'scan off'. The command failed to run with 'Failed to stop discovery: org.bluez.
2. modprobe -r btusb, then modprobe it again.
3. sudo sh -c 'echo N > /sys/module/
4. Disabling wifi.
$ apt-cache policy bluez
5.50-0ubuntu1
$uname -a; lspci -nnk | grep -iA2 net; lsusb; dmesg | grep -i bluetooth; dmesg | grep -i firmware; lsmod | grep bluetooth
4.18.0-10-generic #11
02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 73)
Subsystem: Intel Corporation Dual Band Wireless-N 7260 [8086:4460]
Kernel driver in use: iwlwifi
03:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12)
Subsystem: Dell RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1028:05f9]
Kernel driver in use: r8169
Kernel modules: r8169
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 17e9:4301 DisplayLink
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 047: ID 04f3:0206 Elan Microelectronics Corp.
Bus 002 Device 006: ID 8087:07dc Intel Corp.
Bus 002 Device 034: ID 0461:4d51 Primax Electronics, Ltd 0Y357C PMX-MMOCZUL (B) [Dell Laser Mouse]
Bus 002 Device 118: ID 0853:0132 Topre Corporation
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[ 287.361153] hid-generic 0005:046D:
bluetooth 548864 33 btrtl,btintel,
ecdh_generic 24576 2 bluetooth
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: bluez 5.50-0ubuntu1
ProcVersionSign
Uname: Linux 4.18.0-10-generic x86_64
ApportVersion: 2.20.10-0ubuntu13
Architecture: amd64
CurrentDesktop: MATE
Date: Mon Nov 5 13:40:01 2018
InstallationDate: Installed on 2018-07-08 (119 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
InterestingModules: rfcomm bnep btusb bluetooth
MachineType: Dell Inc. Inspiron 7537
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: bluez
UpgradeStatus: Upgraded to cosmic on 2018-11-02 (3 days ago)
dmi.bios.date: 10/31/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A05
dmi.board.name: 07PF9F
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: Shark Bay ULT
dmi.product.name: Inspiron 7537
dmi.product.sku: Inspiron 7537
dmi.sys.vendor: Dell Inc.
hciconfig:
hci0: Type: Primary Bus: USB
BD Address: FC:F8:AE:33:C7:31 ACL MTU: 1021:5 SCO MTU: 96:5
UP RUNNING
RX bytes:2380 acl:32 sco:0 events:208 errors:0
TX bytes:28560 acl:29 sco:0 commands:170 errors:0
summary: |
- Bluetooth mouse sleep after 5 seconds of inactivity + Bluetooth mouse sleeps after 5 seconds of inactivity |
Changed in bluez (Ubuntu): | |
status: | Invalid → New |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: cscc |
summary: |
- Bluetooth mouse sleeps after 5 seconds of inactivity + Bluetooth mouse sleeps after 5 seconds of inactivity, but + btusb.enable_autosuspend=0 fixes it |
tags: | removed: cosmic |
tags: | added: focal |
1. If you have 'tlp' installed then please try removing that.
2. If #1 has not solved the problem then please install 'powertop'. Now run:
sudo powertop
and keep pressing Tab till you reach the "Tunables" section. Find your mouse in that list ("Autosuspend for USB device..."). Does it show a "Good" or "Bad" value?