Skip to contentSkip to conversation

ITE IT8518E supported in coreboot, helpful?

lm-sensors Santi Villalba 2 participants 5 messages May 24, 2013 – May 28, 2013

lore
Share & tools
lore
#0 lore raw

This controller is giving people some trouble, as it is shipped in more and more laptops [1] and the fans can become quite annoying in these systems.

In the past it was said that the main problem was the lack of a datasheet from ITE [2]. Recently there has been progress from the coreboot projects getting the info for quanta firmware on IT8518 [3]. Can this particular file help with the lack of specs or it depends on other factors?
http://review.coreboot.org/gitweb?p=coreboot.git;a=blob;f=src/ec/quanta/it8518/acpi/ec.asl;hu49fa283da69b9b1fca8589b1fc7f59fd30f7a4;hb~568559634199668859b7c662aea7f6b41f3920

In my particular case, I have a noisy clevo p150em. I can help providing testing and perhaps developing - just looking at the code of other modules, it87, it seems to me I could give a hand beyond testing.

Thanks

[1] https://bbs.archlinux.org/viewtopic.php?id4462

      http://forums.debian.net/viewtopic.php?f=7&tv146

http://forums.opensuse.org/english/get-technical-help-here/laptop/486412-cpu-cooler-runs-almost-constantly.html
http://www.linuxmint-fr.org/forum/systeme/145143-ventilateur-qui-tournent-a-fond-no-pwm-capable-sensor-modules.html

[2]
http://lists.lm-sensors.org/pipermail/lm-sensors/2012-February/035486.html

[3]
http://review.coreboot.org/gitweb?p=coreboot.git;a=commitdiff;h~568559634199668859b7c662aea7f6b41f3920

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

#1 lore raw
Quoted 11 lines · Santi Villalba

This controller is giving people some trouble, as it is shipped in more and more laptops [1] and the fans can become quite annoying in these systems.

In the past it was said that the main problem was the lack of a datasheet from ITE [2]. Recently there has been progress from the coreboot projects getting the info for quanta firmware on IT8518 [3]. Can this particular file help with the lack of specs or it depends on other factors?
http://review.coreboot.org/gitweb?p=coreboot.git;a=blob;f=src/ec/quanta/it8518/acpi/ec.asl;hu49fa283da69b9b1fca8589b1fc7f59fd30f7a4;hb~568559634199668859b7c662aea7f6b41f3920

I may be missing something, but my understanding is that the chip has an embedded microcontroller (EC) which handles the actual fan control. While the chip data sheet describes the hardware accessible to the EC, and the API between CPU and EC, it does not describe the logical interface between the two. Problem is that this interface is not well defined and depends on the microcode running on the EC.

The file referenced above seems to provide that information for the specific board and for the microcode running on the EC in that board (which appears to be the referenced 'quanta' firmware). That does not mean, however, that it would be the same for other boards, including yours.

A second potential problem is that the ACPI data provided above suggests that the EC may be controlled through ACPI, which means that ACPI most likely reserves the memory space needed to access the controller. If this is the case in your system, which is quite likely, your best option would be an ACPI driver.

Thanks,
Guenter

Quoted 14 lines

In my particular case, I have a noisy clevo p150em. I can help providing testing and perhaps developing - just looking at the code of other modules, it87, it seems to me I could give a hand beyond testing.

Thanks

[1] https://bbs.archlinux.org/viewtopic.php?id4462

     http://forums.debian.net/viewtopic.php?f=7&tv146

http://forums.opensuse.org/english/get-technical-help-here/laptop/486412-cpu-cooler-runs-almost-constantly.html
http://www.linuxmint-fr.org/forum/systeme/145143-ventilateur-qui-tournent-a-fond-no-pwm-capable-sensor-modules.html

[2] http://lists.lm-sensors.org/pipermail/lm-sensors/2012-February/035486.html

Quoted 8 lines

[3] http://review.coreboot.org/gitweb?p=coreboot.git;a=commitdiff;h~568559634199668859b7c662aea7f6b41f3920

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

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

#2 lore raw
In reply to Santi Villalba

Hi Guenter,

Quoted 26 lines · Guenter Roeck
Quoted 11 lines · Santi Villalba

This controller is giving people some trouble, as it is shipped in more and more laptops [1] and the fans can become quite annoying in these systems.

In the past it was said that the main problem was the lack of a datasheet from ITE [2]. Recently there has been progress from the coreboot projects getting the info for quanta firmware on IT8518 [3]. Can this particular file help with the lack of specs or it depends on other factors?
http://review.coreboot.org/gitweb?p=coreboot.git;a=blob;f=src/ec/quanta/it8518/acpi/ec.asl;hu49fa283da69b9b1fca8589b1fc7f59fd30f7a4;hb~568559634199668859b7c662aea7f6b41f3920

I may be missing something, but my understanding is that the chip has an embedded microcontroller (EC) which handles the actual fan control. While the chip data sheet describes the hardware accessible to the EC, and the API between CPU and EC, it does not describe the logical interface between the two. Problem is that this interface is not well defined and depends on the microcode running on the EC.

The file referenced above seems to provide that information for the specific board and for the microcode running on the EC in that board (which appears to be the referenced 'quanta' firmware). That does not mean, however, that it would be the same for other boards, including yours.

Quoted 5 lines

A second potential problem is that the ACPI data provided above suggests that the EC may be controlled through ACPI, which means that ACPI most likely reserves the memory space needed to access the controller. If this is the case in your system, which is quite likely, your best option would be an ACPI driver.

That was my fearsome first guess. So I will look around a bit more to check if there is any spec available on the concrete EC firmware running clevo machines. If I find it I will try the ACPI driver route first.

