I'm looking into using Dynamic Kernel Module Support (DKMS) and a launchpad PPA package to enable the patched toshiba_acpi modules are updated along with kernel updates. Otherwise the procedure might need to be repeated for each ubuntu kernel update.
The quick and dirty instructions are below, most of the instructions come from the Ubuntu KernelCustomBuild webpage. I might have missed something, please post any corrections.
1) Get ubuntu kernel source package and kernel building tools packages (I had all these installed, so I don't know what is required)
2) #> cd /usr/src
3) #> sudo wget http://schwieters.org/toshset/toshiba_acpi-current.patch
4) #> sudo tar -jxf linux-source-2.6.35.tar.bz2
5) #> cd linux-source-2.6.35
6) #> sudo patch -p1 < ../toshiba_acpi-current.patch
7) #> cd drivers/platform/x86/
8) I only wanted to build the toshiba_acpi module. So I commented out all the other modules from the Makefile. Using sudo make a backup copy of the Makefile, then edit the Makefile to only build the toshiba_acpi module. Just put # in front
of the other modules.
9) sudo make -C /usr/src/linux-headers-`uname -r` M=`pwd` modules
10) sudo make -C /usr/src/linux-headers-`uname -r` M=`pwd` modules_install
11) sudo depmod -a
12) Driver should be into /lib/modules/*/extra/toshiba_acpi. rmmod and modprobe
to load the new module. Rebooting should work as well.
I'm looking into using Dynamic Kernel Module Support (DKMS) and a launchpad PPA package to enable the patched toshiba_acpi modules are updated along with kernel updates. Otherwise the procedure might need to be repeated for each ubuntu kernel update.
The quick and dirty instructions are below, most of the instructions come from the Ubuntu KernelCustomBuild webpage. I might have missed something, please post any corrections. schwieters. org/toshset/ toshiba_ acpi-current. patch 2.6.35. tar.bz2 acpi-current. patch platform/ x86/ linux-headers- `uname -r` M=`pwd` modules linux-headers- `uname -r` M=`pwd` modules_install */extra/ toshiba_ acpi. rmmod and modprobe
1) Get ubuntu kernel source package and kernel building tools packages (I had all these installed, so I don't know what is required)
2) #> cd /usr/src
3) #> sudo wget http://
4) #> sudo tar -jxf linux-source-
5) #> cd linux-source-2.6.35
6) #> sudo patch -p1 < ../toshiba_
7) #> cd drivers/
8) I only wanted to build the toshiba_acpi module. So I commented out all the other modules from the Makefile. Using sudo make a backup copy of the Makefile, then edit the Makefile to only build the toshiba_acpi module. Just put # in front
of the other modules.
9) sudo make -C /usr/src/
10) sudo make -C /usr/src/
11) sudo depmod -a
12) Driver should be into /lib/modules/
to load the new module. Rebooting should work as well.
Primary Reference: https:/ /wiki.ubuntu. com/KernelCusto mBuild /help.ubuntu. com/community/ Kernel/ Compile (lists kernel building packages) wiki.centos. org/HowTos/ BuildingKernelM odules www.cyberciti. biz/tips/ compiling- linux-kernel- module. html www.linuxheadqu arters. com/howto/ tuning/ kernelpatch. shtml
Helpful References:
https:/
http://
http://
http://