[i2c] I2C adapter device file problem

Sachin Rane SRane at alphion.com
Sat Sep 16 10:31:34 CEST 2006


 
Hi,
 
I want to access 'EEPROM' I2C device present on AMCC PPC440GX Evaluation bard.

I have loaded following drivers:
1. i2c-core.ko
2. i2c-dev.ko
3. eeprom.ko
4. i2c-ibm_iic.ko
 
The entry in the 'sysfs' got created for drivers and devices.
----------------------------------------------------------------------------------------
-bash-2.05b# cd  /sys/bus/i2c/devices
-bash-2.05b# ls -la *
lrwxrwxrwx  1 root root 0 Apr  6 06:42 0-0050 -> ../../../devices/platform/i2c-0/0-0050
lrwxrwxrwx  1 root root 0 Apr  6 06:42 0-0053 -> ../../../devices/platform/i2c-0/0-0053
lrwxrwxrwx  1 root root 0 Apr  6 06:42 0-0054 -> ../../../devices/platform/i2c-0/0-0054
-bash-2.05b# cat ../../../devices/platform/i2c-0/0-0050/name
eeprom
----------------------------------------------------------------------------------------
As per the documentation (/usr/src/linux/Documentation/i2c/dev-interface),
I2C adapter files gets created under "/dev/i2c-X"are with with major device number 89.
 
But in my case, the device file is not getting created under '/dev/'.
 
Am I missing anything while loading the driver?
I have attached the board boot up and 'demsg' log file.
 
Thanks and Regards,
Sachin Rane

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/i2c/attachments/20060916/da97586f/attachment-0001.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bootup_log_i2cDrivers.txt
Url: http://lists.lm-sensors.org/pipermail/i2c/attachments/20060916/da97586f/attachment-0002.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg_log_i2cDrivers.txt
Url: http://lists.lm-sensors.org/pipermail/i2c/attachments/20060916/da97586f/attachment-0003.txt 


More information about the i2c mailing list