My knowledge of python is very very low as is FreeBSD so i am stuck at the moment. Note: I got this script to work on Debian flavour of linux with success. Indeed there is no /dev/i2x-0 but there is a /dev/smb0 so i replaced the reference in smbus2.py from i2c to smb but then another error occurred after re-executing rbmode: OSError: No such file or directory: '/dev/i2c-0' I executed the kldload commands with "success".įile "/usr/local/sbin/rbmode", line 78, in įile "/usr/local/sbin/rbmode", line 70, in mainįile "/usr/local/sbin/rbmode", line 38, in setModeįile "/usr/local/lib/python2.7/site-packages/smbus2/smbus2.py", line 279, in initįile "/usr/local/lib/python2.7/site-packages/smbus2/smbus2.py", line 308, in open I had to install pip and then smbus2 and change the script. ArtiCAD-Pro is the leading software product for kitchen, bedroom, bathroom and home office design, pricing and ordering. Said in PfSense on a Riverbed Steelhead:įirst the script imports smbus module but cant find it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |