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@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors