Usually, i2c devices are controlled by a kernel driver. But it is alsopossible to access all devices on an adapter from userspace, throughthe /dev interface. You need to load module i2c-dev for this.Each registered i2c adapter gets a number, counting from 0. You canexamine /sys/class/i2c-dev/...【阅读全文】