All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: "Lu, Baolu" <baolu.lu@linux.intel.com>, linux-acpi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, LM Sensors <lm-sensors@lm-sensors.org>
Subject: Re: [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver
Date: Sun, 23 Mar 2014 21:15:16 -0700	[thread overview]
Message-ID: <532FB154.6020608@roeck-us.net> (raw)
In-Reply-To: <532B8630.8030607@linux.intel.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Guenter Roeck <linux@roeck-us.net>
To: "Lu, Baolu" <baolu.lu@linux.intel.com>, linux-acpi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, LM Sensors <lm-sensors@lm-sensors.org>
Subject: Re: [lm-sensors] [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver
Date: Mon, 24 Mar 2014 04:15:16 +0000	[thread overview]
Message-ID: <532FB154.6020608@roeck-us.net> (raw)
In-Reply-To: <532B8630.8030607@linux.intel.com>

T24gMDMvMjAvMjAxNCAwNToyMiBQTSwgTHUsIEJhb2x1IHdyb3RlOgo+IEhpLAo+Cj4gSSBib290
ZWQgVWJ1bnR1MTMuMTAgb250byBBU1VTIFQxMDAgVGFibGV0IGFuZCB1cGdyYWRlZCBpdCB3aXRo
IHVwc3RyZWFtCj4ga2VybmVsICgzLjE0LjAtcmM3KykuIFRoZXJlIGlzIGEgdGhlcm1hbCBkZXZp
Y2UgdW5kZXIKPiAvc3lzL2RldmljZXMvcGxhdGZvcm0vYXN1cy1uYi13bWkuCj4KPiByb290QHQx
MDA6fi9saW51eCMgdHJlZSAvc3lzL2NsYXNzL2h3bW9uLwo+IC9zeXMvY2xhc3MvaHdtb24vCj4g
4pSc4pSA4pSAIGh3bW9uMCAtPiAuLi8uLi9kZXZpY2VzL3BsYXRmb3JtL2NvcmV0ZW1wLjAvaHdt
b24vaHdtb24wCj4g4pSU4pSA4pSAIGh3bW9uMSAtPiAuLi8uLi9kZXZpY2VzL3BsYXRmb3JtL2Fz
dXMtbmItd21pL2h3bW9uL2h3bW9uMQo+Cj4gcm9vdEB0MTAwOi9zeXMvZGV2aWNlcy9wbGF0Zm9y
bS9hc3VzLW5iLXdtaSMgbHMKPiBjcHVmdiBkcml2ZXIgaHdtb24gaW5wdXQgbW9kYWxpYXMgcG93
ZXIgc3Vic3lzdGVtIHVldmVudAo+Cj4gcm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VuZGVyc3RhbmQgeW91ciBxdWVzdGlvbi4gWWVzLCB0aGlzIGlzIGEgdGhlcm1hbCBzZW5zb3Iu
CldoYXQgaXMgaXQgeW91IHdhbnQgdG8gZG8gKGluIGFkZGl0aW9uIHRvIGhhdmluZyBpdCByZXBv
cnQgcmVhc29uYWJsZQp0ZW1wZXJhdHVyZXMpID8KCkd1ZW50ZXIKCgpfX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpsbS1zZW5zb3JzIG1haWxpbmcgbGlzdAps
bS1zZW5zb3JzQGxtLXNlbnNvcnMub3JnCmh0dHA6Ly9saXN0cy5sbS1zZW5zb3JzLm9yZy9tYWls
bWFuL2xpc3RpbmZvL2xtLXNlbnNvcnM

WARNING: multiple messages have this Message-ID (diff)
From: Guenter Roeck <linux@roeck-us.net>
To: "Lu, Baolu" <baolu.lu@linux.intel.com>, linux-acpi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, LM Sensors <lm-sensors@lm-sensors.org>
Subject: Re: [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver
Date: Sun, 23 Mar 2014 21:15:16 -0700	[thread overview]
Message-ID: <532FB154.6020608@roeck-us.net> (raw)
In-Reply-To: <532B8630.8030607@linux.intel.com>

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


  reply	other threads:[~2014-03-24  4:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=532FB154.6020608@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=baolu.lu@linux.intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm-sensors@lm-sensors.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.