| 1 |
How to enable the ACPI daemon support for Toshiba ACPI enabled laptops |
| 2 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 3 |
|
| 4 |
If you have the acpi, acpid and acpi-support packages installed and are using |
| 5 |
the linux kernel version 2.6.10 packages (or better) from Ubuntu then you can |
| 6 |
enable support for passing the Toshiba hotkeys via the ACPI subsystem. |
| 7 |
|
| 8 |
This allows acpid to automatically launch the relevant scripts when you hit |
| 9 |
the hotkeys on your laptop. |
| 10 |
|
| 11 |
The following keys are currently supported: |
| 12 |
|
| 13 |
* The Lock key |
| 14 |
* The suspend to RAM key (Also known as sleep) |
| 15 |
* The suspend to DISK key (Also known as hibernate) |
| 16 |
* The brightness up/down keys |
| 17 |
|
| 18 |
The other hotkeys are passed through the acpi layer and you may be able to get |
| 19 |
other programs which can listen to the acpi events and respond appropriately. |
| 20 |
|
| 21 |
Note that if you enable this functionality then software such as fnfx will stop |
| 22 |
working because they rely on older functionality for obtaining the hotkey |
| 23 |
information from the kernel. |
| 24 |
|
| 25 |
If you want to enable the acpi daemon support for Toshiba ACPI then do the |
| 26 |
following simple set of operations. |
| 27 |
|
| 28 |
Open a terminal and... |
| 29 |
|
| 30 |
1. become root: |
| 31 |
myuser@mymachine:~ $ sudo -s -H |
| 32 |
Password: <enter your password here> |
| 33 |
root@mymachine:~ # |
| 34 |
|
| 35 |
(from now on I will simplify the root shell prompt to a single # symbol) |
| 36 |
2. unload the current toshiba kernel module |
| 37 |
# rmmod toshiba_acpi |
| 38 |
|
| 39 |
(Don't worry if you get an error at this point) |
| 40 |
|
| 41 |
3. create the configuration file |
| 42 |
# cd /etc/modprobe.d |
| 43 |
# cp /usr/share/doc/acpi-support/toshiba_acpi.modprobe . |
| 44 |
|
| 45 |
4. attempt to load the toshiba support module again |
| 46 |
# modprobe toshiba_acpi |
| 47 |
|
| 48 |
5. check that the module loaded okay and enabled the hotkey support |
| 49 |
# ps ax | grep ktoshkeyd |
| 50 |
|
| 51 |
If you get no output from that command then the installation failed and |
| 52 |
you should seek support on the ubuntu-users mailing list. |
| 53 |
|
| 54 |
6. ensure that the hotkey support is now working |
| 55 |
Try pressing Fn+<key with brightness symbols on it> |
| 56 |
|
| 57 |
Your brightness should change appropriately. Again if you see no difference |
| 58 |
then seek support on the ubuntu-users mailinglist. |
| 59 |
|
| 60 |
7. ensure that the module will be loaded on boot |
| 61 |
# grep toshiba_acpi /etc/modules |
| 62 |
|
| 63 |
if you see no output from that command you should do: |
| 64 |
# echo toshiba_acpi >> /etc/modules |
| 65 |
|
| 66 |
That's it. |
| 67 |
|
| 68 |
If you need any more support, please contact the ubuntu-users mailing list. |
| 69 |
|
| 70 |
|
| 71 |
END |
| 72 |
|
| 73 |
|
| 74 |
Document written by Daniel Silverstone <[email protected]> |