## I2C Device

To run the Hipi Control GUI

`gksudo hipi-control-gui`

I2C devices can be accessed using a kernel device driver instead of accessing the appropriate pins directly through /dev/mem. This has the advantage that you can set up the device driver options so that access does not require root permissions.

This panel allows you to setup and manage the I2C Device Driver settings

Check or uncheck the I2C Kernel Modules Loaded checkbox to load and unload the kernel drivers. To permanently skip or load the device drivers at system startup see Loading Device Drivers.

Access to the i2c devices can be granted to members of the group i2c. The panel provides a simple interface that allows you to toggle this option on and off using the 'Allow Group Access' checkbox and manage membership of the i2c group.

You can also set the baudrate of the i2c bus which may help overcome problems with the Raspbian kernel driver and i2c devices that use clock stretching

Changes to the 'Allow Group Access' and 'baudrate' settings will persist across system reboots.

See Also :

    I2C Device Driver

    Loading Device Drivers

HiPi Modules Copyright © 2013 Mark Dootson