--- drivers/thermal/thermal_sys.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6/drivers/thermal/thermal_sys.c =================================================================== --- linux-2.6.orig/drivers/thermal/thermal_sys.c +++ linux-2.6/drivers/thermal/thermal_sys.c @@ -966,6 +966,8 @@ void thermal_zone_device_update(struct t "%d\n", tz->id); goto leave; } + printk("Rui: Current temperature: %d\n", temp); + dump_stack(); for (count = 0; count < tz->trips; count++) { tz->ops->get_trip_type(tz, count, &trip_type); @@ -997,7 +999,7 @@ void thermal_zone_device_update(struct t continue; cdev = instance->cdev; - + printk("Rui: Active : cdev %s%d, temperature %lu, trip_temp %lu\n", cdev->type, cdev->id, temp, trip_temp); if (temp >= trip_temp) cdev->ops->set_cur_state(cdev, 1); else