<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText88324 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I want to access 'EEPROM' I2C device present on AMCC PPC440GX Evaluation&nbsp;bard.<BR>I have loaded following drivers:<BR>1. i2c-core.ko<BR>2. i2c-dev.ko<BR>3. eeprom.ko<BR>4. i2c-ibm_iic.ko</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>The entry in the 'sysfs' got created for drivers and devices.<BR>----------------------------------------------------------------------------------------<BR>-bash-2.05b# cd&nbsp; /sys/bus/i2c/devices<BR>-bash-2.05b# ls -la *<BR>lrwxrwxrwx&nbsp; 1 root root 0 Apr&nbsp; 6 06:42 0-0050 -&gt; ../../../devices/platform/i2c-0/0-0050<BR>lrwxrwxrwx&nbsp; 1 root root 0 Apr&nbsp; 6 06:42 0-0053 -&gt; ../../../devices/platform/i2c-0/0-0053<BR>lrwxrwxrwx&nbsp; 1 root root 0 Apr&nbsp; 6 06:42 0-0054 -&gt; ../../../devices/platform/i2c-0/0-0054</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>-bash-2.05b# cat ../../../devices/platform/i2c-0/0-0050/name<BR>eeprom</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>----------------------------------------------------------------------------------------</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>As per the documentation (/usr/src/linux/Documentation/i2c/dev-interface),<BR>I2C adapter files gets created under "/dev/i2c-X"are with with major device number 89.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>But in my case, the device file is not getting created under '/dev/'.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Am I missing anything while loading the driver?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I have attached the board boot up and 'demsg' log file.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Thanks and Regards,<BR>Sachin Rane<BR></FONT></DIV></DIV></BODY></HTML>