Gentoo Wiki


This article is part of the Hardware series.
Laptops TV Tuner Cards Wireless Servers Storage Other Hardware Motherboards Related

Well, I'm not quite sure, but it seems, that the Clevo M38AW is the same as the Sager 3880 and OVERAM Mirage 3800, so if you have problems keep this in mind when searching the web. --Barachiel 15:56, 6 January 2006 (GMT)



This guide explains some of the special things that you have to be aware when you install Gentoo on a Clevo M38AW, also known as Sager NP3880, OVERAM Mirage 3800 and Steg nb-storm01.

Hardware overview

Take a look at the specifications at There are maybe more (detailed) specs at and

Code: Output of lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce Go 6600] (rev a2)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 19)
06:02.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
06:03.0 Network controller: Intel Corporation PRO/Wireless 2915ABG MiniPCI Adapter (rev 05)
06:04.0 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
06:04.1 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
06:04.2 System peripheral: Texas Instruments PCI1620 Firmware Loading Function (rev 01)

Code: Output of cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : Intel(R) Pentium(R) M processor 1.86GHz
stepping        : 8
cpu MHz         : 1862.422
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx est tm2
bogomips        : 3731.39

Kernel Options

You sould read this section before you configure and compile your linux kernel. You'll just find some of the required options. Make sure, you configure the whole kernel and check every option not mentioned here. Notice, that you have to patch your kernel if you want to use Ethernet; so check that section before make.


Code: Kernel Options for ACPI

And then add acpid to your startupscript:

Code: Add acpid to your statupscript
# rc-update add acpid default


If you want to have your laptop suspend correctly, just activate this options:

Linux Kernel Configuration: APM
Power management options (ACPI, APM)  --->
 APM (Advanced Power Management) BIOS Support  --->
  <*> APM (Advanced Power Management) BIOS support
  [*]   Enable PM at boot time
  [*]   Make CPU Idle calls when idle

this would be:

Code: Kernel Options for APM

PC Card

See this guide.


See this guide.


Install ipw2200 as told at ipw2200 - should work without problems.

Audio with ALSA

Installing the sound is basically a easy thing. Just follow the Gentoo Linux Alsa Guide at Gentoo Linux ALSA Guide. The alsa-driver is named 'hda-intel'. This is tested with alsa installed in the userspace, and compiled in the kernel, so use what you prefer.

Warning: Make sure you use model=5stack and maybe position_fix=1 as module arguments for snd_hda_intel!

Before you do anything, add the module load option model - without it, nothing will work at all:

Code: Adding module options to /etc/modprobe.d/alsa
 # echo "options snd_hda_intel model=5stack" >> /etc/modprobe.d/alsa

Now run update-modules to apply the configuration.

Else, you would get an error like:

Code: Error while starting alsamixer
 # alsamixer
 alsamixer: function snd_mixer_load failed: Invalid argument


Code: Erorr while starting amixer
 # amixer
 amixer: Mixer default load error: Invalid argument

If you have cracking sounds and noises in the background whenever you play something, make sure you add "position_fix=1" module argument as shown above with the model-option. This seems unnecessary with Linux > 2.6.15.

Note: If you want to include alsa in the kernel you may compile the driver into the kernel instead of using a module. If you want to, make sure you use the boot-argument snd_hda_intel.model=5stack - but this was never tested.

Video and Xorg

Driver installation

The installation of the nvidia drivers is described at Gentoo Linux nVidia Guide so make sure you take a look if you have trouble. The video card is NVIDIA 6600 Go. To get 3d acceleration work, we need binary drivers. There are two different ways to install the binary drivers from NVIDIA.

Use Gentoo packages

Warning: There are several errors reported with the Gentoo driverpackages. If you want to avoid trouble, use drivers from NVIDIA page. The Gentoo driverpackages have reported not to work with some Linux kernel but are working with Gentoo Linux kernel > 2.6.16 again

To install the Gentoo driver package:

Code: Install the Gentoo current, old driver package
# emerge nvidia-kernel nvidia-glx

The current driverpackage is very old. To install the newer versions, you have to unmask them. Note that these are unstable packages and may not work at all:

