Question about eeprom

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All,

I am trying to read and write to 24LC256 from userspace. I have inserted a 

module from 3.13, the name of the module is at24.ko (at24.c) This creates 
a eeprom node at /sys/bus/i2c/devices/2-0054/eeprom

Right now, I can do echo helloworld > /sys/bus/i2c/devices/2-0054/eeprom

And it puts the helloworld starting from 0x00 in eeprom, is there are way 
that i can put helloworld starting at address 0x10 ? And the read from 
starting at address 0x10 ?

Can someone pls comment. I am open to a different method too, my goal is 
read and write to eeprom from the userspace.

Thanks,


_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux