linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rivafb / DDC/CI problem
@ 2004-09-14 15:57 Nicolas Boichat
  2004-09-14 21:15 ` Antonino A. Daplas
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Boichat @ 2004-09-14 15:57 UTC (permalink / raw)
  To: adaplas; +Cc: akpm, torvalds, linux-fbdev-devel, Greg KH

Hello,

I have a problem with this patch :
rivafb-directcolor-mode-and-miscellaneous-fixes.patch

It has been included in 2.6.8.1-mm1, and in 2.6.9-rc1.

The following part of the patch breaks DDC/CI implementation (monitor
control by software, see http://sourceforge.net/projects/ddccontrol/),
as bits are sent too fast to the monitor on the I2C bus:

diff -puN
drivers/video/riva/rivafb-i2c.c~rivafb-directcolor-mode-and-miscellaneous-fixes drivers/video/riva/rivafb-i2c.c
--- 25/drivers/video/riva/rivafb-i2c.c~rivafb-directcolor-mode-and-miscellaneous-fixes	2004-08-21 13:47:37.761874856 -0700
+++ 25-akpm/drivers/video/riva/rivafb-i2c.c	2004-08-21 13:47:37.774872880 -0700
@@ -105,8 +105,9 @@ static int riva_setup_i2c_bus(struct riv
 	chan->algo.setscl		= riva_gpio_setscl;
 	chan->algo.getsda		= riva_gpio_getsda;
 	chan->algo.getscl		= riva_gpio_getscl;
-	chan->algo.udelay		= 40;
-	chan->algo.timeout		= 20;
+	chan->algo.udelay		= 5;
+	chan->algo.mdelay               = 5;
+	chan->algo.timeout		= 10;
 	chan->algo.data 		= chan;
 
 	i2c_set_adapdata(&chan->adapter, chan);

Antonino, could you explain why you changed these values, as both works for EDID reading?
(atyfb use 40 as udelay, and 20 as timeout, the original values)

Is it possible to remove this part of the patch from the current kernel version?

Best regards,

Nicolas Boichat



-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: rivafb / DDC/CI problem
  2004-09-14 15:57 rivafb / DDC/CI problem Nicolas Boichat
@ 2004-09-14 21:15 ` Antonino A. Daplas
  0 siblings, 0 replies; 2+ messages in thread
From: Antonino A. Daplas @ 2004-09-14 21:15 UTC (permalink / raw)
  To: Nicolas Boichat, adaplas; +Cc: akpm, torvalds, linux-fbdev-devel, Greg KH

On Tuesday 14 September 2004 23:57, Nicolas Boichat wrote:
> Hello,
>
> I have a problem with this patch :
> rivafb-directcolor-mode-and-miscellaneous-fixes.patch
>
> It has been included in 2.6.8.1-mm1, and in 2.6.9-rc1.
>
> The following part of the patch breaks DDC/CI implementation (monitor
> control by software, see http://sourceforge.net/projects/ddccontrol/),
> as bits are sent too fast to the monitor on the I2C bus:
>

Ok, will reverse.

Tony




-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-14 21:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-14 15:57 rivafb / DDC/CI problem Nicolas Boichat
2004-09-14 21:15 ` Antonino A. Daplas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).