-
Notifications
You must be signed in to change notification settings - Fork 90
add Debian package sources for resetting USB after resume #2744
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
base: master
Are you sure you want to change the base?
add Debian package sources for resetting USB after resume #2744
Conversation
|
Thank you for your contribution! |
|
Just tested the script and systemd service—scrolling does work after suspend with it, but then Agent doesn't work unless I reboot (or unplug/replug) the UHK. It gets stuck on the "Searching" screen and cycles the following on stdout/stderr: |
|
RE: Debian package vs. manual files: obviously those not on a Debian-family distro won't be able to use it, so it'd be handy if the files were at least easily accessible so that we wouldn't have to manually extract them from the If using a IMO it'd be prudent to add a Footnotes
|
|
Works with my system. Agent seems to work fine. |
0ca3cf3 to
f59e37e
Compare
f59e37e to
adfa3ed
Compare
|
I (and my LLM helper) have updated the branch to ship a manual installer script, instead of Debian package. Maybe this is simpler for the users overall. I couldn't test these changes, so please review in detail. I don't know what is happening to the agent at @rightaditya, but restarting the agent is overall an easier approach, than plugging the keyboard in and out. |
|
@benedekkupper IIRC I did try restarting Agent but got the same message 🤷♂️ |
|
Hi All, What is the status of this PR? I mean is the OS service / systemd part done and need to finish the Agent side? Or have to work on both side?
If I read well then we will not create debian package to be compatible with non debian based images? And here my questions, which linux OS should run the scripts? What happening if someone uses other than systemd ?
udev rules is 1 small file. If we modify it we notify the user about the upgrade. Should we track all of these new files or just a few? Agent has the NixOs does not allow access to the udev files and I think it will block the access to systemd files too. How will we track these new files on NixOS? Currently if we could communicate with the keyboard but can't access to the udev files then we assume the user has special setup and we don't bother them with udev rule setup. How could Agent detect this new feature properly available on the OS with custom setup and we don't have to care about it? |
This is half of a complete solution to work around the scrolling issue on Linux after suspend. What I have prepared is a script and a systemd service to run this script after each wake from suspend. It works on my machine, but I'd like if others also tested this (@kareltucek would you?). The only part that can be wrong is the
sleep 1.5, this might need adjustment based on more testers. What's still missing:dpkg-deb --build uhk-usb-service, resulting inuhk-usb-service.deb)