Periferals plugged into monitor usb hub becoming unresponsive after starting daemon
I am using my monitor's usb hub for my keyboard and mouse and after the daemon is started they became practically unusable (keys getting stuck or not registering, mouse laggy). I can even see the rgb turn on and off on the mouse every second. After stopping the daemon the issue goes away. The system is not being overloaded. The same issue arises with mpvpaper also. I use arch/hyprland.
Hello, we tried to solve the issue.
This is what we did:
Modify the main loop in daemon/src/main.rs to reduce polling frequency and optimize processing, addressing the issue of USB device interference and high resource consumption.
You can review changes in this commit: https://github.com/endic-sam928281/LGFae-swww-396/commit/f726521eaa7c562bbb8769140c7e88f314cfe23d.
[!CAUTION] Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.
Latta AI seeks to solve problems in open source projects as part of its mission to support developers around the world. Learn more about our mission at https://latta.ai/ourmission . If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.
@endic-sam928281 dude this thing won't even compile with the curly brackets you've deleted. I've no idea what you are trying to do with this thing.