All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] info about  driver for chip EMC1402
@ 2014-05-26 21:23 Kenny Lake
  2014-05-27  0:15 ` Guenter Roeck
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Kenny Lake @ 2014-05-26 21:23 UTC (permalink / raw)
  To: lm-sensors

I have serious temp problem with my laptop, it has a EMC1402 chip and I would like to know if is there any new driver  that I can try to use.
Thanks
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

* Re: [lm-sensors] info about  driver for chip EMC1402
  2014-05-26 21:23 [lm-sensors] info about driver for chip EMC1402 Kenny Lake
@ 2014-05-27  0:15 ` Guenter Roeck
  2014-05-27  6:35 ` Jean Delvare
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2014-05-27  0:15 UTC (permalink / raw)
  To: lm-sensors

On 05/26/2014 02:23 PM, Kenny Lake wrote:
> I have serious temp problem with my laptop, it has a EMC1402 chip and I would like to know if is there any new driver  that I can try to use.
> Thanks

A patch to add suport for this chip is pending for integration into the 3.16 kernel.
It is available in the linux-next repository. Can you use that ?

Guenter


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

* Re: [lm-sensors] info about  driver for chip EMC1402
  2014-05-26 21:23 [lm-sensors] info about driver for chip EMC1402 Kenny Lake
  2014-05-27  0:15 ` Guenter Roeck
@ 2014-05-27  6:35 ` Jean Delvare
  2014-05-27 21:13 ` Kenny Lake
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2014-05-27  6:35 UTC (permalink / raw)
  To: lm-sensors

Hi Guenter, Kenny,

On Mon, 26 May 2014 17:15:54 -0700, Guenter Roeck wrote:
> On 05/26/2014 02:23 PM, Kenny Lake wrote:
> > I have serious temp problem with my laptop, it has a EMC1402 chip and I would like to know if is there any new driver  that I can try to use.
> > Thanks
> 
> A patch to add suport for this chip is pending for integration into the 3.16 kernel.
> It is available in the linux-next repository. Can you use that ?

On laptops it is almost never possible to access monitoring chips
directly, one has to go through ACPI or a vendor-specific layer. So
Kenny should prepare himself to the idea that the emc1403 driver in
linux-next will most likely not work. But it's certainly worth a try
anyway.

Kenny, how do you know that your laptop has an EMC1402 chip? Doesn't
the ACPI thermal driver work for you? Did you try the vendor-specific
driver for your laptop? Some of them (asus-wmi, compal-laptop,
eeepc-laptop and thinkpad_acpi) provide temperature readings.

-- 
Jean Delvare
SUSE L3 Support

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

* Re: [lm-sensors] info about  driver for chip EMC1402
  2014-05-26 21:23 [lm-sensors] info about driver for chip EMC1402 Kenny Lake
  2014-05-27  0:15 ` Guenter Roeck
  2014-05-27  6:35 ` Jean Delvare
@ 2014-05-27 21:13 ` Kenny Lake
  2014-05-27 22:26 ` Guenter Roeck
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Kenny Lake @ 2014-05-27 21:13 UTC (permalink / raw)
  To: lm-sensors

Jean
I know that I have a EMC1402 chip because this is what the "sensors-detect" command report:
Driver `to-be-written':
  * Bus `SMBus PIIX4 adapter at 0b00'
    Busdriver `i2c_piix4', I2C address 0x4c
    Chip `SMSC EMC1402' (confidence: 6)
Driver `adm1021':
  * Bus `SMBus PIIX4 adapter at 0b00'
    Busdriver `i2c_piix4', I2C address 0x4e
    Chip `Maxim MAX1617' (confidence: 3)
Driver `k10temp' (autoloaded):
  * Chip `AMD Family 11h thermal sensors' (confidence: 9)
Note: there is no driver for SMSC EMC1402 yet.


