Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created May 10, 2020 18:15
Show Gist options
  • Save cleverca22/2f7cde9a3652ef8ae5352634a5706eac to your computer and use it in GitHub Desktop.
Save cleverca22/2f7cde9a3652ef8ae5352634a5706eac to your computer and use it in GitHub Desktop.
[root@rpi:~]# ls -l /sys/class/i2c-dev/
total 0
lrwxrwxrwx 1 root root 0 Jan 1 1970 i2c-0 -> ../../devices/platform/soc/3f205000.i2c/i2c-0/i2c-dev/i2c-0
lrwxrwxrwx 1 root root 0 Jan 1 1970 i2c-1 -> ../../devices/platform/soc/3f804000.i2c/i2c-1/i2c-dev/i2c-1
lrwxrwxrwx 1 root root 0 Jan 1 1970 i2c-2 -> ../../devices/platform/soc/3f805000.i2c/i2c-2/i2c-dev/i2c-2
lrwxrwxrwx 1 root root 0 Jan 1 1970 i2c-3 -> ../../devices/platform/soc/3f205000.i2c/i2c-0/i2c-3/i2c-dev/i2c-3
lrwxrwxrwx 1 root root 0 Jan 1 1970 i2c-4 -> ../../devices/platform/soc/3f205000.i2c/i2c-0/i2c-4/i2c-dev/i2c-4
lrwxrwxrwx 1 root root 0 Jan 1 1970 i2c-5 -> ../../devices/platform/soc/3f205000.i2c/i2c-0/i2c-5/i2c-dev/i2c-5
lrwxrwxrwx 1 root root 0 Jan 1 1970 i2c-6 -> ../../devices/platform/soc/3f804000.i2c/i2c-1/i2c-6/i2c-dev/i2c-6
lrwxrwxrwx 1 root root 0 Jan 1 1970 i2c-7 -> ../../devices/platform/soc/3f804000.i2c/i2c-1/i2c-7/i2c-dev/i2c-7
lrwxrwxrwx 1 root root 0 Jan 1 1970 i2c-8 -> ../../devices/platform/soc/3f804000.i2c/i2c-1/i2c-8/i2c-dev/i2c-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment