Skip to contentSkip to conversation

info about driver for chip EMC1402

lm-sensors Kenny Lake 3 participants 7 messages May 26, 2014 – May 29, 2014

lore
Share & tools
lore
#1 lore raw
Quoted 2 lines · Kenny Lake

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
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#2 lore raw
In reply to Kenny Lake

Hi Guenter, Kenny,

Quoted 6 lines · Guenter Roeck
Quoted 2 lines · Kenny Lake

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.

Signature · 7 lines
Jean Delvare
SUSE L3 Support

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
author
#3 lore raw
In reply to Kenny Lake

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 <[email protected]> ha scritto:

Hi Guenter, Kenny,

Quoted 6 lines · Guenter Roeck
Quoted 2 lines · Kenny Lake

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.

Signature · 6 lines
Jean Delvare
SUSE L3 Support
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#4 lore raw
In reply to Kenny Lake
Quoted 15 lines · Kenny Lake

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.

Quoted 2 lines

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
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#5 lore raw
In reply to Kenny Lake
Quoted 3 lines · Kenny Lake

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

Quoted 26 lines

Il Mercoledì 28 Maggio 2014 0:26, Guenter Roeck <[email protected]> ha scritto:

Quoted 10 lines · Kenny Lake

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)
Quoted 7 lines

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.

Quoted 8 lines

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
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#6 lore raw
In reply to Kenny Lake
Quoted 6 lines · Kenny Lake

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.

Signature · 7 lines
Jean Delvare
SUSE L3 Support

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors