Hi All, It is found that i'm using Andy tracking branch kernel and the document refer to 2.6.32 kernel. I have the below two options.
Option1: Know the procedure to add new I2C device from user space in Andy tracking branch. Is it possible to do proceed with thsi option1 ? if so, how ? Option2: Upgrade to 2.6.32. and work. I'm trying this option, but don't see build environment as andy branch after i download the om-gta02-2.6.32 branch. Can some one point me to the doc site where i can do correct steps ? Best regards, Satish. On Thu, Feb 18, 2010 at 12:02 PM, satish nagineni <[email protected]> wrote: > Hi All, > > I have connected a Co-Processor to Openmoko phone using Debug board through > I2C, > > My Co-Processor device address is 0x56 fixed. > > I see two more hardwares connected on phone through I2C with address > 0x1A and 0x73. Looks like one is power/battery management and Audio > codec hardwares.These can be listed using "i2cdetect 0". > > As per the documentation, the new device can be added to I2C bus > as below > > Example: > # echo eeprom 0x50 > /sys/bus/i2c/devices/i2c-3/new_device > > as mentioned in > > http://www.mjmwired.net/kernel/Documentation/i2c/instantiating-devices > > But i don't have i2c buses listed under /sys/bus/i2c/devices/ > sysfs has two symlinks w.r.t. 0x1A and 0x73 address to > /sys/class/i2c-adapter/i2c0/ > > Please let me know how to add my Co-Proc as a new device on the i2c bus 0. > > Best regards, > Satish. > _______________________________________________ Shr-devel mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-devel
