Open ensonic opened 1 year ago
I had to stop/uininstall it, it was logging sooo much that m,y disk went full.
Hmm, this is basically here: https://github.com/X3n0m0rph59/eruption/blob/master/eruption/src/main.rs#L745 I think it would be helpful to add more data to the error (e.g. which device) and then exit. Definitely don't log this repeatedly from the main loop. Computers are fast these days :)
I have no experience with rust yet. I figured that there is a get_usb_path()
, but have not tried how to call it.
Anyway, I also have more details on how to trigger it.
Sounds like some issue with hotplug handling? Any pointers?
I have the same problem I have a switch to use the mouse on a different pc. everytime I switch away the logging starts to fill up my disc
I am still on 0.3.0 btw. last version from ubuntu ppa
@ensonic @derEremit Thanks for reporting this issue!
I have implemented the following mitigations regarding the underlying problem of this issue:
The code has been pushed to the develop
branch
@X3n0m0rph59 thanks! I'll rebuild in a bit. Do you have any idea wrt the root-cause. I suspect something changed on the kernel side. Eruption was working fine for month.
@ensonic I am not inclined to blame the kernel for the issue... Maybe some external change triggered the problem, but I believe that the code for handling failed devices (inside the eruption daemon) was not as resilient as it should have been. There has been a problem with device hot-plug too, that contributed to the issue even further.
I believe that the new code is much more resilient in the presence of failed USB devices... And device hot-plug now works completely stable on my test hardware as well.
@ensonic I just switched the HIDAPI backend from libusb
to hidraw
. This may improve device interoperability in the presence of other drivers that try to access the USB devices. If you encounter spurious keypresses or other problems that could relate to the USB device layer, then please compile from this commit 3dcf521f52801d6b62c1e7c869fabd846eb2b70a
That is the commit right before the one that introduces the switch of the HIDAPI backend.
I've build and installed from 'develop' at 3dcf521f52801d6b62c1e7c869fabd846eb2b70a and it is looking good. Should I open a new ticket to discuss what it would take to get the ROCCAT Vulcan Pro series keyboard
out of experimental (its working fine with all features as far as I can tell).
@ensonic Glad to hear that it seems to work now!
@ensonic Yes, please create a new issue for tracking progress on stabilizing the ROCCAT Vulcan Pro
Please describe the bug Since a kernel update the mounse is not detected at boot-up. This can be fixed with unplug/plug. Until that eruption logs repeadetly the same unactionable error message.:
Logs Please provide full logs:
sudo journalctl -u eruption.service -b
Please complete the following information: