libc.hwid
libc.hwid copied to clipboard
libc.hwid.HwId.Generate() throws exception on Linux ARM64 Raspberry Pi 4B
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
Unfortunately this library is not tested on Raspberry Pi hardware. Maybe you can help with a PR?