daqhats
daqhats copied to clipboard
"sudo daqhats_read_eeproms" fails with missing i2c-adapter folder
The script defines SYS=/sys/class/i2c-adapter/i2c-$BUS which doesn't exist on my pi3B (Linux version 6.12.22-v8+) Because of that a second board will fail to be detected. (I'm using an MCC128 and MCC118)
So, as fix I am currently using a small patch to the script: SYS=/sys/class/i2c-adapter/i2c-$BUS if [ ! -d "$SYS" ]; then SYS=/sys/class/i2c-dev/i2c-$BUS/device fi
Then daqhats_read_eeproms succeeds and the boards can be found.