libc.hwid icon indicating copy to clipboard operation
libc.hwid copied to clipboard

libc.hwid.HwId.Generate() throws exception on Linux ARM64 Raspberry Pi 4B

Open sajmons opened this issue 10 months ago • 1 comments

Calling method libc.hwid.HwId.Generate() throws exception:

Sequence contains no matching element|System.InvalidOperationException: Sequence contains no matching element at System.Linq.ThrowHelper.ThrowNoMatchException() at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func2 predicate) at libc.hwid.HwId.Dmidecode(String query, String find) at libc.hwid.HwId.GetInfo(Hardware hw) at libc.hwid.HwId.Generate() at CollimationCircles.ViewModels.RequestLicenseViewModel..ctor() in /home/stellarmate/Projects/CollimationCircles/CollimationCircles/ViewModels/RequestLicenseViewModel.cs:line 40

My platform information:

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
uname -a
Linux stellarmate 6.6.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25) aarch64 GNU/Linux

sajmons avatar Jan 10 '25 19:01 sajmons

Unfortunately this library is not tested on Raspberry Pi hardware. Maybe you can help with a PR?

sfmohassel avatar Jan 29 '25 12:01 sfmohassel