UltimateHackingKeyboard / agent

Ultimate Hacking Keyboard configurator
https://ultimatehackingkeyboard.github.io/agent/
Other
701 stars 77 forks source link

Agent 3.2.2 does not detect UHK 60 v2 #2152

Closed dharkness closed 8 months ago

dharkness commented 9 months ago

I received a new UHK to replace my version from the initial Kickstarter run this week. It was detected by Agent 3.2.1, but after upgrading to 3.2.2, it was no longer detected. I downgraded to 3.2.1, and it was detected again. I flashed the latest firmware in 3.2.1 and upgraded again. Again, it would not detect the device. I downgraded one last time, and it was once again detected.

See this thread for more background and the complete steps I followed.

mondalaci commented 9 months ago

@ert78gb Can you look into this?

ert78gb commented 9 months ago

Hi @dharkness,

From 3.2.1 to 3.2.2 we upgraded the hid-raw library that responsible for the USB communication. Can you send me the Agent logs? You can find them in

dharkness commented 9 months ago

I'm on Ubuntu 20.04. Here's the log file in /home/david/.config/uhk-agent/logs. Let me know if I need to reinstall 3.2.2 and launch it to get the latest. I assume by the size of this file that it's the log from the entire time I've had Agent installed.

uhk-agent.log

ert78gb commented 9 months ago

The error is "version `GLIBC_2.33' not found". What is your operation system?

Our users experience GLIBC issue when they use older OS.

ert78gb commented 9 months ago

Sorry I just know read you use Ubuntu 20.04.

ert78gb commented 9 months ago

I opened a PR that uses Ubuntu 20.04 as build runner. @dharkness please download and test the Appimage artifact from the https://github.com/UltimateHackingKeyboard/agent/actions/runs/7438188763?pr=2157. If it solves your problem we will merge the PR and release a new version.

dharkness commented 9 months ago

I get the same error. Looks like my system has Glibc v2.31.

/lib/x86_64-linux-gnu/libc.so.6 -> libc-2.31.so

Is that determine by the linux kernel or Ubuntu? I ask because I had to downgrade my kernel because the newer version failed to boot. I'm not against upgrading to 22.04--just have been putting it off with no immediate need to do so. Can the agent work with Glibc 2.31?

ert78gb commented 9 months ago

As far as I know the OS determine the GLIBC. Possible to use different GLIBC than the OS provides but not recommended. So if you need newer GLIBC recommended to upgrade the OS.

I have to investigate what happened with node-hib. They use new build process to compile the library. I have to investigate why it is needed newer glibc. I will collect and share this information within the next few days.

in-sachen-it commented 9 months ago

Same on Debian 11/bullseye which is supported until August and by that, not that old.

ert78gb commented 8 months ago

@in-sachen-it @dharkness I upgraded the node-hid package. Could you test the new version? Thx

ert78gb commented 8 months ago

I modified the build. If you have time please test the https://github.com/UltimateHackingKeyboard/agent/actions/runs/7533700761?pr=2162

dharkness commented 8 months ago

@ert78gb The build linked in your most recent comment works, thanks!

mw75 commented 8 months ago

Can’t test because the linked artifact is not available anymore. The version on https://ultimatehackingkeyboard.com/agent is still not fixed.