Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43567 - cpufreqd-1.1.1 prefers deprecated /proc interface over /sys
Summary: cpufreqd-1.1.1 prefers deprecated /proc interface over /sys
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-03 00:46 UTC by Dennis Nienhüser (RETIRED)
Modified: 2004-07-28 06:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
check-sysfs-first.patch (check-sysfs-first.patch,921 bytes, patch)
2004-03-03 00:49 UTC, Dennis Nienhüser (RETIRED)
Details | Diff
cpufreqd-1.1.1.ebuild.patch (cpufreqd-1.1.1.ebuild.patch,330 bytes, patch)
2004-03-03 00:49 UTC, Dennis Nienhüser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Nienhüser (RETIRED) gentoo-dev 2004-03-03 00:46:28 UTC
cpufreqd didn't work for me because it first checks for the deprecated /proc layout to apply frequency changes instead of looking whether /sys/... was available. I think this should better go upstream instead of applying the patch.

Reproducible: Always
Steps to Reproduce:
Comment 1 Dennis Nienhüser (RETIRED) gentoo-dev 2004-03-03 00:49:00 UTC
Created attachment 26751 [details, diff]
check-sysfs-first.patch

just rearranged some code so that the check for sysfs comes first.
Comment 2 Dennis Nienhüser (RETIRED) gentoo-dev 2004-03-03 00:49:43 UTC
Created attachment 26752 [details, diff]
cpufreqd-1.1.1.ebuild.patch
Comment 3 SpanKY gentoo-dev 2004-07-27 17:12:08 UTC
added patch 1.1.2-r1 and sent upstream, thanks :)
Comment 4 SpanKY gentoo-dev 2004-07-28 06:17:47 UTC
upstream said they'll add this patch in the next official release :)