java.io.IOException: Error reading from /dev/i2c-1 at address 0x21 to address 0x9. Got -20001.


Solutions on the web5

Solution icon of googlegroups
via Google Groups by Stefan Stefan, 1 year ago
Error reading from /dev/i2c-1 at address 0x21 to address 0x9. Got -20001.

Solution icon of googlegroups
via Google Groups by Milé Buurmeijer, 4 months ago
Error reading from /dev/i2c-1 at address 0x29 to address 0x1f. Got -20001.

Solution icon of stackoverflow
via Stack Overflow by Developer
, 1 year ago
Error reading from /dev/i2c-1 at address 0x8 to address 0x1. Got -1.

Solution icon of web
via dexterindustries.com by Unknown author, 1 year ago
Error reading from /dev/i2c-1 at address 0x8 to address 0x1. Got -1.

Solution icon of github
via GitHub by twyatt
, 1 year ago
Error reading from /dev/i2c-1 at address 0x48 to address 0x1. Got -1.

Stack trace

java.io.IOException: Error reading from /dev/i2c-1 at address 0x21 to 
address 0x9. Got -20001.
	at com.pi4j.io.i2c.impl.I2CDeviceImpl.read(I2CDeviceImpl.java:221)
	at com.pi4j.gpio.extension.mcp.MCP23008GpioProvider$GpioStateMonitor.run(MCP23008GpioProvider.java:319)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago