Touch_e-Paper_HAT
Touch_e-Paper_HAT copied to clipboard
[Errno 121] Remote I/O error
Followed installation instructions exactly. Raspberry Pi Zero W 2
Touch_e-Paper_HAT/python/examples $ sudo python3 TP2in9_test.py INFO:root:epd2in9_V2 Touch Demo INFO:root:init and Clear INFO:root:[Errno 121] Remote I/O error
Any ideas?
On the premise that Raspberry Pi Zero W 2 's I2C can be used normally:
- Check the /boot/config.txt file to ensure that the I2C is not occupied by other devices
- After the restart, enter 'i2cdetect -y 1' to check whether 48 is detected
Thanks for getting back to me. Here is what I was able to find out:
The only line in /boot/config.txt regarding i2c is -
dtparam=i2c_arm=on
i2cdetect -y 1 does not detect anything
(just has -- in every line)
Anything else I can try?
It turned out to be a fault Pi Zero - swapped it out with another one and it worked!
Thanks
I'm glad it's working.
I am having the same issue:
pi@pizero:~/Touch_e-Paper_HAT/c $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@pizero:~/Touch_e-Paper_HAT/c $ i2cdetect -F 1
Functionalities implemented by /dev/i2c-1:
I2C yes
SMBus Quick Command yes
SMBus Send Byte yes
SMBus Receive Byte yes
SMBus Write Byte yes
SMBus Read Byte yes
SMBus Write Word yes
SMBus Read Word yes
SMBus Process Call yes
SMBus Block Write yes
SMBus Block Read no
SMBus Block Process Call no
SMBus PEC yes
I2C Block Write yes
I2C Block Read yes
pi@pizero:~/Touch_e-Paper_HAT/c $ cat /boot/config.txt | grep i2c
dtparam=i2c_arm=on
pi@pizero:~/Touch_e-Paper_HAT/c $
Unfortunately i have the same issue. The python code for the 2in9 epd works pretty well in general but not if i use a battery attached to the back of the raspberry, called pisugar https://github.com/PiSugar/PiSugar/wiki/PiSugar2
pi@raspberrypi:~/Touch_e-Paper_HAT/python/examples $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- 32 -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@raspberrypi:~/Touch_e-Paper_HAT/python/examples $ python TP2in9_test.py
INFO:root:epd2in9_V2 Touch Demo
INFO:root:init and Clear
INFO:root:[Errno 121] Remote I/O error
pi@raspberrypi:~/Touch_e-Paper_HAT/python/examples $ i2cdetect -F 1
Functionalities implemented by /dev/i2c-1:
I2C yes
SMBus Quick Command yes
SMBus Send Byte yes
SMBus Receive Byte yes
SMBus Write Byte yes
SMBus Read Byte yes
SMBus Write Word yes
SMBus Read Word yes
SMBus Process Call yes
SMBus Block Write yes
SMBus Block Read no
SMBus Block Process Call no
SMBus PEC yes
I2C Block Write yes
I2C Block Read yes
Can someone solve this puzzle please?
I followed all installation instructions on the wiki, including installing the BCM2835 libraries. I got the same errors as above. However, if one uses python, I do not believe this library is necessary and it might even conflict with other methods. After installing BCM2835 I no longer have the above error.
i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- 14 -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --