Missing GPIOs and I2C pins in debian

Discussion in 'UDOO X86' started by MacDH, Jan 26, 2018.

  1. MacDH

    MacDH New Member

    Joined:
    Jan 23, 2018
    Messages:
    8
    Likes Received:
    5
    I installed Debian stretch on my UDOO and setup my desktop environment. I have installed the i2c-tools package and when I tried to detect an i2c-bus I got the error:
    Code:
    mackenzie@UDOO-Mac:/etc/apt$ i2cdetect -y 1
    Error: Could not open file `/dev/i2c-1' or `/dev/i2c/1': No such file or directory
    
    I also looked to see if I had i2c-adapters under /sys/class/i2c-adapters and I did. However, there is none under /dev. Then I got to wondering if I could read any GPIOs at all and so i looked under /sys/class/gpio and the only things I had there were gpiochip318, gpiochip373, gpiochip397, gpiochip456.

    Does anyone know how to fix this? Or is it better just to use the Debian version that is provided in the OS downloads?

    EDIT:
    Looked in the forums, figured out how to add GPIOs using export. But still can't figure out how to use i2c-tools package with pins.
     
    Last edited: Jan 26, 2018

Share This Page