I’m running into the same problem. i believe it’s because the python-smbus package is not available. Would love to see native support in Batocera, as its one of the (imho the only one) nicest cases available for the pi 4 at the moment.
edit: “modprobe i2c-dev” fixed that error. Unfortunately there’s no /etc/modules to aad i2c-dev to. Might be just me looking in the wrong place though.
now i’m getting some new errors:
`# Exception in thread Thread-1:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 801, in bootstrap_inner
self.run()
File “/usr/lib/python2.7/threading.py”, line 754, in run
self.target(*self.args, **self.kwargs)
File “/userdata/argonone/argononed.py”, line 19, in shutdown_check
GPIO.wait_for_edge(shutdown_pin, GPIO.RISING)
RuntimeError: Error waiting for edge
sh: vcgencmd: command not found
Exception in thread Thread-2:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 801, in bootstrap_inner
self.run()
File “/usr/lib/python2.7/threading.py”, line 754, in run
self.target(*self.args, **self.kwargs)
File “/userdata/argonone/argononed.py”, line 81, in temp_check
val = float(temp.replace(“'C”,""))
ValueError: could not convert string to float:
`