I searched around but I haven't found a specific vendor's driver for my laptop (HP 6735s) and ACPI has a strange behavior: rarelly, when I turn on my laptop, the fan works, but 90% it doesn't start except when temp is around 85 celsius. I have already tried all boot options (acpi=force, acpi=off, acpi=osi_Linux, acpi_enforce_resources=lax) but without succes. 



Il Martedì 27 Maggio 2014 8:53, Jean Delvare <jdelvare@suse.de> ha scritto:
 


Hi Guenter, Kenny,

On Mon, 26 May 2014 17:15:54 -0700, Guenter Roeck wrote:
> On 05/26/2014 02:23 PM, Kenny Lake wrote:
> > I have serious temp problem with my laptop, it has a EMC1402 chip and I would like to know if is there any new driver  that I can try to use.
> > Thanks
> 
> A patch to add suport for this chip is pending for integration into the 3.16 kernel.
> It is available in the linux-next repository. Can you use that ?

On laptops it is almost never possible to access monitoring chips
directly, one has to go through ACPI or a vendor-specific layer. So
Kenny should prepare himself to the idea that the emc1403 driver in
linux-next will most likely not work. But it's certainly worth a try
anyway.

Kenny, how do you know that your laptop has an EMC1402 chip? Doesn't
the ACPI thermal driver work for you? Did you try the vendor-specific
driver for your laptop? Some of them (asus-wmi, compal-laptop,
eeepc-laptop and thinkpad_acpi) provide temperature readings.

-- 
Jean Delvare
SUSE L3 Support
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

* Re: [lm-sensors] info about  driver for chip EMC1402
  2014-05-26 21:23 [lm-sensors] info about driver for chip EMC1402 Kenny Lake
                   ` (2 preceding siblings ...)
  2014-05-27 21:13 ` Kenny Lake
