ticket 1599 explanation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It works !! Thanks!!

There was a problem with line 10 of patch:

patching file src/i2c-riva.c
patch: **** malformed patch at line 10: };

But I replaced two lines manually and now everything works great.

Thanks again!!

bbkr


From: Jean Delvare <khali at linux-fr.org>
To: "Pawel Pabian" <bbkr at post.pl>
X-From: khali at linux-fr.org Sat Mar 6 09:51:12 2004
Subject: Re: ticket 1599 explanation
Date: Sat, 6 Mar 2004 09:51:43 +0100

> > the problem is, that I have ONLY mainboard sensors output. GeForce
> > card sensors are detected by sensors-detect but not visible after
> > runing "sensors".
> 
> Looks like rivatv doesn't declare bus classes correctly.
> 
> Here is a patch that should fix your problem:
> 
> --- rivatv-0.8.4/src/i2c-riva.c.orig Sat Mar  6 09:48:13 2004
> +++ rivatv-0.8.4/src/i2c-riva.c Sat Mar  6 09:47:58 2004
> @@ -249,7 +249,7 @@
>   .owner             = THIS_MODULE,
>  #endif
>  #ifdef I2C_ADAP_CLASS_TV_ANALOG
> -        .class             = I2C_ADAP_CLASS_TV_ANALOG,
> +        .class             = I2C_ADAP_CLASS_TV_ANALOG |
I2C_ADAP_CLASS_DDC,
>  #endif
>  };
>  
> @@ -265,7 +265,7 @@
>   .owner             = THIS_MODULE,
>  #endif
>  #ifdef I2C_ADAP_CLASS_TV_ANALOG
> -        .class             = I2C_ADAP_CLASS_TV_ANALOG,
> +        .class             = I2C_ADAP_CLASS_TV_ANALOG |
I2C_ADAP_CLASS_SMBUS,
>  #endif
>  };
>  
> Let me know if it works. If it does I'll send it to the rivatv team.
> 
> BTW, "No i2c-bus specified!" on i2cdetect simply means that i2cdetect
> expects a bus number as its first argument, which you had not being
> suplying. Try "i2cdetect 2" for example, and it'll scan the i2c bus 2
> for devices.
> 
> -- 
> Jean Delvare
> http://www.ensicaen.ismra.fr/~delvare/
> 



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux