java.io.IOException

Error reading from /dev/i2c-1 at address 0x21 to address 0x7. Got -30001.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web22747

  • via Google Groups by Stefan Stefan, 11 months ago
    Error reading from /dev/i2c-1 at address 0x21 to address 0x7. Got -30001.
  • via GitHub by twyatt
    , 1 year ago
    Error reading from /dev/i2c-1 at address 0x48 to address 0x1. Got -1.
  • via Stack Overflow by Developer
    , 1 year ago
    Error reading from /dev/i2c-1 at address 0x8 to address 0x1. Got -1.
  • Stack trace

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

    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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 11 months ago