* Hardware running hot and without the fan @ 2011-11-02 9:42 Lars Noodén 2011-11-03 2:03 ` Guenter Roeck 0 siblings, 1 reply; 33+ messages in thread From: Lars Noodén @ 2011-11-02 9:42 UTC (permalink / raw) To: linux-kernel There seem to be two problems here, one is that the hardware is getting WAY too hot, another is that the fan is not turning on when the hardware gets too hot. $ uname -a Linux xubuntu 3.1.0-999-generic #201110270406 SMP Thu Oct 27 08:07:41 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux I've reported the problem to Ubuntu https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 and the suggestion there was to report it upstream. On the notebook computer, parts become very hot to the touch while running Ubuntu, but the fan does not run even after it gets hot. When I boot back to OS X, the fan kicks in and runs until the computer returns to being cool to the touch. Similar for the desktop, though I must follow the temperature with /usr/bin/sensors. The notebook is a MacBookPro8,2 and the desktop is a Macmini3,1 What metrics do I need to collect to help fix the problem? I've already reported the problem to Ubuntu[2] and the recommendation was to try reporting upstream. Please CC me in the replies. /Lars [1] http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/ [2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-02 9:42 Hardware running hot and without the fan Lars Noodén @ 2011-11-03 2:03 ` Guenter Roeck 0 siblings, 0 replies; 33+ messages in thread From: Guenter Roeck @ 2011-11-03 2:03 UTC (permalink / raw) To: Lars Noodén; +Cc: linux-kernel@vger.kernel.org, lm-sensors, Henrik Rydberg From LKML: On Wed, Nov 02, 2011 at 05:42:39AM -0400, Lars Noodén wrote: > There seem to be two problems here, one is that the hardware is getting > WAY too hot, another is that the fan is not turning on when the hardware > gets too hot. > > $ uname -a > Linux xubuntu 3.1.0-999-generic #201110270406 SMP Thu Oct 27 > 08:07:41 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux > > I've reported the problem to Ubuntu > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 > and the suggestion there was to report it upstream. > > On the notebook computer, parts become very hot to the touch while > running Ubuntu, but the fan does not run even after it gets hot. When I > boot back to OS X, the fan kicks in and runs until the computer returns > to being cool to the touch. Similar for the desktop, though I must > follow the temperature with /usr/bin/sensors. > > The notebook is a MacBookPro8,2 and the desktop is a Macmini3,1 > > What metrics do I need to collect to help fix the problem? I've already > reported the problem to Ubuntu[2] and the recommendation was to try > reporting upstream. > > Please CC me in the replies. > /Lars > > [1] http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/ > > [2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 I see applesmc: : read arg fail in the dmesg log. No idea what that means. Maybe the driver maintainer or someone else on the lm-sensors mailing list can help. Not sure I understand your comment about having to follow the output of the sensors command. Can you clarify ? Also, do you get any output from the sensors command on the notebook ? Thanks, Guenter _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Hardware running hot and without the fan @ 2011-11-03 2:03 ` Guenter Roeck 0 siblings, 0 replies; 33+ messages in thread From: Guenter Roeck @ 2011-11-03 2:03 UTC (permalink / raw) To: Lars Noodén; +Cc: linux-kernel@vger.kernel.org, lm-sensors, Henrik Rydberg >From LKML: On Wed, Nov 02, 2011 at 05:42:39AM -0400, Lars Noodén wrote: > There seem to be two problems here, one is that the hardware is getting > WAY too hot, another is that the fan is not turning on when the hardware > gets too hot. > > $ uname -a > Linux xubuntu 3.1.0-999-generic #201110270406 SMP Thu Oct 27 > 08:07:41 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux > > I've reported the problem to Ubuntu > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 > and the suggestion there was to report it upstream. > > On the notebook computer, parts become very hot to the touch while > running Ubuntu, but the fan does not run even after it gets hot. When I > boot back to OS X, the fan kicks in and runs until the computer returns > to being cool to the touch. Similar for the desktop, though I must > follow the temperature with /usr/bin/sensors. > > The notebook is a MacBookPro8,2 and the desktop is a Macmini3,1 > > What metrics do I need to collect to help fix the problem? I've already > reported the problem to Ubuntu[2] and the recommendation was to try > reporting upstream. > > Please CC me in the replies. > /Lars > > [1] http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/ > > [2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 I see applesmc: : read arg fail in the dmesg log. No idea what that means. Maybe the driver maintainer or someone else on the lm-sensors mailing list can help. Not sure I understand your comment about having to follow the output of the sensors command. Can you clarify ? Also, do you get any output from the sensors command on the notebook ? Thanks, Guenter ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-03 2:03 ` Guenter Roeck @ 2011-11-03 8:29 ` Lars Noodén -1 siblings, 0 replies; 33+ messages in thread From: Lars Noodén @ 2011-11-03 8:29 UTC (permalink / raw) To: Guenter Roeck; +Cc: linux-kernel@vger.kernel.org, lm-sensors, Henrik Rydberg On 11/03/2011 04:03 AM, Guenter Roeck wrote: > From LKML: > > On Wed, Nov 02, 2011 at 05:42:39AM -0400, Lars Noodén wrote: >> There seem to be two problems here, one is that the hardware is >> getting WAY too hot, another is that the fan is not turning on when >> the hardware gets too hot. >> >> $ uname -a Linux xubuntu 3.1.0-999-generic #201110270406 SMP Thu >> Oct 27 08:07:41 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux >> >> I've reported the problem to Ubuntu >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 and the >> suggestion there was to report it upstream. >> >> On the notebook computer, parts become very hot to the touch while >> running Ubuntu, but the fan does not run even after it gets hot. >> When I boot back to OS X, the fan kicks in and runs until the >> computer returns to being cool to the touch. Similar for the >> desktop, though I must follow the temperature with >> /usr/bin/sensors. >> >> The notebook is a MacBookPro8,2 and the desktop is a Macmini3,1 >> >> What metrics do I need to collect to help fix the problem? I've >> already reported the problem to Ubuntu[2] and the recommendation >> was to try reporting upstream. >> >> Please CC me in the replies. /Lars >> >> [1] http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/ >> >> [2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 > > I see applesmc: : read arg fail in the dmesg log. No idea what that > means. Maybe the driver maintainer or someone else on the lm-sensors > mailing list can help. > > Not sure I understand your comment about having to follow the output > of the sensors command. Can you clarify ? That's to track the temperature manually. > Also, do you get any output from the sensors command on the notebook? > Thanks, Guenter Yes. It claims to have 24 temperature sensors. /Lars _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Hardware running hot and without the fan @ 2011-11-03 8:29 ` Lars Noodén 0 siblings, 0 replies; 33+ messages in thread From: Lars Noodén @ 2011-11-03 8:29 UTC (permalink / raw) To: Guenter Roeck; +Cc: linux-kernel@vger.kernel.org, lm-sensors, Henrik Rydberg On 11/03/2011 04:03 AM, Guenter Roeck wrote: > From LKML: > > On Wed, Nov 02, 2011 at 05:42:39AM -0400, Lars Noodén wrote: >> There seem to be two problems here, one is that the hardware is >> getting WAY too hot, another is that the fan is not turning on when >> the hardware gets too hot. >> >> $ uname -a Linux xubuntu 3.1.0-999-generic #201110270406 SMP Thu >> Oct 27 08:07:41 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux >> >> I've reported the problem to Ubuntu >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 and the >> suggestion there was to report it upstream. >> >> On the notebook computer, parts become very hot to the touch while >> running Ubuntu, but the fan does not run even after it gets hot. >> When I boot back to OS X, the fan kicks in and runs until the >> computer returns to being cool to the touch. Similar for the >> desktop, though I must follow the temperature with >> /usr/bin/sensors. >> >> The notebook is a MacBookPro8,2 and the desktop is a Macmini3,1 >> >> What metrics do I need to collect to help fix the problem? I've >> already reported the problem to Ubuntu[2] and the recommendation >> was to try reporting upstream. >> >> Please CC me in the replies. /Lars >> >> [1] http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/ >> >> [2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 > > I see applesmc: : read arg fail in the dmesg log. No idea what that > means. Maybe the driver maintainer or someone else on the lm-sensors > mailing list can help. > > Not sure I understand your comment about having to follow the output > of the sensors command. Can you clarify ? That's to track the temperature manually. > Also, do you get any output from the sensors command on the notebook? > Thanks, Guenter Yes. It claims to have 24 temperature sensors. /Lars ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-03 8:29 ` Lars Noodén @ 2011-11-03 13:49 ` Guenter Roeck -1 siblings, 0 replies; 33+ messages in thread From: Guenter Roeck @ 2011-11-03 13:49 UTC (permalink / raw) To: Lars Noodén Cc: linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, Henrik Rydberg On Thu, Nov 03, 2011 at 04:29:49AM -0400, Lars Noodén wrote: > On 11/03/2011 04:03 AM, Guenter Roeck wrote: > > From LKML: > > > > On Wed, Nov 02, 2011 at 05:42:39AM -0400, Lars Noodén wrote: > >> There seem to be two problems here, one is that the hardware is > >> getting WAY too hot, another is that the fan is not turning on when > >> the hardware gets too hot. > >> > >> $ uname -a Linux xubuntu 3.1.0-999-generic #201110270406 SMP Thu > >> Oct 27 08:07:41 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux > >> > >> I've reported the problem to Ubuntu > >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 and the > >> suggestion there was to report it upstream. > >> > >> On the notebook computer, parts become very hot to the touch while > >> running Ubuntu, but the fan does not run even after it gets hot. > >> When I boot back to OS X, the fan kicks in and runs until the > >> computer returns to being cool to the touch. Similar for the > >> desktop, though I must follow the temperature with > >> /usr/bin/sensors. > >> > >> The notebook is a MacBookPro8,2 and the desktop is a Macmini3,1 > >> > >> What metrics do I need to collect to help fix the problem? I've > >> already reported the problem to Ubuntu[2] and the recommendation > >> was to try reporting upstream. > >> > >> Please CC me in the replies. /Lars > >> > >> [1] http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/ > >> > >> [2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 > > > > I see applesmc: : read arg fail in the dmesg log. No idea what that > > means. Maybe the driver maintainer or someone else on the lm-sensors > > mailing list can help. > > > > Not sure I understand your comment about having to follow the output > > of the sensors command. Can you clarify ? > > That's to track the temperature manually. > > > Also, do you get any output from the sensors command on the notebook? > > Thanks, Guenter > > Yes. It claims to have 24 temperature sensors. > Does it report any fans ? If it does, can you try setting the fan speed ? Thanks, Guenter _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Hardware running hot and without the fan @ 2011-11-03 13:49 ` Guenter Roeck 0 siblings, 0 replies; 33+ messages in thread From: Guenter Roeck @ 2011-11-03 13:49 UTC (permalink / raw) To: Lars Noodén Cc: linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, Henrik Rydberg On Thu, Nov 03, 2011 at 04:29:49AM -0400, Lars Noodén wrote: > On 11/03/2011 04:03 AM, Guenter Roeck wrote: > > From LKML: > > > > On Wed, Nov 02, 2011 at 05:42:39AM -0400, Lars Noodén wrote: > >> There seem to be two problems here, one is that the hardware is > >> getting WAY too hot, another is that the fan is not turning on when > >> the hardware gets too hot. > >> > >> $ uname -a Linux xubuntu 3.1.0-999-generic #201110270406 SMP Thu > >> Oct 27 08:07:41 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux > >> > >> I've reported the problem to Ubuntu > >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 and the > >> suggestion there was to report it upstream. > >> > >> On the notebook computer, parts become very hot to the touch while > >> running Ubuntu, but the fan does not run even after it gets hot. > >> When I boot back to OS X, the fan kicks in and runs until the > >> computer returns to being cool to the touch. Similar for the > >> desktop, though I must follow the temperature with > >> /usr/bin/sensors. > >> > >> The notebook is a MacBookPro8,2 and the desktop is a Macmini3,1 > >> > >> What metrics do I need to collect to help fix the problem? I've > >> already reported the problem to Ubuntu[2] and the recommendation > >> was to try reporting upstream. > >> > >> Please CC me in the replies. /Lars > >> > >> [1] http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/ > >> > >> [2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 > > > > I see applesmc: : read arg fail in the dmesg log. No idea what that > > means. Maybe the driver maintainer or someone else on the lm-sensors > > mailing list can help. > > > > Not sure I understand your comment about having to follow the output > > of the sensors command. Can you clarify ? > > That's to track the temperature manually. > > > Also, do you get any output from the sensors command on the notebook? > > Thanks, Guenter > > Yes. It claims to have 24 temperature sensors. > Does it report any fans ? If it does, can you try setting the fan speed ? Thanks, Guenter ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-03 13:49 ` Guenter Roeck @ 2011-11-03 14:25 ` Lars Noodén -1 siblings, 0 replies; 33+ messages in thread From: Lars Noodén @ 2011-11-03 14:25 UTC (permalink / raw) To: Guenter Roeck Cc: linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, Henrik Rydberg On 11/03/2011 03:49 PM, Guenter Roeck wrote: > On Thu, Nov 03, 2011 at 04:29:49AM -0400, Lars Noodén wrote: >> On 11/03/2011 04:03 AM, Guenter Roeck wrote: >>> From LKML: >>> >>> On Wed, Nov 02, 2011 at 05:42:39AM -0400, Lars Noodén wrote: >>>> There seem to be two problems here, one is that the hardware is >>>> getting WAY too hot, another is that the fan is not turning on when >>>> the hardware gets too hot. >>>> >>>> $ uname -a Linux xubuntu 3.1.0-999-generic #201110270406 SMP Thu >>>> Oct 27 08:07:41 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux >>>> >>>> I've reported the problem to Ubuntu >>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 and the >>>> suggestion there was to report it upstream. >>>> >>>> On the notebook computer, parts become very hot to the touch while >>>> running Ubuntu, but the fan does not run even after it gets hot. >>>> When I boot back to OS X, the fan kicks in and runs until the >>>> computer returns to being cool to the touch. Similar for the >>>> desktop, though I must follow the temperature with >>>> /usr/bin/sensors. >>>> >>>> The notebook is a MacBookPro8,2 and the desktop is a Macmini3,1 >>>> >>>> What metrics do I need to collect to help fix the problem? I've >>>> already reported the problem to Ubuntu[2] and the recommendation >>>> was to try reporting upstream. >>>> >>>> Please CC me in the replies. /Lars >>>> >>>> [1] http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/ >>>> >>>> [2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 >>> >>> I see applesmc: : read arg fail in the dmesg log. No idea what that >>> means. Maybe the driver maintainer or someone else on the lm-sensors >>> mailing list can help. >>> >>> Not sure I understand your comment about having to follow the output >>> of the sensors command. Can you clarify ? >> >> That's to track the temperature manually. >> >>> Also, do you get any output from the sensors command on the notebook? >>> Thanks, Guenter >> >> Yes. It claims to have 24 temperature sensors. >> > Does it report any fans ? If it does, can you try setting the fan speed ? The one machine reports one fan and the other two fans. I haven't found a way to set the fan speed manually. The output from sensors is https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/44 and here https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/47 /Lars _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Hardware running hot and without the fan @ 2011-11-03 14:25 ` Lars Noodén 0 siblings, 0 replies; 33+ messages in thread From: Lars Noodén @ 2011-11-03 14:25 UTC (permalink / raw) To: Guenter Roeck Cc: linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, Henrik Rydberg On 11/03/2011 03:49 PM, Guenter Roeck wrote: > On Thu, Nov 03, 2011 at 04:29:49AM -0400, Lars Noodén wrote: >> On 11/03/2011 04:03 AM, Guenter Roeck wrote: >>> From LKML: >>> >>> On Wed, Nov 02, 2011 at 05:42:39AM -0400, Lars Noodén wrote: >>>> There seem to be two problems here, one is that the hardware is >>>> getting WAY too hot, another is that the fan is not turning on when >>>> the hardware gets too hot. >>>> >>>> $ uname -a Linux xubuntu 3.1.0-999-generic #201110270406 SMP Thu >>>> Oct 27 08:07:41 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux >>>> >>>> I've reported the problem to Ubuntu >>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 and the >>>> suggestion there was to report it upstream. >>>> >>>> On the notebook computer, parts become very hot to the touch while >>>> running Ubuntu, but the fan does not run even after it gets hot. >>>> When I boot back to OS X, the fan kicks in and runs until the >>>> computer returns to being cool to the touch. Similar for the >>>> desktop, though I must follow the temperature with >>>> /usr/bin/sensors. >>>> >>>> The notebook is a MacBookPro8,2 and the desktop is a Macmini3,1 >>>> >>>> What metrics do I need to collect to help fix the problem? I've >>>> already reported the problem to Ubuntu[2] and the recommendation >>>> was to try reporting upstream. >>>> >>>> Please CC me in the replies. /Lars >>>> >>>> [1] http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/ >>>> >>>> [2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 >>> >>> I see applesmc: : read arg fail in the dmesg log. No idea what that >>> means. Maybe the driver maintainer or someone else on the lm-sensors >>> mailing list can help. >>> >>> Not sure I understand your comment about having to follow the output >>> of the sensors command. Can you clarify ? >> >> That's to track the temperature manually. >> >>> Also, do you get any output from the sensors command on the notebook? >>> Thanks, Guenter >> >> Yes. It claims to have 24 temperature sensors. >> > Does it report any fans ? If it does, can you try setting the fan speed ? The one machine reports one fan and the other two fans. I haven't found a way to set the fan speed manually. The output from sensors is https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/44 and here https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/47 /Lars ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-03 14:25 ` Lars Noodén @ 2011-11-03 15:06 ` Guenter Roeck -1 siblings, 0 replies; 33+ messages in thread From: Guenter Roeck @ 2011-11-03 15:06 UTC (permalink / raw) To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ZSByZXBvcnRzIG9uZSBmYW4gYW5kIHRoZSBvdGhlciB0d28gZmFucy4g IEkgaGF2ZW4ndCBmb3VuZAo+IGEgd2F5IHRvIHNldCB0aGUgZmFuIHNwZWVkIG1hbnVhbGx5LiAg VGhlIG91dHB1dCBmcm9tIHNlbnNvcnMKPiBpcwo+ICBodHRwczovL2J1Z3MubGF1bmNocGFkLm5l dC91YnVudHUvK3NvdXJjZS9saW51eC8rYnVnLzg4MTU5My9jb21tZW50cy80NAo+IGFuZCBoZXJl Cj4gIGh0dHBzOi8vYnVncy5sYXVuY2hwYWQubmV0L3VidW50dS8rc291cmNlL2xpbnV4LytidWcv ODgxNTkzL2NvbW1lbnRzLzQ3Cj4gCgpEbyB0aGUgZmFucyBhY3R1YWxseSB0dXJuLCBvciBpcyB0 aGUgb3V0cHV0IGJvZ3VzID8KCllvdSBzaG91bGQgYmUgYWJsZSB0byBzZXQgdGhlIGZhbiBzcGVl ZCBieSB3cml0aW5nIGludG8gdGhlIGZhblhfaW5wdXQKYW5kL29yIGZhblhfb3V0cHV0IHN5c2Zz IGF0dHJpYnV0ZXMuIFlvdSBmaW5kIHRob3NlCmluIC9zeXMvY2xhc3MvaHdtb24vaHdtb24wL2Rl dmljZSAoYXNzdW1pbmcgdGhlcmUgaXMgb25seSBvbmUgaHdtb24KZGV2aWNlKS4KClRoYW5rcywK R3VlbnRlcgoKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f XwpsbS1zZW5zb3JzIG1haWxpbmcgbGlzdApsbS1zZW5zb3JzQGxtLXNlbnNvcnMub3JnCmh0dHA6 Ly9saXN0cy5sbS1zZW5zb3JzLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2xtLXNlbnNvcnM ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Hardware running hot and without the fan @ 2011-11-03 15:06 ` Guenter Roeck 0 siblings, 0 replies; 33+ messages in thread From: Guenter Roeck @ 2011-11-03 15:06 UTC (permalink / raw) To: Lars Noodén Cc: linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, Henrik Rydberg On Thu, 2011-11-03 at 10:25 -0400, Lars Noodén wrote: > On 11/03/2011 03:49 PM, Guenter Roeck wrote: > > On Thu, Nov 03, 2011 at 04:29:49AM -0400, Lars Noodén wrote: > >> On 11/03/2011 04:03 AM, Guenter Roeck wrote: > >>> From LKML: > >>> > >>> On Wed, Nov 02, 2011 at 05:42:39AM -0400, Lars Noodén wrote: > >>>> There seem to be two problems here, one is that the hardware is > >>>> getting WAY too hot, another is that the fan is not turning on when > >>>> the hardware gets too hot. > >>>> > >>>> $ uname -a Linux xubuntu 3.1.0-999-generic #201110270406 SMP Thu > >>>> Oct 27 08:07:41 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux > >>>> > >>>> I've reported the problem to Ubuntu > >>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 and the > >>>> suggestion there was to report it upstream. > >>>> > >>>> On the notebook computer, parts become very hot to the touch while > >>>> running Ubuntu, but the fan does not run even after it gets hot. > >>>> When I boot back to OS X, the fan kicks in and runs until the > >>>> computer returns to being cool to the touch. Similar for the > >>>> desktop, though I must follow the temperature with > >>>> /usr/bin/sensors. > >>>> > >>>> The notebook is a MacBookPro8,2 and the desktop is a Macmini3,1 > >>>> > >>>> What metrics do I need to collect to help fix the problem? I've > >>>> already reported the problem to Ubuntu[2] and the recommendation > >>>> was to try reporting upstream. > >>>> > >>>> Please CC me in the replies. /Lars > >>>> > >>>> [1] http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/ > >>>> > >>>> [2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 > >>> > >>> I see applesmc: : read arg fail in the dmesg log. No idea what that > >>> means. Maybe the driver maintainer or someone else on the lm-sensors > >>> mailing list can help. > >>> > >>> Not sure I understand your comment about having to follow the output > >>> of the sensors command. Can you clarify ? > >> > >> That's to track the temperature manually. > >> > >>> Also, do you get any output from the sensors command on the notebook? > >>> Thanks, Guenter > >> > >> Yes. It claims to have 24 temperature sensors. > >> > > Does it report any fans ? If it does, can you try setting the fan speed ? > > The one machine reports one fan and the other two fans. I haven't found > a way to set the fan speed manually. The output from sensors > is > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/44 > and here > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/47 > Do the fans actually turn, or is the output bogus ? You should be able to set the fan speed by writing into the fanX_input and/or fanX_output sysfs attributes. You find those in /sys/class/hwmon/hwmon0/device (assuming there is only one hwmon device). Thanks, Guenter ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-03 15:06 ` Guenter Roeck @ 2011-11-03 15:19 ` Lars Noodén -1 siblings, 0 replies; 33+ messages in thread From: Lars Noodén @ 2011-11-03 15:19 UTC (permalink / raw) To: guenter.roeck Cc: linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, Henrik Rydberg T24gMTEvMDMvMjAxMSAwNTowNiBQTSwgR3VlbnRlciBSb2VjayB3cm90ZToKPiBPbiBUaHUsIDIw MTEtMTEtMDMgYXQgMTA6MjUgLTA0MDAsIExhcnMgTm9vZMOpbiB3cm90ZToKW3NuaXBdCj4+IFRo ZSBvbmUgbWFjaGluZSByZXBvcnRzIG9uZSBmYW4gYW5kIHRoZSBvdGhlciB0d28gZmFucy4gIEkg aGF2ZW4ndCBmb3VuZAo+PiBhIHdheSB0byBzZXQgdGhlIGZhbiBzcGVlZCBtYW51YWxseS4gIFRo ZSBvdXRwdXQgZnJvbSBzZW5zb3JzCj4+IGlzCj4+ICBodHRwczovL2J1Z3MubGF1bmNocGFkLm5l dC91YnVudHUvK3NvdXJjZS9saW51eC8rYnVnLzg4MTU5My9jb21tZW50cy80NAo+PiBhbmQgaGVy ZQo+PiAgaHR0cHM6Ly9idWdzLmxhdW5jaHBhZC5uZXQvdWJ1bnR1Lytzb3VyY2UvbGludXgvK2J1 Zy84ODE1OTMvY29tbWVudHMvNDcKPiAKPiBEbyB0aGUgZmFucyBhY3R1YWxseSB0dXJuLCBvciBp cyB0aGUgb3V0cHV0IGJvZ3VzID8KClRoZSBvdXRwdXQgaXMgYm9ndXMsIHRoZSBmYW5zIGFyZSBu b3QgdHVybmluZy4gIE9uICM0NyB0aGVyZSBhYm92ZSwgSQp0aGluayB0aGUgdGVtcGVyYXR1cmVz IG1pZ2h0IGJlIGluYWNjdXJhdGUsIHRvby4gIFNpbmNlIHRoZXknbGwgZ28gdXAKYW5kIGRvd24g YXMgbXVjaCBhcyA4IGRlZ3JlZXMgaW4gYSBmZXcgc2Vjb25kcy4KCj4gWW91IHNob3VsZCBiZSBh YmxlIHRvIHNldCB0aGUgZmFuIHNwZWVkIGJ5IHdyaXRpbmcgaW50byB0aGUgZmFuWF9pbnB1dAo+ IGFuZC9vciBmYW5YX291dHB1dCBzeXNmcyBhdHRyaWJ1dGVzLiBZb3UgZmluZCB0aG9zZQo+IGlu IC9zeXMvY2xhc3MvaHdtb24vaHdtb24wL2RldmljZSAoYXNzdW1pbmcgdGhlcmUgaXMgb25seSBv bmUgaHdtb24KPiBkZXZpY2UpLgoKSSBjYW4gc2V0IHRoZSBmYW4gc3BlZWQgbWFudWFsbHkuICBl LmcuOgoKIGVjaG8gMzUwMCA+IC9zeXMvY2xhc3MvaHdtb24vaHdtb24wL2RldmljZS9mYW4xX291 dHB1dAoKVGhhdCBoZWxwcyBzb21lLgoKL0xhcnMKCl9fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fCmxtLXNlbnNvcnMgbWFpbGluZyBsaXN0CmxtLXNlbnNvcnNA bG0tc2Vuc29ycy5vcmcKaHR0cDovL2xpc3RzLmxtLXNlbnNvcnMub3JnL21haWxtYW4vbGlzdGlu Zm8vbG0tc2Vuc29ycw= ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Hardware running hot and without the fan @ 2011-11-03 15:19 ` Lars Noodén 0 siblings, 0 replies; 33+ messages in thread From: Lars Noodén @ 2011-11-03 15:19 UTC (permalink / raw) To: guenter.roeck Cc: linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, Henrik Rydberg On 11/03/2011 05:06 PM, Guenter Roeck wrote: > On Thu, 2011-11-03 at 10:25 -0400, Lars Noodén wrote: [snip] >> The one machine reports one fan and the other two fans. I haven't found >> a way to set the fan speed manually. The output from sensors >> is >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/44 >> and here >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/47 > > Do the fans actually turn, or is the output bogus ? The output is bogus, the fans are not turning. On #47 there above, I think the temperatures might be inaccurate, too. Since they'll go up and down as much as 8 degrees in a few seconds. > You should be able to set the fan speed by writing into the fanX_input > and/or fanX_output sysfs attributes. You find those > in /sys/class/hwmon/hwmon0/device (assuming there is only one hwmon > device). I can set the fan speed manually. e.g.: echo 3500 > /sys/class/hwmon/hwmon0/device/fan1_output That helps some. /Lars ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-03 15:19 ` Lars Noodén @ 2011-11-03 15:32 ` Guenter Roeck -1 siblings, 0 replies; 33+ messages in thread From: Guenter Roeck @ 2011-11-03 15:32 UTC (permalink / raw) To: Lars Noodén Cc: linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, Henrik Rydberg T24gVGh1LCAyMDExLTExLTAzIGF0IDExOjE5IC0wNDAwLCBMYXJzIE5vb2TDqW4gd3JvdGU6Cj4g T24gMTEvMDMvMjAxMSAwNTowNiBQTSwgR3VlbnRlciBSb2VjayB3cm90ZToKPiA+IE9uIFRodSwg MjAxMS0xMS0wMyBhdCAxMDoyNSAtMDQwMCwgTGFycyBOb29kw6luIHdyb3RlOgo+IFtzbmlwXQo+ ID4+IFRoZSBvbmUgbWFjaGluZSByZXBvcnRzIG9uZSBmYW4gYW5kIHRoZSBvdGhlciB0d28gZmFu cy4gIEkgaGF2ZW4ndCBmb3VuZAo+ID4+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nNAbG0tc2Vuc29ycy5vcmcKaHR0cDovL2xpc3RzLmxtLXNl bnNvcnMub3JnL21haWxtYW4vbGlzdGluZm8vbG0tc2Vuc29ycw= ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Hardware running hot and without the fan @ 2011-11-03 15:32 ` Guenter Roeck 0 siblings, 0 replies; 33+ messages in thread From: Guenter Roeck @ 2011-11-03 15:32 UTC (permalink / raw) To: Lars Noodén Cc: linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, Henrik Rydberg On Thu, 2011-11-03 at 11:19 -0400, Lars Noodén wrote: > On 11/03/2011 05:06 PM, Guenter Roeck wrote: > > On Thu, 2011-11-03 at 10:25 -0400, Lars Noodén wrote: > [snip] > >> The one machine reports one fan and the other two fans. I haven't found > >> a way to set the fan speed manually. The output from sensors > >> is > >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/44 > >> and here > >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/47 > > > > Do the fans actually turn, or is the output bogus ? > > The output is bogus, the fans are not turning. On #47 there above, I > think the temperatures might be inaccurate, too. Since they'll go up > and down as much as 8 degrees in a few seconds. > Maybe 2000 really reflects 0. Not sure about the temperatures - I think especially the CPU temperature can change pretty fast. Or maybe the sensors are just not very accurate. > > You should be able to set the fan speed by writing into the fanX_input > > and/or fanX_output sysfs attributes. You find those > > in /sys/class/hwmon/hwmon0/device (assuming there is only one hwmon > > device). > > I can set the fan speed manually. e.g.: > > echo 3500 > /sys/class/hwmon/hwmon0/device/fan1_output > > That helps some. > If you can do that, you should be able to set up fancontrol to automatically control fan speed based on system temperatures. There is another sysfs attribute - fanX_manual. I don't find driver documentation, so I have no idea what it is doing. The name indicates that it might set manual vs. automatic fan control. What is it set to in your system ? From the code, looks like it should be 0 or 1. Try to toggle it and see what happens - after all, it can not get worse ;). Guenter ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-03 15:32 ` Guenter Roeck @ 2011-11-03 16:43 ` Jean Delvare -1 siblings, 0 replies; 33+ messages in thread From: Jean Delvare @ 2011-11-03 16:43 UTC (permalink / raw) To: guenter.roeck; +Cc: Lars Noodén, Henrik Rydberg, linux-kernel, lm-sensors On Thu, 3 Nov 2011 08:32:02 -0700, Guenter Roeck wrote: > On Thu, 2011-11-03 at 11:19 -0400, Lars Noodén wrote: > > I can set the fan speed manually. e.g.: > > > > echo 3500 > /sys/class/hwmon/hwmon0/device/fan1_output > > > > That helps some. > > > If you can do that, you should be able to set up fancontrol to > automatically control fan speed based on system temperatures. This won't work, as fancontrol wants pwmX attributes which the applesmc driver doesn't implement. > There is another sysfs attribute - fanX_manual. I don't find driver > documentation, so I have no idea what it is doing. The name indicates > that it might set manual vs. automatic fan control. What is it set to in > your system ? From the code, looks like it should be 0 or 1. Try to > toggle it and see what happens - after all, it can not get worse ;). Might be worth looking at files fanX_min, _max and _safe too. Too bad there doesn't seem to be any documentation available for all these non-standard attributes :( -- Jean Delvare _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan @ 2011-11-03 16:43 ` Jean Delvare 0 siblings, 0 replies; 33+ messages in thread From: Jean Delvare @ 2011-11-03 16:43 UTC (permalink / raw) To: guenter.roeck; +Cc: Lars Noodén, Henrik Rydberg, linux-kernel, lm-sensors On Thu, 3 Nov 2011 08:32:02 -0700, Guenter Roeck wrote: > On Thu, 2011-11-03 at 11:19 -0400, Lars Noodén wrote: > > I can set the fan speed manually. e.g.: > > > > echo 3500 > /sys/class/hwmon/hwmon0/device/fan1_output > > > > That helps some. > > > If you can do that, you should be able to set up fancontrol to > automatically control fan speed based on system temperatures. This won't work, as fancontrol wants pwmX attributes which the applesmc driver doesn't implement. > There is another sysfs attribute - fanX_manual. I don't find driver > documentation, so I have no idea what it is doing. The name indicates > that it might set manual vs. automatic fan control. What is it set to in > your system ? From the code, looks like it should be 0 or 1. Try to > toggle it and see what happens - after all, it can not get worse ;). Might be worth looking at files fanX_min, _max and _safe too. Too bad there doesn't seem to be any documentation available for all these non-standard attributes :( -- Jean Delvare ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-03 16:43 ` Jean Delvare @ 2011-11-03 16:55 ` Guenter Roeck -1 siblings, 0 replies; 33+ messages in thread From: Guenter Roeck @ 2011-11-03 16:55 UTC (permalink / raw) To: Jean Delvare Cc: Lars Noodén, Henrik Rydberg, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org T24gVGh1LCAyMDExLTExLTAzIGF0IDEyOjQzIC0wNDAwLCBKZWFuIERlbHZhcmUgd3JvdGU6Cj4g T24gVGh1LCAzIE5vdiAyMDExIDA4OjMyOjAyIC0wNzAwLCBHdWVudGVyIFJvZWNrIHdyb3RlOgo+ ID4gT24gVGh1LCAyMDExLTExLTAzIGF0IDExOjE5IC0wNDAwLCBMYXJzIE5vb2TDqW4gd3JvdGU6 Cj4gPiA+IEkgY2FuIHNldCB0aGUgZmFuIHNwZWVkIG1hbnVhbGx5LiAgZS5nLjoKPiA+ID4gCj4g PiA+ICBlY2hvIDM1MDAgPiAvc3lzL2NsYXNzL2h3bW9uL2h3bW9uMC9kZXZpY2UvZmFuMV9vdXRw dXQKPiA+ID4gCj4gPiA+IFRoYXQgaGVscHMgc29tZS4KPiA+ID4gCj4gPiBJZiB5b3UgY2FuIGRv IHRoYXQsIHlvdSBzaG91bGQgYmUgYWJsZSB0byBzZXQgdXAgZmFuY29udHJvbCB0bwo+ID4gYXV0 b21hdGljYWxseSBjb250cm9sIGZhbiBzcGVlZCBiYXNlZCBvbiBzeXN0ZW0gdGVtcGVyYXR1cmVz Lgo+IAo+IFRoaXMgd29uJ3Qgd29yaywgYXMgZmFuY29udHJvbCB3YW50cyBwd21YIGF0dHJpYnV0 ZXMgd2hpY2ggdGhlIGFwcGxlc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Bub24tc3RhbmRhcmQgYXR0cmlidXRlcyA6KAo+IApIZXJlIGlzIHNvbWUgaW5mbyBm cm9tIHRoZSB3ZWIgYWJvdXQgdGhlIHByb2JsZW0uIFNlZQpodHRwOi8vdWJ1bnR1Zm9ydW1zLm9y Zy9hcmNoaXZlL2luZGV4LnBocC90LTk4MTI4MC5odG1sLgoKU28sIGZvciB0aG9zZSB0aGF0IGhh dmUgcmVwb3J0ZWQgaGlnaCB0ZW1wZXJhdHVyZXMgZHVlIHRvIGxvdyBmYW4Kc3BlZWRzOiBjaGVj ayB0aGUgdmFsdWUgb2YKCmNhdCAvc3lzL2RldmljZXMvcGxhdGZvcm0vYXBwbGVzbWMuNzY4L2Zh bjFfbWFudWFsCgpXaXRoIG5vIHNvZnR3YXJlIGNvbnRyb2wgb2YgdGhlIGZhbnMsIHdoaWNoIGlz IHRoZSBjYXNlIHdpdGggdGhlCm1hY2Jvb2tzIChmYW5jb250cm9sIGFuZCBwd21jb25maWcgZG9l cyBub3Qgd29yayksIHRoZSBmYW4gc3BlZWQgc2VlbXMKdG8gYmUgY29udHJvbGxlZCBhdXRvbWF0 aWNhbGx5IGJ5IHRoZSBTTUMgd2l0aG91dCBpc3N1ZXMgLSBidXQgb25seSBpZgpmYW4xX21hbnVh bCBpcyB6ZXJvLgoKR3VlbnRlcgoKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fXwpsbS1zZW5zb3JzIG1haWxpbmcgbGlzdApsbS1zZW5zb3JzQGxtLXNlbnNv cnMub3JnCmh0dHA6Ly9saXN0cy5sbS1zZW5zb3JzLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2xtLXNl bnNvcnM ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan @ 2011-11-03 16:55 ` Guenter Roeck 0 siblings, 0 replies; 33+ messages in thread From: Guenter Roeck @ 2011-11-03 16:55 UTC (permalink / raw) To: Jean Delvare Cc: Lars Noodén, Henrik Rydberg, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org On Thu, 2011-11-03 at 12:43 -0400, Jean Delvare wrote: > On Thu, 3 Nov 2011 08:32:02 -0700, Guenter Roeck wrote: > > On Thu, 2011-11-03 at 11:19 -0400, Lars Noodén wrote: > > > I can set the fan speed manually. e.g.: > > > > > > echo 3500 > /sys/class/hwmon/hwmon0/device/fan1_output > > > > > > That helps some. > > > > > If you can do that, you should be able to set up fancontrol to > > automatically control fan speed based on system temperatures. > > This won't work, as fancontrol wants pwmX attributes which the applesmc > driver doesn't implement. > Yes, you are right - it won't work without patching it to use fanX_output and to accept larger values for the limits. Wonder how this works for other Apple systems. Maybe there is an Apple-specific script out there to control fan speed. > > There is another sysfs attribute - fanX_manual. I don't find driver > > documentation, so I have no idea what it is doing. The name indicates > > that it might set manual vs. automatic fan control. What is it set to in > > your system ? From the code, looks like it should be 0 or 1. Try to > > toggle it and see what happens - after all, it can not get worse ;). > > Might be worth looking at files fanX_min, _max and _safe too. Too bad > there doesn't seem to be any documentation available for all these > non-standard attributes :( > Here is some info from the web about the problem. See http://ubuntuforums.org/archive/index.php/t-981280.html. So, for those that have reported high temperatures due to low fan speeds: check the value of cat /sys/devices/platform/applesmc.768/fan1_manual With no software control of the fans, which is the case with the macbooks (fancontrol and pwmconfig does not work), the fan speed seems to be controlled automatically by the SMC without issues - but only if fan1_manual is zero. Guenter ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-03 16:55 ` Guenter Roeck @ 2011-11-03 17:04 ` Guenter Roeck -1 siblings, 0 replies; 33+ messages in thread From: Guenter Roeck @ 2011-11-03 17:04 UTC (permalink / raw) To: Jean Delvare Cc: lm-sensors@lm-sensors.org, Henrik Rydberg, Lars Noodén, linux-kernel@vger.kernel.org T24gVGh1LCAyMDExLTExLTAzIGF0IDEyOjU1IC0wNDAwLCBHdWVudGVyIFJvZWNrIHdyb3RlOgo+ IE9uIFRodSwgMjAx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Byby9TYW50YVJv c2FGYW5Db250cm9sCgp3aGljaCBwcm92aWRlcyBhIHNjcmlwdCB0byBjb250cm9sIGZhbiBzcGVl ZCBvbiBNQUMgc3lzdGVtcy4KCkd1ZW50ZXIKCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX18KbG0tc2Vuc29ycyBtYWlsaW5nIGxpc3QKbG0tc2Vuc29yc0Bs bS1zZW5zb3JzLm9yZwpodHRwOi8vbGlzdHMubG0tc2Vuc29ycy5vcmcvbWFpbG1hbi9saXN0aW5m by9sbS1zZW5zb3Jz ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan @ 2011-11-03 17:04 ` Guenter Roeck 0 siblings, 0 replies; 33+ messages in thread From: Guenter Roeck @ 2011-11-03 17:04 UTC (permalink / raw) To: Jean Delvare Cc: lm-sensors@lm-sensors.org, Henrik Rydberg, Lars Noodén, linux-kernel@vger.kernel.org On Thu, 2011-11-03 at 12:55 -0400, Guenter Roeck wrote: > On Thu, 2011-11-03 at 12:43 -0400, Jean Delvare wrote: > > On Thu, 3 Nov 2011 08:32:02 -0700, Guenter Roeck wrote: > > > On Thu, 2011-11-03 at 11:19 -0400, Lars Noodén wrote: > > > > I can set the fan speed manually. e.g.: > > > > > > > > echo 3500 > /sys/class/hwmon/hwmon0/device/fan1_output > > > > > > > > That helps some. > > > > > > > If you can do that, you should be able to set up fancontrol to > > > automatically control fan speed based on system temperatures. > > > > This won't work, as fancontrol wants pwmX attributes which the applesmc > > driver doesn't implement. > > > Yes, you are right - it won't work without patching it to use > fanX_output and to accept larger values for the limits. > > Wonder how this works for other Apple systems. Maybe there is an > Apple-specific script out there to control fan speed. > > > > There is another sysfs attribute - fanX_manual. I don't find driver > > > documentation, so I have no idea what it is doing. The name indicates > > > that it might set manual vs. automatic fan control. What is it set to in > > > your system ? From the code, looks like it should be 0 or 1. Try to > > > toggle it and see what happens - after all, it can not get worse ;). > > > > Might be worth looking at files fanX_min, _max and _safe too. Too bad > > there doesn't seem to be any documentation available for all these > > non-standard attributes :( > > > Here is some info from the web about the problem. See > http://ubuntuforums.org/archive/index.php/t-981280.html. > The above link points to https://wiki.ubuntu.com/MacBookPro/SantaRosaFanControl which provides a script to control fan speed on MAC systems. Guenter ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-03 16:55 ` Guenter Roeck @ 2011-11-04 10:46 ` lars nooden -1 siblings, 0 replies; 33+ messages in thread From: lars nooden @ 2011-11-04 10:46 UTC (permalink / raw) To: guenter.roeck Cc: Jean Delvare, Henrik Rydberg, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org On 11/3/11, Guenter Roeck <guenter.roeck@ericsson.com> wrote: > On Thu, 2011-11-03 at 12:43 -0400, Jean Delvare wrote: >> On Thu, 3 Nov 2011 08:32:02 -0700, Guenter Roeck wrote: >> > On Thu, 2011-11-03 at 11:19 -0400, Lars Noodén wrote: >> > > I can set the fan speed manually. e.g.: >> > > >> > > echo 3500 > /sys/class/hwmon/hwmon0/device/fan1_output >> > > >> > > That helps some. >> > > >> > If you can do that, you should be able to set up fancontrol to >> > automatically control fan speed based on system temperatures. >> >> This won't work, as fancontrol wants pwmX attributes which the applesmc >> driver doesn't implement. >> > Yes, you are right - it won't work without patching it to use > fanX_output and to accept larger values for the limits. > > Wonder how this works for other Apple systems. Maybe there is an > Apple-specific script out there to control fan speed. > >> > There is another sysfs attribute - fanX_manual. I don't find driver >> > documentation, so I have no idea what it is doing. The name indicates >> > that it might set manual vs. automatic fan control. What is it set to in >> > your system ? From the code, looks like it should be 0 or 1. Try to >> > toggle it and see what happens - after all, it can not get worse ;). >> >> Might be worth looking at files fanX_min, _max and _safe too. Too bad >> there doesn't seem to be any documentation available for all these >> non-standard attributes :( >> > Here is some info from the web about the problem. See > http://ubuntuforums.org/archive/index.php/t-981280.html. > > So, for those that have reported high temperatures due to low fan > speeds: check the value of > > cat /sys/devices/platform/applesmc.768/fan1_manual It is zero already: $ cat /sys/devices/platform/applesmc.768/fan1_manual 0 /Lars > With no software control of the fans, which is the case with the > macbooks (fancontrol and pwmconfig does not work), the fan speed seems > to be controlled automatically by the SMC without issues - but only if > fan1_manual is zero. > > Guenter > > > _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan @ 2011-11-04 10:46 ` lars nooden 0 siblings, 0 replies; 33+ messages in thread From: lars nooden @ 2011-11-04 10:46 UTC (permalink / raw) To: guenter.roeck Cc: Jean Delvare, Henrik Rydberg, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org On 11/3/11, Guenter Roeck <guenter.roeck@ericsson.com> wrote: > On Thu, 2011-11-03 at 12:43 -0400, Jean Delvare wrote: >> On Thu, 3 Nov 2011 08:32:02 -0700, Guenter Roeck wrote: >> > On Thu, 2011-11-03 at 11:19 -0400, Lars Noodén wrote: >> > > I can set the fan speed manually. e.g.: >> > > >> > > echo 3500 > /sys/class/hwmon/hwmon0/device/fan1_output >> > > >> > > That helps some. >> > > >> > If you can do that, you should be able to set up fancontrol to >> > automatically control fan speed based on system temperatures. >> >> This won't work, as fancontrol wants pwmX attributes which the applesmc >> driver doesn't implement. >> > Yes, you are right - it won't work without patching it to use > fanX_output and to accept larger values for the limits. > > Wonder how this works for other Apple systems. Maybe there is an > Apple-specific script out there to control fan speed. > >> > There is another sysfs attribute - fanX_manual. I don't find driver >> > documentation, so I have no idea what it is doing. The name indicates >> > that it might set manual vs. automatic fan control. What is it set to in >> > your system ? From the code, looks like it should be 0 or 1. Try to >> > toggle it and see what happens - after all, it can not get worse ;). >> >> Might be worth looking at files fanX_min, _max and _safe too. Too bad >> there doesn't seem to be any documentation available for all these >> non-standard attributes :( >> > Here is some info from the web about the problem. See > http://ubuntuforums.org/archive/index.php/t-981280.html. > > So, for those that have reported high temperatures due to low fan > speeds: check the value of > > cat /sys/devices/platform/applesmc.768/fan1_manual It is zero already: $ cat /sys/devices/platform/applesmc.768/fan1_manual 0 /Lars > With no software control of the fans, which is the case with the > macbooks (fancontrol and pwmconfig does not work), the fan speed seems > to be controlled automatically by the SMC without issues - but only if > fan1_manual is zero. > > Guenter > > > ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-03 15:19 ` Lars Noodén @ 2011-11-03 17:46 ` Henrik Rydberg -1 siblings, 0 replies; 33+ messages in thread From: Henrik Rydberg @ 2011-11-03 17:46 UTC (permalink / raw) To: Lars Noodén Cc: guenter.roeck, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org On Thu, Nov 03, 2011 at 05:19:25PM +0200, Lars Noodén wrote: > On 11/03/2011 05:06 PM, Guenter Roeck wrote: > > On Thu, 2011-11-03 at 10:25 -0400, Lars Noodén wrote: > [snip] > >> The one machine reports one fan and the other two fans. I haven't found > >> a way to set the fan speed manually. The output from sensors > >> is > >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/44 > >> and here > >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/47 > > > > Do the fans actually turn, or is the output bogus ? > > The output is bogus, the fans are not turning. On #47 there above, I > think the temperatures might be inaccurate, too. Since they'll go up > and down as much as 8 degrees in a few seconds. > > > You should be able to set the fan speed by writing into the fanX_input > > and/or fanX_output sysfs attributes. You find those > > in /sys/class/hwmon/hwmon0/device (assuming there is only one hwmon > > device). > > I can set the fan speed manually. e.g.: > > echo 3500 > /sys/class/hwmon/hwmon0/device/fan1_output > > That helps some. I am confused. From what I gather, the fans work, and it should be possible to run the macfanctld daemon (not fancontrol) to tune the fans. If there really is a problem with the applesmc, following http://ubuntuforums.org/showthread.php?t=924096 is a good idea. However, the root problem is most likely the GPU consuming too much power. Depending on the exact laptop model, there may or may not be a viable workaround. If you model is very new, there is most likely and active thread about it on the ubuntu forums. After checking around on the forums, if you find that this is still a fan or temperature sensor problem, and not a GPU problem, then please restate the problem as exactly as you can. Thanks. Henrik _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Hardware running hot and without the fan @ 2011-11-03 17:46 ` Henrik Rydberg 0 siblings, 0 replies; 33+ messages in thread From: Henrik Rydberg @ 2011-11-03 17:46 UTC (permalink / raw) To: Lars Noodén Cc: guenter.roeck, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org On Thu, Nov 03, 2011 at 05:19:25PM +0200, Lars Noodén wrote: > On 11/03/2011 05:06 PM, Guenter Roeck wrote: > > On Thu, 2011-11-03 at 10:25 -0400, Lars Noodén wrote: > [snip] > >> The one machine reports one fan and the other two fans. I haven't found > >> a way to set the fan speed manually. The output from sensors > >> is > >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/44 > >> and here > >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/47 > > > > Do the fans actually turn, or is the output bogus ? > > The output is bogus, the fans are not turning. On #47 there above, I > think the temperatures might be inaccurate, too. Since they'll go up > and down as much as 8 degrees in a few seconds. > > > You should be able to set the fan speed by writing into the fanX_input > > and/or fanX_output sysfs attributes. You find those > > in /sys/class/hwmon/hwmon0/device (assuming there is only one hwmon > > device). > > I can set the fan speed manually. e.g.: > > echo 3500 > /sys/class/hwmon/hwmon0/device/fan1_output > > That helps some. I am confused. >From what I gather, the fans work, and it should be possible to run the macfanctld daemon (not fancontrol) to tune the fans. If there really is a problem with the applesmc, following http://ubuntuforums.org/showthread.php?t=924096 is a good idea. However, the root problem is most likely the GPU consuming too much power. Depending on the exact laptop model, there may or may not be a viable workaround. If you model is very new, there is most likely and active thread about it on the ubuntu forums. After checking around on the forums, if you find that this is still a fan or temperature sensor problem, and not a GPU problem, then please restate the problem as exactly as you can. Thanks. Henrik ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-03 17:46 ` Henrik Rydberg @ 2011-11-04 10:27 ` Lars Noodén -1 siblings, 0 replies; 33+ messages in thread From: Lars Noodén @ 2011-11-04 10:27 UTC (permalink / raw) To: Henrik Rydberg Cc: guenter.roeck, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org On 11/3/11 7:46 PM, Henrik Rydberg wrote: > On Thu, Nov 03, 2011 at 05:19:25PM +0200, Lars Noodén wrote: >> On 11/03/2011 05:06 PM, Guenter Roeck wrote: >>> On Thu, 2011-11-03 at 10:25 -0400, Lars Noodén wrote: >> [snip] >>>> The one machine reports one fan and the other two fans. I haven't found >>>> a way to set the fan speed manually. The output from sensors >>>> is >>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/44 >>>> and here >>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/47 >>> >>> Do the fans actually turn, or is the output bogus ? >> >> The output is bogus, the fans are not turning. On #47 there above, I >> think the temperatures might be inaccurate, too. Since they'll go up >> and down as much as 8 degrees in a few seconds. >> >>> You should be able to set the fan speed by writing into the fanX_input >>> and/or fanX_output sysfs attributes. You find those >>> in /sys/class/hwmon/hwmon0/device (assuming there is only one hwmon >>> device). >> >> I can set the fan speed manually. e.g.: >> >> echo 3500 > /sys/class/hwmon/hwmon0/device/fan1_output >> >> That helps some. > > I am confused. > > From what I gather, the fans work, and it should be possible to run > the macfanctld daemon (not fancontrol) to tune the fans. On the note book, one fan works with manual control only. If there is a second fan, it cannot be turned on manually. On the mini, there are no fan devices listed in /sys/class/hwmon/hwmon0/device/ > If there really is a problem with the applesmc, following > http://ubuntuforums.org/showthread.php?t=924096 is a good idea. > > However, the root problem is most likely the GPU consuming too much > power. Depending on the exact laptop model, there may or may not be a > viable workaround. If you model is very new, there is most likely and > active thread about it on the ubuntu forums. Not that I've been able to find and an attempt at starting a new thread has no response. > After checking around on the forums, if you find that this is still a > fan or temperature sensor problem, and not a GPU problem, then please > restate the problem as exactly as you can. I think there are two problems. One is the GPU or some other part running hot. The other is the sensors/fans issue: the fans don't turn on even when the system is hot. Both problems are evident on two different models of hardware, the notebook is a MacBookPro8,2 and the desktop is a Macmini3,1. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 /Lars _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Hardware running hot and without the fan @ 2011-11-04 10:27 ` Lars Noodén 0 siblings, 0 replies; 33+ messages in thread From: Lars Noodén @ 2011-11-04 10:27 UTC (permalink / raw) To: Henrik Rydberg Cc: guenter.roeck, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org On 11/3/11 7:46 PM, Henrik Rydberg wrote: > On Thu, Nov 03, 2011 at 05:19:25PM +0200, Lars Noodén wrote: >> On 11/03/2011 05:06 PM, Guenter Roeck wrote: >>> On Thu, 2011-11-03 at 10:25 -0400, Lars Noodén wrote: >> [snip] >>>> The one machine reports one fan and the other two fans. I haven't found >>>> a way to set the fan speed manually. The output from sensors >>>> is >>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/44 >>>> and here >>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593/comments/47 >>> >>> Do the fans actually turn, or is the output bogus ? >> >> The output is bogus, the fans are not turning. On #47 there above, I >> think the temperatures might be inaccurate, too. Since they'll go up >> and down as much as 8 degrees in a few seconds. >> >>> You should be able to set the fan speed by writing into the fanX_input >>> and/or fanX_output sysfs attributes. You find those >>> in /sys/class/hwmon/hwmon0/device (assuming there is only one hwmon >>> device). >> >> I can set the fan speed manually. e.g.: >> >> echo 3500 > /sys/class/hwmon/hwmon0/device/fan1_output >> >> That helps some. > > I am confused. > > From what I gather, the fans work, and it should be possible to run > the macfanctld daemon (not fancontrol) to tune the fans. On the note book, one fan works with manual control only. If there is a second fan, it cannot be turned on manually. On the mini, there are no fan devices listed in /sys/class/hwmon/hwmon0/device/ > If there really is a problem with the applesmc, following > http://ubuntuforums.org/showthread.php?t=924096 is a good idea. > > However, the root problem is most likely the GPU consuming too much > power. Depending on the exact laptop model, there may or may not be a > viable workaround. If you model is very new, there is most likely and > active thread about it on the ubuntu forums. Not that I've been able to find and an attempt at starting a new thread has no response. > After checking around on the forums, if you find that this is still a > fan or temperature sensor problem, and not a GPU problem, then please > restate the problem as exactly as you can. I think there are two problems. One is the GPU or some other part running hot. The other is the sensors/fans issue: the fans don't turn on even when the system is hot. Both problems are evident on two different models of hardware, the notebook is a MacBookPro8,2 and the desktop is a Macmini3,1. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 /Lars ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-04 10:27 ` Lars Noodén @ 2011-11-07 17:18 ` Matthew Garrett -1 siblings, 0 replies; 33+ messages in thread From: Matthew Garrett @ 2011-11-07 17:18 UTC (permalink / raw) To: Lars Noodén Cc: Henrik Rydberg, guenter.roeck, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org On Fri, Nov 04, 2011 at 12:27:33PM +0200, Lars Noodén wrote: > I think there are two problems. One is the GPU or some other part > running hot. The other is the sensors/fans issue: the fans don't turn > on even when the system is hot. Both problems are evident on two > different models of hardware, the notebook is a MacBookPro8,2 and the > desktop is a Macmini3,1. Fan control is under the control of the SMC. If fans aren't working then either we're supposed to be feeding data into the SMC or there's a hardware problem of some description. -- Matthew Garrett | mjg59@srcf.ucam.org _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Hardware running hot and without the fan @ 2011-11-07 17:18 ` Matthew Garrett 0 siblings, 0 replies; 33+ messages in thread From: Matthew Garrett @ 2011-11-07 17:18 UTC (permalink / raw) To: Lars Noodén Cc: Henrik Rydberg, guenter.roeck, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org On Fri, Nov 04, 2011 at 12:27:33PM +0200, Lars Noodén wrote: > I think there are two problems. One is the GPU or some other part > running hot. The other is the sensors/fans issue: the fans don't turn > on even when the system is hot. Both problems are evident on two > different models of hardware, the notebook is a MacBookPro8,2 and the > desktop is a Macmini3,1. Fan control is under the control of the SMC. If fans aren't working then either we're supposed to be feeding data into the SMC or there's a hardware problem of some description. -- Matthew Garrett | mjg59@srcf.ucam.org ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-03 17:46 ` Henrik Rydberg @ 2011-11-07 12:13 ` Lars Noodén -1 siblings, 0 replies; 33+ messages in thread From: Lars Noodén @ 2011-11-07 12:13 UTC (permalink / raw) To: Henrik Rydberg Cc: guenter.roeck, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org On 11/3/11 7:46 PM, Henrik Rydberg wrote: [snip] > I am confused. > > From what I gather, the fans work, and it should be possible to run > the macfanctld daemon (not fancontrol) to tune the fans. > > If there really is a problem with the applesmc, following > http://ubuntuforums.org/showthread.php?t’4096 is a good idea. > > However, the root problem is most likely the GPU consuming too much > power. Depending on the exact laptop model, there may or may not be a > viable workaround. If you model is very new, there is most likely and > active thread about it on the ubuntu forums. Not that I could find, at least not useful ones. Starting a new thread gained no results. > After checking around on the forums, if you find that this is still a > fan or temperature sensor problem, and not a GPU problem, then please > restate the problem as exactly as you can. Can it be both a fan / sensor / GPU problem? To restate the symptoms: - the hardware runs hot in Linux, the same hardware runs cool in OS X - the fan(s) do not run automatically when the machines get hot - the fan(s) can be controlled manually - the temperatures from /usr/bin/sensors on the notebook seem suspiciously low The kernels are - 3.1.0-999-generic #201111070407 SMP Mon Nov 7 09:08:05 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux - 3.1.0-2-generic #3-Ubuntu SMP Fri Oct 28 20:28:07 UTC 2011 i686 i686 i386 GNU/Linux Output from apport can be found in Launchpad: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 The notebook is a MacBookPro8,2 and the desktop is a Macmini3,1 How should I split the problem up and where should I pursue their resolution? /Lars _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Hardware running hot and without the fan @ 2011-11-07 12:13 ` Lars Noodén 0 siblings, 0 replies; 33+ messages in thread From: Lars Noodén @ 2011-11-07 12:13 UTC (permalink / raw) To: Henrik Rydberg Cc: guenter.roeck, linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org On 11/3/11 7:46 PM, Henrik Rydberg wrote: [snip] > I am confused. > > From what I gather, the fans work, and it should be possible to run > the macfanctld daemon (not fancontrol) to tune the fans. > > If there really is a problem with the applesmc, following > http://ubuntuforums.org/showthread.php?t=924096 is a good idea. > > However, the root problem is most likely the GPU consuming too much > power. Depending on the exact laptop model, there may or may not be a > viable workaround. If you model is very new, there is most likely and > active thread about it on the ubuntu forums. Not that I could find, at least not useful ones. Starting a new thread gained no results. > After checking around on the forums, if you find that this is still a > fan or temperature sensor problem, and not a GPU problem, then please > restate the problem as exactly as you can. Can it be both a fan / sensor / GPU problem? To restate the symptoms: - the hardware runs hot in Linux, the same hardware runs cool in OS X - the fan(s) do not run automatically when the machines get hot - the fan(s) can be controlled manually - the temperatures from /usr/bin/sensors on the notebook seem suspiciously low The kernels are - 3.1.0-999-generic #201111070407 SMP Mon Nov 7 09:08:05 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux - 3.1.0-2-generic #3-Ubuntu SMP Fri Oct 28 20:28:07 UTC 2011 i686 i686 i386 GNU/Linux Output from apport can be found in Launchpad: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/881593 The notebook is a MacBookPro8,2 and the desktop is a Macmini3,1 How should I split the problem up and where should I pursue their resolution? /Lars ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan 2011-11-03 15:06 ` Guenter Roeck @ 2011-11-03 16:38 ` Jean Delvare -1 siblings, 0 replies; 33+ messages in thread From: Jean Delvare @ 2011-11-03 16:38 UTC (permalink / raw) To: guenter.roeck; +Cc: Lars Noodén, Henrik Rydberg, linux-kernel, lm-sensors On Thu, 3 Nov 2011 08:06:41 -0700, Guenter Roeck wrote: > You should be able to set the fan speed by writing into the fanX_input > and/or fanX_output sysfs attributes. You find those > in /sys/class/hwmon/hwmon0/device (assuming there is only one hwmon > device). Note that fanX_input is always a read-only file, so writing to it isn't going to do anything. fanX_output is not a standard attribute for hwmon devices, it shouldn't be there in the first place... The applesmc driver doesn't see to follow the standard interface, so it's probably best to not assume too much. -- Jean Delvare _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [lm-sensors] Hardware running hot and without the fan @ 2011-11-03 16:38 ` Jean Delvare 0 siblings, 0 replies; 33+ messages in thread From: Jean Delvare @ 2011-11-03 16:38 UTC (permalink / raw) To: guenter.roeck; +Cc: Lars Noodén, Henrik Rydberg, linux-kernel, lm-sensors On Thu, 3 Nov 2011 08:06:41 -0700, Guenter Roeck wrote: > You should be able to set the fan speed by writing into the fanX_input > and/or fanX_output sysfs attributes. You find those > in /sys/class/hwmon/hwmon0/device (assuming there is only one hwmon > device). Note that fanX_input is always a read-only file, so writing to it isn't going to do anything. fanX_output is not a standard attribute for hwmon devices, it shouldn't be there in the first place... The applesmc driver doesn't see to follow the standard interface, so it's probably best to not assume too much. -- Jean Delvare ^ permalink raw reply [flat|nested] 33+ messages in thread
end of thread, other threads:[~2011-11-07 17:18 UTC | newest] Thread overview: 33+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-11-02 9:42 Hardware running hot and without the fan Lars Noodén 2011-11-03 2:03 ` [lm-sensors] " Guenter Roeck 2011-11-03 2:03 ` Guenter Roeck 2011-11-03 8:29 ` [lm-sensors] " Lars Noodén 2011-11-03 8:29 ` Lars Noodén 2011-11-03 13:49 ` [lm-sensors] " Guenter Roeck 2011-11-03 13:49 ` Guenter Roeck 2011-11-03 14:25 ` [lm-sensors] " Lars Noodén 2011-11-03 14:25 ` Lars Noodén 2011-11-03 15:06 ` [lm-sensors] " Guenter Roeck 2011-11-03 15:06 ` Guenter Roeck 2011-11-03 15:19 ` [lm-sensors] " Lars Noodén 2011-11-03 15:19 ` Lars Noodén 2011-11-03 15:32 ` [lm-sensors] " Guenter Roeck 2011-11-03 15:32 ` Guenter Roeck 2011-11-03 16:43 ` [lm-sensors] " Jean Delvare 2011-11-03 16:43 ` Jean Delvare 2011-11-03 16:55 ` Guenter Roeck 2011-11-03 16:55 ` Guenter Roeck 2011-11-03 17:04 ` Guenter Roeck 2011-11-03 17:04 ` Guenter Roeck 2011-11-04 10:46 ` lars nooden 2011-11-04 10:46 ` lars nooden 2011-11-03 17:46 ` Henrik Rydberg 2011-11-03 17:46 ` Henrik Rydberg 2011-11-04 10:27 ` [lm-sensors] " Lars Noodén 2011-11-04 10:27 ` Lars Noodén 2011-11-07 17:18 ` [lm-sensors] " Matthew Garrett 2011-11-07 17:18 ` Matthew Garrett 2011-11-07 12:13 ` [lm-sensors] " Lars Noodén 2011-11-07 12:13 ` Lars Noodén 2011-11-03 16:38 ` [lm-sensors] " Jean Delvare 2011-11-03 16:38 ` 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.