Comments (8)
It is looking for /usr/share/eruption/scripts/lib/themes/default.lua
. Could you please double check that this file exists in your filesystem? The directory has to contain gaming.lua
as well.
$ ls /usr/share/eruption/scripts/lib/themes/
default.lua gaming.lua
And please be sure that you don't run a debug build, it has to be compiled with cargo build --release
. Otherwise the default include search paths would differ.
from eruption.
Oh, that seems to be what the issue was. For some reason, my system had created /usr/share/eruption/scripts/lib/themes as a file instead of a directory, I guess I had made a mistake while copying the files. Anyway, it works now, thanks a lot!
from eruption.
Hi! Thank you for submitting this bug report!
This seems to be a problem with the device selection code for the mouse device. It wrongly selects your ROCCAT Ryos MK FX
instead of the Cooler Master Technology Inc. MM710 Gaming Mouse
device.
Could you please try to change /etc/eruption/eruption.conf
:
[global]
# ...
# Mouse handling
enable_mouse = false
grab_mouse = false
from eruption.
Thanks, I just tried that, then unplugged the Ryos and tried to run it again. It seems to say that it finds the keyboard, but then just halts again while it doesn't respond.
INFO eruption > Starting user-mode driver for ROCCAT Vulcan 100/12x series keyboards: Version 0.1.16
INFO eruption > Loading saved state...
WARN eruption > Could not parse state file: Could not load global runtime state: configuration file "/var/lib/eruption/eruption.state" not found
INFO eruption > Registering plugins...
INFO eruption::plugin_manager > Registering plugin: Keyboard - Process keyboard events
INFO eruption::plugin_manager > Registering plugin: Mouse - Process mouse events
INFO eruption::plugin_manager > Registering plugin: Macros - Inject programmable keyboard and mouse events
INFO eruption::plugin_manager > Registering plugin: Introspection - Provide runtime status of the Eruption daemon
INFO eruption::plugin_manager > Registering plugin: Persistence - A storage and persistence layer for Lua Scripts
INFO eruption::plugin_manager > Registering plugin: Profiles - Switch profiles based on system state
INFO eruption::plugin_manager > Registering plugin: System - Basic system information and status
INFO eruption::plugin_manager > Registering plugin: Sensors - Query system sensor values
INFO eruption::plugin_manager > Registering plugin: Audio - Audio related functions
INFO eruption::plugins::persistence > Loading persistent state data from disk...
WARN eruption > Could not load persisted state: No such file or directory (os error 2)
INFO eruption > Plugins loaded and initialized successfully
INFO eruption > Enumerating connected devices...
DEBUG eruption::hwdevices > Device: ROCCAT ROCCAT Vulcan 100 AIMO, interface: 0
DEBUG eruption::hwdevices > Device: ROCCAT ROCCAT Vulcan 100 AIMO, interface: 1
INFO eruption::hwdevices > Found Control interface: "0005:0003:01": ROCCAT Vulcan 100 AIMO
DEBUG eruption::hwdevices > Device: ROCCAT ROCCAT Vulcan 100 AIMO, interface: 2
DEBUG eruption::hwdevices > Device: ROCCAT ROCCAT Vulcan 100 AIMO, interface: 3
INFO eruption::hwdevices > Found LED interface: "0005:0003:03": ROCCAT Vulcan 100 AIMO
DEBUG eruption::hwdevices > Device: Cooler Master Technology Inc. MM710 Gaming Mouse, interface: 0
DEBUG eruption::hwdevices > Device: Cooler Master Technology Inc. MM710 Gaming Mouse, interface: 1
DEBUG eruption::hwdevices > Device: Cooler Master Technology Inc. MM710 Gaming Mouse, interface: 2
DEBUG eruption::hwdevices > Device: C-Media Electronics Inc. USB Audio Device, interface: 3
INFO eruption::hwdevices::roccat_vulcan > Bound driver: ROCCAT Vulcan
INFO eruption > Device enumeration completed
INFO eruption > Spawning keyboard input thread...
INFO eruption > Mouse support is DISABLED by configuration
INFO eruption > Waiting for tasks to complete...
INFO eruption > Opening keyboard device...
INFO eruption > Initializing keyboard device...
INFO eruption::plugins::keyboard > Now listening on: /dev/input/event19
INFO eruption::plugins::keyboard > Input device name: "ROCCAT ROCCAT Vulcan 100 AIMO"
INFO eruption::plugins::keyboard > Input device ID: bus 0x3 vendor 0x1e7d product 0x307a
INFO eruption::plugins::keyboard > Physical location: usb-0000:0f:00.3-4/input0
INFO eruption::plugins::keyboard > Grabbing the keyboard device exclusively
from eruption.
Could you please try to update the firmware of your Vulcan keyboard to the latest revision by using the ROCCAT Swarm software?
from eruption.
Since I don't have Windows, I'll have to get someone else's computer in order to do so, but I'll try this and then get back to you.
from eruption.
After the firmware update, it throws me a Lua error:
INFO eruption > Starting user-mode driver for ROCCAT Vulcan 100/12x series keyboards: Version 0.1.16
INFO eruption > Loading saved state...
WARN eruption > Could not parse state file: Could not load global runtime state: configuration file "/var/lib/eruption/eruption.state" not found
INFO eruption > Registering plugins...
INFO eruption::plugin_manager > Registering plugin: Keyboard - Process keyboard events
INFO eruption::plugin_manager > Registering plugin: Mouse - Process mouse events
INFO eruption::plugin_manager > Registering plugin: Macros - Inject programmable keyboard and mouse events
INFO eruption::plugin_manager > Registering plugin: Introspection - Provide runtime status of the Eruption daemon
INFO eruption::plugin_manager > Registering plugin: Persistence - A storage and persistence layer for Lua Scripts
INFO eruption::plugin_manager > Registering plugin: Profiles - Switch profiles based on system state
INFO eruption::plugin_manager > Registering plugin: System - Basic system information and status
INFO eruption::plugin_manager > Registering plugin: Sensors - Query system sensor values
INFO eruption::plugin_manager > Registering plugin: Audio - Audio related functions
INFO eruption::plugins::persistence > Loading persistent state data from disk...
WARN eruption > Could not load persisted state: No such file or directory (os error 2)
INFO eruption > Plugins loaded and initialized successfully
INFO eruption > Enumerating connected devices...
DEBUG eruption::hwdevices > Device: Cooler Master Technology Inc. MM710 Gaming Mouse, interface: 0
DEBUG eruption::hwdevices > Device: Cooler Master Technology Inc. MM710 Gaming Mouse, interface: 1
DEBUG eruption::hwdevices > Device: Cooler Master Technology Inc. MM710 Gaming Mouse, interface: 2
DEBUG eruption::hwdevices > Device: C-Media Electronics Inc. USB Audio Device, interface: 3
DEBUG eruption::hwdevices > Device: ROCCAT ROCCAT Vulcan 100 AIMO, interface: 0
DEBUG eruption::hwdevices > Device: ROCCAT ROCCAT Vulcan 100 AIMO, interface: 1
INFO eruption::hwdevices > Found Control interface: "0001:0007:01": ROCCAT Vulcan 100 AIMO
DEBUG eruption::hwdevices > Device: ROCCAT ROCCAT Vulcan 100 AIMO, interface: 2
DEBUG eruption::hwdevices > Device: ROCCAT ROCCAT Vulcan 100 AIMO, interface: 3
INFO eruption::hwdevices > Found LED interface: "0001:0007:03": ROCCAT Vulcan 100 AIMO
INFO eruption::hwdevices::roccat_vulcan > Bound driver: ROCCAT Vulcan
INFO eruption > Device enumeration completed
INFO eruption > Spawning keyboard input thread...
INFO eruption > Mouse support is DISABLED by configuration
INFO eruption > Waiting for tasks to complete...
INFO eruption > Opening keyboard device...
INFO eruption > Initializing keyboard device...
INFO eruption::plugins::keyboard > Now listening on: /dev/input/event19
INFO eruption::plugins::keyboard > Input device name: "ROCCAT ROCCAT Vulcan 100 AIMO"
INFO eruption::plugins::keyboard > Input device ID: bus 0x3 vendor 0x1e7d product 0x307a
INFO eruption::plugins::keyboard > Physical location: usb-0000:02:00.0-10/input0
INFO eruption::plugins::keyboard > Grabbing the keyboard device exclusively
INFO eruption > Configuring keyboard LEDs...
INFO eruption > Opening mouse device...
INFO eruption > This mouse is currently not supported, falling back to the generic driver
INFO eruption > Keyboard device firmware revision: "136"
INFO eruption > Performing late initializations...
INFO eruption > Initializing D-Bus API...
DEBUG eruption > Registering filesystem watcher...
INFO eruption > Late initializations completed
INFO eruption > Startup completed
DEBUG eruption > Entering the main loop now...
INFO eruption > Switching to profile: profile1.profile
DEBUG eruption::scripting::script > Applying parameter Bool { name: "mouse_events", description: "React on mouse events", default: true }
DEBUG eruption::scripting::script > Applying parameter Color { name: "color_mouse_click_flash", description: "Color of flash effect shown on mouse button clicks", default: 553626282 }
DEBUG eruption::scripting::script > Applying parameter Color { name: "color_mouse_wheel_flash", description: "Color of flash effect shown on mouse wheel scroll", default: 1084926719 }
DEBUG eruption::scripting::script > Applying parameter Color { name: "color_afterglow", description: "Afterglow color", default: 4294967295 }
DEBUG eruption::scripting::script > Applying parameter Color { name: "color_step_afterglow", description: "Color value that gets subtracted from afterglow every [n] frames", default: 134217728 }
DEBUG eruption::scripting::script > Applying parameter Float { name: "opacity", description: "Opacity value in the range 0.0 .. 1.0, where 1.0 is fully opaque", default: 1.0 }
DEBUG eruption::scripting::script > Applying parameter Color { name: "color_afterglow", description: "Afterglow color", default: 4294967295 }
DEBUG eruption::scripting::script > Applying parameter Color { name: "color_step_afterglow", description: "Color value that gets subtracted from afterglow every [n] frames", default: 134217728 }
DEBUG eruption::scripting::script > Applying parameter Color { name: "color_shockwave", description: "Color of the shockwave", default: 4294901760 }
DEBUG eruption::scripting::script > Applying parameter Color { name: "color_step_shockwave", description: "Color value that gets subtracted from the shockwave every [n] frames", default: 168427520 }
DEBUG eruption::scripting::script > Applying parameter Int { name: "shockwave_divisor", description: "Controls the spread of the shockwave. Range: [1..10], lower values mean less spread", default: 5 }
DEBUG eruption::scripting::script > Applying parameter Bool { name: "mouse_events", description: "React on mouse events", default: true }
DEBUG eruption::scripting::script > Applying parameter Color { name: "color_mouse_click_flash", description: "Color of flash effect shown on mouse button clicks", default: 553626282 }
DEBUG eruption::scripting::script > Applying parameter Color { name: "color_mouse_wheel_flash", description: "Color of flash effect shown on mouse wheel scroll", default: 1084926719 }
DEBUG eruption::scripting::script > Applying parameter Color { name: "color_background", description: "Background color", default: 4294905872 }
DEBUG eruption::scripting::script > Applying parameter Float { name: "opacity", description: "Opacity value in the range 0.0 .. 1.0, where 1.0 is fully opaque", default: 1.0 }
DEBUG eruption::dbus_interface > Message: Message { Type: Signal, Path: "/org/freedesktop/DBus", Interface: "org.freedesktop.DBus", Member: "NameAcquired", Sender: "org.freedesktop.DBus", Destination: ":1.589", Serial: 2, Args: [":1.589"] }
DEBUG eruption::dbus_interface > Message: Message { Type: Signal, Path: "/org/freedesktop/DBus", Interface: "org.freedesktop.DBus", Member: "NameAcquired", Sender: "org.freedesktop.DBus", Destination: ":1.589", Serial: 3, Args: ["org.eruption"] }
DEBUG eruption::scripting::script > Applying parameter Float { name: "animation_delay", description: "Step animation every [n] frames", default: 1.0 }
DEBUG eruption::scripting::script > Applying parameter Color { name: "color_highlight", description: "Highlight color", default: 4279242768 }
DEBUG eruption::scripting::script > Applying parameter Float { name: "highlight_opacity", description: "Opacity value in the range 0.0 .. 1.0, where 1.0 is fully opaque", default: 1.0 }
DEBUG eruption::scripting::script > Applying parameter Float { name: "overlay_opacity", description: "Opacity value in the range 0.0 .. 1.0, where 1.0 is fully opaque", default: 1.0 }
DEBUG eruption::scripting::script > Applying parameter Int { name: "highlight_step", description: "Step TTL value for highlight effect each frame by [n]", default: 32 }
DEBUG eruption::scripting::script > Applying parameter Int { name: "overlay_step", description: "Step TTL value for overlays each frame by [n]", default: 8 }
DEBUG eruption::scripting::script > Applying parameter Float { name: "opacity", description: "Opacity value in the range 0.0 .. 1.0, where 1.0 is fully opaque", default: 1.0 }
DEBUG eruption::scripting::script > Applying parameter String { name: "requires", description: "Import macro definitions sub-module", default: "macros/user-macros" }
ERROR eruption::scripting::script > Lua error: runtime error: [string "?"]:58: module 'themes/default' not found:
no field package.preload['themes/default']
no file './themes/default.lua'
no file '/usr/local/share/luajit-2.1.0-beta3/themes/default.lua'
no file '/usr/local/share/lua/5.1/themes/default.lua'
no file '/usr/local/share/lua/5.1/themes/default/init.lua'
no file '/usr/share/eruption/scripts/lib/themes/default'
no file '/usr/share/eruption/scripts/lib/themes/default.lua'
no file './themes/default.so'
no file '/usr/local/lib/lua/5.1/themes/default.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
ok: in ?
ok: in function 'require'
ok:58: in main chunk
UnknownError
ERROR eruption > Script execution failed
Aborted
from eruption.
Great that it works now! Please feel free to open up new issues and feature requests anytime!
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.