libratbag: Logitech G502 Proteus Core ERR_INVALID_ADDRESS

Whenever I try to “apply” in piper, it says “Failed to commit changes”. I also get this error from ratbagd: ratbag error: HID++ error from the device (255): ERR_INVALID_ADDRESS (02)

May be related to #24, not sure.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (9 by maintainers)

Commits related to this issue

Most upvoted comments

If I write a list of all-disabled profiles, on my G502 spectrum, I get the same error. Although, it should be an “invalid argument” error, libratbag is confusing HID++1.0 and HID++2.0 error codes.

Libratbag only showed the currently enabled profile

ratbag-command should not have shown any profile as “enabled”. This is what I get after overwriting my profile list with disabled profiles (and receiving the error):

Device 'Logitech Gaming Mouse G502'
Capabilities: res profile btn-key led
Number of buttons: 11
Number of leds: 2
Profiles supported: 3
  Profile 0 (disabled)
  Profile 1 (disabled) (active)
  Profile 2 (disabled)

I could switch through them fine with the profile switch button on my mouse.

When the firmware detect any invalid data, it uses profiles from the ROM, so the mouse is still usable and seems to work with its factory default profiles.