libratbag / piper

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

Send Keystroke not working #386

Open beachrunner2k opened 5 years ago

beachrunner2k commented 5 years ago

I have a Logitech MX Anywhere 2 and am trying to assign keystrokes to buttons on the mouse. Every time I attempt to assign a keystroke, I receive the error "Something went wrong. The device has been reset to a previous state." The keystroke does not get assigned to the button.

Any ideas what might be happening or can I provide some relevant logs to help debugging? error

L-Sypniewski commented 5 years ago

I have the same problem with Logitech G9

codecex commented 5 years ago

I have exactly the same problem here for anywhere 2S (Manjaro Linux).

beachrunner2k commented 5 years ago

Is it only related to Logitech mice?

How can we provide some debug info?

numin0us commented 5 years ago

I'm running into the same issue with my Logitech MX Ergo

beachrunner2k commented 5 years ago

How can I submit the relevant log data to help troubleshoot?

ronebrandao commented 5 years ago

Someone figured out something?

beachrunner2k commented 5 years ago

It's still not working for me on Fedora 30.

Zer0Lyfe commented 4 years ago

For me it seems like it only happens with the shift key on the G903 hero. Arch Linux.

Verbose logs: https://pastebin.com/B1dzf455

FFY00 commented 4 years ago

Please start the daemon with verbosity (make sure it is not running already).

ratbagd --verbose=raw
Zer0Lyfe commented 4 years ago

This is that log I think you asked for. https://pastebin.com/nYV9yQ8f

note: I tried applying Left shift at the bottom to another button as i had changed the button using windows as temporary solution.

GitJamz commented 4 years ago

having the same problem with mxmaster 2s on KDE Neon. Everytime I click something it just says "something went wrong, the device has been reset to a previous state".

FFY00 commented 4 years ago

Try libratbag master.

GitJamz commented 4 years ago

Try libratbag master.

me? Sorry Im a newbie in both linux and github.. How do I do this?

FFY00 commented 4 years ago

Then I think it's maybe easier if you just wait for a new release. I should do it before the end of the month.

GitJamz commented 4 years ago

Then I think it's maybe easier if you just wait for a new release. I should do it before the end of the month.

Ok.. Sounds good. So you are one of those who is making this work? If so big thank you for your efforts dude! I have added the ppa through terminal and then sudo apt install ratbagd . Will this mean that I will see a update in my packagemanager (discover) in my linux distro when the new release comes?

Edit: BTW dude.. Even though it complains when I hit "apply" I think that this FINALLY fixed my mouse lag. I have tried everything and made several posts on forums etc.. But when I hit the 1000hz button I think now I finally have a windows like experience with this bluetooth mouse now!

FFY00 commented 4 years ago

Ok.. Sounds good. So you are one of those who is making this work? If so big thank you for your efforts dude!

Thanks :)

I have added the ppa through terminal and then sudo apt install ratbagd . Will this mean that I will see a update in my packagemanager (discover) in my linux distro when the new release comes?

Well, I think shortly after that package should get updated.

Edit: BTW dude.. Even though it complains when I hit "apply" I think that this FINALLY fixed my mouse lag. I have tried everything and made several posts on forums etc.. But when I hit the 1000hz button I think now I finally have a windows like experience with this bluetooth mouse now!

It could be possible the we update the report rate and then hit an error doing something else.

GitJamz commented 4 years ago

Ok.. Sounds good. So you are one of those who is making this work? If so big thank you for your efforts dude!

Thanks :)

I have added the ppa through terminal and then sudo apt install ratbagd . Will this mean that I will see a update in my packagemanager (discover) in my linux distro when the new release comes?

Well, I think shortly after that package should get updated.

Edit: BTW dude.. Even though it complains when I hit "apply" I think that this FINALLY fixed my mouse lag. I have tried everything and made several posts on forums etc.. But when I hit the 1000hz button I think now I finally have a windows like experience with this bluetooth mouse now!

It could be possible the we update the report rate and then hit an error doing something else.

Hi, I have seen in my KDE Neon distro that there was some libratbag updates etc the other day.. But piper still behaving the same.. Is there still updates on the way or is it just not working still..?

GitJamz commented 4 years ago

Ok.. Sounds good. So you are one of those who is making this work? If so big thank you for your efforts dude!

Thanks :)

I have added the ppa through terminal and then sudo apt install ratbagd . Will this mean that I will see a update in my packagemanager (discover) in my linux distro when the new release comes?

Well, I think shortly after that package should get updated.

Edit: BTW dude.. Even though it complains when I hit "apply" I think that this FINALLY fixed my mouse lag. I have tried everything and made several posts on forums etc.. But when I hit the 1000hz button I think now I finally have a windows like experience with this bluetooth mouse now!

It could be possible the we update the report rate and then hit an error doing something else.

Hi, How is it going with this... Do you know? Im having the same issues still.

teaqu commented 4 years ago

I'm having the same issue. https://pastebin.com/VjYDBqVM OS: Manjaro Linux x86_64 Kernel: 5.4.22-1-MANJARO

GitJamz commented 4 years ago

I'm having the same issue. https://pastebin.com/VjYDBqVM OS: Manjaro Linux x86_64 Kernel: 5.4.22-1-MANJARO

