2003-05-07 15:58:32

by Ricardo Galli

[permalink] [raw]
Subject: Re: CPUFreq sysfs interface MIA? (since 2.5.69)

> Under both 2.5.68 and 2.5.69 the CPUFreq /sys interface seems to be
> missing for my machine (IBM A31p), with an Intel 845 Brookdale chipset
> and SpeedStep support.

The same here, but it worked in 2.5.68. It's a P3 Speedstep. /proc/cpufreq
only shows the header.


$ cat /sys/class/cpu/cpu0/device/name
CPU 0
$ cat /sys/class/cpu/cpu0/device/power
0


--
ricardo galli GPG id C8114D34


2003-05-07 23:21:13

by Greg KH

[permalink] [raw]
Subject: Re: CPUFreq sysfs interface MIA? (since 2.5.69)

On Wed, May 07, 2003 at 06:09:12PM +0200, Ricardo Galli wrote:
> > Under both 2.5.68 and 2.5.69 the CPUFreq /sys interface seems to be
> > missing for my machine (IBM A31p), with an Intel 845 Brookdale chipset
> > and SpeedStep support.
>
> The same here, but it worked in 2.5.68. It's a P3 Speedstep. /proc/cpufreq
> only shows the header.

Can you let me know if the patch I just posted to lkml in this thread
fixes this for you?

thanks,

greg k-h

2003-05-08 09:11:48

by Ricardo Galli

[permalink] [raw]
Subject: Re: CPUFreq sysfs interface MIA? (since 2.5.69)

On Thursday 08 May 2003 01:34, Greg KH shaped the electrons to shout:
> > The same here, but it worked in 2.5.68. It's a P3 Speedstep.
> > /proc/cpufreq only shows the header.
>
> Can you let me know if the patch I just posted to lkml in this thread
> fixes this for you?

Yes, it does work.

gallir@minime:~$ ls -l /sys/class/cpu/cpu0/cpufreq/
total 0
-r--r--r-- 1 root root 4096 May 8 11:19 cpuinfo_max_freq
-r--r--r-- 1 root root 4096 May 8 11:19 cpuinfo_min_freq
-r--r--r-- 1 root root 4096 May 8 11:19
scaling_available_governors
-r--r--r-- 1 root root 4096 May 8 11:19 scaling_driver
-rw-r--r-- 1 root root 4096 May 8 11:19 scaling_governor
-rw-r--r-- 1 root root 4096 May 8 11:19 scaling_max_freq
-rw-r--r-- 1 root root 4096 May 8 11:19 scaling_min_freq

gallir@minime:~$ cat /proc/cpufreq
minimum CPU frequency - maximum CPU frequency - policy (1)
CPU 0 399000 kHz ( 42 %) - 931000 kHz (100 %) - powersave

Thanks.

--
ricardo galli GPG id C8114D34