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

Google Groups | Stefan Stefan | 10 months ago
  1. 0

    MCP23008 as Input Errors

    Google Groups | 10 months ago | Stefan Stefan
    java.io.IOException: Error reading from /dev/i2c-1 at address 0x21 to address 0x7. Got -30001.
  2. 0

    Occasional I2C crash

    GitHub | 2 years ago | twyatt
    java.io.IOException: Error reading from /dev/i2c-1 at address 0x48 to address 0x1. Got -1.
  3. 0

    Pi4j I2c Reading Error

    Stack Overflow | 6 months ago | Developer
    java.io.IOException: Error reading from /dev/i2c-1 at address 0x8 to address 0x1. Got -1.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IO Read Error - Dexter Industries

    dexterindustries.com | 4 months ago
    java.io.IOException: Error reading from /dev/i2c-1 at address 0x8 to address 0x1. Got -1.
  6. 0

    IO Exceptions when shutting down sensor and I2C bus. <bus> "has already been closed"

    GitHub | 3 weeks ago | gjwo
    java.io.IOException: I2CBus '1' ('/dev/i2c-1') has already been closed! A new bus has to be aquired.

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. com.pi4j.io
      I2CDeviceImpl.read
      1. com.pi4j.io.i2c.impl.I2CDeviceImpl.read(I2CDeviceImpl.java:221)
      1 frame
    3. com.pi4j.gpio
      MCP23008GpioProvider$GpioStateMonitor.run
      1. com.pi4j.gpio.extension.mcp.MCP23008GpioProvider$GpioStateMonitor.run(MCP23008GpioProvider.java:314)
      1 frame