java.io.IOException

Error reading from /dev/i2c-1 at address 0x8 to address 0x1. Got -1.

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 web22841

  • via Stack Overflow by Developer
    , 1 year ago
    Error reading from /dev/i2c-1 at address 0x8 to address 0x1. Got -1.
  • via dexterindustries.com by Unknown author, 11 months ago
    Error reading from /dev/i2c-1 at address 0x8 to address 0x1. Got -1.
  • 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 0x8 to address 0x1. Got -1. at com.pi4j.io.i2c.impl.I2CDeviceImpl.read(I2CDeviceImpl.java:252) at com.dexterind.gopigo.components.Board.readI2c(Board.java:137) at com.dexterind.gopigo.components.Board.volt(Board.java:269) at com.dexterind.gopigo.Gopigo$1$1.run(Gopigo.java:253) at java.lang.Thread.run(Thread.java:745)

    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, 11 months ago
    Unknown user
    Once, 1 year ago