You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking forward to using this library. I ran the pip install and run one the basic examples to read a byte.
I get the following error:
Traceback (most recent call last):
File "test.py", line 6, in <module>
b = bus.read_byte_data(80,0)
File "/home/david/.local/lib/python3.7/site-packages/smbus2/smbus2.py", line 412, in read_byte_data
ioctl(self.fd, I2C_SMBUS, msg)
OSError: [Errno 6] No such device or address
which I believe is permission related as i2cdetect -l returns:
sudo i2cdetect -l
i2c-3 smbus SMBus PIIX4 adapter port 3 at 0b00 SMBus adapter
i2c-10 i2c NVIDIA i2c adapter 7 at 41:00.0 I2C adapter
i2c-1 smbus SMBus PIIX4 adapter port 0 at 0b00 SMBus adapter
i2c-8 i2c NVIDIA i2c adapter 5 at 41:00.0 I2C adapter
i2c-6 i2c NVIDIA i2c adapter 1 at 41:00.0 I2C adapter
i2c-4 smbus SMBus PIIX4 adapter port 4 at 0b00 SMBus adapter
i2c-11 i2c NVIDIA i2c adapter 8 at 41:00.0 I2C adapter
i2c-2 smbus SMBus PIIX4 adapter port 2 at 0b00 SMBus adapter
i2c-0 i2c Synopsys DesignWare I2C adapter I2C adapter
i2c-9 i2c NVIDIA i2c adapter 6 at 41:00.0 I2C adapter
i2c-7 i2c NVIDIA i2c adapter 3 at 41:00.0 I2C adapter
i2c-5 smbus SMBus PIIX4 adapter port 1 at 0b20 SMBus adapter
I took it out of virtualenv but still get an error. Any suggestions?
The text was updated successfully, but these errors were encountered:
Hey there,
Looking forward to using this library. I ran the pip install and run one the basic examples to read a byte.
I get the following error:
which I believe is permission related as
i2cdetect -l
returns:I took it out of virtualenv but still get an error. Any suggestions?
The text was updated successfully, but these errors were encountered: