You are not logged in.
Apologies if you have seen this on the Raspberry Pi forums, but the same problem seems to occur on non ARM Arch. I am trying to access the smbus using python:
scamper2 ~ » python2
Python 2.7.3 (default, Dec 22 2012, 21:14:12)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import smbus
>>> bus=smbus.SMBus(1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IOError: [Errno 2] No such file or directoryGoogling doesn't produce any helpful results. The same code works fine on Debian. So do I need to do anything special in Arch to allow me to access the bus from Python?
Edit.
It
seems I need to load a module:
modprobe i2c-devLast edited by geekinthesticks (2013-03-10 18:16:00)
Offline