PWC - Installation Stand Alone Module Kernel 2x 6

Install As Stand Alone Module with Kernel 2.6

Download pwc sources

Download the file (or the last available file on the site

Unpack the tar.gz

Unpack the file using the command command: # tar xjf pwc-10.0.9.tar.bz2

Prepare the module build environment

You will need the source of your actual kernel to be installed.

In Debian, just execute this command: # sudo apt-get install linux-headers-$(uname -r)

In Suse 10, see the exact installation procedure of pcw at

For RPM based distributions download the source RPM for the kernel you use.

Patch the module

You might need to patch the module if you have kernel 2.6.22 or higher. Applies to version pwc-10.0.12-rc1:

Compile the module

Compile the module

# cd pwc-10.0.9
# make

Login as root

Login as root
# su -

Remove existing old pwc module (if any)

In case an older version of the module was already installed, use the following commands to delete that module, if not go to next step.
# find /lib/modules/`uname -r`/ -name "pwc*.ko*"
# rm <name of the file.ko>

Install the new module

Copy the new modules to the old ones
# make install
or in case you want the modules installed a specific place. For example: /lib/modules/`uname -r`/{misc,extra}
# cp pwc.ko <path to the folder of original pwc.ko module>

Update module dependency and map files

# depmod -a

Unload old pwc/pwcx modules

If you already had an old version of pwc/pwcx installed you need to unload them first. You can also just simply reboot the machine. If you are not sure run the commands anyway. They will not harm anything.
# rmmod pwcx
# rmmod pwc

Load the new module

Finally load the new pwc module. Note that there is no longer any binary pwcx module to worry about. It is all in the pwc module
# modprobe pwc

-- KennethLavrsen - 11 Nov 2004
Topic revision: r8 - 28 Oct 2007, CarloWood
Copyright © 1999-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions. Kenneth only maintains the wiki.
Luc Saillard is the author of the PWC driver and he does not like direct emails either. Please join the Mailing List and ask your questions there.