libratbag: G700s: Cannot set or use macros
Information
ratbagdversion (ratbagd --version): 0.12- Distribution: Arch Linux
- Kernel version:
Linux 5.4.8-arch1-1 x86_64 GNU/Linux
Describe the bug
Macros show up as UNKNOWN and setting them with ratbagctl does not work. info will show that the macro has been mapped but the button still does not perform the macro.
To Reproduce Steps to reproduce the behavior:
- Plug in g700s (with macros already set from Windows)
- Use Piper to try to set some macros. See the error “something went wrong”
- Try to set the macro with
ratbagctl warbling-mara button 5 action set macro KEY_T - Button does not perform macro
Logs output of sudo ratbagd --verbose=raw
$ ratbagctl warbling-mara info
warbling-mara - Logitech G700s Rechargeable Gaming Mouse
Model: usb:046d:c07c:0
Number of Buttons: 13
Number of Leds: 0
Number of Profiles: 5
Profile 0: (active)
Name: Work Default
Report Rate: 1000Hz
Resolutions:
0: 2100x2100dpi (active)
1: <disabled>
2: <disabled>
3: <disabled>
4: <disabled>
Button: 0 is mapped to 'button 1'
Button: 1 is mapped to 'button 2'
Button: 2 is mapped to 'button 3'
Button: 3 is mapped to 'button 4'
Button: 4 is mapped to 'button 5'
Button: 5 is mapped to macro '↕T'
Button: 6 is mapped to UNKNOWN
Button: 7 is mapped to 'button 5'
Button: 8 is mapped to 'button 4'
Button: 9 is mapped to macro '↕X'
Button: 10 is mapped to UNKNOWN
Button: 11 is mapped to 'button 4'
Button: 12 is mapped to 'button 5'
Profile 1: (disabled)
Profile 2: (disabled)
Profile 3: (disabled)
Profile 4: (disabled)
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 55 (22 by maintainers)
Commits related to this issue
- hidpp10: add support from writting simple macro actions Fixes #900 Signed-off-by: Filipe Laíns <lains@archlinux.org> — committed to FFY00/libratbag by FFY00 4 years ago
- hidpp10: add support from writting simple macro actions Fixes #900 Signed-off-by: Filipe Laíns <lains@archlinux.org> — committed to libratbag/libratbag by FFY00 4 years ago
@FFY00 Are there any plans to add software support for this? Or is that outside the scope of the project?
for the moment I’m looking at assigning mice button presses to those extra keys and using additional apps that would map those to macros (xbindkeys, xvkvd etc). Quite a pita - one of the reasons I’m cheering up for projects like Ratbag / Piper. While I’ve been discussing options on the net several other users reported problems (the most common was G602).
I have upgraded my kernel to 5.5.2 and I observe the same behavior.
I will try to build and run master with the improved error output.
Still haven’t tried 5.5. Just wanted to note that I have the same setup at home and it is working on
Linux 5.3.13-arch1-1 x86_64 GNU/LinuxYou can use
dbus-monitor.mastershould now spit out an error when failing to commit.Can you try Linux 5.5? So that it includes https://github.com/torvalds/linux/commit/992ff2cc9ec6e30ccc64c341b052e8ccb370db90.