I have upgraded from Ubuntu 22.10 to 23.04 . After restarting, the fan in the system does not work.
"
/usr/bin/python3 /usr/bin/argononed.py
Traceback (most recent call last):
File "/usr/bin/argononed.py", line 9, in <module>
bus = smbus.SMBus(1)
FileNotFoundError: [Errno 2] No such file or directory
"
solving the problem
sudo apt-get update
sudo apt-get install i2c-tools libi2c-dev python-smbus
sudo nano /etc/modules
Add these two lines;
i2c-dev
i2c-bcm2708
Update /boot/config.txt
Add to the bottom;
dtparam=i2c_arm=on
dtparam=i2c1=on
Now reboot.
Hi,
I hit the same problem and tried your solution, but I get E: Unable to locate package python-smbus
Any ideas?
Thx