Home
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Main category
Main forum
Help loading 4rel4in as HAT layer 1
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MGLove" data-source="post: 102" data-attributes="member: 17"><p>also have this Error</p><p></p><p>>> import sm_4rel4in</p><p>>>> rel = sm_4rel4in.SM4rel4in(0)</p><p>Traceback (most recent call last):</p><p> File "/home/ryanpimg/4rel4in-rpi/python/sm_4rel4in/sm_4rel4in/__init__.py", line 46, in __init__</p><p> self._card_rev_major = bus.read_byte_data(self._hw_address_, _I2C_MEM_REVISION_HW_MAJOR_ADD)</p><p> File "/usr/local/lib/python3.9/dist-packages/smbus2-0.4.2-py3.9.egg/smbus2/smbus2.py", line 433, in read_byte_data</p><p> ioctl(self.fd, I2C_SMBUS, msg)</p><p>OSError: [Errno 121] Remote I/O error</p><p></p><p>During handling of the above exception, another exception occurred:</p><p></p><p>Traceback (most recent call last):</p><p> File "<stdin>", line 1, in <module></p><p> File "/home/ryanpimg/4rel4in-rpi/python/sm_4rel4in/sm_4rel4in/__init__.py", line 50, in __init__</p><p> raise Exception("Fail to read with exception " + str(e))</p><p>Exception: Fail to read with exception [Errno 121] Remote I/O error</p><p>>>></p></blockquote><p></p>
[QUOTE="MGLove, post: 102, member: 17"] also have this Error >> import sm_4rel4in >>> rel = sm_4rel4in.SM4rel4in(0) Traceback (most recent call last): File "/home/ryanpimg/4rel4in-rpi/python/sm_4rel4in/sm_4rel4in/__init__.py", line 46, in __init__ self._card_rev_major = bus.read_byte_data(self._hw_address_, _I2C_MEM_REVISION_HW_MAJOR_ADD) File "/usr/local/lib/python3.9/dist-packages/smbus2-0.4.2-py3.9.egg/smbus2/smbus2.py", line 433, in read_byte_data ioctl(self.fd, I2C_SMBUS, msg) OSError: [Errno 121] Remote I/O error During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/ryanpimg/4rel4in-rpi/python/sm_4rel4in/sm_4rel4in/__init__.py", line 50, in __init__ raise Exception("Fail to read with exception " + str(e)) Exception: Fail to read with exception [Errno 121] Remote I/O error >>> [/QUOTE]
Verification
Post reply
Home
Forums
Main category
Main forum
Help loading 4rel4in as HAT layer 1
Top