@ 2014-05-27 22:26 ` Guenter Roeck
  2014-05-28 13:35 ` Guenter Roeck
  2014-05-29 11:18 ` Jean Delvare
  5 siblings, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2014-05-27 22:26 UTC (permalink / raw)
  To: lm-sensors

On Tue, May 27, 2014 at 10:13:17PM +0100, Kenny Lake wrote:
> Jean
> I know that I have a EMC1402 chip because this is what the "sensors-detect" command report:
> Driver `to-be-written':
>   * Bus `SMBus PIIX4 adapter at 0b00'
>     Busdriver `i2c_piix4', I2C address 0x4c
>     Chip `SMSC EMC1402' (confidence: 6)
> Driver `adm1021':
>   * Bus `SMBus PIIX4 adapter at 0b00'
>     Busdriver `i2c_piix4', I2C address 0x4e
>     Chip `Maxim MAX1617' (confidence: 3)
> Driver `k10temp' (autoloaded):
>   * Chip `AMD Family 11h thermal sensors' (confidence: 9)
> Note: there is no driver for SMSC EMC1402 yet.
> 
> 
> I searched around but I haven't found a specific vendor's driver for my laptop (HP 6735s) and ACPI has a strange behavior: rarelly, when I turn on my laptop, the fan works, but 90% it doesn't start except when temp is around 85 celsius. I have already tried all boot options (acpi=force, acpi=off, acpi=osi_Linux, acpi_enforce_resources=lax) but without succes. 
> 
What kernel version do you use ? acpi thermal code has a bug
since 3.13 which causes that kind of behavior.
See https://bugzilla.kernel.org/show_bug.cgi?id=71711.
This was only fixed last week.

The emc driver won't help you to get this fixed, unfortunately.
It only reports the temperature ... but you already know that
it is too high.

Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

* Re: [lm-sensors] info about  driver for chip EMC1402
  2014-05-26 21:23 [lm-sensors] info about driver for chip EMC1402 Kenny Lake
                   ` (3 preceding siblings ...)
  2014-05-27 22:26 ` Guenter Roeck
@ 2014-05-28 13:35 ` Guenter Roeck
  2014-05-29 11:18 ` Jean Delvare
  5 siblings, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2014-05-28 13:35 UTC (permalink / raw)
  To: lm-sensors

On 05/28/2014 02:24 AM, Kenny Lake wrote:
> Thanks Guenter, I think that my problem is related to this bug because I have observed the same behavior. Now I'm using 3.14.4-1-ARCH.
>
>
If you can, cherry-pick commit 9801284 (ACPI: Revert "ACPI / AC: convert ACPI ac driver
to platform bus") from the upstram kernel. That should help.

Guenter

> Il Mercoledì 28 Maggio 2014 0:26, Guenter Roeck <linux@roeck-us.net> ha scritto:
>
>
> On Tue, May 27, 2014 at 10:13:17PM +0100, Kenny Lake wrote:
>  > Jean
>  > I know that I have a EMC1402 chip because this is what the "sensors-detect" command report:
>  > Driver `to-be-written':
>  >   * Bus `SMBus PIIX4 adapter at 0b00'
>  >     Busdriver `i2c_piix4', I2C address 0x4c
>  >     Chip `SMSC EMC1402' (confidence: 6)
>  > Driver `adm1021':
>  >   * Bus `SMBus PIIX4 adapter at 0b00'
>  >     Busdriver `i2c_piix4', I2C address 0x4e
>  >     Chip `Maxim MAX1617' (confidence: 3)
>  > Driver `k10temp' (autoloaded):
>  >   * Chip `AMD Family 11h thermal sensors' (confidence: 9)
>  > Note: there is no driver for SMSC EMC1402 yet.
>  >
>  >
>  > I searched around but I haven't found a specific vendor's driver for my laptop (HP 6735s) and ACPI has a strange behavior: rarelly, when I turn on my laptop, the fan works, but 90% it doesn't start except when temp is around 85 celsius. I have already tried all boot options (acpi=force, acpi=off, acpi=osi_Linux, acpi_enforce_resources=lax) but without succes.
>  >
> What kernel version do you use ? acpi thermal code has a bug
> since 3.13 which causes that kind of behavior.
> See https://bugzilla.kernel.org/show_bug.cgi?id=71711.
> This was only fixed last week.
>
> The emc driver won't help you to get this fixed, unfortunately.
> It only reports the temperature ... but you already know that
> it is too high.
>
>
> Guenter
>
>


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

* Re: [lm-sensors] info about  driver for chip EMC1402
  2014-05-26 21:23 [lm-sensors] info about driver for chip EMC1402 Kenny Lake
                   ` (4 preceding siblings ...)
  2014-05-28 13:35 ` Guenter Roeck
@ 2014-05-29 11:18 ` Jean Delvare
  5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2014-05-29 11:18 UTC (permalink / raw)
  To: lm-sensors

On Tue, 27 May 2014 22:13:17 +0100 (BST), Kenny Lake wrote:
> Jean
> I know that I have a EMC1402 chip because this is what the "sensors-detect" command report:
> Driver `to-be-written':
>   * Bus `SMBus PIIX4 adapter at 0b00'
>     Busdriver `i2c_piix4', I2C address 0x4c
>     Chip `SMSC EMC1402' (confidence: 6)

OK, fair enough, the latest version of the emc1403 driver may indeed
work then. That being said:
 * It might not tell you more than the thermal ACPI driver is already
   telling you.
 * If the ACPI temperature comes from the same chip, you may get
   conflicting accesses to the chip by using two drivers for the same
   device.
 * As Guenter said already, if thermal management is broken on your
   laptop, this won't help you anyway. You need to report such problems
   to linux-pm and/or linux-acpi.

-- 
Jean Delvare
SUSE L3 Support

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

end of thread, other threads:[~2014-05-29 11:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-26 21:23 [lm-sensors] info about driver for chip EMC1402 Kenny Lake
2014-05-27  0:15 ` Guenter Roeck
2014-05-27  6:35 ` Jean Delvare
2014-05-27 21:13 ` Kenny Lake
2014-05-27 22:26 ` Guenter Roeck
2014-05-28 13:35 ` Guenter Roeck
2014-05-29 11:18 ` Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.