maxnet / berryboot

Berryboot -- Boot menu / OS installer
http://www.berryboot.com/
Other
808 stars 133 forks source link

/dev/i2c* Does not exist #703

Closed raratiru closed 3 years ago

raratiru commented 3 years ago

I recently bought Argon, a case that uses a fan when needed.

The script that makes the fan work can be found in the following link:

https://download.argon40.com/argon1.sh

I used berryboot to encrypt the SDCard and I installed Ubuntu desktop 20.10. When running the script I receive:

* Failed to find overlays directory
grep: /boot/cmdline.txt: No such file or directory
grep: /boot/cmdline.txt: No such file or directory
grep: /boot/cmdline.txt: No such file or directory
grep: /boot/cmdline.txt: No such file or directory
sed: can't read /boot/cmdline.txt: No such file or directory

In the installed python script, the failing code is:

/usr/bin/argononed.py:

>>> import smbus
>>> smbus.SMBus(1)  # or (0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory

Finally:

# ls /dev/i2c*
ls: cannot access '/dev/i2c*': No such file or directory

Is there a way to make the fan work?

raratiru commented 3 years ago

Instead of using berryboot to encrypt the filesystem, I used an encrypted usb for the data and I installed the OS using the native raspberry tools.