Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-11-18 Thread Pali Rohár
On Tuesday 18 November 2014 06:56:11 Guenter Roeck wrote: > On 11/17/2014 12:35 AM, Pali Rohár wrote: > > On Thursday 23 October 2014 18:45:07 Guenter Roeck wrote: > >> On Thu, Oct 23, 2014 at 12:37:34PM +0200, Pali Rohár wrote: > >>> On Wednesday 22 October 2014 19:10:05 Guenter Roeck wrote: > >>>

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-11-17 Thread Guenter Roeck
On 11/17/2014 12:35 AM, Pali Rohár wrote: On Thursday 23 October 2014 18:45:07 Guenter Roeck wrote: On Thu, Oct 23, 2014 at 12:37:34PM +0200, Pali Rohár wrote: On Wednesday 22 October 2014 19:10:05 Guenter Roeck wrote: On Wed, Oct 22, 2014 at 06:35:53PM +0200, Pali Rohár wrote: On Wednesday 2

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-11-17 Thread Pali Rohár
On Thursday 23 October 2014 18:45:07 Guenter Roeck wrote: > On Thu, Oct 23, 2014 at 12:37:34PM +0200, Pali Rohár wrote: > > On Wednesday 22 October 2014 19:10:05 Guenter Roeck wrote: > > > On Wed, Oct 22, 2014 at 06:35:53PM +0200, Pali Rohár wrote: > > > > On Wednesday 22 October 2014 18:19:47 Guen

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-10-23 Thread Guenter Roeck
On Thu, Oct 23, 2014 at 12:37:34PM +0200, Pali Rohár wrote: > On Wednesday 22 October 2014 19:10:05 Guenter Roeck wrote: > > On Wed, Oct 22, 2014 at 06:35:53PM +0200, Pali Rohár wrote: > > > On Wednesday 22 October 2014 18:19:47 Guenter Roeck wrote: > > > > On Wed, Oct 22, 2014 at 02:29:06PM +0200,

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-10-23 Thread Pali Rohár
On Wednesday 22 October 2014 19:10:05 Guenter Roeck wrote: > On Wed, Oct 22, 2014 at 06:35:53PM +0200, Pali Rohár wrote: > > On Wednesday 22 October 2014 18:19:47 Guenter Roeck wrote: > > > On Wed, Oct 22, 2014 at 02:29:06PM +0200, Pali Rohár wrote: > > > > On Tuesday 21 October 2014 06:27:23 Guent

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-10-22 Thread Guenter Roeck
On Wed, Oct 22, 2014 at 06:35:53PM +0200, Pali Rohár wrote: > On Wednesday 22 October 2014 18:19:47 Guenter Roeck wrote: > > On Wed, Oct 22, 2014 at 02:29:06PM +0200, Pali Rohár wrote: > > > On Tuesday 21 October 2014 06:27:23 Guenter Roeck wrote: > > > > On 10/20/2014 09:46 AM, Pali Rohár wrote: >

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-10-22 Thread Pali Rohár
On Wednesday 22 October 2014 18:19:47 Guenter Roeck wrote: > On Wed, Oct 22, 2014 at 02:29:06PM +0200, Pali Rohár wrote: > > On Tuesday 21 October 2014 06:27:23 Guenter Roeck wrote: > > > On 10/20/2014 09:46 AM, Pali Rohár wrote: > > > > Ok, I will describe my problem. Guenter, maybe you can > > >

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-10-22 Thread Guenter Roeck
On Wed, Oct 22, 2014 at 02:29:06PM +0200, Pali Rohár wrote: > On Tuesday 21 October 2014 06:27:23 Guenter Roeck wrote: > > On 10/20/2014 09:46 AM, Pali Rohár wrote: > > > Ok, I will describe my problem. Guenter, maybe you can find > > > another solution/fix for it. > > > > > > Calling i8k_get_temp

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-10-22 Thread Pali Rohár
On Tuesday 21 October 2014 06:27:23 Guenter Roeck wrote: > On 10/20/2014 09:46 AM, Pali Rohár wrote: > > Ok, I will describe my problem. Guenter, maybe you can find > > another solution/fix for it. > > > > Calling i8k_get_temp(3) on my laptop without > > I8K_TEMPERATURE_BUG always returns value 19

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-10-20 Thread Guenter Roeck
On 10/20/2014 09:46 AM, Pali Rohár wrote: Ok, I will describe my problem. Guenter, maybe you can find another solution/fix for it. Calling i8k_get_temp(3) on my laptop without I8K_TEMPERATURE_BUG always returns value 193 (which is above I8K_MAX_TEMP). When I8K_TEMPERATURE_BUG is enabled (by def

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-10-20 Thread Pali Rohár
Ok, I will describe my problem. Guenter, maybe you can find another solution/fix for it. Calling i8k_get_temp(3) on my laptop without I8K_TEMPERATURE_BUG always returns value 193 (which is above I8K_MAX_TEMP). When I8K_TEMPERATURE_BUG is enabled (by default) then i8k_get_temp(3) returns value

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-10-19 Thread Guenter Roeck
On 10/19/2014 07:46 AM, Pali Rohár wrote: On some machines some temperature sensors report too high values which are What is "too high", and what is "some machines" ? Would be great if you can be more specific. invalid. When value is invalid function i8k_get_temp() returns previous value and

[PATCH] i8k: Ignore temperature sensors which report invalid values

2014-10-19 Thread Pali Rohár
On some machines some temperature sensors report too high values which are invalid. When value is invalid function i8k_get_temp() returns previous value and at next call it returns I8K_MAX_TEMP. With this patch also firt i8k_get_temp() call returns I8K_MAX_TEMP and i8k_init_hwmon() will ignore all