Dunno if this place is dead.. Wrote and asked 20 days ago as you see.. Not a single answer

FFY00 commented 4 years ago

Sorry, we have been busy.

Please install the latest release and past start the daemon with --verbose=raw.

teaqu commented 4 years ago

Sorry, we have been busy.

Please install the latest release and past start the daemon with --verbose=raw.

No problem. https://pastebin.com/p4LWqyGW Let me know if need anything else. Also just in case it helps, the mouse works fine with xbindkeys.

GitJamz commented 4 years ago

Sorry, we have been busy.

Please install the latest release and past start the daemon with --verbose=raw.

Any news on that guys logs..?

beachrunner2k commented 4 years ago

I'm still experiencing the "Something went wrong..." error when trying to assign a keystroke to the mouse. Anyone been able to fix it or find a workaround?

GitJamz commented 4 years ago

I'm still experiencing the "Something went wrong..." error when trying to assign a keystroke to the mouse. Anyone been able to fix it or find a workaround?

Nope been the same for months.. Really frustrating.. You dont even need to assign a keystroke. Just leave it open for a while and you will see the same..

teaqu commented 4 years ago

Anyone been able to fix it or find a workaround?

Not using piper, but xbindkeys works so you could use that for now.

dufferzafar commented 4 years ago

@calumks could you share your config for xbindkeys please?

yesidrs commented 3 years ago

it's 2021 and the error still persists, I use kde neon and the mouse logitech mx ergo.

rembrandt3306 commented 3 years ago

I had the same issue and falsely tried re-installing the software, which only took me about 2-3 hours until I make the mouse work normally after that again, then I found the following software https://www.highrez.co.uk/downloads/XMouseButtonControl.htm I is absolutely the best and I'm pissed I didn't found it earlier, but relieved such program exists, because the logitech provided software is complete BS so this solution works flawlessly.. when you set the program just launch it and for example start scrolling up or down, the field this button corresponds to will be highlighted so you know which option you can modify. Amazing! 2021

arminveres commented 3 years ago

I had the same issue and falsely tried re-installing the software, which only took me about 2-3 hours until I make the mouse work normally after that again, then I found the following software https://www.highrez.co.uk/downloads/XMouseButtonControl.htm I is absolutely the best and I'm pissed I didn't found it earlier, but relieved such program exists, because the logitech provided software is complete BS so this solution works flawlessly.. when you set the program just launch it and for example start scrolling up or down, the field this button corresponds to will be highlighted so you know which option you can modify. Amazing! 2021

sadly this isn't available on linux, at least I haven't found anything to it. Isn't there another app that lets you reconfigure the buttos with profiles (preferably application specific)?

ruzito commented 3 years ago

Same issue Logitech Master MX 2 your ppa build

Tried to bind the forward/backward buttons to volume via keystroke (no luck) Tried to bind the thumb button to keystroke "G" (no luck) Tried to bind the thumb button to mouse middle click (yeah that worked, but it's useless)

Hunanbean commented 3 years ago

Edit: I installed through the software repo. I am going to reinstall the more updated Git versions and try again.

Logitech g600, Linux Mint 20.2 x64 - Xfce. i9, 32GB ram. Mouse connected directly to a USB 3.0/1 port

My issue is with the 'windows' key. "Left Meta". It is not sending that key. I try with just a letter G, no issues. Thank you very much for writing this software! It was one of the few binds i had left to windows.

A note: Last time i had this mouse on windows, i had it set to store profiles on the computer, not onboard the mouse. I will install a virtual machine windows and use the drivers there to set it to onboard, then try this software again. Although i assume this software bypasses that anyways.

colutti commented 2 years ago

Same error with my logitech mx master.

stevenilsen123 commented 1 year ago

Same issue on my Galaxy Book2 Pro 360 running Fedora Linux 37 (Workstation Edition); GNOME 43.2; Wayland. This makes me sad all day... Hope this is fixed soon because I think Piper is awesome!

jorgeag68 commented 11 months ago

Same issue here with Ubuntu 22.04 piper 0.7+git608-c15910b~ubuntu22.04.1 and

libratbag-tools 0.16-1+git2023-f6a3cd7~ubuntu22.04.1

cmcderm commented 10 months ago

Checking in with the same issue, Fedora Linux 39 on X11 Screenshot from 2024-01-10 18-12-42

uname -a: Linux fedora 6.6.8-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 21 04:01:49 UTC 2023 x86_64 GNU/Linux

ratbagd --version: 0.17 piper version: 0.7

Ratbagd --verbose=raw output after plugging the mouse in and trying to set a thumb button to left super key.

ratbag debug: driver match found: Logitech HID++2.0
hidraw3: "Logitech Gaming Mouse G900", 5 profiles
ratbag debug: New device: Logitech Gaming Mouse G900
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: device assigned driver hidpp20
ratbag debug: hidraw info: bus 0x03 vendor 0x46d product 0xffffc081
ratbag debug: Logitech Gaming Mouse G900 is device '/dev/hidraw3'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag error: Error while writing macro for button 4
ratbag error: hidpp20: failed to update button (-22)
ratbagd error: error committing device (-1000)