[Bug 1626] New: Can't seek i2c eeprom reads
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Tue Jul 20 05:54:32 UTC 2010
https://www.rtems.org/bugzilla/show_bug.cgi?id=1626
Summary: Can't seek i2c eeprom reads
Product: RTEMS
Version: 4.10
Platform: All
OS/Version: RTEMS
Status: NEW
Severity: normal
Priority: P3
Component: cpukit
AssignedTo: joel.sherrill at oarcorp.com
ReportedBy: angus.gratton at anu.edu.au
lseek() doesn't seem to work when reading an I2C EEPROM on MVME3100 (PowerPC).
To reproduce:
- Open EEPROM device
- lseek() to some other offset
- Read from EEPROM device
The read will complete as if the lseek() never occured.
Looking at the underlying i2c read functions in cpukit, I don't see any
reference to offset, so I'm guessing this is unimplemented for I2C reads.
However, it appears that it did once work (EPICS on RTEMS uses lseek() to read
NVRAM values from I2C EEPROM.)
Cheers - Angus
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list