i have a Logitech G600 and i cant get it to configure properly. Piper is just not working. everything keeps getting lost on reboot and/or mouse replug.
i go into piper. and i configure each of the buttons to act as the correct button number. i set button 14 to act as button 14 and so on. i set the resolution to what i desire, and i hit apply.
in this state, no application, not even evtest, can read the inputs 9 through 20. and after replugging, piper forgets all of my settings.
piper before replug:
and this is after replug or reboot:
what am i doing wrong here? how does one actually configure the settings on this mouse, if not via piper?
[Software]How to configure USB mice?
- kent_dorfman766
- Posts: 300
- Joined: 2022-12-16 06:34
- Location: socialist states of america
- Has thanked: 22 times
- Been thanked: 38 times
Re: [Software]How to configure USB mice?
a USB mouse must either follow the predefined USB driver class for HID or provide a custom driver. With all those buttons I'd expect it to need a custom driver.
You mentioned evtest doesn't see the upper button range. That makes me suspect even more that it needs a custom driver. I don't know what piper is.
You mentioned evtest doesn't see the upper button range. That makes me suspect even more that it needs a custom driver. I don't know what piper is.
Re: [Software]How to configure USB mice?
Since this only took a minute or two from my closer to 90 than 80 life...
Well, lookie here, it's that Synaptic thing again.
"Piper is a graphical user interface to configure gaming devices. Configuration
options include changing the resolution (DPI) of mice, adding and removing
profiles, setting LED colors and changing button behaviors."
Which leads us to: https://github.com/libratbag/piper.
Which leads to: libratbag/data/devices/logitech-g600.device
Which leads to my wanting one of those so I have more clicking options.
Well, lookie here, it's that Synaptic thing again.
"Piper is a graphical user interface to configure gaming devices. Configuration
options include changing the resolution (DPI) of mice, adding and removing
profiles, setting LED colors and changing button behaviors."
Which leads us to: https://github.com/libratbag/piper.
Which leads to: libratbag/data/devices/logitech-g600.device
Which leads to my wanting one of those so I have more clicking options.

There's no drama in my sid......
- stevepusser
- Posts: 12694
- Joined: 2009-10-06 05:53
- Has thanked: 25 times
- Been thanked: 37 times
Re: [Software]How to configure USB mice?
Perhaps it needs a backport of the current libratbag and piper in Bookworm for released Debian versions.
MX Linux packager and developer
-
- Posts: 18
- Joined: 2020-01-30 19:21
Re: [Software]How to configure USB mice?
UPDATE: ive got all the top buttons and mouse tilt working fine. the thumb keys are a problem tho. evtest can see the correctly rebound thumb key inputs, but X11 cannot. confirmed by xev. turns out Piper is useless on this mouse. scancodes need to be mapped to keycodes. see https://wiki.archlinux.org/title/Map_sc ... o_keycodes
here is my /etc/udev/hwdb.d/69-custom.hwdb
i have confirmed X11 is using evdev for this mouse.
it seems X11 just will not read key_macro keycodes.
or its also possible key_macro might not even be getting sent to X11. I dont know how to tell.
very strange.
here is my /etc/udev/hwdb.d/69-custom.hwdb
Code: Select all
evdev:input:b*v046DpC24A*
#top button
KEYBOARD_KEY_70010=btn_8
#mwheel tilting
KEYBOARD_KEY_7000f=btn_right
KEYBOARD_KEY_70015=btn_left
#thumb keys
KEYBOARD_KEY_70059=key_macro1
KEYBOARD_KEY_7005a=key_macro2
KEYBOARD_KEY_7005b=key_macro3
KEYBOARD_KEY_7005c=key_macro4
KEYBOARD_KEY_7005d=key_macro5
KEYBOARD_KEY_7005e=key_macro6
KEYBOARD_KEY_7005f=key_macro7
KEYBOARD_KEY_70060=key_macro8
KEYBOARD_KEY_70061=key_macro9
KEYBOARD_KEY_70062=key_macro10
KEYBOARD_KEY_70005=key_macro11
KEYBOARD_KEY_70004=key_macro12
it seems X11 just will not read key_macro keycodes.
or its also possible key_macro might not even be getting sent to X11. I dont know how to tell.
very strange.
-
- Posts: 18
- Joined: 2020-01-30 19:21
Re: [Software]How to configure USB mice?
that's the idea that im going for. physically, i find the mouse quite comfortable to work with. if only i could figure out how to get X11 to read all the keys.