Subject: i2c bitbanging
To: NetBSD tech-kern mailing list <tech-kern@netbsd.org>
From: Michael Lorenz <macallan@netbsd.org>
List: tech-kern
Date: 04/27/2007 23:56:18
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

looks like the routines in dev/i2c/i2c_bitbang.c don't support 
synchronisation ( as in - when raising SCL wait until the SCL line is 
actually up ) which gives endless troubles with slow i2c devices, like 
DDC2 monitors.
Any objections against adding that ( with reasonable bail-out timer of 
course ) to i2c_bitbang_read_byte() and i2c_bitbang_write_byte() ?

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRjLF4spnzkX8Yg2nAQJCtAf/YdeOqumdkTm62Fh2O9gUHf4lh9BfXmGs
Svs7K4T9d3aIqk4XjYwzSb2mSP3YCaW109Bp+R0JTUeN65LVj7PO47CN6EK6Slu5
+PFIf91HBHX7V5zQ9NyCSzT4pqKDOluhp8/ECyvHzgoT7Cp8QgkMRLq2giVtfzw+
k+hOyabALYtrx05J62PIjzwDHyTlRf08NgnwbzL/jeI87WLlxfJk97yEt63iUpO6
2IXilSJTa0V4+X1sbfBVCG0uBoRATbMfCd+L3nnCCC6ZxziLNVwXo9Mu7cvrpmIe
A6OzgEMnxd2XX2Ow0SBbBxXe/ifGL7hhsfA3qzhi8REZJtFxS0sZyQ==
=G5NW
-----END PGP SIGNATURE-----