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

Eruption don't detect device after Ubuntu sleep #62

Open
poldolot opened this issue Apr 23, 2021 · 27 comments
Open

Eruption don't detect device after Ubuntu sleep #62

poldolot opened this issue Apr 23, 2021 · 27 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@poldolot
Copy link

Hi, I have a bug after waking Ubuntu 20.04 from sleep and connecting keyboard. It started after updating to v0.1.20

Corresponding log:

systemd[1]: Started Linux user-mode input and LED driver for keyboards, mice and other devices.
eruption[117814]:  INFO  eruption > Starting Eruption - Linux user-mode input and LED driver for keyboards, mice and other devices: Version 0.1.21 () (release build)
eruption[117814]:  INFO  eruption > Loading saved state...
/usr/lib/gdm3/gdm-x-session[3808]: (II) systemd-logind: got resume for 13:80
eruption[117814]:  INFO  eruption > Registering plugins...
eruption[117814]:  INFO  eruption::plugin_manager > Registering plugin: Keyboard - Keyboard related functions
eruption[117814]:  INFO  eruption::plugin_manager > Registering plugin: Mouse - Mouse related functions
eruption[117814]:  INFO  eruption::plugin_manager > Registering plugin: Macros - Inject programmable keyboard and mouse events
eruption[117814]:  INFO  eruption::plugin_manager > Registering plugin: Introspection - Provide runtime status of the Eruption daemon
eruption[117814]:  INFO  eruption::plugin_manager > Registering plugin: Persistence - A storage and persistence layer for Lua Scripts
eruption[117814]:  INFO  eruption::plugin_manager > Registering plugin: Profiles - Switch profiles based on system state
eruption[117814]:  INFO  eruption::plugin_manager > Registering plugin: System - Basic system information and status
kernel: [75675.185157] input: Eruption Virtual Keyboard as /devices/virtual/input/input53
kernel: [75675.185399] input: Eruption Virtual Mouse as /devices/virtual/input/input54
/usr/lib/gdm3/gdm-x-session[2493]: (II) config/udev: Adding input device Eruption Virtual Mouse (/dev/input/mouse3)
/usr/lib/gdm3/gdm-x-session[2493]: (II) No input driver specified, ignoring this device.
/usr/lib/gdm3/gdm-x-session[2493]: (II) This device may have been added with another device file.
eruption[117814]:  INFO  eruption::plugin_manager > Registering plugin: Sensors - Query system sensor values
eruption[117814]:  INFO  eruption::plugin_manager > Registering plugin: Audio - Audio related functions
eruption[117814]:  INFO  eruption::plugin_manager > Registering plugin: Animal - Simulation of organic movements (support library)
eruption[117814]:  INFO  eruption::plugins::persistence > Loading persistent state data from disk...
eruption[117814]:  INFO  eruption                       > Plugins loaded and initialized successfully
eruption[117814]:  INFO  eruption                       > Enumerating connected devices...
/usr/lib/gdm3/gdm-x-session[3808]: (II) config/udev: Adding input device Eruption Virtual Mouse (/dev/input/mouse3)
/usr/lib/gdm3/gdm-x-session[3808]: (II) No input driver specified, ignoring this device.
/usr/lib/gdm3/gdm-x-session[3808]: (II) This device may have been added with another device file.
/usr/lib/gdm3/gdm-x-session[3808]: (II) systemd-logind: got resume for 13:68
/usr/lib/gdm3/gdm-x-session[2493]: (II) config/udev: Adding input device Eruption Virtual Keyboard (/dev/input/event10)
/usr/lib/gdm3/gdm-x-session[2493]: (**) Eruption Virtual Keyboard: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[2493]: (II) Using input driver 'libinput' for 'Eruption Virtual Keyboard'
/usr/lib/gdm3/gdm-x-session[3808]: (II) config/udev: Adding input device Eruption Virtual Keyboard (/dev/input/event10)
/usr/lib/gdm3/gdm-x-session[3808]: (**) Eruption Virtual Keyboard: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[3808]: (II) Using input driver 'libinput' for 'Eruption Virtual Keyboard'
eruption[117814]:  INFO  eruption                       > Device enumeration completed
eruption[117814]:  ERROR eruption                       > No supported devices found, exiting now
/usr/lib/gdm3/gdm-x-session[2493]: (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 27 paused 1
/usr/lib/gdm3/gdm-x-session[2493]: (II) systemd-logind: releasing fd for 13:74
/usr/lib/gdm3/gdm-x-session[3808]: (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 112 paused 0
/usr/lib/gdm3/gdm-x-session[3808]: (**) Eruption Virtual Keyboard: always reports core events
/usr/lib/gdm3/gdm-x-session[3808]: (**) Option "Device" "/dev/input/event10"
/usr/lib/gdm3/gdm-x-session[3808]: (**) Option "_source" "server/udev"
/usr/lib/gdm3/gdm-x-session[3808]: (II) event10 - Eruption Virtual Keyboard: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[3808]: (II) event10 - Eruption Virtual Keyboard: device is a keyboard
/usr/lib/gdm3/gdm-x-session[3808]: (II) event10 - Eruption Virtual Keyboard: device removed
/usr/lib/gdm3/gdm-x-session[3808]: (**) Option "config_info" "udev:/sys/devices/virtual/input/input53/event10"
/usr/lib/gdm3/gdm-x-session[3808]: (II) XINPUT: Adding extended input device "Eruption Virtual Keyboard" (type: KEYBOARD, id 16)
/usr/lib/gdm3/gdm-x-session[3808]: (**) Option "xkb_model" "pc105"
/usr/lib/gdm3/gdm-x-session[3808]: (**) Option "xkb_layout" "pl"
/usr/lib/gdm3/gdm-x-session[3808]: (WW) Option "xkb_variant" requires a string value
/usr/lib/gdm3/gdm-x-session[3808]: (WW) Option "xkb_options" requires a string value
/usr/lib/gdm3/gdm-x-session[3808]: (II) config/udev: Adding input device Eruption Virtual Mouse (/dev/input/event11)
/usr/lib/gdm3/gdm-x-session[3808]: (**) Eruption Virtual Mouse: Applying InputClass "libinput pointer catchall"
/usr/lib/gdm3/gdm-x-session[3808]: (II) Using input driver 'libinput' for 'Eruption Virtual Mouse'
/usr/lib/gdm3/gdm-x-session[3808]: (EE) systemd-logind: failed to take device /dev/input/event11: No such device
/usr/lib/gdm3/gdm-x-session[3808]: (**) Eruption Virtual Mouse: always reports core events
/usr/lib/gdm3/gdm-x-session[3808]: (**) Option "Device" "/dev/input/event11"
/usr/lib/gdm3/gdm-x-session[3808]: (**) Option "_source" "server/udev"
/usr/lib/gdm3/gdm-x-session[3808]: (EE) client bug: Invalid path /dev/input/event11
/usr/lib/gdm3/gdm-x-session[3808]: (EE) libinput: Eruption Virtual Mouse: Failed to create a device for /dev/input/event11
/usr/lib/gdm3/gdm-x-session[3808]: (EE) PreInit returned 2 for "Eruption Virtual Mouse"
/usr/lib/gdm3/gdm-x-session[3808]: (II) UnloadModule: "libinput"
/usr/lib/gdm3/gdm-x-session[2493]: (II) config/udev: Adding input device (unnamed) (/dev/input/event11)
/usr/lib/gdm3/gdm-x-session[2493]: (**) (unnamed): Applying InputClass "libinput pointer catchall"
/usr/lib/gdm3/gdm-x-session[2493]: (II) Using input driver 'libinput' for '(unnamed)'
/usr/lib/gdm3/gdm-x-session[2493]: (EE) systemd-logind: failed to take device /dev/input/event11: No such device
/usr/lib/gdm3/gdm-x-session[2493]: (**) (unnamed): always reports core events
/usr/lib/gdm3/gdm-x-session[2493]: (**) Option "Device" "/dev/input/event11"
/usr/lib/gdm3/gdm-x-session[2493]: (**) Option "_source" "server/udev"
/usr/lib/gdm3/gdm-x-session[2493]: (EE) client bug: Invalid path /dev/input/event11
/usr/lib/gdm3/gdm-x-session[2493]: (EE) libinput: (unnamed): Failed to create a device for /dev/input/event11
/usr/lib/gdm3/gdm-x-session[2493]: (EE) PreInit returned 2 for "(unnamed)"
/usr/lib/gdm3/gdm-x-session[2493]: (II) UnloadModule: "libinput"
/usr/lib/gdm3/gdm-x-session[3808]: (II) config/udev: removing device Eruption Virtual Keyboard
/usr/lib/gdm3/gdm-x-session[3808]: (II) UnloadModule: "libinput"
/usr/lib/gdm3/gdm-x-session[3808]: (II) systemd-logind: releasing fd for 13:74
systemd[1]: eruption.service: Main process exited, code=exited, status=5/NOTINSTALLED
systemd[1]: eruption.service: Failed with result 'exit-code'.

I don't know if it's related but during normal use I have a lot of this in my log:

eruption[12950]:  WARN  eruption                               > This means that we dropped at least one frame
eruption[12950]:  WARN  eruption                               > Loop took: 155 milliseconds, goal: 50
eruption[12950]:  WARN  eruption                               > More than 82 milliseconds of jitter detected!
eruption[12950]:  WARN  eruption                               > This means that we dropped at least one frame
eruption[12950]:  WARN  eruption                               > Loop took: 161 milliseconds, goal: 50

After systemctl restart eruption.service everything is back to normal.

  • Eruption version 0.1.21
  • ROCCAT ROCCAT Vulcan 100 AIMO - ID 1e7d:307a
@X3n0m0rph59 X3n0m0rph59 self-assigned this Apr 23, 2021
@X3n0m0rph59 X3n0m0rph59 added the bug Something isn't working label Apr 23, 2021
X3n0m0rph59 added a commit that referenced this issue Apr 23, 2021
@X3n0m0rph59
Copy link
Member

Hi @poldolot, thank you for reporting this issue! I will build fixed packages soon...

@X3n0m0rph59 X3n0m0rph59 added this to the Eruption 0.1.22 milestone Apr 23, 2021
@X3n0m0rph59
Copy link
Member

@poldolot I just published new packages (eruption-git) that should fix the issue!

I could not easily reproduce the problem in a Ubuntu virtual machine. Will have to set up Ubuntu on bare-metal if the problem persists.

@poldolot
Copy link
Author

poldolot commented Apr 26, 2021

Hi, unfortunately version 0.1.22 didn't fixed the issue and now even replugging isn't working, only service restart helps.

New log:

kernel: [76807.925336] Freezing user space processes ... (elapsed 0.002 seconds) done.
kernel: [76807.927770] OOM killer disabled.
kernel: [76807.927770] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
kernel: [76807.929086] printk: Suspending console(s) (use no_console_suspend to debug)
kernel: [76808.024186] e1000e: EEE TX LPI TIMER: 00000011
kernel: [76810.094919] ACPI: EC: interrupt blocked
kernel: [76920.258000] ACPI: EC: interrupt unblocked
kernel: [76921.530240] nvidia 0000:01:00.0: Enabling HDA controller
kernel: [76921.850542] pcieport 0000:00:1c.0: PME: Spurious native interrupt!
kernel: [76921.850577] pcieport 0000:00:1c.0: PME: Spurious native interrupt!
kernel: [76921.891663] pcieport 0000:00:1c.0: PME: Spurious native interrupt!
kernel: [76922.312351] ata3: SATA link down (SStatus 4 SControl 300)
kernel: [76922.473445] hid-generic 0003:1E7D:307A.003D: offset (77) exceeds report_count (64)
kernel: [76922.473446] hid-generic 0003:1E7D:307A.003D: offset (76) exceeds report_count (64)
kernel: [76922.473448] hid-generic 0003:1E7D:307A.003D: offset (78) exceeds report_count (64)
kernel: [76923.343625] OOM killer enabled.
kernel: [76923.343627] Restarting tasks ... done.
kernel: [76923.371283] thermal thermal_zone9: failed to read out thermal zone (-61)
kernel: [76923.439251] PM: suspend exit
systemd-sleep[29681]: System resumed.
gdm3: GLib: Source ID 77 was not found when attempting to remove it
systemd[1]: Starting Eruption device hotplug notification daemon...
systemd[1]: Started Eruption device hotplug notification daemon.
eruption-hotplug-helper[29943]:  INFO  eruption_hotplug_helper > Waking up from system sleep...
eruption-hotplug-helper[29943]:  INFO  eruption_hotplug_helper > Waiting for the devices to settle...
eruption-hotplug-helper[29943]:  ERROR eruption_hotplug_helper > udevadm settle has failed: No such file or directory (os error 2)
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:76
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:75
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:71
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:74
systemd[1]: systemd-suspend.service: Succeeded.
systemd[1]: Finished Suspend.
systemd[1]: Stopped target Sleep.
systemd[1]: Reached target Suspend.
systemd[1]: Stopped target Suspend.
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:77
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:68
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:81
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:89
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:69
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:70
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:79
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:82
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:90
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:73
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:78
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:91
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:65
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:66
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 226:0
/usr/lib/gdm3/gdm-x-session[4353]: (II) AIGLX: Resuming AIGLX clients after VT switch
/usr/lib/gdm3/gdm-x-session[4353]: (II) modeset(0): EDID vendor "LGD", prod id 1554
/usr/lib/gdm3/gdm-x-session[4353]: (II) modeset(0): Printing DDC gathered Modelines:
/usr/lib/gdm3/gdm-x-session[4353]: (II) modeset(0): Modeline "1920x1080"x0.0  138.60  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz eP)
/usr/lib/gdm3/gdm-x-session[4353]: (II) modeset(0): Modeline "1920x1080"x0.0  110.88  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (53.3 kHz e)
/usr/lib/gdm3/gdm-x-session[4353]: (II) modeset(0): EDID vendor "LGD", prod id 1554
/usr/lib/gdm3/gdm-x-session[4353]: (II) modeset(0): Printing DDC gathered Modelines:
/usr/lib/gdm3/gdm-x-session[4353]: (II) modeset(0): Modeline "1920x1080"x0.0  138.60  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz eP)
/usr/lib/gdm3/gdm-x-session[4353]: (II) modeset(0): Modeline "1920x1080"x0.0  110.88  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (53.3 kHz e)
/usr/lib/gdm3/gdm-x-session[4353]: (II) NVIDIA(G0): Setting mode "NULL"
/usr/lib/gdm3/gdm-x-session[4353]: (II) event9  - Video Bus: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event9  - Video Bus: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event1  - Power Button: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event1  - Power Button: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event2  - Sleep Button: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event2  - Sleep Button: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event25 - Integrated_Webcam_HD: Integrate: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event25 - Integrated_Webcam_HD: Integrate: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event11 - Logitech Performance MX: is tagged by udev as: Mouse
/usr/lib/gdm3/gdm-x-session[4353]: (II) event11 - Logitech Performance MX: device set to 1000 DPI
/usr/lib/gdm3/gdm-x-session[4353]: (II) event11 - Logitech Performance MX: device is a pointer
/usr/lib/gdm3/gdm-x-session[4353]: (II) event10 - Logitech MX Master: is tagged by udev as: Keyboard Mouse
/usr/lib/gdm3/gdm-x-session[4353]: (II) event10 - Logitech MX Master: device set to 1000 DPI
/usr/lib/gdm3/gdm-x-session[4353]: (II) event10 - Logitech MX Master: device is a pointer
/usr/lib/gdm3/gdm-x-session[4353]: (II) event10 - Logitech MX Master: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event5  - DELL091A:00 0488:121F Mouse: is tagged by udev as: Mouse Pointingstick
/usr/lib/gdm3/gdm-x-session[4353]: (II) event5  - DELL091A:00 0488:121F Mouse: device is a pointer
/usr/lib/gdm3/gdm-x-session[4353]: (II) event6  - DELL091A:00 0488:121F Touchpad: is tagged by udev as: Touchpad
/usr/lib/gdm3/gdm-x-session[4353]: (II) event6  - DELL091A:00 0488:121F Touchpad: device is a touchpad
/usr/lib/gdm3/gdm-x-session[4353]: (II) event18 - DELL091A:00 0488:121F UNKNOWN: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event18 - DELL091A:00 0488:121F UNKNOWN: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event17 - Intel HID 5 button array: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event17 - Intel HID 5 button array: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event4  - Dell WMI hotkeys: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event4  - Dell WMI hotkeys: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event7  - PS/2 Generic Mouse: is tagged by udev as: Mouse
/usr/lib/gdm3/gdm-x-session[4353]: (II) event7  - PS/2 Generic Mouse: device is a pointer
/usr/lib/gdm3/gdm-x-session[4353]: (II) event26 - ROCCAT ROCCAT Vulcan 100 AIMO: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event26 - ROCCAT ROCCAT Vulcan 100 AIMO: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event12 - ROCCAT ROCCAT Vulcan 100 AIMO: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event12 - ROCCAT ROCCAT Vulcan 100 AIMO: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event27 - ROCCAT ROCCAT Vulcan 100 AIMO: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event27 - ROCCAT ROCCAT Vulcan 100 AIMO: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event14 - ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event14 - ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event15 - ROCCAT ROCCAT Vulcan 100 AIMO System Control: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event15 - ROCCAT ROCCAT Vulcan 100 AIMO System Control: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event13 - ROCCAT ROCCAT Vulcan 100 AIMO Mouse: is tagged by udev as: Mouse
/usr/lib/gdm3/gdm-x-session[4353]: (II) event13 - ROCCAT ROCCAT Vulcan 100 AIMO Mouse: device is a pointer
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:80
/usr/lib/gdm3/gdm-x-session[4353]: (II) event16 - Intel HID events: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event16 - Intel HID events: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:72
/usr/lib/gdm3/gdm-x-session[4353]: (II) event8  - Video Bus: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event8  - Video Bus: device is a keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got resume for 13:67
/usr/lib/gdm3/gdm-x-session[4353]: (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
eruption-hotplug-helper[29943]:  INFO  eruption_hotplug_helper > Now starting the eruption.service...
eruption-hotplug-helper[29943]: Error:
eruption-hotplug-helper[29943]:    0: #033[91mNo such file or directory (os error 2)#033[0m
eruption-hotplug-helper[29943]: Location:
eruption-hotplug-helper[29943]:    #033[35meruption-hotplug-helper/src/main.rs#033[0m:#033[35m155#033[0m
eruption-hotplug-helper[29943]: Backtrace omitted.
eruption-hotplug-helper[29943]: Run with RUST_BACKTRACE=1 environment variable to display it.
eruption-hotplug-helper[29943]: Run with RUST_BACKTRACE=full to include source snippets.
systemd[1]: eruption-hotplug-helper.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: eruption-hotplug-helper.service: Failed with result 'exit-code'.

I'm adding log after service restart:

systemd[1]: Starting Linux user-mode input and LED driver for keyboards, mice and other devices...
systemd[1]: Started Linux user-mode input and LED driver for keyboards, mice and other devices.
eruption[32772]:  INFO  eruption > Starting Eruption - Linux user-mode input and LED driver for keyboards, mice and other devices: Version 0.1.22 () (release build)
eruption[32772]:  INFO  eruption > Loading saved state...
eruption[32772]:  INFO  eruption > Registering plugins...
eruption[32772]:  INFO  eruption::plugin_manager > Registering plugin: Keyboard - Keyboard related functions
eruption[32772]:  INFO  eruption::plugin_manager > Registering plugin: Mouse - Mouse related functions
eruption[32772]:  INFO  eruption::plugin_manager > Registering plugin: Macros - Inject programmable keyboard and mouse events
eruption[32772]:  INFO  eruption::plugin_manager > Registering plugin: Introspection - Provide runtime status of the Eruption daemon
eruption[32772]:  INFO  eruption::plugin_manager > Registering plugin: Persistence - A storage and persistence layer for Lua Scripts
eruption[32772]:  INFO  eruption::plugin_manager > Registering plugin: Profiles - Switch profiles based on system state
eruption[32772]:  INFO  eruption::plugin_manager > Registering plugin: System - Basic system information and status
eruption[32772]:  INFO  eruption::plugin_manager > Registering plugin: Sensors - Query system sensor values
eruption[32772]:  INFO  eruption::plugin_manager > Registering plugin: Audio - Audio related functions
eruption[32772]:  INFO  eruption::plugin_manager > Registering plugin: Animal - Simulation of organic movements (support library)
eruption[32772]:  INFO  eruption::plugins::persistence > Loading persistent state data from disk...
eruption[32772]:  INFO  eruption                       > Plugins loaded and initialized successfully
eruption[32772]:  INFO  eruption                       > Enumerating connected devices...
kernel: [77717.566272] input: Eruption Virtual Keyboard as /devices/virtual/input/input115
kernel: [77717.566424] input: Eruption Virtual Mouse as /devices/virtual/input/input116
/usr/lib/gdm3/gdm-x-session[2524]: (II) config/udev: Adding input device Eruption Virtual Mouse (/dev/input/mouse6)
/usr/lib/gdm3/gdm-x-session[2524]: (II) No input driver specified, ignoring this device.
/usr/lib/gdm3/gdm-x-session[2524]: (II) This device may have been added with another device file.
/usr/lib/gdm3/gdm-x-session[4353]: (II) config/udev: Adding input device Eruption Virtual Mouse (/dev/input/mouse6)
/usr/lib/gdm3/gdm-x-session[4353]: (II) No input driver specified, ignoring this device.
/usr/lib/gdm3/gdm-x-session[4353]: (II) This device may have been added with another device file.
/usr/lib/gdm3/gdm-x-session[2524]: (II) config/udev: Adding input device Eruption Virtual Keyboard (/dev/input/event28)
/usr/lib/gdm3/gdm-x-session[2524]: (**) Eruption Virtual Keyboard: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[2524]: (II) Using input driver 'libinput' for 'Eruption Virtual Keyboard'
/usr/lib/gdm3/gdm-x-session[4353]: (II) config/udev: Adding input device Eruption Virtual Keyboard (/dev/input/event28)
/usr/lib/gdm3/gdm-x-session[4353]: (**) Eruption Virtual Keyboard: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[4353]: (II) Using input driver 'libinput' for 'Eruption Virtual Keyboard'
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got fd for /dev/input/event28 13:92 fd 132 paused 0
/usr/lib/gdm3/gdm-x-session[4353]: (**) Eruption Virtual Keyboard: always reports core events
/usr/lib/gdm3/gdm-x-session[4353]: (**) Option "Device" "/dev/input/event28"
/usr/lib/gdm3/gdm-x-session[4353]: (**) Option "_source" "server/udev"
/usr/lib/gdm3/gdm-x-session[4353]: (II) event28 - Eruption Virtual Keyboard: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event28 - Eruption Virtual Keyboard: device is a keyboard
/usr/lib/gdm3/gdm-x-session[2524]: (II) systemd-logind: got fd for /dev/input/event28 13:92 fd 27 paused 1
/usr/lib/gdm3/gdm-x-session[2524]: (II) systemd-logind: releasing fd for 13:92
/usr/lib/gdm3/gdm-x-session[4353]: (II) event28 - Eruption Virtual Keyboard: device removed
/usr/lib/gdm3/gdm-x-session[4353]: (**) Option "config_info" "udev:/sys/devices/virtual/input/input115/event28"
/usr/lib/gdm3/gdm-x-session[4353]: (II) XINPUT: Adding extended input device "Eruption Virtual Keyboard" (type: KEYBOARD, id 29)
/usr/lib/gdm3/gdm-x-session[4353]: (**) Option "xkb_model" "pc105"
/usr/lib/gdm3/gdm-x-session[4353]: (**) Option "xkb_layout" "pl"
/usr/lib/gdm3/gdm-x-session[4353]: (WW) Option "xkb_variant" requires a string value
/usr/lib/gdm3/gdm-x-session[4353]: (WW) Option "xkb_options" requires a string value
/usr/lib/gdm3/gdm-x-session[4353]: (II) event28 - Eruption Virtual Keyboard: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[4353]: (II) event28 - Eruption Virtual Keyboard: device is a keyboard
/usr/lib/gdm3/gdm-x-session[2524]: (II) config/udev: Adding input device Eruption Virtual Mouse (/dev/input/event29)
/usr/lib/gdm3/gdm-x-session[2524]: (**) Eruption Virtual Mouse: Applying InputClass "libinput pointer catchall"
/usr/lib/gdm3/gdm-x-session[2524]: (II) Using input driver 'libinput' for 'Eruption Virtual Mouse'
/usr/lib/gdm3/gdm-x-session[4353]: (II) config/udev: Adding input device Eruption Virtual Mouse (/dev/input/event29)
/usr/lib/gdm3/gdm-x-session[4353]: (**) Eruption Virtual Mouse: Applying InputClass "libinput pointer catchall"
/usr/lib/gdm3/gdm-x-session[4353]: (II) Using input driver 'libinput' for 'Eruption Virtual Mouse'
/usr/lib/gdm3/gdm-x-session[2524]: (II) systemd-logind: got fd for /dev/input/event29 13:93 fd 27 paused 1
/usr/lib/gdm3/gdm-x-session[2524]: (II) systemd-logind: releasing fd for 13:93
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: got fd for /dev/input/event29 13:93 fd 136 paused 0
/usr/lib/gdm3/gdm-x-session[4353]: (**) Eruption Virtual Mouse: always reports core events
/usr/lib/gdm3/gdm-x-session[4353]: (**) Option "Device" "/dev/input/event29"
/usr/lib/gdm3/gdm-x-session[4353]: (**) Option "_source" "server/udev"
/usr/lib/gdm3/gdm-x-session[4353]: (II) event29 - Eruption Virtual Mouse: is tagged by udev as: Mouse
/usr/lib/gdm3/gdm-x-session[4353]: (II) event29 - Eruption Virtual Mouse: device is a pointer
/usr/lib/gdm3/gdm-x-session[4353]: (II) event29 - Eruption Virtual Mouse: device removed
/usr/lib/gdm3/gdm-x-session[4353]: (**) Option "config_info" "udev:/sys/devices/virtual/input/input116/event29"
/usr/lib/gdm3/gdm-x-session[4353]: (II) XINPUT: Adding extended input device "Eruption Virtual Mouse" (type: MOUSE, id 30)
/usr/lib/gdm3/gdm-x-session[4353]: (**) Option "AccelerationScheme" "none"
/usr/lib/gdm3/gdm-x-session[4353]: (**) Eruption Virtual Mouse: (accel) selected scheme none/0
/usr/lib/gdm3/gdm-x-session[4353]: (**) Eruption Virtual Mouse: (accel) acceleration factor: 2.000
/usr/lib/gdm3/gdm-x-session[4353]: (**) Eruption Virtual Mouse: (accel) acceleration threshold: 4
/usr/lib/gdm3/gdm-x-session[4353]: (II) event29 - Eruption Virtual Mouse: is tagged by udev as: Mouse
/usr/lib/gdm3/gdm-x-session[4353]: (II) event29 - Eruption Virtual Mouse: device is a pointer
eruption[32772]:  INFO  eruption::hwdevices            > Found supported keyboard device: 0x1e7d:0x307a (0003:0005:00) - ROCCAT ROCCAT Vulcan 100 AIMO
eruption[32772]:  INFO  eruption::hwdevices::roccat_vulcan_1xx > Bound driver: ROCCAT Vulcan 100/12x AIMO
eruption[32772]:  INFO  eruption                               > Opening keyboard device...
/usr/lib/gdm3/gdm-x-session[4353]: (II) config/udev: removing device ROCCAT ROCCAT Vulcan 100 AIMO Mouse
/usr/lib/gdm3/gdm-x-session[4353]: (**) Option "fd" "48"
/usr/lib/gdm3/gdm-x-session[4353]: (II) event13 - ROCCAT ROCCAT Vulcan 100 AIMO Mouse: device removed
/usr/lib/gdm3/gdm-x-session[4353]: (II) UnloadModule: "libinput"
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: releasing fd for 13:77
acpid: input device has been disconnected, fd 9
/usr/lib/gdm3/gdm-x-session[4353]: (II) config/udev: removing device ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control
/usr/lib/gdm3/gdm-x-session[4353]: (**) Option "fd" "109"
/usr/lib/gdm3/gdm-x-session[4353]: (II) UnloadModule: "libinput"
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: not releasing fd for 13:78, still in use
/usr/lib/gdm3/gdm-x-session[4353]: (II) config/udev: removing device ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control
/usr/lib/gdm3/gdm-x-session[4353]: (**) Option "fd" "109"
/usr/lib/gdm3/gdm-x-session[4353]: (II) event14 - ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: device removed
/usr/lib/gdm3/gdm-x-session[4353]: (II) UnloadModule: "libinput"
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: releasing fd for 13:78
acpid: input device has been disconnected, fd 25
/usr/lib/gdm3/gdm-x-session[4353]: (II) config/udev: removing device ROCCAT ROCCAT Vulcan 100 AIMO System Control
/usr/lib/gdm3/gdm-x-session[4353]: (**) Option "fd" "57"
/usr/lib/gdm3/gdm-x-session[4353]: (II) event15 - ROCCAT ROCCAT Vulcan 100 AIMO System Control: device removed
/usr/lib/gdm3/gdm-x-session[4353]: (II) UnloadModule: "libinput"
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: releasing fd for 13:79
/usr/lib/gdm3/gdm-x-session[4353]: (EE) systemd-logind: failed to release device: Device not taken
acpid: input device has been disconnected, fd 27
/usr/lib/gdm3/gdm-x-session[4353]: (II) config/udev: removing device ROCCAT ROCCAT Vulcan 100 AIMO
/usr/lib/gdm3/gdm-x-session[4353]: (**) Option "fd" "110"
/usr/lib/gdm3/gdm-x-session[4353]: (II) event27 - ROCCAT ROCCAT Vulcan 100 AIMO: device removed
/usr/lib/gdm3/gdm-x-session[4353]: (II) UnloadModule: "libinput"
/usr/lib/gdm3/gdm-x-session[4353]: (II) systemd-logind: releasing fd for 13:91
eruption[32772]:  INFO  eruption                               > Initializing keyboard device...
eruption[32772]:  INFO  eruption                               > Configuring keyboard LEDs...
eruption[32772]:  INFO  eruption                               > Firmware revision: 136
eruption[32772]:  INFO  eruption                               > Spawning keyboard input thread...
eruption[32772]:  INFO  eruption                               > Device enumeration completed
eruption[32772]:  INFO  eruption                               > Performing late initializations...
eruption[32772]:  INFO  eruption                               > Initializing D-Bus API...
eruption[32772]:  INFO  eruption                               > Late initializations completed
eruption[32772]:  INFO  eruption                               > Startup completed
eruption[32772]:  INFO  eruption                               > Switching to profile: /var/lib/eruption/profiles/heatmap.profile
eruption[32772]:  INFO  eruption                               > Loading Lua script: /usr/share/eruption/scripts/heatmap.lua
eruption[32772]:  INFO  eruption                               > Loading Lua script: /usr/share/eruption/scripts/macros.lua
eruption[32772]:  INFO  eruption                               > Loading Lua script: /usr/share/eruption/scripts/stats.lua
eruption[32772]:  INFO  eruption                               > Now listening on keyboard: /dev/input/event12
eruption[32772]:  INFO  eruption                               > Input device name: "ROCCAT ROCCAT Vulcan 100 AIMO"
eruption[32772]:  INFO  eruption                               > Input device ID: bus 0x3 vendor 0x1e7d product 0x307a
eruption[32772]:  INFO  eruption                               > Physical location: usb-0000:07:00.0-2.3.2/input0
eruption[32772]:  INFO  eruption                               > Grabbing the keyboard device exclusively
gnome-shell[4591]: g_source_remove: assertion 'tag > 0' failed
gnome-shell[4591]: Connected to Eruption
eruption[32772]:  WARN  eruption                               > Frame dropped: Timeout while waiting for a lock!
eruption[32772]:  WARN  eruption                               > More than 82 milliseconds of jitter detected!
eruption[32772]:  WARN  eruption                               > This means that we dropped at least one frame
eruption[32772]:  WARN  eruption                               > Loop took: 151 milliseconds, goal: 50
eruption[32772]:  WARN  eruption                               > Frame dropped: Timeout while waiting for a lock!
eruption[32772]:  WARN  eruption                               > More than 82 milliseconds of jitter detected!
eruption[32772]:  WARN  eruption                               > This means that we dropped at least one frame
eruption[32772]:  WARN  eruption                               > Loop took: 151 milliseconds, goal: 50
eruption[32772]:  WARN  eruption                               > Frame dropped: Timeout while waiting for a lock!
eruption[32772]:  WARN  eruption                               > More than 82 milliseconds of jitter detected!
eruption[32772]:  WARN  eruption                               > This means that we dropped at least one frame
eruption[32772]:  WARN  eruption                               > Loop took: 152 milliseconds, goal: 50
eruption[32772]:  WARN  eruption                               > Frame dropped: Timeout while waiting for a lock!
eruption[32772]:  WARN  eruption                               > More than 82 milliseconds of jitter detected!
eruption[32772]:  WARN  eruption                               > This means that we dropped at least one frame
eruption[32772]:  WARN  eruption                               > Loop took: 151 milliseconds, goal: 50
eruption[32772]:  WARN  eruption::scripting::script            > Incorrect state in locking code detected
eruption[32772]:  WARN  eruption                               > More than 82 milliseconds of jitter detected!
eruption[32772]:  WARN  eruption                               > This means that we dropped at least one frame
eruption[32772]:  WARN  eruption                               > Loop took: 157 milliseconds, goal: 50
eruption[32772]:  WARN  eruption::scripting::script            > Incorrect state in locking code detected

@X3n0m0rph59
Copy link
Member

@poldolot Sorry, for not getting back to you earlier.

For hotplug and suspend/resume to work, the system needs to be in a state were the following command is able to run successfully:

 $ sudo eruption-hotplug-helper hotplug

Could you please try to run the following commands:

 $ sudo systemctl unmask eruption.service
 $ sudo systemctl enable --now eruption.service

 $ sudo systemctl unmask eruption-hotplug-helper.service
 $ sudo systemctl enable --now eruption-hotplug-helper.service

And the please run:

 $ sudo eruption-hotplug-helper hotplug

If eruption restarts successfully then suspend/resume has a great chance of working.

To debug the code that gets run during a suspend/resume cycle you could run these commands:

To simulate a suspend:

 $ sudo /lib/systemd/system-sleep/eruption pre

And to simulate a resume afterwards:

 $ sudo /lib/systemd/system-sleep/eruption

This should restart the Eruption daemon.

@poldolot
Copy link
Author

Ok, thx for the reply.
After running hotplug I get this:

 INFO  eruption_hotplug_helper > A hotplug event has been triggered, notifying the Eruption daemon...
 ERROR eruption_hotplug_helper > Could not determine whether the system is still booting: No such file or directory (os error 2)

@X3n0m0rph59
Copy link
Member

@poldolot Sorry, for taking so long to reply!

This issue should be fixed by commit 6d3a2b4. It will ship with Eruption 0.1.23.

@poldolot
Copy link
Author

@X3n0m0rph59 no worries!
I'll wait :-)

@X3n0m0rph59
Copy link
Member

Hi @poldolot!

I just published a new snapshot release. Please find it here. Could you please verify that it fixes the issue for you?

@poldolot
Copy link
Author

Hi @X3n0m0rph59!
This pre-release version didn't fixed my issue. Below is a log from unplugging and plugging in the keyboard.

kernel: [  615.117494] usb 3-2.3.2: USB disconnect, device number 13
message repeated 141 times: [ eruption[20054]: Error during notification of observers [keyboard_event]: timed out waiting on send operation]
acpid: input device has been disconnected, fd 10
eruption[20054]: Fatal: Keyboard device went away: No such device (os error 19)
/usr/lib/gdm3/gdm-x-session[9058]: (II) config/udev: removing device ROCCAT ROCCAT Vulcan 100 AIMO
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "fd" "94"
/usr/lib/gdm3/gdm-x-session[9058]: (II) event14 - ROCCAT ROCCAT Vulcan 100 AIMO: device removed
/usr/lib/gdm3/gdm-x-session[9058]: (II) UnloadModule: "libinput"
/usr/lib/gdm3/gdm-x-session[9058]: (II) systemd-logind: releasing fd for 13:78
acpid: input device has been disconnected, fd 13
/usr/lib/gdm3/gdm-x-session[9058]: (II) config/udev: removing device ROCCAT ROCCAT Vulcan 100 AIMO
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "fd" "102"
/usr/lib/gdm3/gdm-x-session[9058]: (II) event18 - ROCCAT ROCCAT Vulcan 100 AIMO: device removed
/usr/lib/gdm3/gdm-x-session[9058]: (II) UnloadModule: "libinput"
/usr/lib/gdm3/gdm-x-session[9058]: (II) systemd-logind: releasing fd for 13:82
eruption[20054]: Write error
/usr/lib/gdm3/gdm-x-session[9058]: (EE) systemd-logind: failed to release device: Device not taken
eruption[20054]: Could not finalize LEDs configuration: Write error
gnome-shell[9512]: Source ID 34277 was not found when attempting to remove it
gnome-shell[9512]: Could not set property Brightness on remote object /org/eruption/config: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.eruption was not provided by any .service files
/usr/lib/gdm3/gdm-x-session[9058]: (II) config/udev: removing device Eruption Virtual Mouse
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "fd" "136"
/usr/lib/gdm3/gdm-x-session[9058]: (II) event29 - Eruption Virtual Mouse: device removed
/usr/lib/gdm3/gdm-x-session[9058]: (II) UnloadModule: "libinput"
/usr/lib/gdm3/gdm-x-session[9058]: (II) systemd-logind: releasing fd for 13:93
acpid: input device has been disconnected, fd 29
/usr/lib/gdm3/gdm-x-session[9058]: (II) config/udev: removing device Eruption Virtual Keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "fd" "120"
/usr/lib/gdm3/gdm-x-session[9058]: (II) event28 - Eruption Virtual Keyboard: device removed
/usr/lib/gdm3/gdm-x-session[9058]: (II) UnloadModule: "libinput"
/usr/lib/gdm3/gdm-x-session[9058]: (II) systemd-logind: releasing fd for 13:92
systemd[20429]: eruption.service: Executable /usr/bin/rm missing, skipping: No such file or directory
systemd[1]: eruption.service: Succeeded.
kernel: [  619.689862] usb 3-2.3.2: new full-speed USB device number 14 using xhci_hcd
kernel: [  619.790341] usb 3-2.3.2: not running at top speed; connect to a high speed hub
kernel: [  619.791590] usb 3-2.3.2: New USB device found, idVendor=1e7d, idProduct=307a, bcdDevice= 1.00
kernel: [  619.791595] usb 3-2.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
kernel: [  619.791599] usb 3-2.3.2: Product: ROCCAT Vulcan 100 AIMO
kernel: [  619.791601] usb 3-2.3.2: Manufacturer: ROCCAT
kernel: [  619.811846] input: ROCCAT ROCCAT Vulcan 100 AIMO as /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2/3-2.3.2:1.0/0003:1E7D:307A.0029/input/input99
kernel: [  619.871009] hid-generic 0003:1E7D:307A.0029: input,hidraw5: USB HID v1.11 Keyboard [ROCCAT ROCCAT Vulcan 100 AIMO] on usb-0000:07:00.0-2.3.2/input0
kernel: [  619.873321] input: ROCCAT ROCCAT Vulcan 100 AIMO Mouse as /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2/3-2.3.2:1.1/0003:1E7D:307A.002A/input/input100
kernel: [  619.930373] input: ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control as /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2/3-2.3.2:1.1/0003:1E7D:307A.002A/input/input101
kernel: [  619.930650] input: ROCCAT ROCCAT Vulcan 100 AIMO System Control as /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2/3-2.3.2:1.1/0003:1E7D:307A.002A/input/input102
kernel: [  619.931209] hid-generic 0003:1E7D:307A.002A: input,hiddev2,hidraw6: USB HID v1.11 Mouse [ROCCAT ROCCAT Vulcan 100 AIMO] on usb-0000:07:00.0-2.3.2/input1
kernel: [  619.932231] input: ROCCAT ROCCAT Vulcan 100 AIMO as /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2/3-2.3.2:1.2/0003:1E7D:307A.002B/input/input104
kernel: [  619.990608] hid-generic 0003:1E7D:307A.002B: input,hidraw7: USB HID v1.11 Keypad [ROCCAT ROCCAT Vulcan 100 AIMO] on usb-0000:07:00.0-2.3.2/input2
kernel: [  619.991912] input: ROCCAT ROCCAT Vulcan 100 AIMO as /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2/3-2.3.2:1.3/0003:1E7D:307A.002C/input/input105
kernel: [  620.051257] hid-generic 0003:1E7D:307A.002C: input,hidraw8: USB HID v1.11 Device [ROCCAT ROCCAT Vulcan 100 AIMO] on usb-0000:07:00.0-2.3.2/input3
mtp-probe: checking bus 3, device 14: "/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2"
mtp-probe: bus: 3, device: 14 was not an MTP device
boltd[2211]: probing: started [1000]
systemd[1]: Starting Eruption device hotplug notification daemon...
systemd[1]: Started Eruption device hotplug notification daemon.
systemd[1]: eruption-hotplug-helper.service: Succeeded.
/usr/lib/gdm3/gdm-x-session[9058]: (II) config/udev: Adding input device ROCCAT ROCCAT Vulcan 100 AIMO Mouse (/dev/input/mouse4)
/usr/lib/gdm3/gdm-x-session[9058]: (II) No input driver specified, ignoring this device.
/usr/lib/gdm3/gdm-x-session[9058]: (II) This device may have been added with another device file.
/usr/lib/gdm3/gdm-x-session[2611]: (II) config/udev: Adding input device ROCCAT ROCCAT Vulcan 100 AIMO Mouse (/dev/input/mouse4)
/usr/lib/gdm3/gdm-x-session[2611]: (II) No input driver specified, ignoring this device.
/usr/lib/gdm3/gdm-x-session[2611]: (II) This device may have been added with another device file.
/usr/lib/gdm3/gdm-x-session[2611]: (II) config/udev: Adding input device ROCCAT ROCCAT Vulcan 100 AIMO (/dev/input/event18)
/usr/lib/gdm3/gdm-x-session[2611]: (**) ROCCAT ROCCAT Vulcan 100 AIMO: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[2611]: (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Vulcan 100 AIMO'
/usr/lib/gdm3/gdm-x-session[2611]: (II) systemd-logind: got fd for /dev/input/event18 13:82 fd 27 paused 1
/usr/lib/gdm3/gdm-x-session[2611]: (II) systemd-logind: releasing fd for 13:82
/usr/lib/gdm3/gdm-x-session[9058]: (II) config/udev: Adding input device ROCCAT ROCCAT Vulcan 100 AIMO (/dev/input/event18)
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[9058]: (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Vulcan 100 AIMO'
/usr/lib/gdm3/gdm-x-session[9058]: (II) systemd-logind: got fd for /dev/input/event18 13:82 fd 94 paused 0
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO: always reports core events
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "Device" "/dev/input/event18"
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "_source" "server/udev"
/usr/lib/gdm3/gdm-x-session[9058]: (II) event18 - ROCCAT ROCCAT Vulcan 100 AIMO: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event18 - ROCCAT ROCCAT Vulcan 100 AIMO: device is a keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event18 - ROCCAT ROCCAT Vulcan 100 AIMO: device removed
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2/3-2.3.2:1.2/0003:1E7D:307A.002B/input/input104/event18"
/usr/lib/gdm3/gdm-x-session[9058]: (II) XINPUT: Adding extended input device "ROCCAT ROCCAT Vulcan 100 AIMO" (type: KEYBOARD, id 16)
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "xkb_model" "pc105"
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "xkb_layout" "pl"
/usr/lib/gdm3/gdm-x-session[9058]: (WW) Option "xkb_variant" requires a string value
/usr/lib/gdm3/gdm-x-session[9058]: (WW) Option "xkb_options" requires a string value
/usr/lib/gdm3/gdm-x-session[9058]: (II) event18 - ROCCAT ROCCAT Vulcan 100 AIMO: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event18 - ROCCAT ROCCAT Vulcan 100 AIMO: device is a keyboard
/usr/lib/gdm3/gdm-x-session[2611]: (II) config/udev: Adding input device ROCCAT ROCCAT Vulcan 100 AIMO System Control (/dev/input/event17)
/usr/lib/gdm3/gdm-x-session[2611]: (**) ROCCAT ROCCAT Vulcan 100 AIMO System Control: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[2611]: (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Vulcan 100 AIMO System Control'
/usr/lib/gdm3/gdm-x-session[9058]: (II) config/udev: Adding input device ROCCAT ROCCAT Vulcan 100 AIMO System Control (/dev/input/event17)
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO System Control: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[9058]: (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Vulcan 100 AIMO System Control'
/usr/lib/gdm3/gdm-x-session[2611]: (II) systemd-logind: got fd for /dev/input/event17 13:81 fd 27 paused 1
/usr/lib/gdm3/gdm-x-session[2611]: (II) systemd-logind: releasing fd for 13:81
/usr/lib/gdm3/gdm-x-session[9058]: (II) systemd-logind: got fd for /dev/input/event17 13:81 fd 102 paused 0
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO System Control: always reports core events
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "Device" "/dev/input/event17"
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "_source" "server/udev"
/usr/lib/gdm3/gdm-x-session[2611]: (II) config/udev: Adding input device ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control (/dev/input/event16)
/usr/lib/gdm3/gdm-x-session[2611]: (**) ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[2611]: (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control'
/usr/lib/gdm3/gdm-x-session[2611]: (II) systemd-logind: got fd for /dev/input/event16 13:80 fd 27 paused 1
/usr/lib/gdm3/gdm-x-session[2611]: (II) systemd-logind: releasing fd for 13:80
/usr/lib/gdm3/gdm-x-session[9058]: (II) event17 - ROCCAT ROCCAT Vulcan 100 AIMO System Control: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event17 - ROCCAT ROCCAT Vulcan 100 AIMO System Control: device is a keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event17 - ROCCAT ROCCAT Vulcan 100 AIMO System Control: device removed
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2/3-2.3.2:1.1/0003:1E7D:307A.002A/input/input102/event17"
/usr/lib/gdm3/gdm-x-session[9058]: (II) XINPUT: Adding extended input device "ROCCAT ROCCAT Vulcan 100 AIMO System Control" (type: KEYBOARD, id 17)
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "xkb_model" "pc105"
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "xkb_layout" "pl"
/usr/lib/gdm3/gdm-x-session[9058]: (WW) Option "xkb_variant" requires a string value
/usr/lib/gdm3/gdm-x-session[9058]: (WW) Option "xkb_options" requires a string value
/usr/lib/gdm3/gdm-x-session[2611]: (II) config/udev: Adding input device ROCCAT ROCCAT Vulcan 100 AIMO (/dev/input/event14)
/usr/lib/gdm3/gdm-x-session[2611]: (**) ROCCAT ROCCAT Vulcan 100 AIMO: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[2611]: (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Vulcan 100 AIMO'
/usr/lib/gdm3/gdm-x-session[2611]: (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 27 paused 1
/usr/lib/gdm3/gdm-x-session[2611]: (II) systemd-logind: releasing fd for 13:78
/usr/lib/gdm3/gdm-x-session[2611]: (II) config/udev: Adding input device ROCCAT ROCCAT Vulcan 100 AIMO (/dev/input/event19)
/usr/lib/gdm3/gdm-x-session[2611]: (**) ROCCAT ROCCAT Vulcan 100 AIMO: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[2611]: (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Vulcan 100 AIMO'
/usr/lib/gdm3/gdm-x-session[2611]: (II) systemd-logind: got fd for /dev/input/event19 13:83 fd 27 paused 1
/usr/lib/gdm3/gdm-x-session[2611]: (II) systemd-logind: releasing fd for 13:83
/usr/lib/gdm3/gdm-x-session[9058]: (II) event17 - ROCCAT ROCCAT Vulcan 100 AIMO System Control: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event17 - ROCCAT ROCCAT Vulcan 100 AIMO System Control: device is a keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) config/udev: Adding input device ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control (/dev/input/event16)
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[9058]: (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control'
/usr/lib/gdm3/gdm-x-session[9058]: (II) systemd-logind: got fd for /dev/input/event16 13:80 fd 113 paused 0
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: always reports core events
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "Device" "/dev/input/event16"
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "_source" "server/udev"
/usr/lib/gdm3/gdm-x-session[9058]: (II) event16 - ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event16 - ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: device is a keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event16 - ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: device removed
/usr/lib/gdm3/gdm-x-session[9058]: (II) libinput: ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: needs a virtual subdevice
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2/3-2.3.2:1.1/0003:1E7D:307A.002A/input/input101/event16"
/usr/lib/gdm3/gdm-x-session[9058]: (II) XINPUT: Adding extended input device "ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control" (type: MOUSE, id 23)
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "AccelerationScheme" "none"
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: (accel) selected scheme none/0
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: (accel) acceleration factor: 2.000
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: (accel) acceleration threshold: 4
/usr/lib/gdm3/gdm-x-session[9058]: (II) event16 - ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event16 - ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: device is a keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[9058]: (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control'
/usr/lib/gdm3/gdm-x-session[9058]: (II) systemd-logind: returning pre-existing fd for /dev/input/event16 13:80
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: always reports core events
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "Device" "/dev/input/event16"
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "_source" "_driver/libinput"
/usr/lib/gdm3/gdm-x-session[9058]: (II) libinput: ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control: is a virtual subdevice
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2/3-2.3.2:1.1/0003:1E7D:307A.002A/input/input101/event16"
/usr/lib/gdm3/gdm-x-session[9058]: (II) XINPUT: Adding extended input device "ROCCAT ROCCAT Vulcan 100 AIMO Consumer Control" (type: KEYBOARD, id 24)
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "xkb_model" "pc105"
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "xkb_layout" "pl"
/usr/lib/gdm3/gdm-x-session[9058]: (WW) Option "xkb_variant" requires a string value
/usr/lib/gdm3/gdm-x-session[9058]: (WW) Option "xkb_options" requires a string value
/usr/lib/gdm3/gdm-x-session[2611]: (II) config/udev: Adding input device ROCCAT ROCCAT Vulcan 100 AIMO Mouse (/dev/input/event15)
/usr/lib/gdm3/gdm-x-session[2611]: (**) ROCCAT ROCCAT Vulcan 100 AIMO Mouse: Applying InputClass "libinput pointer catchall"
/usr/lib/gdm3/gdm-x-session[2611]: (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Vulcan 100 AIMO Mouse'
/usr/lib/gdm3/gdm-x-session[2611]: (II) systemd-logind: got fd for /dev/input/event15 13:79 fd 27 paused 1
/usr/lib/gdm3/gdm-x-session[2611]: (II) systemd-logind: releasing fd for 13:79
/usr/lib/gdm3/gdm-x-session[9058]: (II) config/udev: Adding input device ROCCAT ROCCAT Vulcan 100 AIMO (/dev/input/event14)
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[9058]: (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Vulcan 100 AIMO'
/usr/lib/gdm3/gdm-x-session[9058]: (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 116 paused 0
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO: always reports core events
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "Device" "/dev/input/event14"
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "_source" "server/udev"
/usr/lib/gdm3/gdm-x-session[9058]: (II) event14 - ROCCAT ROCCAT Vulcan 100 AIMO: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event14 - ROCCAT ROCCAT Vulcan 100 AIMO: device is a keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event14 - ROCCAT ROCCAT Vulcan 100 AIMO: device removed
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2/3-2.3.2:1.0/0003:1E7D:307A.0029/input/input99/event14"
/usr/lib/gdm3/gdm-x-session[9058]: (II) XINPUT: Adding extended input device "ROCCAT ROCCAT Vulcan 100 AIMO" (type: KEYBOARD, id 26)
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "xkb_model" "pc105"
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "xkb_layout" "pl"
/usr/lib/gdm3/gdm-x-session[9058]: (WW) Option "xkb_variant" requires a string value
/usr/lib/gdm3/gdm-x-session[9058]: (WW) Option "xkb_options" requires a string value
/usr/lib/gdm3/gdm-x-session[9058]: (II) event14 - ROCCAT ROCCAT Vulcan 100 AIMO: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event14 - ROCCAT ROCCAT Vulcan 100 AIMO: device is a keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) config/udev: Adding input device ROCCAT ROCCAT Vulcan 100 AIMO (/dev/input/event19)
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO: Applying InputClass "libinput keyboard catchall"
/usr/lib/gdm3/gdm-x-session[9058]: (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Vulcan 100 AIMO'
/usr/lib/gdm3/gdm-x-session[9058]: (II) systemd-logind: got fd for /dev/input/event19 13:83 fd 117 paused 0
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO: always reports core events
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "Device" "/dev/input/event19"
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "_source" "server/udev"
/usr/lib/gdm3/gdm-x-session[9058]: (II) event19 - ROCCAT ROCCAT Vulcan 100 AIMO: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event19 - ROCCAT ROCCAT Vulcan 100 AIMO: device is a keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event19 - ROCCAT ROCCAT Vulcan 100 AIMO: device removed
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2/3-2.3.2:1.3/0003:1E7D:307A.002C/input/input105/event19"
/usr/lib/gdm3/gdm-x-session[9058]: (II) XINPUT: Adding extended input device "ROCCAT ROCCAT Vulcan 100 AIMO" (type: KEYBOARD, id 27)
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "xkb_model" "pc105"
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "xkb_layout" "pl"
/usr/lib/gdm3/gdm-x-session[9058]: (WW) Option "xkb_variant" requires a string value
/usr/lib/gdm3/gdm-x-session[9058]: (WW) Option "xkb_options" requires a string value
mtp-probe: checking bus 3, device 14: "/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2"
mtp-probe: bus: 3, device: 14 was not an MTP device
/usr/lib/gdm3/gdm-x-session[9058]: (II) event19 - ROCCAT ROCCAT Vulcan 100 AIMO: is tagged by udev as: Keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) event19 - ROCCAT ROCCAT Vulcan 100 AIMO: device is a keyboard
/usr/lib/gdm3/gdm-x-session[9058]: (II) config/udev: Adding input device ROCCAT ROCCAT Vulcan 100 AIMO Mouse (/dev/input/event15)
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO Mouse: Applying InputClass "libinput pointer catchall"
/usr/lib/gdm3/gdm-x-session[9058]: (II) Using input driver 'libinput' for 'ROCCAT ROCCAT Vulcan 100 AIMO Mouse'
/usr/lib/gdm3/gdm-x-session[9058]: (II) systemd-logind: got fd for /dev/input/event15 13:79 fd 118 paused 0
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO Mouse: always reports core events
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "Device" "/dev/input/event15"
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "_source" "server/udev"
/usr/lib/gdm3/gdm-x-session[9058]: (II) event15 - ROCCAT ROCCAT Vulcan 100 AIMO Mouse: is tagged by udev as: Mouse
/usr/lib/gdm3/gdm-x-session[9058]: (II) event15 - ROCCAT ROCCAT Vulcan 100 AIMO Mouse: device is a pointer
/usr/lib/gdm3/gdm-x-session[9058]: (II) event15 - ROCCAT ROCCAT Vulcan 100 AIMO Mouse: device removed
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/usb3/3-2/3-2.3/3-2.3.2/3-2.3.2:1.1/0003:1E7D:307A.002A/input/input100/event15"
/usr/lib/gdm3/gdm-x-session[9058]: (II) XINPUT: Adding extended input device "ROCCAT ROCCAT Vulcan 100 AIMO Mouse" (type: MOUSE, id 28)
/usr/lib/gdm3/gdm-x-session[9058]: (**) Option "AccelerationScheme" "none"
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO Mouse: (accel) selected scheme none/0
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO Mouse: (accel) acceleration factor: 2.000
/usr/lib/gdm3/gdm-x-session[9058]: (**) ROCCAT ROCCAT Vulcan 100 AIMO Mouse: (accel) acceleration threshold: 4
/usr/lib/gdm3/gdm-x-session[9058]: (II) event15 - ROCCAT ROCCAT Vulcan 100 AIMO Mouse: is tagged by udev as: Mouse
/usr/lib/gdm3/gdm-x-session[9058]: (II) event15 - ROCCAT ROCCAT Vulcan 100 AIMO Mouse: device is a pointer
systemd[1]: Starting Eruption device hotplug notification daemon...
systemd[1]: Started Eruption device hotplug notification daemon.
systemd[1]: eruption-hotplug-helper.service: Succeeded.
boltd[2211]: probing: timeout, done: [2910091] (2000000)

and the message from hotplug:

INFO  eruption_hotplug_helper > A hotplug event has been triggered, notifying the Eruption daemon...
INFO  eruption_hotplug_helper > System is still booting, skipping restart of Eruption

@X3n0m0rph59
Copy link
Member

@poldolot, thanks for the quick reply!

It seems like the eruption-hotplug-helper.service is being executed now, but there is another problem happening:

INFO eruption_hotplug_helper > System is still booting, skipping restart of Eruption

This normally only happens due to the system exhibiting some hanging or failed Systemd units. Could you please post the output of this command:

sudo systemctl list-units --failed

I believe that as soon as the failed units are fixed, there is a great chance for suspend/resume to now work correctly!

@poldolot
Copy link
Author

@X3n0m0rph59, here is an output for failed services:

  UNIT                   LOAD   ACTIVE SUB    DESCRIPTION              
● plymouth-start.service loaded failed failed Show Plymouth Boot Screen

and You'r right, after sudo systemctl reset-failed the hotplug works!
But unfortunately after waking system from sleep the eruption.service failed:

  UNIT             LOAD   ACTIVE SUB    DESCRIPTION                                                               
● eruption.service loaded failed failed Linux user-mode input and LED driver for keyboards, mice and other devices

and corresponding systemlog:

systemd[1]: Starting Linux user-mode input and LED driver for keyboards, mice and other devices...
systemd[1]: Started Linux user-mode input and LED driver for keyboards, mice and other devices.
eruption[45339]: LPP-pburcza eruption[45339]: No supported devices found, exiting now
systemd[1]: eruption.service: Main process exited, code=exited, status=5/NOTINSTALLED
systemd[45371]: eruption.service: Executable /usr/bin/rm missing, skipping: No such file or directory
systemd[1]: eruption.service: Failed with result 'exit-code'.

@X3n0m0rph59
Copy link
Member

@poldolot, this looks strange to me. Not completely sure what is going on...

systemd[1]: eruption.service: Main process exited, code=exited, status=5/NOTINSTALLED
systemd[45371]: eruption.service: Executable /usr/bin/rm missing, skipping: No such file or directory

Could you please try to run:

sudo systemctl stop eruption.service

sudo systemctl daemon-reload
systemctl --user daemon-reload

sudo systemctl restart eruption.service

And then please test again whether device hotplug is working now.

@poldolot
Copy link
Author

@X3n0m0rph59, no change.
Result of systemctl status eruption.service

● eruption.service - Linux user-mode input and LED driver for keyboards, mice and other devices
     Loaded: loaded (/lib/systemd/system/eruption.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2022-02-25 14:09:51 CET; 4s ago
       Docs: man:eruption(8)
             man:eruption.conf(5)
             man:eruptionctl(1)
             man:eruption-netfx(1)
    Process: 53196 ExecStart=/usr/bin/eruption -c /etc/eruption/eruption.conf (code=exited, status=5)
    Process: 53256 ExecStopPost=/usr/bin/rm -f /run/eruption/eruption.pid (code=exited, status=0/SUCCESS)
   Main PID: 53196 (code=exited, status=5)

lut 25 14:09:49 systemd[1]: Starting Linux user-mode input and LED driver for keyboards, mice and other devices...
lut 25 14:09:49 systemd[1]: Started Linux user-mode input and LED driver for keyboards, mice and other devices.
lut 25 14:09:51 eruption[53196]: eruption[53196]: No supported devices found, exiting now
lut 25 14:09:51 systemd[1]: eruption.service: Main process exited, code=exited, status=5/NOTINSTALLED
lut 25 14:09:51 systemd[53256]: eruption.service: Executable /usr/bin/rm missing, skipping: No such file or directory
lut 25 14:09:51 systemd[1]: eruption.service: Failed with result 'exit-code'.

@X3n0m0rph59
Copy link
Member

@poldolot, maybe the Eruption daemon is racing against system wakeup and hardware initialization. It seems to me that the USB device is not ready yet, when Eruption tries to enumerate and subsequently bind to it.

Could you please temporarily add the line sleep 3 to /usr/lib/systemd/system-sleep/eruption so that it looks like this:

#!/bin/sh

if [ "$1" = "pre" ] ; then
    # prepare Eruption for system sleep
    touch /run/lock/eruption-hotplug-helper.lock

    systemctl stop eruption-hotplug-helper.service
	systemctl stop eruption.service

    touch /run/lock/eruption-sleep.lock
else
    sleep 3

    # wake up Eruption after system sleep
    rm /run/lock/eruption-hotplug-helper.lock
    systemctl start eruption-hotplug-helper.service
    rm /run/lock/eruption-sleep.lock
fi

and then please try again if it works now. Thanks for your patience!

@poldolot
Copy link
Author

@X3n0m0rph59, I've tested every scenario I could think off, and it works in most of them but when the system is waked up without keyboard connected it doesn't work. The error is the same as above.
btw. I don't have file /usr/lib/systemd/system-sleep/eruption in my system but there is /lib/systemd/system-sleep/eruption and I've added sleep 3 command there.

@X3n0m0rph59
Copy link
Member

@poldolot, thanks for testing this so thoroughly!
So did I understand correctly, that resume from suspend with the keyboard connected works now as intended?

Do you use some kind of KVM switch, so that the keyboard could be disconnected during resume?
If the keyboard is disconnected during resume from suspend, the eruption daemon aborts with error code 5 (no devices detected) and subsequently Systemd marks the unit as failed. This in turn prohibits eruption-hotplug-helper from restarting the daemon on the next hotplug event.

So hotplug after resume should work when we do something like this:

#!/bin/sh

if [ "$1" = "pre" ] ; then
    # prepare Eruption for system sleep
    touch /run/lock/eruption-hotplug-helper.lock

    systemctl stop eruption-hotplug-helper.service
	systemctl stop eruption.service

    touch /run/lock/eruption-sleep.lock
else
    sleep 3

    # wake up Eruption after system sleep
    rm /run/lock/eruption-hotplug-helper.lock
    systemctl start eruption-hotplug-helper.service
    rm /run/lock/eruption-sleep.lock

    sleep 3
    systemctl reset-failed
fi

This line should cause the system to be in a state where the eruption-hotplug-helper is able to restart the eruption daemon on the next hotplug event:

    systemctl reset-failed

To test whether this theory could be correct, could you please resume from suspend with the keyboard disconnected and then hotplug the device. Please be sure to wait for at least 10 seconds after the resume operation completed, before hotplugging the device, so that everything has settled.

@poldolot
Copy link
Author

@X3n0m0rph59, yes, it helps!
I'm using Dell WD19TB docking station but it doesn't matter where the keyboard is connected, it behaves the same.
Now everything is working, but there is a repeating message in log file:

eruption[47383]: Error during notification of observers [keyboard_event]: timed out waiting on send operation

@X3n0m0rph59
Copy link
Member

X3n0m0rph59 commented Feb 28, 2022

@poldolot, okay great! I will think about this some more and then try to come up with a robust solution to this issue.
Maybe I have to change the exit code of the eruption daemon in case no device is found to signal success.

Regarding the log messages: This problem should be corrected by enabling the user session daemons (the audio-proxy) that ship with eruption:

systemctl --user enable --now eruption-audio-proxy.service eruption-process-monitor.service 

Please do not put sudo in front of that command, since it has to act on the user session

And please be sure to install the latest version of the package/update your system.

@poldolot
Copy link
Author

poldolot commented Mar 1, 2022

@X3n0m0rph59, I've installed newest version but this command gave me an error:

Failed to enable unit: Unit file eruption-audio-proxy.service does not exist.

@X3n0m0rph59
Copy link
Member

@poldolot Did you try without sudo in front of the command and with --user parameter?

systemctl --user daemon-reload
systemctl --user enable --now eruption-audio-proxy.service

If it still wont work could you please locate the file eruption-audio-proxy.service on your system. It should be placed in /usr/lib/systemd/user/eruption-audio-proxy.service

@poldolot
Copy link
Author

poldolot commented Mar 1, 2022

@X3n0m0rph59, yes I've run it without sudo. I've this file here:

/lib/systemd/user/eruption-audio-proxy.service

maybe I need to uninstall eruption and install it from scratch?

@X3n0m0rph59
Copy link
Member

@poldolot I have published a new eruption-git package for Ubuntu. It ships with multiple bugfixes that are relevant to your issue. Could you please try out whether suspend / resume now works even without the keyboard being detected?

@X3n0m0rph59
Copy link
Member

@poldolot Yes please backup your profiles and then purge and reinstall eruption-git.

sudo apt purge eruption-git
sudo apt update
sudo apt install eruption-git

@poldolot
Copy link
Author

poldolot commented Mar 7, 2022

@X3n0m0rph59, I've purged and install newest version but still no success without keyboard connected and eruption files are still in /lib/... and not /usr/lib/...

@Cybugs
Copy link

Cybugs commented Mar 19, 2022

I had a similar problem on my Manjaro Box with kernel 5.16.
After resuming the eruption daemon failed to start. Adding
sleep 3
systemctl reset-failed
to /usr/lib/systemd/system-sleep/eruption solved the issue.

Just for your information. Perhaps it helps to solve the issue.

@X3n0m0rph59 X3n0m0rph59 added the help wanted Extra attention is needed label Oct 1, 2022
@X3n0m0rph59 X3n0m0rph59 pinned this issue Oct 4, 2022
@X3n0m0rph59
Copy link
Member

@poldolot @Cybugs

I have pushed a number of fixes to the develop branch that should hugely improve the behavior of Eruption on suspend/resume. Eruption no longer depends on a custom Systemd suspend script. All devices are initialized now via Udev hotplug events, during system resume. There are still some known problems: The ROCCAT Kone Pure Ultra does not get re-initialized correctly at the moment... So it is not ready for master just yet.

@poldolot
Copy link
Author

@X3n0m0rph59 that's great news! I'll wait for stable version. Thank You for Your insane work :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants