HARDWARE Clevo M38AW
From Gentoo Linux Wiki
| 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)
Contents |
[edit] General
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.
[edit] Hardware overview
Take a look at the specifications at http://www.overam.com/specs/mirage-3800-custom-laptop/overam-mirage-3800-laptop.htm. There are maybe more (detailed) specs at http://www.clevo.com.tw/products/M38AW.asp and http://www.sagernotebook.com/pages/notebooks/hw_spec2.cfm?SelectedType=3880
| 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 |
[edit] 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.
[edit] ACPI
| Code: Kernel Options for ACPI |
CONFIG_ACPI=y CONFIG_ACPI_AC=y CONFIG_ACPI_BATTERY=y CONFIG_ACPI_BUTTON=y CONFIG_ACPI_FAN=y CONFIG_ACPI_PROCESSOR=y CONFIG_ACPI_THERMAL=y CONFIG_ACPI_BLACKLIST_YEAR=0 CONFIG_ACPI_EC=y CONFIG_ACPI_POWER=y CONFIG_ACPI_SYSTEM=y |
And then add acpid to your startupscript:
| Code: Add acpid to your statupscript |
|
# rc-update add acpid default
|
[edit] APM
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 |
CONFIG_APM=y CONFIG_APM_DO_ENABLE=y CONFIG_APM_CPU_IDLE=y |
[edit] PCCard (PCMCIA/CardBus)
To make pcmcia cards work, you need at least the driver for your cardbus:
| Linux Kernel Configuration: PCCard (PCMCIA/CardBus) support |
Bus options (PCI, PCMCIA, EISA, MCA, ISA) ---> PCCARD (PCMCIA/CardBus) support ---> <*> PCCard (PCMCIA/CardBus) support <*> 16-bit PCMCIA support [*] 32-bit CardBus support --- PC-card bridges <*> CardBus yenta-compatible bridge support |
[edit] Ethernet
With version 2.6.16-gentoo-r7 the gentoo Linux kernel comes with a new driver for our network card that actually works (YAY!).
| Linux Kernel Configuration: Ethernet driver |
Device Drivers ---> Network device support ---> [*] Network device support Ethernet (1000 Mbit) ---> <*> SysKonnect Yukon2 support (EXPERIMENTAL) |
| Code: Native Options for Ethernet driver |
CONFIG_NETDEVICES=y CONFIG_SKY2=y |
If you have an older version of the Linux kernel try the driver by syskonnect from http://www.skd.de called install-9_28.tar.bz2 (or something similar). Extract it and choose to have the script build a patch for you
| Code: Use this menupoint |
|
2) generate patch
|
Then apply it to your linux kernel sources at /usr/src/linux as described.
[edit] Wireless
Install ipw2200 as told at HARDWARE ipw2200 - should work without problems.
[edit] 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.
Before you do anything, add the module load option model - without it, nothing will work at all:
| Code: Adding module options to /etc/modules.d/alsa |
# echo "options snd_hda_intel model=5stack" >> /etc/modules.d/alsa |
Now run /sbin/modules-update 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 |
or
| 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. |
[edit] Video and Xorg
[edit] 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.
[edit] Use Gentoo packages
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).
[edit] Use drivers from NVIDIA page
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 NVIDIA-Linux-x86-1.0-8178-pkg1.run
|
| Note: Everytime you compile a new Linuxkernel, you have to run the setup again to re-ajust the drivers to your kernel |
[edit] nvidia-settings
It is always a good idea to install nvidia-settings. Install it by running:
| Code: Merging the nvidia-settings package |
|
# emerge nvidia-settings
|
[edit] Installing the webcam
The internal webcam is connected to the USB system. It's called "Z-Star Microelectronics Corp. ZC0301". Installing the webcam is quite easy. Just compille the "Video for Linux" support into your kernel and emerge spca5xx.
| Code: Webcam specifications |
|
# lsusb
Bus 004 Device 002: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam |
| Linux Kernel Configuration: Video For Linux |
Device Drivers ---> Multimedia devices ---> <*> Video For Linux |
| Code: Kernel Options for Video For Linux |
CONFIG_VIDEO_DEV=y |
There is no need to install any drivers. When you compilled the Kernel you can emerge the driver module:
| Code: emerging the spca5xx driver |
# emerge spca5xx # modprobe spca5xx |
Your internal webcam should now work properly. You have to emerge this module every time you recompile Linux. Make sure to take a look at HOWTO Install a webcam.
[edit] Configure xorg
Afterwards you should configure your X-Server... Here is a working example of xorg.config:
| File: xorg.config |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "lcd" 0 0
InputDevice "Logitech MX518" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
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/"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "type1"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "de_CH"
EndSection
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"
EndSection
Section "Monitor"
Identifier "monitor-lcd"
VendorName "Unknown"
ModelName "Unknown"
Modeline "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
EndSection
Section "Device"
Identifier "NVidia-6600-Go"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
EndSection
Section "Screen"
Identifier "lcd"
Device "NVidia-6600-Go"
Monitor "monitor-lcd"
DefaultDepth 24
SubSection "Display"
Depth 24
Viewport 0 0
Modes "1280x800"
EndSubSection
EndSection
|
[edit] Configure applications
[edit] mplayer
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.
[edit] 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 |
#!/bin/sh 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" EMERGE=/usr/bin/emerge MODULES="nvidia ipw2200 spca5xx" LOAD_MODULES="/sbin/modprobe" DMN_RESTART=/etc/init.d/ # BEGIN $REMOVE_IEEE80211 $EMERGE $PKGS $LOAD_MODULES $MODULES for deamon in $DEAMONS do echo $DMN_RESTART$deamon restart; done |
[edit] Links
- This guide is listed at the TuxMobil Linux laptop and notebook installation survey.
