1 Aug 2010 15:13
pcfiic(4) on Blade 2500 can't read from devices
Stuart Henderson <stu <at> spacehopper.org>
2010-08-01 13:13:02 GMT
2010-08-01 13:13:02 GMT
iic(4) doesn't seem to work well on a Blade 2500; devices on the bus
are detected but reading from them fails:
pcfiic0 at ebus0 addr 320-321 ivec 0x2e
iic0 at pcfiic0
"SUNW,i2c-imax" at iic0 addr 0x9 not configured
"pca9556" at iic0 addr 0x18 not configured
admtt0 at iic0 addr 0x2c, unable to read fan setting
admtt1 at iic0 addr 0x2e, unable to read fan setting
"fm3560" at iic0 addr 0x37 not configured
"fm3560" at iic0 addr 0x4e not configured
spdmem0 at iic0 addr 0x5d: no EEPROM found
spdmem1 at iic0 addr 0x5e: no EEPROM found
spdmem2 at iic0 addr 0x65: no EEPROM found
spdmem3 at iic0 addr 0x66: no EEPROM found
"ics951601" at iic0 addr 0x69 not configured
There's a short delay after admtt attach messages, and a long
delay after each spdmem line (64 seconds). Inserting printfs to
the loop at the top of spdmem_attach_common(), there is a 1-second
delay for each spdmem_read, and every value returned from
spdmem_iic_read() is 0xff.
uint8_t
spdmem_iic_read(struct spdmem_softc *v, uint8_t reg)
{
struct spdmem_iic_softc *sc = (struct spdmem_iic_softc *)v;
uint8_t val = 0xff;
iic_acquire_bus(sc->sc_tag,0);
(Continue reading)
RSS Feed