Skip to contentSkip to conversation

HID: logitech-hidpp: Signature M650 Bluetooth side buttons broken in GNOME/browsers

REGRESSION Felix Plamper 1 participant 1 message Nov 24

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

After upgrading to Linux 7.3.4 (NixOS 26.05, GNOME 50 / Wayland), the two side buttons on my Logitech Signature M650 (Bluetooth ID 0005:046D:B02A) stopped working for Back/Forward navigation in GNOME apps and web browsers. The same mouse still works as expected over the USB dongle.

This appears to be a regression introduced by:
HID: logitech-hidpp: enable reprogrammable buttons on Signature M650

Before Linux 7.3 (and still over USB), the side buttons emitted BTN_SIDE (275) and BTN_EXTRA (276). With the new HID++ 2.0 diversion enabled for Bluetooth in 7.3, they now emit BTN_BACK (278) and BTN_FORWARD (277), which GTK/Firefox/Chromium seem to ignore for standard mouse Back/Forward navigation.

Remapping BTN_BACK -> BTN_SIDE and BTN_FORWARD -> BTN_EXTRA in userspace (via evremap) immediately restores Back/Forward navigation.

Wouldn't it make more sense to map the diverted 0x0053 / 0x0056 controls to BTN_SIDE and BTN_EXTRA instead of BTN_BACK and BTN_FORWARD so standard Linux desktop navigation doesn't break?

Device info (libinput list-devices):
Device: Logitech Signature M650
Id: bluetooth:046d:b02a

Logs:

$ sudo libinput debug-events
event16  POINTER_BUTTON               +390.788s        BTN_BACK (278) pressed, seat count: 1
event16  POINTER_BUTTON               +390.953s        BTN_BACK (278) released, seat count: 0
event16  POINTER_BUTTON               +392.506s        BTN_FORWARD (277) pressed, seat count: 1
event16  POINTER_BUTTON               +392.701s        BTN_FORWARD (277) released, seat count: 0

After Remap:
event17 POINTER_BUTTON +0.570s BTN_EXTRA (276)
pressed, seat count: 1
event17 POINTER_BUTTON +0.773s BTN_EXTRA (276)
released, seat count: 0
event17 POINTER_BUTTON +1.635s BTN_SIDE (275) pressed,
seat count: 1
event17 POINTER_BUTTON +1.808s BTN_SIDE (275)
released, seat count: 0

With USB Dongle:
event19 POINTER_BUTTON +2.828s BTN_SIDE (275) pressed,
seat count: 1
event19 POINTER_BUTTON +2.835s BTN_SIDE (275)
released, seat count: 0
event19 POINTER_BUTTON +5.003s BTN_EXTRA (276)
pressed, seat count: 1
event19 POINTER_BUTTON +5.010s BTN_EXTRA (276)
released, seat count: 0

#regzbot introduced: v7.2..v7.3

Thanks,
Felix Plamper