acerhdf.c (291bd0e4605ee5d3cc8adefb79f8ef2047219571) acerhdf.c (14c20688292583b3f7a8a595b65f6b5665616752)
1/*
2 * acerhdf - A driver which monitors the temperature
3 * of the aspire one netbook, turns on/off the fan
4 * as soon as the upper/lower threshold is reached.
5 *
6 * (C) 2009 - Peter Feuerer peter (a) piie.net
7 * http://piie.net
8 * 2009 Borislav Petkov bp (a) alien8.de

--- 674 unchanged lines hidden (view full) ---

683 }
684
685 /*
686 * if started with kernel mode off, prevent the kernel from switching
687 * off the fan
688 */
689 if (!kernelmode) {
690 pr_notice("Fan control off, to enable do:\n");
1/*
2 * acerhdf - A driver which monitors the temperature
3 * of the aspire one netbook, turns on/off the fan
4 * as soon as the upper/lower threshold is reached.
5 *
6 * (C) 2009 - Peter Feuerer peter (a) piie.net
7 * http://piie.net
8 * 2009 Borislav Petkov bp (a) alien8.de

--- 674 unchanged lines hidden (view full) ---

683 }
684
685 /*
686 * if started with kernel mode off, prevent the kernel from switching
687 * off the fan
688 */
689 if (!kernelmode) {
690 pr_notice("Fan control off, to enable do:\n");
691 pr_notice("echo -n \"enabled\" > /sys/class/thermal/thermal_zone0/mode\n");
691 pr_notice("echo -n \"enabled\" > /sys/class/thermal/thermal_zoneN/mode # N=0,1,2...\n");
692 }
693
694 return 0;
695}
696
697static int acerhdf_register_platform(void)
698{
699 int err = 0;

--- 128 unchanged lines hidden ---
692 }
693
694 return 0;
695}
696
697static int acerhdf_register_platform(void)
698{
699 int err = 0;

--- 128 unchanged lines hidden ---