libratbag / piper

GTK application to configure gaming devices
GNU General Public License v2.0
4.58k stars 173 forks source link

Logitech G502 HERO Gaming Mouse - configuration doesn't work after restart #928

Open celdorwow opened 6 months ago

celdorwow commented 6 months ago

Hello,

Here are my specs:

The issue is every time I restart system the mouse either seems to remember the last configuration or is on some default settings. I can't change DPI, buttons do not work, and if I open piper and try to change a profile, I get the following message: Something went wrong the device has been reset to a previous state. This happens every time I restart system.

If I physically disconnect and connect a cable of the mouse, everything begins to work. Alternatively, I tried to run

sudo systemctl restart ratbagd.service

to bring the mouse to work but that does not change anything. Any idea what I can do to avoid reconnecting the cable?

Thanks

mftcodes commented 4 months ago

I am having the same as @celdorwow

restarting ratbagd.service does not help.

logs from ratbagd

ratbag debug: driver match found: Logitech HID++2.0
hidraw1: "Logitech G502 HERO SE", 5 profiles
ratbag debug: New device: Logitech G502 HERO SE
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: device assigned driver hidpp20
ratbag debug: hidraw info: bus 0x03 vendor 0x46d product 0xffffc08b
ratbag debug: Logitech G502 HERO SE is device '/dev/hidraw1'.
DBus server ready
ratbag raw: hidpp write:  10 ff 0c 38 00 03 00
ratbag raw: hidpp read:   11 ff 0d 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 0d 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 0d 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 0d 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 0d 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp read:   11 ff ff 0c 38 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag error:     HID++ error from the device (255): ERR_INVALID_ARGUMENT (02)

This is also a new problem after having been working properly for quite some time.