Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send Keystroke not working #386

Open
beachrunner2k opened this issue Aug 28, 2019 · 36 comments
Open

Send Keystroke not working #386

beachrunner2k opened this issue Aug 28, 2019 · 36 comments

Comments

@beachrunner2k
Copy link

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
Copy link

I have the same problem with Logitech G9

@codecex
Copy link

codecex commented Sep 5, 2019

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

@beachrunner2k
Copy link
Author

beachrunner2k commented Sep 5, 2019

Is it only related to Logitech mice?

How can we provide some debug info?

@numin0us
Copy link

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

@beachrunner2k
Copy link
Author

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

@ronebrandao
Copy link

Someone figured out something?

@beachrunner2k
Copy link
Author

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

@Zer0Lyfe
Copy link

Zer0Lyfe commented Nov 23, 2019

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
Copy link
Member

FFY00 commented Dec 5, 2019

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

ratbagd --verbose=raw

@Zer0Lyfe
Copy link

Zer0Lyfe commented Dec 7, 2019

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
Copy link

GitJamz commented Jan 13, 2020

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
Copy link
Member

FFY00 commented Jan 13, 2020

Try libratbag master.

@GitJamz
Copy link

GitJamz commented Jan 13, 2020

Try libratbag master.

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

@FFY00
Copy link
Member

FFY00 commented Jan 13, 2020

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
Copy link

GitJamz commented Jan 13, 2020

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
Copy link
Member

FFY00 commented Jan 15, 2020

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
Copy link

GitJamz commented Jan 31, 2020

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
Copy link

GitJamz commented Feb 13, 2020

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
Copy link

teaqu commented Mar 2, 2020

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

@GitJamz
Copy link

GitJamz commented Mar 2, 2020

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
Copy link
Member

FFY00 commented Mar 3, 2020

Sorry, we have been busy.

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

@teaqu
Copy link

teaqu commented Mar 4, 2020

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
Copy link

GitJamz commented Mar 19, 2020

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
Copy link
Author

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
Copy link

GitJamz commented Mar 19, 2020

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
Copy link

teaqu commented Mar 20, 2020

Anyone been able to fix it or find a workaround?

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

@dufferzafar
Copy link

@calumks could you share your config for xbindkeys please?

@yesiddev
Copy link

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

@rembrandt3306
Copy link

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
Copy link

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
Copy link

ruzito commented Aug 6, 2021

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
Copy link

Hunanbean commented Oct 22, 2021

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
Copy link

colutti commented Feb 12, 2022

Same error with my logitech mx master.

@stevenilsen123
Copy link

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
Copy link

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
Copy link

cmcderm commented Jan 11, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests