thebel1 / thpimon

Native ESXi on Arm hardware status driver for the Raspberry Pi.
1 stars 0 forks source link

[Errno 22] Invalid argument #5

Closed DennisFaucher closed 3 years ago

DennisFaucher commented 3 years ago

Hi. Thanks for the great libraries. Pulling pin state is working great for me. When I try to pull temperature with pimon_util.py, I get this though. Any ideas? I am running ESXi on Arm Fling (Build 17068872) on a Raspberry Pi4. TIA.

] python3 ./pimon_util.py [Errno 22] Invalid argument [Errno 22] Invalid argument Firmware Revision: 0x0 [Errno 22] Invalid argument Board Model: 0 [Errno 22] Invalid argument Board Revision: 0x0 Board MAC Address: 0:0:0:0:0:0 [Errno 22] Invalid argument Board Serial: 0x00000000000000 [Errno 22] Invalid argument Temp: 0 (deg. C)

DennisFaucher commented 3 years ago

Update. I ran the script line by line in the interpreter. This was the first line that errored:

boardMACBytes = pimon.getBoardMAC().to_bytes(6, 'little') [Errno 22] Invalid argument

DennisFaucher commented 3 years ago

Scratch that. I went through the VIB install process again, rebooted and now everything works :)

thebel1 commented 3 years ago

Glad you got it to work!