Thanks for the detailed answer,
Santi

Quoted 26 lines

Thanks,
Guenter

Quoted 22 lines

In my particular case, I have a noisy clevo p150em. I can help providing testing and perhaps developing - just looking at the code of other modules, it87, it seems to me I could give a hand beyond testing.

Thanks

[1] https://bbs.archlinux.org/viewtopic.php?id4462

      http://forums.debian.net/viewtopic.php?f=7&tv146

http://forums.opensuse.org/english/get-technical-help-here/laptop/486412-cpu-cooler-runs-almost-constantly.html
http://www.linuxmint-fr.org/forum/systeme/145143-ventilateur-qui-tournent-a-fond-no-pwm-capable-sensor-modules.html

[2] http://lists.lm-sensors.org/pipermail/lm-sensors/2012-February/035486.html

[3] http://review.coreboot.org/gitweb?p=coreboot.git;a=commitdiff;h~568559634199668859b7c662aea7f6b41f3920

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

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

#3 lore raw
In reply to Santi Villalba
Quoted 35 lines · Santi Villalba

Hi Guenter,

Quoted 26 lines · Guenter Roeck
Quoted 11 lines · Santi Villalba

This controller is giving people some trouble, as it is shipped in more and more laptops [1] and the fans can become quite annoying in these systems.

In the past it was said that the main problem was the lack of a datasheet from ITE [2]. Recently there has been progress from the coreboot projects getting the info for quanta firmware on IT8518 [3]. Can this particular file help with the lack of specs or it depends on other factors?
http://review.coreboot.org/gitweb?p=coreboot.git;a=blob;f=src/ec/quanta/it8518/acpi/ec.asl;hu49fa283da69b9b1fca8589b1fc7f59fd30f7a4;hb~568559634199668859b7c662aea7f6b41f3920

I may be missing something, but my understanding is that the chip has an embedded microcontroller (EC) which handles the actual fan control. While the chip data sheet describes the hardware accessible to the EC, and the API between CPU and EC, it does not describe the logical interface between the two. Problem is that this interface is not well defined and depends on the microcode running on the EC.

The file referenced above seems to provide that information for the specific board and for the microcode running on the EC in that board (which appears to be the referenced 'quanta' firmware). That does not mean, however, that it would be the same for other boards, including yours.

Quoted 5 lines

A second potential problem is that the ACPI data provided above suggests that the EC may be controlled through ACPI, which means that ACPI most likely reserves the memory space needed to access the controller. If this is the case in your system, which is quite likely, your best option would be an ACPI driver.

Quoted 5 lines

That was my fearsome first guess. So I will look around a bit more to check if there is any spec available on the concrete EC firmware running clevo machines. If I find it I will try the ACPI driver route first.

I don't think you need the firmware spec if ACPI is used. All you need to do is to decode the ACPI table, check which accessors it provides, and write a driver using those accessors. [1] should help. I don't know much about ACPI, so I won't be able to help much further.

Looking through coreboot, there are lots of laptops using embedded controllers, and for most if not all of them the access methods used are different.

Guenter

[1] http://smackerelofopinion.blogspot.com/2009/10/dumping-acpi-tables-using-acpidump-and.html

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

#4 lore raw
In reply to Santi Villalba
Quoted 45 lines · Guenter Roeck
Quoted 34 lines · Santi Villalba

Hi Guenter,

Quoted 26 lines · Guenter Roeck
Quoted 11 lines · Santi Villalba

This controller is giving people some trouble, as it is shipped in more and more laptops [1] and the fans can become quite annoying in these systems.

In the past it was said that the main problem was the lack of a datasheet from ITE [2]. Recently there has been progress from the coreboot projects getting the info for quanta firmware on IT8518 [3]. Can this particular file help with the lack of specs or it depends on other factors?
http://review.coreboot.org/gitweb?p=coreboot.git;a=blob;f=src/ec/quanta/it8518/acpi/ec.asl;hu49fa283da69b9b1fca8589b1fc7f59fd30f7a4;hb~568559634199668859b7c662aea7f6b41f3920

I may be missing something, but my understanding is that the chip has an embedded microcontroller (EC) which handles the actual fan control. While the chip data sheet describes the hardware accessible to the EC, and the API between CPU and EC, it does not describe the logical interface between the two. Problem is that this interface is not well defined and depends on the microcode running on the EC.

The file referenced above seems to provide that information for the specific board and for the microcode running on the EC in that board (which appears to be the referenced 'quanta' firmware). That does not mean, however, that it would be the same for other boards, including yours.

Quoted 5 lines

A second potential problem is that the ACPI data provided above suggests that the EC may be controlled through ACPI, which means that ACPI most likely reserves the memory space needed to access the controller. If this is the case in your system, which is quite likely, your best option would be an ACPI driver.

Quoted 5 lines

That was my fearsome first guess. So I will look around a bit more to check if there is any spec available on the concrete EC firmware running clevo machines. If I find it I will try the ACPI driver route first.

I don't think you need the firmware spec if ACPI is used. All you need to do is to decode the ACPI table, check which accessors it provides, and write a driver using those accessors. [1] should help. I don't know much about ACPI, so I won't be able to help much further.

Quoted 6 lines

Looking through coreboot, there are lots of laptops using embedded controllers, and for most if not all of them the access methods used are different.

Guenter

[1] http://smackerelofopinion.blogspot.com/2009/10/dumping-acpi-tables-using-acpidump-and.html

This puts me in the right track, already looking at the ACPI table. Will take time but I will get there.

Thanks again
Santi

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