Package Details: phc-intel

Git Clone URL: (read-only)
Package Base: phc-intel
Description: Frequency driver for Intel CPUs with undervolting feature
Upstream URL:
Licenses: GPL
Provides: linux-phc
Submitter: None
Maintainer: None
Last Packager: fs4000
Votes: 110
Popularity: 0.087368
First Submitted: 2009-03-25 18:21
Last Updated: 2017-02-26 20:04

Latest Comments

james commented on 2018-04-19 17:50

For people with intel >= 3rd generation. This WILL NOT work for you! You have to use PStates like this script uses:

linskun commented on 2018-04-16 09:53

You need to update the PKGBUILD:




Then generate correct sha256sum information with makepkg -g

And final fix the PKGBUILD

Here you can see the correct PKGBUILD

gplanon commented on 2018-03-07 21:25

First comment on AUR, wanted to say all you need to do to get this to install and seemingly work is change lines in PKGBUILD to these:




Under sha256 sums add this:


I used to get the sum but you can do it yourself too.

I'm not interested in setting up git or working with the AUR but I wanted to share this for anyone else who wants this package with kernel 4.15.

dreieck commented on 2018-02-24 16:31

Upstream is at revision .25 suporting kernel 4.15.5: (phc-intel-pack-rev25.tar.bz2)

timofonic commented on 2017-11-13 05:32

@fs4000 It seems to not work on i7 CPUs, P-State and such :(

fs4000 commented on 2017-08-08 17:09

Yes, this works. I have a Pentium T2330.

timofonic commented on 2017-08-08 02:35

Are you sure this works? Mainline is outdated... Core i7 5700HQ here

HeavyHDx commented on 2016-07-05 20:50

Package seems to be down:

curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading

fs4000 commented on 2016-02-27 11:16

I have updated this package to use DKMS for automatically building the kernel module. This is possible due to the new hooks feature of pacman which is used in the new DKMS package.

fs4000 commented on 2015-09-18 17:08


Mautz commented on 2015-09-16 05:33

# Maintainer: fs4000 <matthias_dienstbier[at]yahoo[dot]de>
# Maintainer: trapanator <trap[at]trapanator[dot]com>
# Maintainer: tomprogrammer <Thomas-Bahn[at]gmx[dot]net>

pkgdesc="frequency driver for Intel CPUs with undervolting feature"

prepare() {
cd phc-intel-$_realver
sed -e 's,$(DESTDIR)/lib/modules/$(KERNELRELEASE)/extra$,$(DESTDIR)/usr/lib/modules/$(KERNELRELEASE)/extramodules,' \
-e 's,^\tinstall -m 644 -o root -g root phc-intel.modprobe,#\tinstall -m 644 -o root -g root phc-intel.modprobe,' -i Makefile
sed -i 's,/sbin/modprobe phc-intel |,/sbin/modprobe phc-intel \&\& /usr/bin/phc-intel set |,' phc-intel.modprobe

package() {
install -Dm644 phc-intel.default "$pkgdir/etc/default/phc-intel"
install -Dm755 "$pkgdir/usr/bin/phc-intel"
install -Dm755 phc-intel.sleep "$pkgdir/usr/lib/pm-utils/sleep.d/00phc-intel"
install -Dm755 phc-intel.system-sleep "$pkgdir/usr/lib/systemd/system-sleep/phc-intel"

cd phc-intel-$_realver
install -Dm644 phc-intel.modprobe "$pkgdir/usr/lib/modprobe.d/phc-intel.conf"
install -d "$pkgdir/usr/src/phc-intel/"
cp -R inc Makefile "$pkgdir/usr/src/phc-intel/"

dreieck commented on 2015-09-15 15:13

There is a new versions, supporting newer kernels:

--> Please adapt.

fs4000 commented on 2015-04-06 12:15

There was a new version availabe. You can see it here:

chepaz commented on 2015-04-06 11:26

404. But the forum on this site is up.

lockheed commented on 2015-04-02 14:05

@denis, the source web page is not very reliable. It is often offline. Try some other time. It would be good if the maintainer of this package put the source in some more reliable location, or inside the tarball itself.

denis commented on 2015-04-02 12:27

The source link is not working any more.

lockheed commented on 2015-01-28 07:47

Why is it that the setup option has been removed and so I am unable to use phc-intel with custom kernels, like linux-mainline?

xmw commented on 2014-08-04 11:20

I've prepared an patch for 3.16.

vmalloc commented on 2014-06-14 08:58

here the new package. This solves the problem.

OdinEidolon commented on 2014-06-12 09:20


veroke commented on 2014-06-12 07:53

can't download the source code..
there's a new patch

Anonymous comment on 2014-03-24 21:47

I discovered that undervolting my Core i3 550 with this package makes my system much slower. See if you are interested…

bobwya commented on 2014-02-14 21:59

is now available.

Downloadable from:

alroar commented on 2013-09-03 13:00

Rev11 is out, rev.10 source link is not working anymore.

orschiro commented on 2013-08-08 14:10


I have not edited `/etc/defaults/phc-intel` because I use tlp to control the voltages.

Thanks for taking care of this!

fs4000 commented on 2013-08-08 14:09

You haven't edited /etc/defaults/phc-intel. But there shouldn't be an error code. I'll fix that in the next version.

orschiro commented on 2013-08-07 19:32

Can anyone tell me why I am getting the following error:

thinkpad systemd-udevd[166]: Error running install command for acpi_cpufreq

I ran `phc-intel setup` and it completed successfully. So, I do not understand why this error is shown in journalctl.

ilusi0n commented on 2013-07-23 21:33


I created a systemd service and a script. It's simple but works fine for me.
Systemd file

Description=phc-intel service
ExecStart=/bin/bash -c /home/ilusi0n/.scripts/


The script you can find at my github

evil-god commented on 2013-07-23 20:42

change source=(phc-intel-$_realver.tar.bz2::$url/forum/download/file.php?id=145

Anonymous comment on 2013-07-23 19:56

And1G, the wiki has all the instructions I think.

And1G commented on 2013-07-23 18:37

Any Idea how to get this to run with systemd? I found nothing in the forums and comments and since people are talking about the package here, I assume it's working at least somehow...

blkrk4000 commented on 2013-05-20 23:02

rev 9.1 is new

Anonymous comment on 2013-05-01 11:26

I finally put the config into /etc/default/. Grub, pam and shadow already use this directory for configs.

Anonymous comment on 2013-02-26 13:42

Doesn't build anymore: The requested URL returned error: 404 Not Found
==> ERROR: Error al descargar phc-intel-pack-rev7.tar.bz2

fs4000 commented on 2012-12-19 17:46

I moved /etc/rc.d/phc-intel to /usr/bin/phc-intel and removed all initscripts dependencies. /etc/conf.d/phc-intel was moved to /etc/phc-intel.conf since /etc/conf.d has been deprecated along with initscripts.
Instead of "rc.d setup phc-intel" now you need to run "phc-intel setup". You'll find a short instruction in phc-intel.install.

cobalt commented on 2012-12-17 19:50

Instructions from worked like a charm for me. Looks like everything is still up to date there. I used mprime-phc-setup script to find new VIDS.

Anonymous comment on 2012-12-17 17:40

I’m glad there has been an update of this package, but can we get some usage instructions? It seems that everything changed.

cobalt commented on 2012-12-17 13:58


xmw commented on 2012-12-17 07:28

Where (inside is the link to ? phpBB really sucks (as download platform).

cobalt commented on 2012-12-12 04:01

ERROR: Failure while downloading phc-intel-pack-rev6.tar.bz2
phc-intel-pack-rev7.tar.bz2 from
can be used instead

cobalt commented on 2012-12-12 01:40

ERROR: Failure while downloading phc-intel-pack-rev6.tar.bz2

sarum9in commented on 2012-10-21 11:42

Thank you :)

Anonymous comment on 2012-10-21 09:28

Apparently the forum is being upgraded. I have uploaded my copy to (if you trust me…)

sarum9in commented on 2012-10-21 08:58

phc-intel-pack-rev6.tar.bz2 is not available.

fs4000 commented on 2012-09-27 14:20

Of course the kernel headers are required to build a kernel module but there are other kernels than the standard linux package which will require different headers. I don't think it's beneficial to add any specific deps to this package. Just install it along with your favorite kernel's headers and everything is fine.

Anonymous comment on 2012-09-27 10:51

"linux-headers" package is needed for `/etc/rc.d/phc-intel setup`. Could you add this to the dependencies please?

fs4000 commented on 2012-09-01 11:31

With upower 0.9.18 pm-utils are no longer managing suspend and hibernate thus the sleep hook will no longer be executed. I think this should be handled by udev instead. Does anyone know how such a rule would look like?
I also will transform the rc.d script into a more generic one so it will be useful with systemd.

fs4000 commented on 2012-07-17 16:44

Yes, I will change that for the next release. In the meantime the symlink will redirect to the correct location.

olebowle commented on 2012-07-16 21:31

I think it would be a good idea to modify phc-intel.rc and the Makefile (is that everything?) in order to reflect the move from /lib to /usr/lib.

olebowle commented on 2012-07-16 21:11

I think it would be a good idea to modify phc-intel.rc and the Makefile (what should be everything?) in order to reflect the move from /lib to /usr/lib.

florianb commented on 2012-04-02 10:47

%sudo modprobe phc-intel
ERROR: could not insert 'phc_intel': Exec format error

J4913 commented on 2012-01-28 11:15

And to make a 4th comment in a row, it definitely is now fixed in linux-pf-3.2.2-1. Sorry for the noise...

J4913 commented on 2012-01-25 23:46

...Wait, no, I must've gone crazy. It's definitely broken, still.

J4913 commented on 2012-01-25 13:18

Never mind, linux-pf-3.2.1-6 fixed it, apparently.

J4913 commented on 2012-01-22 17:03

This isn't working with linux-pf (3.2.1), but was with the stock Arch kernel; in dmesg:

[ 15.787082] phc_intel: disagrees about version of symbol acpi_processor_notify_smm
[ 15.787090] phc_intel: Unknown symbol acpi_processor_notify_smm (err -22)

(Or should I contact the linux-pf maintainer?)

Anonymous comment on 2011-11-10 18:37

I adjusted the module location so that there is no need to rebuild the module on every minor kernel update anymore. This was introduced with linux 3.1.

mirandir commented on 2011-09-23 15:00

Does someone have the kernel patch describes by sh__ ? seems down.

fs4000 commented on 2011-08-19 10:35

Sorry, I can't fix that in this package. You have to recompile your kernel image.

Anonymous comment on 2011-08-19 02:25

Any idea when will the patch indicated by sh_ be applied to this package?

Anonymous comment on 2011-08-11 13:08

It seems kernel 3.0 has some issues with uniprocessor / single-core machines. This patch seems to be the culprit:

I got phc-intel working on Pentium M by patching the kernel with an old patch:

fs4000 commented on 2011-08-08 17:54

I was told that there are issues with Pentium M again. With my Pentium Dual-Core everything works as expected.

Anonymous comment on 2011-08-08 15:42

Is this working for anyone else with kernel 3.0?

I just upgraded to 3.0.1-1 and after rebuilding the phc-intel module I get read and write errors when trying to access phc_vids.

/etc/rc.d/phc-intel: line 25: echo: write error: No such device

I've tried brave and canny.

fs4000 commented on 2011-07-29 14:09

Thanks, fixed.

Evilandi666 commented on 2011-07-29 08:41

"Error 404: Not Found."

Link is wrong. "The selected attachment does not exist anymore."

replace 126 with 127 ;)

Evilandi666 commented on 2011-07-29 08:40

"Error 404: Not Found."

Link is wrong. "The selected attachment does not exist anymore."

fs4000 commented on 2011-07-24 12:41

I switched to the inofficial phc-intel-pack:

You can switch to phc-intel 0.4.0 testing with the following commands:
cd /usr/src/phc-intel/
make brave

An update of the package or these commands will switch back to stable:
cd /usr/src/phc-intel/
make canny

graysky commented on 2011-05-29 10:30

I believe that cecilyen's problem is based on a mis-match of kernel/headers. The kernel is kernel26-ck-pentm but the headers are the ARCH headers.

fs4000 commented on 2011-05-29 09:08

Please test the following. If you do not get the same result you cannot use this package with that kernel. Either change the config of the kernel or patch the kernel directly.
$ zgrep CONFIG_X86_ACPI_CPUFREQ /proc/config.gz

Anonymous comment on 2011-05-29 04:05

I tried to "rmmod acpi-cpufreq" and then "modprobe acpi-cpufreq"
I got following error message.
FATAL: Error inserting phc_intel (/lib/modules/2.6.38-ck/extra/phc-intel.ko): Invalid module format

Anonymous comment on 2011-05-23 20:55

yes: /etc/rc.d/phc-intel setup && reboot

Anonymous comment on 2011-05-23 20:50

After upgrading my kernel from 2.6.38-ck to 2.6.39-ck, phc seems not working now. It was ok before.
I do not see any error message regarding acpi-cpufreq. I have tried to re-installed phc-intel and run the setup again.
But, I still can't see any phc* entry under /sys/devices/system/cpu/cpu0/cpufreq/

Any idea?

fs4000 commented on 2011-03-26 13:13

Yes, fixed in new version.

J4913 commented on 2011-03-26 12:43

Ah, thanks. It'd be nice if the build process printed this at some point - or if it's already stated somewhere else, I missed it. Oh, makes sense to have it on the wiki page?

fs4000 commented on 2011-03-26 12:27

Just run "/etc/rc.d/phc-intel setup" to build the module or update it for a new kernel.

J4913 commented on 2011-03-26 09:21

$ modprobe acpi-cpufreq
FATAL: Could not read '/lib/modules/2.6.37-ARCH/extra/phc-intel.ko': No such file or directory

This is with the most recent update; not sure when that was, but I only noticed it now.

fs4000 commented on 2011-03-23 14:25

The new package only contains the sources for phc-intel!
The module gets built with "/etc/rc.d/phc-intel setup". The VIDs are automatically initialized with the setting from /etc/conf.d/phc-intel and after standby and hibernation (pm-utils) these values will be restored (otherwise some CPUs can come up with the default setting again). Make sure you have acpi-cpufreq and not phc-intel in your MODULES array or this won't work!
If your computer keeps crashing with PHC use the nophc kernel parameter to boot with the default VIDs.

fs4000 commented on 2011-03-18 13:58

You have to use another locale, e.g. "LANG=C makepkg"

Anonymous comment on 2011-03-17 23:38

package compiles, but packaging fails with the following error:
Erstelle .PKGINFO-Datei...
/usr/bin/makepkg: Zeile 99: printf: `D': Ungültiges Formatierungszeichen.

fs4000 commented on 2011-01-11 21:19

Can you give some more infos please? Which kernel do you run? What's the error message?
I had no problem to build the package with both PKGBUILDs.
Perhaps try 'rm -r src pkg' in your build directory to start from scratch.

Anonymous comment on 2011-01-11 18:57

did not work !

fs4000 commented on 2011-01-11 18:45

Thanks, fixed.

Anonymous comment on 2011-01-11 01:02

Just change the 37 in the for loop to a 36 and it will build fine. It has a special case for 37 AFTER the for loop.

Phlogiston commented on 2011-01-10 16:42

The for loop goes to .37 already...

Phlogiston commented on 2011-01-10 16:38

==> Validating source files with md5sums...
phc-intel-0.3.2-12-1.tar.gz ... Passed
acpi-cpufreq_2.6.35.c ... Passed
acpi-cpufreq_2.6.36.c ... Passed
linux-phc-0.3.2_2.6.35.patch ... Passed
linux-phc-0.3.2_2.6.36.patch ... Passed
mperf.h ... Passed
==> Extracting Sources...
-> Extracting phc-intel-0.3.2-12-1.tar.gz with bsdtar
==> Starting build()...
cp: cannot stat `../acpi-cpufreq_2.6.37.c': No such file or directory

fs4000 commented on 2010-11-26 21:23

I just cleaned up the PKGBUILD a bit, no need to update anything.

ber_t commented on 2010-11-26 19:38

Has there been an update to this pkg without a new release number?

fs4000 commented on 2010-08-20 23:15

That must be a problem in the kernel sources. Some examples:

$ strings /lib/modules/2.6.35-ARCH/kernel/arch/x86/kernel/cpu/cpufreq/mperf.ko

$ strings /lib/modules/2.6.35-ARCH/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko

chepaz commented on 2010-08-19 08:27

==> WARNUNG: Paket enthält einen Verweis auf $srcdir

^is this intended? Doesn't look very nice ;)

Anonymous comment on 2010-08-07 07:54

Manually added support for Linux 2.6.35.

fs4000 commented on 2010-07-07 08:07

There's no patchset for 2.6.35 yet.
How to use this is explained in the Wiki:

Anonymous comment on 2010-07-06 20:45

how to use this script?
just install that already have power, or must run a command?

Anonymous comment on 2010-07-06 19:16

Why not kernel 2.6.35?

fs4000 commented on 2010-06-17 07:59

The problem in kernel 2.6.34 was found:

fs4000 commented on 2010-06-10 14:08

We need options=(!makeflags) now.
I wanted to update this on sunday but the first release was broken. I just reported the bug then, didn't have much time.

aignas commented on 2010-06-09 22:40

Updated pkgbuild:

note: "make prepare" was removed as it is not necessary anymore.

aignas commented on 2010-06-09 22:22

0.3.2-12 is out.

knedlyk commented on 2010-06-06 18:14

Please add gnome-python-extras to the dependencies, it contains python egg.trayicon, phctray doesn't work without it.

fs4000 commented on 2010-05-18 11:30

Perhaps it's just a problem with Pentium M, it works on my Pentium Dual-Core.

ngoonee commented on 2010-05-18 03:22

Doesn't work properly with the 2.6.34-series of kernels, someone reported as such on their forums.