Bug 4972 - thermal polling frequency debug info needs divide by 10
Summary: thermal polling frequency debug info needs divide by 10
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Thermal (show other bugs)
Hardware: i386 Linux
: P2 low
Assignee: Konstantin Karasyov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-30 13:55 UTC by Sanjoy Mahajan
Modified: 2007-03-07 22:51 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.13-rc4
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
Convert deciseconds to seconds for debug output (520 bytes, patch)
2005-07-30 13:59 UTC, Sanjoy Mahajan
Details | Diff

Description Sanjoy Mahajan 2005-07-30 13:55:23 UTC
Distribution: Debian testing
Hardware Environment: TP 600X
Software Environment:
Problem Description: Two of the thermal.c debugging infos forget to divide the
polling_frequency by 10 to convert to seconds.  Patch attached.

Steps to reproduce:

Turn on some acpi debugging, e.g. echo 0x1F > /proc/acpi/debug_level
Change polling frequency, e.g.

  echo 10 > /proc/acpi/thermal_zone/THM2/polling_frequency

You'll see 100 seconds instead of 10 seconds given in the syslog:

  acpi_thermal-0271 [15] acpi_thermal_set_polli: Polling frequency set to 100
seconds
Comment 1 Sanjoy Mahajan 2005-07-30 13:59:35 UTC
Created attachment 5428 [details]
Convert deciseconds to seconds for debug output
Comment 2 Len Brown 2007-02-15 22:25:04 UTC
applied to acpi-test
Comment 3 Len Brown 2007-03-07 22:51:38 UTC
shipped in 2.6.21-rc1
closed

Note You need to log in before you can comment on or make changes to this bug.