Skip to contentSkip to conversation

New: Bluetooth Mouse Polling Rate Regressed to 20hz

Bug 204585 [email protected] 1 participant 6 messages Aug 14, 2019 – Nov 6, 2019 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=204585

Bug ID: 204585
Summary: Bluetooth Mouse Polling Rate Regressed to 20hz
Product: Drivers
Version: 2.5
Kernel Version: Linux arch 5.2.8-arch1-1-ARCH
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Bluetooth
Assignee: [email protected]
Reporter: [email protected]
Regression: No

The problem arose with Microsoft BluetoothMouse3600. When you turn on the mouse behaves sluggishly. The evhz utility shows a polling rate of 20Hz. The problem is solved by changing the max and min values of the connection.

/usr/bin/hcitool con | grep " handle " | awk '{print $5}' | xargs -I {} /usr/bin/hcitool lecup --handle {} --min 6 --max 7 --latency 0

Maybe you should change the default value of conn_min_interval and conn_max_interval.
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/net/bluetooth?h=v5.2.8&id=33401f6ba0d9f23ca5877540375b88d7cd5b1f8f

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 204585] Bluetooth Mouse Polling Rate Regressed to 20hz

https://bugzilla.kernel.org/show_bug.cgi?id=204585

Leif Liddy ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Leif Liddy ([email protected]) ---
I'm seeing this exact same issue with an orochi (2015) mouse on my laptop running kernel 5.2.11
What'd odd is that this issue isn't present when using this mouse on my other laptop running the same distro + kernel (but different bluetooth chipset).

Not sure when this issue started exactly, but it was either kernel 5.1.x or 5.2.x.

The stated hcitool command solves the issue for me. Since hcitool is deprecated, what is the 'proper' method we're meant to use to implement this change?

I'm not able to change the polling intervals via debugfs as conn_min_interval and conn_max_interval don't exist

# find /sys/kernel/debug/bluetooth/hci0 -type f 
/sys/kernel/debug/bluetooth/hci0/le_max_key_size
/sys/kernel/debug/bluetooth/hci0/le_min_key_size
/sys/kernel/debug/bluetooth/hci0/vendor_diag
/sys/kernel/debug/bluetooth/hci0/dut_mode
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

[Bug 204585] Bluetooth Mouse Polling Rate Regressed to 20hz

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=204585

Pavel ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from Pavel ([email protected]) ---
Created attachment 284937
--> https://bugzilla.kernel.org/attachment.cgi?id=284937&action=edit
pairing issue capture

I am experiencing pairing issues after reversal

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#5 lore raw

[Bug 204585] Bluetooth Mouse Polling Rate Regressed to 20hz

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=204585

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #9 from [email protected] --- The problem is still here on kernel 5.3.0-19-generic

I discovered it with my Logitech M535 bluetooth mouse.

The workaround (overriding /sys/kernel/debug/bluetooth/hci0/conn_min_interval and conn_max_interval) works.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.