Comments (8)
Ok, so using the PKG build for the TKL, the driver partially functions, but the hid mapping seems to be more than a little hit and miss. I do not think it is correctly mapping the device keyboard properly.
from eruption.
Could you please run eruption
with debug
log-level enabled, and post a log of clicking the mouse buttons and the generated output?
To enable the debug
log-level please perform these actions:
Stop and mask the daemon:
$ sudo systemctl mask eruption.service && sudo systemctl stop eruption.service
Run the eruption
daemon from a terminal
sudo RUST_BACKTRACE=full RUST_LOG=debug eruption
Afterwards re-enable the eruption
daemon
$ sudo systemctl unmask eruption.service && sudo systemctl restart eruption.service
from eruption.
This all looks pretty strange to me, I started with the top row of 4 buttons, then proceeded to the middle row, and finally the bottom row. It does seem to regularly suffer from the missed HID event
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(13)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 14
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(13)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 14
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 9
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 9
DEBUG eruption > FPS: 18
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(9)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 10
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(9)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 10
DEBUG eruption > FPS: 17
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(9)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 10
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(9)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 10
DEBUG eruption > FPS: 17
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 9
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 9
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(9)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 10
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(9)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 10
DEBUG eruption > FPS: 18
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 9
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(10)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 11
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 9
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 9
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 9
DEBUG eruption > FPS: 18
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(9)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 10
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(9)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 10
DEBUG eruption > FPS: 18
ERROR eruption::hwdevices::roccat_nyth > We missed a HID event, mouse button states will be inconsistent
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 9
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 9
DEBUG eruption > FPS: 18
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 9
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 9
DEBUG eruption > FPS: 18
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 9
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 9
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 9
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 9
DEBUG eruption > FPS: 18
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(10)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 11
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(13)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 14
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(10)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 11
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(10)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 11
DEBUG eruption > FPS: 18
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(10)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 11
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(10)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 11
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(10)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 11
DEBUG eruption::hwdevices::roccat_nyth > ButtonDown(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 2 args: 9
DEBUG eruption::hwdevices::roccat_nyth > ButtonUp(8)
DEBUG eruption::scripting::script::callbacks > Macros: HID event (mouse): 3 args: 9
DEBUG eruption > FPS: 18
DEBUG eruption::scripting::script::callbacks > Macros: HID event: 2 args: 23
DEBUG eruption::scripting::script::callbacks > Macros: Key down: Index: 6
DEBUG eruption::scripting::script::callbacks > Macros: HID event: 2 args: 45
DEBUG eruption::scripting::script::callbacks > Macros: Key down: Index: 22
^X DEBUG eruption > FPS: 18
DEBUG eruption::scripting::script::callbacks > Macros: HID event: 1 args: 45
DEBUG eruption::scripting::script::callbacks > Macros: Key up: Index: 22
DEBUG eruption::scripting::script::callbacks > Macros: HID event: 1 args: 23
DEBUG eruption::scripting::script::callbacks > Macros: Key up: Index: 6
DEBUG eruption::scripting::script::callbacks > Macros: HID event: 2 args: 23
DEBUG eruption::scripting::script::callbacks > Macros: Key down: Index: 6
DEBUG eruption::scripting::script::callbacks > Macros: Key down: Index: 28
^C DEBUG eruption > Left the main loop
INFO eruption::plugins::persistence > Storing persistent state data to disk...
DEBUG eruption > Saving state...
INFO eruption > Exiting now
from eruption.
If I were to report my suspicions, I think the Nyth with its configurations, needs a setting set somewhere for it to recignise that it has twelve buttons rather than other configurations.
from eruption.
If I were to report my suspicions, I think the Nyth with its configurations, needs a setting set somewhere for it to recignise that it has twelve buttons rather than other configurations.
I think this may be the case for the evdev event reporting, but on the USB HID layer it should report each of the buttons regardless of their mapping state to a specific function or key.
I suspect that the code that handles the HID event is still wrong.
Could you please re-build eruption using the attached PKGBUILD, run it from a terminal with debug
logging enabled, and then please post the logs? I am especially interested in the hexdump of the HID events.
from eruption.
what is the command to run this in debug mode from the terminal?
from eruption.
Run the eruption daemon from a terminal with debug logging enabled:
$ sudo RUST_BACKTRACE=full RUST_LOG=debug eruption
from eruption.
Is this what you are after?
from eruption.
Related Issues (20)
- Shockwave script - Better blending of colors for keypress HOT 1
- Eruption service fails to start on Siduction (Debian Sid) HOT 1
- GitHub Sponsors HOT 1
- RustC Compiler Error E0658 HOT 1
- Roccat Kain 100 AIMO mouse buttons no longer detected. HOT 4
- Missing packages from Ubuntu PPA HOT 1
- [BUG] Input spam on X11 console screen HOT 2
- Brightness Controll doesn't work on Fedora 37 HOT 1
- Add Support for Roccat Vulcan II max
- Add support for ROCCAT Ryos mk fx
- Initialize Failure Flooding Journal HOT 2
- "ROCCAT Vulcan Pro" keyboard not working anymore HOT 1
- Eruption sometimes fails to autostart, causes keyboard flickering
- ROCCAT Kone Pro Air debounce time
- Vulcan pro and kone pro not seen on gui HOT 2
- lots of logging to /var/log/warn "Could not process a mouse event: receiving on a closed channel" HOT 11
- Move "ROCCAT Vulcan Pro Keyboard" out of experimental HOT 1
- Bugs HOT 3
- Eruption 0.3.3 fails to start automatically on Ubuntu 23.04 HOT 3
- Add Support for ite8291 (XMG/Tuxedo(?) Laptop Keyboards) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eruption.