Gentoo on a laptop

From Elvanör's Technical Wiki
Revision as of 15:34, 31 January 2009 by Elvanor (talk | contribs)
Jump to navigation Jump to search

This page contains additional information for installing Gentoo on a laptop computer.

Networking

  • It's highly recommended to install the NetworkManager (it will be pulled as a dependency by emerging knetworkmanager) as it allows to easily connect to networks through a GUI. You can change networks easily.
  • Another network manager is wicd, untried yet.

Touchpad

  • To support the touchpad the kernel should be configured with PS/2 mouse support and INPUT_DEVICES in /etc/make.conf should contain "synaptics".
  • The xorg.conf file should have the following section:
Section "InputDevice"
    Driver         "synaptics"
    Identifier "TouchPad"
    Option         "SendCoreEvents"
    Option         "Protocol" "auto-dev"
    Option         "SHMConfig" "on"
EndSection

Battery

  • To install a base KDE applet to monitor your battery, emerge klaptopdaemon. This will add a new control panel in Control Center, and will start the applet (KLaptop).
  • You don't need to start the acpi daemon (acpid) to have the battery monitor working.
  • If you have a recent kernel (like 2.6.28), you need to build the deprecated /proc/acpi files and directories, else klaptopdaemon won't work. This will probably be fixed in future versions of KDE (as userspace programs will move to the new ACPI APIs). You don't need the deprecated APM drivers.

ACPI

  • Some keypresses generate ACPI events caught by the ACPI daemon, not standard X events. You can see if some ACPI events were generated by starting a loggin daemon and doing a tail /var/log/messages.
  • Normally the ACPI daemon can launch scripts to handle the event action. Currently it seems there are plans to bypass the use of acpid (which runs in the userspace), and use the kernel (in conjunction with HAL) to generate direct X input events that can be used directly by your desktop manager. This is for example detailed in this blog.
  • However, if you cannot see the ACPI event, it means there is a problem with your hardware / BIOS / DSDT.