Skip to contentSkip to conversation

w83781d hangs on i2c bus driver

DISCUSSION Mark D. Studebaker 2 participants 5 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Works fine on ISA.

If you modprobe an i2c bus driver after w83781d is modprobed, the bus driver modprobe hangs, presumably while w83781d is scanning the bus.
If you modprobe w83781d after an i2c bus driver is modprobed, the w83781d modprobe hangs.

Any ideas let us know.

#1 lore raw
Quoted 9 lines · Mark D. Studebaker

Works fine on ISA.

If you modprobe an i2c bus driver after w83781d is modprobed, the bus driver modprobe hangs,
presumably while w83781d is scanning the bus.
If you modprobe w83781d after an i2c bus driver is modprobed, the w83781d modprobe hangs.

Any ideas let us know.

I assume you're talking about lk2-4, not the 2.5 stuff that recently went to lkml.

I haven't ever been able to load lk2-4 w83781d.o. The symptoms are
similar: it hangs as soon as I modprobe it (with I2C adapter). I'll try to debug that one so you can hack on the other chips I don't have. :)

Regards,

Signature · 2 lines
Mark M. Hoffman
[email protected]
#2 lore raw
In reply to Mark D. Studebaker
Quoted 11 lines · Mark M. Hoffman
Quoted 9 lines · Mark D. Studebaker

Works fine on ISA.

If you modprobe an i2c bus driver after w83781d is modprobed, the bus driver modprobe hangs,
presumably while w83781d is scanning the bus.
If you modprobe w83781d after an i2c bus driver is modprobed, the w83781d modprobe hangs.

Any ideas let us know.

Quoted 7 lines

I assume you're talking about lk2-4, not the 2.5 stuff that recently went to lkml.

I haven't ever been able to load lk2-4 w83781d.o. The symptoms are
similar: it hangs as soon as I modprobe it (with I2C adapter). I'll try to debug that one so you can hack on the other chips I don't have. :)

The function i2c_check_addr() in i2c-core.c was causing deadlock. I'm surprised if this didn't happen with any other chips. I fixed it and *very* lightly tested it (need sleep!). Anyway, w83781d seems to work now on I2C lk2-4 branch.

Regards,

Signature · 2 lines
Mark M. Hoffman
[email protected]
#3 lore raw
In reply to Mark D. Studebaker

It sounds like you got it, I'll test it tonight and let you know. thanks
mds

Quoted 31 lines · Mark M. Hoffman
Quoted 11 lines · Mark M. Hoffman
Quoted 9 lines · Mark D. Studebaker

Works fine on ISA.

If you modprobe an i2c bus driver after w83781d is modprobed, the bus driver modprobe hangs,
presumably while w83781d is scanning the bus.
If you modprobe w83781d after an i2c bus driver is modprobed, the w83781d modprobe hangs.

Any ideas let us know.

Quoted 7 lines

I assume you're talking about lk2-4, not the 2.5 stuff that recently went to lkml.

I haven't ever been able to load lk2-4 w83781d.o. The symptoms are
similar: it hangs as soon as I modprobe it (with I2C adapter). I'll try to debug that one so you can hack on the other chips I don't have. :)

The function i2c_check_addr() in i2c-core.c was causing deadlock. I'm surprised if this didn't happen with any other chips. I fixed it and *very* lightly tested it (need sleep!). Anyway, w83781d seems to work now on I2C lk2-4 branch.

Regards,

--
Mark M. Hoffman
[email protected]

#4 lore raw
In reply to Mark D. Studebaker

Your fix worked.
Great job!
We're finally getting CVS back to good shape.
I'll keep working on the PCI drivers in kernel/bussses.
Things should go much faster when there aren't problems on the i2c side...

Quoted 40 lines · Mark Studebaker

It sounds like you got it, I'll test it tonight and let you know. thanks
mds

Quoted 32 lines · Mark M. Hoffman
Quoted 12 lines · Mark M. Hoffman
Quoted 9 lines · Mark D. Studebaker

Works fine on ISA.

If you modprobe an i2c bus driver after w83781d is modprobed, the bus driver modprobe hangs,
presumably while w83781d is scanning the bus.
If you modprobe w83781d after an i2c bus driver is modprobed, the w83781d modprobe hangs.

Any ideas let us know.

Quoted 7 lines

I assume you're talking about lk2-4, not the 2.5 stuff that recently went to lkml.

I haven't ever been able to load lk2-4 w83781d.o. The symptoms are
similar: it hangs as soon as I modprobe it (with I2C adapter). I'll try to debug that one so you can hack on the other chips I don't have. :)

The function i2c_check_addr() in i2c-core.c was causing deadlock. I'm surprised if this didn't happen with any other chips. I fixed it and *very* lightly tested it (need sleep!). Anyway, w83781d seems to work now on I2C lk2-4 branch.

Regards,

--
Mark M. Hoffman
[email protected]