Code: Unmasking and merging nvidia-drivers
# echo "media-video/nvidia-glx ~x86" >> /etc/portage/package.keywords
# echo "media-video/nvidia-kernel ~x86" >> /etc/portage/package.keywords
# echo "app-admin/eselect-opengl ~x86" >> /etc/portage/package.keywords
# echo "app-admin/eselect ~x86" >> /etc/portage/package.keywords
# emerge nvidia-kernel nvidia-glx

This should install the newest drivers avaiable (8178).

Use drivers from NVIDIA page

Warning: If you don't use the drivers in portage you should be aware of that when you update the driver sometimes the nvidia driver forgets some files somewhere - resulting in direct rendering not working. Even worse: Some apps don't compile with the nvidia opengl libs and headers. If you do it the gentoo way you could just 'eselect set opengl xorg-x11' and compile the app, but when you did it the nvidia way: congratulations, you can reinstall X now.

If you want to use the newest NVIDIA drivers, you could get them from NVIDIA's driverpage. Install the driver with:

Code: Use the NVIDIA installer to compile the drivers
# sh
Note: Everytime you compile a new Linuxkernel, you have to run the setup again to re-ajust the drivers to your kernel


It is always a good idea to install nvidia-settings. Install it by running:

Code: Merging the nvidia-settings package
# emerge nvidia-settings

Installing the webcam

The internal webcam is connected to the USB system. It's called "Z-Star Microelectronics Corp. ZC0301". See Webcam for general webcam install instructions, and use the gspcav1 driver.

Code: Webcam specifications
# lsusb
Bus 004 Device 002: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam

Configure xorg

Afterwards you should configure your X-Server... Here is a working example of xorg.config:

File: xorg.config
Section "ServerLayout"
   Identifier     " Configured"
   Screen      0  "lcd" 0 0
   InputDevice    "Logitech MX518" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
Section "Files"
   RgbPath         "/usr/lib/X11/rgb"
   ModulePath      "/usr/lib/modules"
   FontPath        "/usr/share/fonts/misc/"
   FontPath        "/usr/share/fonts/TTF/"
   FontPath        "/usr/share/fonts/Type1/"
   FontPath        "/usr/share/fonts/CID/"
   FontPath        "/usr/share/fonts/75dpi/"
   FontPath        "/usr/share/fonts/100dpi/"
Section "Module"
   Load           "extmod"
   Load           "dbe"
   Load           "record"
   Load           "xtrap"
   Load           "glx"
   Load           "type1"
   Load           "freetype"
Section "InputDevice"
   Identifier     "Keyboard0"
   Driver         "kbd"
   Option         "XkbLayout" "de_CH"
Section "InputDevice"
   # Following is for Logitech MX518 only
   Identifier     "Logitech MX518"
   Driver         "mouse"
   Option         "Protocol" "auto"
   Option         "Device" "/dev/input/mice"
   Option         "Buttons" "10"
   Option         "ZAxisMapping" "9 10"
Section "Monitor"
   Identifier     "monitor-lcd"
   VendorName     "Unknown"
   ModelName      "Unknown"
   Modeline "1280x800"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
Section "Device"
   Identifier     "NVidia-6600-Go"
   Driver         "nvidia"
   VendorName     "nVidia Corporation"
   BoardName      "Unknown Board"
Section "Screen"
   Identifier     "lcd"
   Device         "NVidia-6600-Go"
   Monitor        "monitor-lcd"
   DefaultDepth   24
   SubSection     "Display"
       Depth       24
       Viewport    0 0
       Modes       "1280x800"

Configure applications


Mplayer wont recognise the widescreen of this laptop, so you will have a contorted video output. To avoid this, add "monitoraspect=16:10" as a option to your configuration file, either golbally in /etc/mplayer.conf or at user space in ~/.mplayer/conf.

Recompilation of kernel depending packets

To make a update to a new Linux kernel version comfortable I've created this shell-script that does the necessary recompilations and reloads. I don't have to say that you use this at your own risk...

Code: script to recompile kerneldependend packets
REMOVE_IEEE80211="/bin/sh /usr/portage/net-wireless/ieee80211/files/remove-old /usr/src/linux"
PKGS="alsa-driver nvidia-kernel ieee80211 ipw2200 spca5xx"
DEAMONS="alsasound xdm"
MODULES="nvidia ipw2200 spca5xx"



for deamon in $DEAMONS
  echo $DMN_RESTART$deamon restart;


Retrieved from ""

Last modified: Thu, 28 Aug 2008 06:16:00 +0000 Hits: 17,925