* [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver
@ 2014-03-21 0:22 Lu, Baolu
2014-03-24 4:15 ` [lm-sensors] " Guenter Roeck
0 siblings, 1 reply; 9+ messages in thread
From: Lu, Baolu @ 2014-03-21 0:22 UTC (permalink / raw)
To: linux-acpi; +Cc: linux-kernel
Hi,
I booted Ubuntu13.10 onto ASUS T100 Tablet and upgraded it with upstream
kernel (3.14.0-rc7+). There is a thermal device under
/sys/devices/platform/asus-nb-wmi.
root@t100:~/linux# tree /sys/class/hwmon/
/sys/class/hwmon/
├── hwmon0 -> ../../devices/platform/coretemp.0/hwmon/hwmon0
└── hwmon1 -> ../../devices/platform/asus-nb-wmi/hwmon/hwmon1
root@t100:/sys/devices/platform/asus-nb-wmi# ls
cpufv driver hwmon input modalias power subsystem uevent
root@t100:~/linux# sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +38.0°C (high = +90.0°C, crit = +90.0°C)
Core 1: +38.0°C (high = +90.0°C, crit = +90.0°C)
Core 2: +39.0°C (high = +90.0°C, crit = +90.0°C)
Core 3: +38.0°C (high = +90.0°C, crit = +90.0°C)
asus-isa-0000
Adapter: ISA adapter
temp1: +6280.0°C
I didn't get any information about thermal interface in
"Documentation/ABI/testing/sysfs-platform-asus-wmi". Is this a thermal
sensor? If it's the fact, how can I change the environment so that this
sensor gives me variable data?
Thanks,
baolu
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver
2014-03-21 0:22 [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver Lu, Baolu
2014-03-24 4:15 ` [lm-sensors] " Guenter Roeck
@ 2014-03-24 4:15 ` Guenter Roeck
0 siblings, 0 replies; 9+ messages in thread
From: Guenter Roeck @ 2014-03-24 4:15 UTC (permalink / raw)
To: Lu, Baolu, linux-acpi; +Cc: linux-kernel, LM Sensors
On 03/20/2014 05:22 PM, Lu, Baolu wrote:
> Hi,
>
> I booted Ubuntu13.10 onto ASUS T100 Tablet and upgraded it with upstream
> kernel (3.14.0-rc7+). There is a thermal device under
> /sys/devices/platform/asus-nb-wmi.
>
> root@t100:~/linux# tree /sys/class/hwmon/
> /sys/class/hwmon/
> ├── hwmon0 -> ../../devices/platform/coretemp.0/hwmon/hwmon0
> └── hwmon1 -> ../../devices/platform/asus-nb-wmi/hwmon/hwmon1
>
> root@t100:/sys/devices/platform/asus-nb-wmi# ls
> cpufv driver hwmon input modalias power subsystem uevent
>
> root@t100:~/linux# sensors
> coretemp-isa-0000
> Adapter: ISA adapter
> Core 0: +38.0°C (high = +90.0°C, crit = +90.0°C)
> Core 1: +38.0°C (high = +90.0°C, crit = +90.0°C)
> Core 2: +39.0°C (high = +90.0°C, crit = +90.0°C)
> Core 3: +38.0°C (high = +90.0°C, crit = +90.0°C)
>
> asus-isa-0000
> Adapter: ISA adapter
> temp1: +6280.0°C
>
Pretty hot ;-). Not your problem, though - it looks like the temperature
is reported in Kelvin and the code converting from Kelvin to degrees C
turns out to be buggy.
> I didn't get any information about thermal interface in
> "Documentation/ABI/testing/sysfs-platform-asus-wmi". Is this a thermal
> sensor? If it's the fact, how can I change the environment so that this
> sensor gives me variable data?
>
I don't think I understand your question. Yes, this is a thermal sensor.
What is it you want to do (in addition to having it report reasonable
temperatures) ?
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [lm-sensors] [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver
@ 2014-03-24 4:15 ` Guenter Roeck
0 siblings, 0 replies; 9+ messages in thread
From: Guenter Roeck @ 2014-03-24 4:15 UTC (permalink / raw)
To: Lu, Baolu, linux-acpi; +Cc: linux-kernel, LM Sensors
T24gMDMvMjAvMjAxNCAwNToyMiBQTSwgTHUsIEJhb2x1IHdyb3RlOgo+IEhpLAo+Cj4gSSBib290
ZWQgVWJ1b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[flat|nested] 9+ messages in thread
* Re: [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver
@ 2014-03-24 4:15 ` Guenter Roeck
0 siblings, 0 replies; 9+ messages in thread
From: Guenter Roeck @ 2014-03-24 4:15 UTC (permalink / raw)
To: Lu, Baolu, linux-acpi; +Cc: linux-kernel, LM Sensors
On 03/20/2014 05:22 PM, Lu, Baolu wrote:
> Hi,
>
> I booted Ubuntu13.10 onto ASUS T100 Tablet and upgraded it with upstream
> kernel (3.14.0-rc7+). There is a thermal device under
> /sys/devices/platform/asus-nb-wmi.
>
> root@t100:~/linux# tree /sys/class/hwmon/
> /sys/class/hwmon/
> ├── hwmon0 -> ../../devices/platform/coretemp.0/hwmon/hwmon0
> └── hwmon1 -> ../../devices/platform/asus-nb-wmi/hwmon/hwmon1
>
> root@t100:/sys/devices/platform/asus-nb-wmi# ls
> cpufv driver hwmon input modalias power subsystem uevent
>
> root@t100:~/linux# sensors
> coretemp-isa-0000
> Adapter: ISA adapter
> Core 0: +38.0°C (high = +90.0°C, crit = +90.0°C)
> Core 1: +38.0°C (high = +90.0°C, crit = +90.0°C)
> Core 2: +39.0°C (high = +90.0°C, crit = +90.0°C)
> Core 3: +38.0°C (high = +90.0°C, crit = +90.0°C)
>
> asus-isa-0000
> Adapter: ISA adapter
> temp1: +6280.0°C
>
Pretty hot ;-). Not your problem, though - it looks like the temperature
is reported in Kelvin and the code converting from Kelvin to degrees C
turns out to be buggy.
> I didn't get any information about thermal interface in
> "Documentation/ABI/testing/sysfs-platform-asus-wmi". Is this a thermal
> sensor? If it's the fact, how can I change the environment so that this
> sensor gives me variable data?
>
I don't think I understand your question. Yes, this is a thermal sensor.
What is it you want to do (in addition to having it report reasonable
temperatures) ?
Guenter
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver
2014-03-24 4:15 ` [lm-sensors] " Guenter Roeck
@ 2014-03-24 7:55 ` Lu, Baolu
-1 siblings, 0 replies; 9+ messages in thread
From: Lu, Baolu @ 2014-03-24 7:55 UTC (permalink / raw)
To: Guenter Roeck, linux-acpi; +Cc: linux-kernel, LM Sensors
On 2014/3/24 12:15, Guenter Roeck wrote:
> On 03/20/2014 05:22 PM, Lu, Baolu wrote:
>> Hi,
>>
>> I booted Ubuntu13.10 onto ASUS T100 Tablet and upgraded it with upstream
>> kernel (3.14.0-rc7+). There is a thermal device under
>> /sys/devices/platform/asus-nb-wmi.
>>
>> root@t100:~/linux# tree /sys/class/hwmon/
>> /sys/class/hwmon/
>> ├── hwmon0 -> ../../devices/platform/coretemp.0/hwmon/hwmon0
>> └── hwmon1 -> ../../devices/platform/asus-nb-wmi/hwmon/hwmon1
>>
>> root@t100:/sys/devices/platform/asus-nb-wmi# ls
>> cpufv driver hwmon input modalias power subsystem uevent
>>
>> root@t100:~/linux# sensors
>> coretemp-isa-0000
>> Adapter: ISA adapter
>> Core 0: +38.0°C (high = +90.0°C, crit = +90.0°C)
>> Core 1: +38.0°C (high = +90.0°C, crit = +90.0°C)
>> Core 2: +39.0°C (high = +90.0°C, crit = +90.0°C)
>> Core 3: +38.0°C (high = +90.0°C, crit = +90.0°C)
>>
>> asus-isa-0000
>> Adapter: ISA adapter
>> temp1: +6280.0°C
>>
>
> Pretty hot ;-). Not your problem, though - it looks like the temperature
> is reported in Kelvin and the code converting from Kelvin to degrees C
> turns out to be buggy.
>
>> I didn't get any information about thermal interface in
>> "Documentation/ABI/testing/sysfs-platform-asus-wmi". Is this a thermal
>> sensor? If it's the fact, how can I change the environment so that this
>> sensor gives me variable data?
>>
>
> I don't think I understand your question. Yes, this is a thermal sensor.
> What is it you want to do (in addition to having it report reasonable
> temperatures) ?
>
> Guenter
Sorry for the confusing question. I'd like to verify whether this sensor
works. What I want to do is to make some changes so that the sensor
could give me a different temperature value other than always +6280.0°.
I have no idea about what kind of changes should I make.
For example, when I work with thermal sensors in CPU core. I can see
different temperature values at different core states (idle and busy).
[system idle]
root@t100:~# sensors
asus-isa-0000
Adapter: ISA adapter
temp1: +6280.0°C
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +39.0°C (high = +90.0°C, crit = +90.0°C)
Core 1: +39.0°C (high = +90.0°C, crit = +90.0°C)
Core 2: +39.0°C (high = +90.0°C, crit = +90.0°C)
Core 3: +39.0°C (high = +90.0°C, crit = +90.0°C)
[system busy]
root@t100:~# sensors
asus-isa-0000
Adapter: ISA adapter
temp1: +6280.0°C
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +45.0°C (high = +90.0°C, crit = +90.0°C)
Core 1: +45.0°C (high = +90.0°C, crit = +90.0°C)
Core 2: +46.0°C (high = +90.0°C, crit = +90.0°C)
Core 3: +46.0°C (high = +90.0°C, crit = +90.0°C)
Thanks,
baolu
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [lm-sensors] [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver
@ 2014-03-24 7:55 ` Lu, Baolu
0 siblings, 0 replies; 9+ messages in thread
From: Lu, Baolu @ 2014-03-24 7:55 UTC (permalink / raw)
To: Guenter Roeck, linux-acpi; +Cc: linux-kernel, LM Sensors
Ck9uIDIwMTQvMy8yNCAxMjoxNSwgR3VlbnRlciBSb2VjayB3cm90ZToKPiBPbiAwMy8yMC8yMDE0
IDA1OjIyIFBNLCBMdSwgQmFvbHUgd3JvdGU6Cj4+IEhpLAo+Pgo+PiBJIGJvb3RlZCBVYnVudHUx
My4xMCBvbnRvIEFTVVMgVDEwMCBUYWJsZXQgYW5kIHVwZ3JhZGVkIGl0IHdpdGggdXBzdHJlYW0K
Pj4ga2VybmVsICgzLjE0LjAtcmM3KykuIFRoZXJlIGlzIGEgdGhlcm1hbCBkZXZpY2UgdW5kZXIK
Pj4gL3N5cy9kZXZpY2VzL3BsYXRmb3JtL2FzdXMtbmItd21pLgo+Pgo+PiByb290QHQxMDA6fi9s
a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pCgpD
b3JlIDM6ICs0Ni4wwrBDICAoaGlnaCA9ICs5MC4wwrBDLCBjcml0ID0gKzkwLjDCsEMpCgoKClRo
YW5rcywKYmFvbHUKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X18KbG0tc2Vuc29ycyBtYWlsaW5nIGxpc3QKbG0tc2Vuc29yc0BsbS1zZW5zb3JzLm9yZwpodHRw
Oi8vbGlzdHMubG0tc2Vuc29ycy5vcmcvbWFpbG1hbi9saXN0aW5mby9sbS1zZW5zb3Jz
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver
2014-03-24 7:55 ` [lm-sensors] " Lu, Baolu
(?)
@ 2014-03-24 12:11 ` Guenter Roeck
-1 siblings, 0 replies; 9+ messages in thread
From: Guenter Roeck @ 2014-03-24 12:11 UTC (permalink / raw)
To: Lu, Baolu, linux-acpi; +Cc: linux-kernel, LM Sensors
On 03/24/2014 12:55 AM, Lu, Baolu wrote:
>
> On 2014/3/24 12:15, Guenter Roeck wrote:
>> On 03/20/2014 05:22 PM, Lu, Baolu wrote:
>>> Hi,
>>>
>>> I booted Ubuntu13.10 onto ASUS T100 Tablet and upgraded it with upstream
>>> kernel (3.14.0-rc7+). There is a thermal device under
>>> /sys/devices/platform/asus-nb-wmi.
>>>
>>> root@t100:~/linux# tree /sys/class/hwmon/
>>> /sys/class/hwmon/
>>> ├── hwmon0 -> ../../devices/platform/coretemp.0/hwmon/hwmon0
>>> └── hwmon1 -> ../../devices/platform/asus-nb-wmi/hwmon/hwmon1
>>>
>>> root@t100:/sys/devices/platform/asus-nb-wmi# ls
>>> cpufv driver hwmon input modalias power subsystem uevent
>>>
>>> root@t100:~/linux# sensors
>>> coretemp-isa-0000
>>> Adapter: ISA adapter
>>> Core 0: +38.0°C (high = +90.0°C, crit = +90.0°C)
>>> Core 1: +38.0°C (high = +90.0°C, crit = +90.0°C)
>>> Core 2: +39.0°C (high = +90.0°C, crit = +90.0°C)
>>> Core 3: +38.0°C (high = +90.0°C, crit = +90.0°C)
>>>
>>> asus-isa-0000
>>> Adapter: ISA adapter
>>> temp1: +6280.0°C
>>>
>>
>> Pretty hot ;-). Not your problem, though - it looks like the temperature
>> is reported in Kelvin and the code converting from Kelvin to degrees C
>> turns out to be buggy.
>>
>>> I didn't get any information about thermal interface in
>>> "Documentation/ABI/testing/sysfs-platform-asus-wmi". Is this a thermal
>>> sensor? If it's the fact, how can I change the environment so that this
>>> sensor gives me variable data?
>>>
>>
>> I don't think I understand your question. Yes, this is a thermal sensor.
>> What is it you want to do (in addition to having it report reasonable
>> temperatures) ?
>>
>> Guenter
>
> Sorry for the confusing question. I'd like to verify whether this sensor works. What I want to do is to make some changes so that the sensor could give me a different temperature value other than always +6280.0°. I have no idea about what kind of changes should I make.
>
Difficult to say, since we don't really know what temperature is measured.
You could try checking the BIOS to find out which temperatures in addition
to the CPU temperature are measured in your system.
As mentioned before, there is a bug in the kernel which makes it hard to determine
if there was a change in the first place. I submitted a patch to address that.
http://www.spinics.net/lists/kernel/msg1711403.html
Even then we don't know yet if the reported temperature is realistic in the
first place; unless the code I fixed with the patch above was introduced
recently this can never have reported reasonable values to start with.
Two options you have is to put load onto the CPU, and to put load onto
the graphics subsystem. Both should result in temperature changes.
But either case you'll have to have the patch above applied.
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [lm-sensors] [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver
@ 2014-03-24 12:11 ` Guenter Roeck
0 siblings, 0 replies; 9+ messages in thread
From: Guenter Roeck @ 2014-03-24 12:11 UTC (permalink / raw)
To: Lu, Baolu, linux-acpi; +Cc: linux-kernel, LM Sensors
T24gMDMvMjQvMjAxNCAxMjo1NSBBTSwgTHUsIEJhb2x1IHdyb3RlOgo+Cj4g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pZiB0aGUgcmVwb3J0ZWQgdGVtcGVyYXR1
cmUgaXMgcmVhbGlzdGljIGluIHRoZQpmaXJzdCBwbGFjZTsgdW5sZXNzIHRoZSBjb2RlIEkgZml4
ZWQgd2l0aCB0aGUgcGF0Y2ggYWJvdmUgd2FzIGludHJvZHVjZWQKcmVjZW50bHkgdGhpcyBjYW4g
bmV2ZXIgaGF2ZSByZXBvcnRlZCByZWFzb25hYmxlIHZhbHVlcyB0byBzdGFydCB3aXRoLgoKVHdv
IG9wdGlvbnMgeW91IGhhdmUgaXMgdG8gcHV0IGxvYWQgb250byB0aGUgQ1BVLCBhbmQgdG8gcHV0
IGxvYWQgb250bwp0aGUgZ3JhcGhpY3Mgc3Vic3lzdGVtLiBCb3RoIHNob3VsZCByZXN1bHQgaW4g
dGVtcGVyYXR1cmUgY2hhbmdlcy4KQnV0IGVpdGhlciBjYXNlIHlvdSdsbCBoYXZlIHRvIGhhdmUg
dGhlIHBhdGNoIGFib3ZlIGFwcGxpZWQuCgpHdWVudGVyCgoKX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX18KbG0tc2Vuc29ycyBtYWlsaW5nIGxpc3QKbG0tc2Vu
c29yc0BsbS1zZW5zb3JzLm9yZwpodHRwOi8vbGlzdHMubG0tc2Vuc29ycy5vcmcvbWFpbG1hbi9s
aXN0aW5mby9sbS1zZW5zb3Jz
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver
@ 2014-03-24 12:11 ` Guenter Roeck
0 siblings, 0 replies; 9+ messages in thread
From: Guenter Roeck @ 2014-03-24 12:11 UTC (permalink / raw)
To: Lu, Baolu, linux-acpi; +Cc: linux-kernel, LM Sensors
On 03/24/2014 12:55 AM, Lu, Baolu wrote:
>
> On 2014/3/24 12:15, Guenter Roeck wrote:
>> On 03/20/2014 05:22 PM, Lu, Baolu wrote:
>>> Hi,
>>>
>>> I booted Ubuntu13.10 onto ASUS T100 Tablet and upgraded it with upstream
>>> kernel (3.14.0-rc7+). There is a thermal device under
>>> /sys/devices/platform/asus-nb-wmi.
>>>
>>> root@t100:~/linux# tree /sys/class/hwmon/
>>> /sys/class/hwmon/
>>> ├── hwmon0 -> ../../devices/platform/coretemp.0/hwmon/hwmon0
>>> └── hwmon1 -> ../../devices/platform/asus-nb-wmi/hwmon/hwmon1
>>>
>>> root@t100:/sys/devices/platform/asus-nb-wmi# ls
>>> cpufv driver hwmon input modalias power subsystem uevent
>>>
>>> root@t100:~/linux# sensors
>>> coretemp-isa-0000
>>> Adapter: ISA adapter
>>> Core 0: +38.0°C (high = +90.0°C, crit = +90.0°C)
>>> Core 1: +38.0°C (high = +90.0°C, crit = +90.0°C)
>>> Core 2: +39.0°C (high = +90.0°C, crit = +90.0°C)
>>> Core 3: +38.0°C (high = +90.0°C, crit = +90.0°C)
>>>
>>> asus-isa-0000
>>> Adapter: ISA adapter
>>> temp1: +6280.0°C
>>>
>>
>> Pretty hot ;-). Not your problem, though - it looks like the temperature
>> is reported in Kelvin and the code converting from Kelvin to degrees C
>> turns out to be buggy.
>>
>>> I didn't get any information about thermal interface in
>>> "Documentation/ABI/testing/sysfs-platform-asus-wmi". Is this a thermal
>>> sensor? If it's the fact, how can I change the environment so that this
>>> sensor gives me variable data?
>>>
>>
>> I don't think I understand your question. Yes, this is a thermal sensor.
>> What is it you want to do (in addition to having it report reasonable
>> temperatures) ?
>>
>> Guenter
>
> Sorry for the confusing question. I'd like to verify whether this sensor works. What I want to do is to make some changes so that the sensor could give me a different temperature value other than always +6280.0°. I have no idea about what kind of changes should I make.
>
Difficult to say, since we don't really know what temperature is measured.
You could try checking the BIOS to find out which temperatures in addition
to the CPU temperature are measured in your system.
As mentioned before, there is a bug in the kernel which makes it hard to determine
if there was a change in the first place. I submitted a patch to address that.
http://www.spinics.net/lists/kernel/msg1711403.html
Even then we don't know yet if the reported temperature is realistic in the
first place; unless the code I fixed with the patch above was introduced
recently this can never have reported reasonable values to start with.
Two options you have is to put load onto the CPU, and to put load onto
the graphics subsystem. Both should result in temperature changes.
But either case you'll have to have the patch above applied.
Guenter
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-03-24 12:11 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-21 0:22 [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver Lu, Baolu
2014-03-24 4:15 ` Guenter Roeck
2014-03-24 4:15 ` Guenter Roeck
2014-03-24 4:15 ` [lm-sensors] " Guenter Roeck
2014-03-24 7:55 ` Lu, Baolu
2014-03-24 7:55 ` [lm-sensors] " Lu, Baolu
2014-03-24 12:11 ` Guenter Roeck
2014-03-24 12:11 ` Guenter Roeck
2014-03-24 12:11 ` [lm-sensors] " Guenter Roeck
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.