Linux For Cynics One user's experiences with Linux


toshset: required kernel toshiba support not enabled

Toshiba Laptop

Save me!


You updated your Toshiba machine's Ubuntu installation and now toshset, the handy command-line tool that gives us control over Toshiba's hardware interface, no longer works and simply says: "required kernel toshiba support not enabled". This problem has been diagnosed to death: The experimental toshiba patch was dropped from the kernel, with the intention to see if this breaks something for anyone. Well, it broke something for me and many others. Does that matter? No, the kernel team has pushed this responsibility onto the "driver people." What this actually means is that you, dear all-important user, has to fix it.


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)
get the kernel source package:

#> sudo apt-get install linux-source-2.6.35

get the kernel building source packages:

#> sudo apt-get install kernel-package libncurses5-dev fakeroot wget bzip2

(maybe not all these packages are necessary, but I don't think it will harm to install them)

#> cd /usr/src


#> sudo wget


#> sudo tar -jxf linux-source-2.6.35.tar.bz2


#> cd linux-source-2.6.35


#> sudo patch -p1 < ../toshiba_acpi-current.patch


#> 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.

sudo make -C /usr/src/linux-headers-`uname -r` M=`pwd` modules


sudo make -C /usr/src/linux-headers-`uname -r` M=`pwd` modules_install


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)
Copy the file toshiba_acpi.ko to /lib/modules/*/extra (replace * with your current kernel version).
remove the old module:

#> sudo rmmod toshiba_acpi

and load the new module:

#> sudo modprobe toshiba_acpi

(or simply reboot)


Tagged as: Leave a comment
Comments (3) Trackbacks (0)
  1. great and very very easy to understand tutorial …
    Finally got my toshiba laptop to have functioning function key:))
    Thanks a lot…

  2. There is an external package that fixes this – should also be fixed in the Kernel soon hopefully

Leave a comment

No trackbacks yet.