Closed eshwar-chandra closed 11 months ago
I'm experiencing the same issue with ratbagd 0.16 and piper 0.6 with my MX Anywhere 3.
I have this same issue. Please see output from ratbagd --verbose=raw
:
Same problem here, on Logitech MX Master 3 (Debian 11).
Sounds related to https://github.com/libratbag/piper/issues/644
$ sudo ratbagd --verbose=raw
Initializing libratbag
...
ratbag debug: New device: Logitech G502 HERO Gaming Mouse
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 Gaming Mouse is device '/dev/hidraw4'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag debug: hidraw info: bus 0x03 vendor 0x46d product 0xffffc08b
ratbag debug: Logitech G502 HERO Gaming Mouse is device '/dev/hidraw5'.
...
DBus server ready
ratbag error: Error while writing macro for button 5
ratbag error: hidpp20: failed to update button (-22)
ratbagd error: error committing device (-1000)
This problem started last week for me with my G502 Hero, when on Windows my Logitech G Hub updated (i don't know if this is related).
Piper remapped buttons have their default function (and it shows the error mentioned in first post), and after reconnecting mouse it works fine.
same for me, after g-hub update... =(
Same issue with me after the update
Same here. I've been waiting to be able to use Piper with my MX Anywhere 2S on Linux for years.
If it's caused by the LG update, is there anyway to downgrade the mouse so it works with Piper again?
I was having this issue as well and found this comment on a similar issue: https://github.com/libratbag/libratbag/issues/907#issuecomment-1128434676(url)
Changing the mouse to use onboard profiles in LGHUB fixed it for me.
I was having this issue as well and found this comment on a similar issue: https://github.com/libratbag/libratbag/issues/907#issuecomment-1128434676
Changing the mouse to use onboard profiles in LGHUB fixed it for me.
this link isn´t working. Can you post the right one? Thanks
I was having this issue as well and found this comment on a similar issue: https://github.com/libratbag/libratbag/issues/907#issuecomment-1128434676 Changing the mouse to use onboard profiles in LGHUB fixed it for me.
this link isn´t working. Can you post the right one? Thanks
My bad. Should be working now.
Since piper started to work for me after reconnecting the mouse physically, I bypassed my problem like this (since I need both Windows and Linux, and I don't want to turn off it all the time on Windows)
EDITED:
I just found out that this fixes the problem, when I run it in terminal: sudo service ratbagd restart
is there any way to set my g502 to internal memory mode without reconnecting or booting into windows and change it there? @rRobis's way causes other side effects of other usb devices on my pc
is there any way to set my g502 to internal memory mode without reconnecting or booting into windows and change it there? @rRobis's way causes other side effects of other usb devices on my pc
@seriousm4x I just found out, that running just the sudo service ratbagd restart
does the job, without the USB reconnecting script. Piper works as expected afterwards for me.
Please try it out, maybe it will work for you too. 🙂
@seriousm4x I just found out, that running just the
sudo service ratbagd restart
does the job, without the USB reconnecting script. Piper works as expected afterwards for me.
Sadly, restarting ratbagd doesn't work for me
is there any way to set my g502 to internal memory mode without reconnecting or booting into windows and change it
Since I bought my wired G502 Hero I only used Linux, do I need to plug into Windows machine to do that?
Same problem here with my G502 Hero. I can only change my LED. piper - 0.7 ratbag - 0.16 distro - Arch Linux kernel - 6.1.4-arch1-1
Actually this happens to me ONLY when trying to set a Macro, reassigning Mouse / Keyboard buttons works as expected...
I'm having the same issue with assigning custom shortcuts/macros to buttons on my M702 Triathlon.
As a matter of protocol, do I need to submit a separate bug report for my specific model of mouse, or should I attach my logs to this one?
anyone have a fix of this ? Im hitting this issue with MX Master 3 with Fedora Linux 38. I faced same in earlier version of fedora as well. Any workaround ? Tried restarting the service already. Thanks
I don't recall if I have made changes to this mouse on Windows - if so, there's a long time already. Restarting the daemon made no difference either.
This is a fresh piper/ratbag install, on a recent Mint installation. The mouse shows fine on the Piper UI, but any change I make causes the same error - be it DPI or button changes.
Also, not sure if this is expected or part of the bug, but when it says "the device has been reset to the previous state", the UI doesn't change back as well.
Same error. The mouse is detected on the UI but can't change any value or button.
The 'device has been reset to previous state' error is produced by libratbag, and as such issues should be made there.
To conclude the thread:
1) To configure Logitech G502 with libratbag on-board profiles must be enabled - https://github.com/libratbag/libratbag/issues/1286 (which maybe is already fixed on libratbag v0.17.)
2) If the error appears from changing a specific option and you are not sure how to roll it back in the interface, you can restart ratbagd, on most distro's nowadays you can do it with systemctl restart ratbagd.service
.
Information
ratbagd
version (ratbagd --version
): 0.13uname -srmo
):5.14.0-1027-oem
Describe the bug when ever i do all the configurations like clt for one button under send keystroke and click on save is just shows a notification saying "Something went wrong : device hase been set to previous state "
To Reproduce
Logs Please start the daemon with verbosity and reproduce the issue.
First make sure it isn't running already.
Additional context Add any other context about the problem here.