[i2c] [PATCH] DDCP support for i2c-i810

Hans-Jürgen Koch hjk at linutronix.de
Mon Jan 22 18:06:46 CET 2007


Am Montag, 22. Januar 2007 17:31 schrieb Jean Delvare:
> Hi Hans,
>
> On Thu, 18 Jan 2007 12:25:36 +0100, Hans-Jürgen Koch wrote:
> > alright, forget that patch then. My chip is actually an i852 or i855,
> > and I'm using intelfb anyway. Unfortunately, the i2c bus of that chip
> > doesn't show up in sysfs, although I enabled all options mentioned in
> > the docs. Don't know what's wrong there, according to the sources it
> > should be supported. I'll ask that question on their mailinglist.
>
> The I2C/DDC bus support in intelfb appears to be very recent, so first
> of all, make sure you use kernel 2.6.19-rc1 or later. I also see that
> the driver only creates the I2C/DDC busses for one variant of the
> 852/855, maybe the following patch will help. Disclaimer: patch is
> untested and might not work at all - the intelfb maintainer will know
> better.
>
> * * * * *
>
> Enable the I2C/DDC busses for all 852GM/855GM variants.
>
> Signed-off-by: Jean Delvare <khali at linux-fr.org>
> ---
>  drivers/video/intelfb/intelfb_i2c.c |    4 ++++
>  1 file changed, 4 insertions(+)
>
> --- linux-2.6.20-rc5.orig/drivers/video/intelfb/intelfb_i2c.c	2007-01-20
> 15:12:50.000000000 +0100 +++
> linux-2.6.20-rc5/drivers/video/intelfb/intelfb_i2c.c	2007-01-22
> 17:21:08.000000000 +0100 @@ -152,7 +152,11 @@ void
> intelfb_create_i2c_busses(struct in
>      switch(dinfo->chipset) {
>  	case INTEL_830M:
>  	case INTEL_845G:
> +	case INTEL_85XGM:
> +	case INTEL_852GM:
> +	case INTEL_852GME:
>  	case INTEL_855GM:
> +	case INTEL_855GME:
>  	case INTEL_865G:
>  		dinfo->output[i].type = INTELFB_OUTPUT_DVO;
>  		intelfb_setup_i2c_bus(dinfo, &dinfo->output[i].ddc_bus, GPIOD,
> "DVODDC_D");

Hi Jean,
thanks for your help, but I already got it to work with 2.6.20-rc3. I had some 
conflicts with vesafb at first, but after building a kernel with only intelfb 
compiled in, it worked as expected.

Thanks anyway,
Hans




More information about the i2c mailing list