Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 291337 Details for
Bug 360009
sys-power/phctool-0.5.2.2-r1 can't find throttling infos with kernel 2.6.38
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for sys-power/phctool-0.5.2.2-r1
phctool_patch (text/plain), 919 bytes, created by
Fabio Veronese
on 2011-10-31 08:24:04 UTC
(
hide
)
Description:
Patch for sys-power/phctool-0.5.2.2-r1
Filename:
MIME Type:
Creator:
Fabio Veronese
Created:
2011-10-31 08:24:04 UTC
Size:
919 bytes
patch
obsolete
>--- cpuinfo.py 2011-10-31 09:16:44.000000000 +0100 >+++ cpuinfo.py.new 2011-03-22 22:54:40.205769317 +0100 >@@ -1,6 +1,7 @@ > #cpuinfo.py > #This is a function library to get > #informations about CPUs and its PHC data >+#Modified by Fabio Veronese fveronese85*at*gmail.com 22 Mar 2011 > > > import os, string >@@ -30,6 +31,10 @@ > if os.path.exists('/proc/acpi/processor/CPU'+cpunr): > ##remember ACPI Pathname > self.data[cpunr]['acpi']['acpiname']='/proc/acpi/processor/CPU'+cpunr >+ elif os.path.exists('/sys/devices/system/cpu/cpu'+cpunr+'/thermal_throttle'): >+ ##here some throttling infos for 2.6.38 and maybe laters >+ #self.data[cpunr]['acpi']['acpiname']='/sys/devices/system/cpu/cpu'+cpunr+'/thermal_throttle' >+ self.data[cpunr]['acpi']['acpiname']='' > else: > self.data[cpunr]['acpi']['exist']=False > # For some reason we have to fallback on the old function...
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 360009
:
266929
| 291337