Gentoo Wiki


This article is still a Stub. You can help Gentoo-Wiki by expanding it.


Machine Description

There is also an IR interface of some kind meant of use with a remote this might or might not be included as it comes as an accessory. It is located in the front of the machine next to the headphone and microphone jacks.

Data from testing

What works.

What doesn't work.

What is untested.

All of the above are expected to work.

Gentoo/Portage Aspects of Setup

You will want the following packages.

More coming Soon.


Better descriptions coming Soon. make.conf:

 CFLAGS="-march=athlon64 -O2 -pipe"
 PORTAGE_ELOG_CLASSES="info warn error log"

Kernel Setup

The following have been tested to work (in my experience) on gentoo-sources-2.6.18-r2 and vanilla-sources- (for 802.11). Your millage may vary. If this goes crazy and causes damage (ex. your computer eats you in your sleep) don't blame the author(s).

A note on kernel versions and 802.11

I have tested on many different kernels both vanilla and gentoo-sources and up to this point I have yet to get success with the BCM4311 card. The native driver team are working diligently to fix this but it will most likely take time. I have been compiling the kernel with SMP enabled and for 64 bit. I have been using one of the 64 bit firmwares the native driver team suggest. I recommend other people with one of these machines contact the team to join in testing. I may be doing something wrong and having more eyes on a problem never hurt. As the team's patches do not add full support the latest kernel I use is gentoo sources 2.6.18-r2 going further adds no functionality I can see yet. I recommend using this version while you wait for 2.6.21 which will have many patches to the bcm43xx driver. These patches fix things like suspend errors and signal quality reporting and may even lead to actual connectivity. Currently these instructions use the kernels internal softmac but the BCM43xx native driver group is changing to mac80211.

Using lower kernels

You can do this but 802.11 will not work as well (speed), headphone jack sense will not work, the mute button won't change color, audio line in will not work ether. There are other issues but I can't recall all of them.

Required Kernel Modules

This is not meant to be a total list of modules just a list of the more obscure ones this machine uses.

Patching 802.11

The current patches from the native driver project with these Broadcom 43xx directions.

The patch for 2.6.21 is here.[1] Notice that you will have to alter the patch directories from linux-2.6 to reflect the kernel used (vanilla or gentoo).

Patching Sound

This is only for kernels before 2.6.20 and higher than 2.6.18.
This patch does not add jack sense so the user must manually control the volume of both the speakers and headphones individually. This patch is from Xopen and ALSA. It can be found at the following.
Basically to install it you can use Xopen's instructions but if you already have the kernel source installed it is easier to use the following.

  cd /usr/src/kernel-2.6.xx-rx/sound/pci/hda/
  patch -p0 <hda-generic-hp-fix.diff

And now recompile the kernel with the ALSA Intel-HD Audio Module.

Module Loading

Not all the modules load correctly the first time for some reason. While this will eventually be fixed.


After booting the box the bcm43xx module requires a reload to get a connection. It should cause the SNR to change from 0.


  snd_hda_intel hp-3013

Package Installation/Configuration

Some packages require minor alteration or re-configuration to work or have the most functionality. This section also lists recommended alterations to your installation.


Provided you have ACPI, DBus, and the like (including nvidia i2c kernel modules) installed just emerge gnome's power manager. This has however only been tested under GNOME 2.16 or higher.

HDD Temp.

With hddtemp add the following line to the hddtemp drive database (/usr/share/hddtemp/hddtemp.db).
Then make hddtemp start at boot.

  rc-update add hddtemp default

To make it start with out a reboot right now run the following line.

  /etc/init.d/hddtemp start


Follow the directions in the gentoo-wiki page NVIDIA drivers for installing the nvidia-drivers package unless you want to use the open source version of the driver called nv.
Followed by the directions for using wide screen displays (WSXGA) from the gentoo-wiki page hereHOWTO Widescreen Resolutions (WSXGA).
Optionally these may be followed by the untested directions from the gentoo-wiki page hereTV-Out with GeForce for SVideo Output.
And/or the ones hereHOWTO nVidia TwinView for getting VGA output to work. Followed by thisHOWTO Dual Monitors page for dual monitors.
And/or the directions hereHOWTO Enabling Monitor Power Saver or hereHOWTO Automatically turn off your monitor to save your screen from getting burned.(This needs checking)


See this guide.

SD/MMC/XD Media Card Reader

Just use the gentoo-wiki directions hereSD and MMC card readers with the kernel module I mentioned earlier.


In short.


Firefox with Flash

This requires the 32bit chroot which portage will list when you add firefox-bin. Flash is closed source and does not support 64 Bit so to run it firefox-bin is required. There are alternative flash players but to use standard flash follow the following. The sound from the Firefox-bin Flash Player Plugin does not work with out the following change from HOWTO AMD64

  aoss32 /usr/libexec/mozilla-launcher "$@"
Retrieved from ""

Last modified: Wed, 10 Sep 2008 00:59:00 +0000 Hits: 5,884