How to install I2C driver
Hi currently I'm trying to interface an imu sensor stick - https://www.sparkfun.com/products/10724 to an embeded system(odroid-x) running on ubuntu 12.04 ,3.6.0 kernel .I had read before that I will need to install a I2C driver to allow this interface and wonder how I can do that.Many thanks inadvance :)
|
Quote:
Code:
lsmod | grep i2c |
nothing shows up when i enter - lsmod | grep i2c :( How do I load i2c into kernel?
|
Moderator Response
Moved: This thread is more suitable in <Linux - Embedded & Single-board computer> and has been moved accordingly to help your thread/question get the exposure it deserves.
|
You may need to install lmsensors
once installed, invoke the install script as root, with Code:
sensors-detect Regards Glenn |
Hi and had installed the lm sensor but when i tried to sudo sensors-detect , /sys/bus/pci/devices: No such file or directory at /usr/sbin/sensors-detect line 2900 was shown anyone know how I can fix this problem?
|
OK, to get i2c to load with system start, add the module name to the list in,
/etc/modprobe.preload Code:
# /etc/modprobe.preload: kernel modules to load at boot time. |
All times are GMT -5. The time now is 07:52 AM. |