Skip to contentSkip to conversation

S3Graphics Savage4 i2c driver

DISCUSSION Alexander Wold 3 participants 3 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

I have recently created an i2c driver for the Savage4. It is based upon the i2c-voodoo3 driver. The main motivation was to get access to the bt868 connected to S3Savge4`s i2c bus. If this driver is of general interest, I will be happy to submit it to the project. The driver is complete, and working. There are some issues thow, i2cdump hangs the bus, and after starting X, writes to the i2c bus don`t work. When reloading/loading the module in X (or while x is running) it works fine.

Regards,
Alexander Wold

#1 lore raw

It's possible that a device on the bus is hanging when probed/dumped. In that case, it might not be possible to solve. How similar to i2c-voodoo3 is it? Can it be rolled into it?

Phil

Quoted 25 lines · Mark Studebaker

sure, we'll take it.
You should get i2cdump working first.

If you are using i2c-algo-bit, you can use
modprobe i2c-algo-bit bit_test=1 debug=2 (IIRC - check the source)
to help debug things

mds

Quoted 13 lines · Alexander Wold

Hello,

I have recently created an i2c driver for the Savage4. It is based upon the i2c-voodoo3 driver. The main motivation was to get access to the bt868 connected to S3Savge4`s i2c bus. If this driver is of general interest, I will be happy to submit it to the project. The driver is complete, and working. There are some issues thow, i2cdump hangs the bus, and after starting X, writes to the i2c bus don`t work. When reloading/loading the module in X (or while x is running) it works fine.

Regards,
Alexander Wold

Signature · 3 lines
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
   [email protected] -- http://www.netroedge.com/~phil
 PGP F16: 01 D2 FD 01 B5 46 F4 F0  3A 8B 9D 7E 14 7F FB 7A
#2 lore raw
In reply to Alexander Wold

sure, we'll take it.
You should get i2cdump working first.

If you are using i2c-algo-bit, you can use
modprobe i2c-algo-bit bit_test=1 debug=2 (IIRC - check the source)
to help debug things

mds

Quoted 13 lines · Alexander Wold

Hello,

I have recently created an i2c driver for the Savage4. It is based upon the i2c-voodoo3 driver. The main motivation was to get access to the bt868 connected to S3Savge4`s i2c bus. If this driver is of general interest, I will be happy to submit it to the project. The driver is complete, and working. There are some issues thow, i2cdump hangs the bus, and after starting X, writes to the i2c bus don`t work. When reloading/loading the module in X (or while x is running) it works fine.

Regards,
Alexander Wold