Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


finding i2c chips on linux 2.6

Author:black - Sun Jun 20 16:37:55 2004

compile the i2c subsystem and the correct bus driver

        <*> I2C support
        <*>   I2C device interface
              I2C Algorithms  --->
                 <*> I2C bit-banging interfaces
              I2C Hardware Bus support  --->
                 <*> Intel 801
                 <*> ISA Bus support
              Hardware Sensors Chip support  ---> 
                 all: <M>

now run this cmd:
for module in `modprobe -l | grep i2c/chips | cut -d / -f 9 | cut -d . -f 1` ; \
do modprobe ${module} ; echo ${module} loaded. if anything here, module succeeded: ; \
ls /sys/bus/i2c/devices/ ; read ; rmmod ${module} ; echo ${module} unloaded ; done
Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk