public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver
@ 2014-03-21  0:22 Lu, Baolu
  2014-03-24  4:15 ` Guenter Roeck
  0 siblings, 1 reply; 3+ 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] 3+ 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 ` Guenter Roeck
       [not found]   ` <532FE50F.8090909@linux.intel.com>
  0 siblings, 1 reply; 3+ 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] 3+ messages in thread

* Re: [asus-nb-wmi] thermal device detected by asus-nb-wmi platform driver
       [not found]   ` <532FE50F.8090909@linux.intel.com>
@ 2014-03-24 12:11     ` Guenter Roeck
  0 siblings, 0 replies; 3+ 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] 3+ messages in thread

end of thread, other threads:[~2014-03-24 12:11 UTC | newest]

Thread overview: 3+ 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
     [not found]   ` <532FE50F.8090909@linux.intel.com>
2014-03-24 12:11     ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox