Search:  
Gentoo Wiki

MSI_Megabook_s262

Contents

Introduction

The MS1057 is a very capable laptop. Since it is a whitebook or "barebone" type machine, some components may differ from machine to machine. The wired network card should be the same for all though, since it is built-in; in fact, it is the same one that is in the MSI Megabook m655.

Installing Gentoo

Since there will be no network connection until after reboot, you'll need all the files on discs. IIRC, the latest x86 LiveCD doesn't have distfiles, so booting the LiveCD with 'docache' may be your friend, in case you need to use a different disc with distfiles, or whatever.

Read RTL8168 for details on how to install the driver for the network card.

[comment by Cheoppy 09:10, 23 September 2007 (UTC)] Using the install-x86-minimal-2007.0-r1.iso InstallCD I had network connection (and internet access as well) using a RTL8111/8168B network controller, and it seems that the 2.6.22-gentoo-r5 kernel does support this card. It works perfectly with 100Mbit router and ethtool reports that it is a gigabit NIC (although I couldn't test it yet if it can use a gigabit connection). I didn't have to install any 3rd party drivers from Realtek, the builtin r8169 driver supports this card.
Here's my lspci | grep Realtek output:
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)

Hardware

I will outline each hardware piece that I have working and try to give the kernel config for the relevant section.

Wireless

This being a whitebox, it did not come with a wifi card. I chose the Intel 3945ABG based on price. A competitor to this is the Atheros AR5006ES. See this guide.

Touchpad

Some what interesting is the trackpad. I don't have much experience with different trackpads, and I don't know exactly what is making mine work. The driver I am using is psmouse.

Under Fluxbox, I never specifically configured the mouse, and everything works like I'd expect. You get everything you get in a Synaptics pad, except horizontal scrolling, though I'm sure you could get it somehow. Some of the features include: vertical scroll on the right side of the pad, tap is left click, tap-click for click drag.

At the least, this gives an idea of what you should be able to do.

Update from Cheoppy, 18. April 2008.

My notebook has an Elantech touchpad, it works with the 'mouse' driver, has single, double and middle click (tapping the touchpad with 1, 3 or 2 fingers) and a vertical scroll. I found a linux driver for it on http://arjan.opmeer.net/elantech/, but never tried it.

Sound

According to the data sheet at MSI, the sound card is the Realtek ACL882. The driver is available in the kernel through Intel HD Audio but its best to go with the alsa-driver in portage. First in the kernel all we need is soundcore, nothing else:

Device Drivers --->
 Sound -->
  <M> Sound card support
      Advanced Linux Sound Architecture  --->
      Open Sound System  --->

Next add this line to /etc/make.conf

ALSA_CARDS="hda-intel"

Now do:

#emerge -av alsa-driver

Once thats done, it's time to configure the card so do:

#alsaconf

Fbsplash and Framebuffer

Even after you have correctly configured your kernel, the actual kernel parameters aren't necessarily intuitive. Here's the settings that I have that seem to work reasonably. The theme is a customization (resize) of gentoo-noia theme. Please add your working settings here!

title=Kernel 2.6.19-suspend2-r1.9 (vesa+Fbsplash)
root (hd0,0)
kernel /kernel-2.6.19-suspend2-r1.9 video=vesafb:1280x800-32@60,ywrap splash=silent,fadein,theme:gentoo-noia quiet CONSOLE=/dev/tty1  BOOT_MSG="Hello ...SmiTHers! YouRE Good at Turning  mE on!"
initrd /fbsplash-noia-1280x800

After this is configured, be cool with this:

mplayer -vo fbdev -vf scale=1280:800 FileName.mpg

Graphics Card

See this HowTo.

Appendix

lspci

The following is the output of lspci:

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:04.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
01:04.2 Class 0805: O2 Micro, Inc. Integrated MMC/SD Controller (rev 01)
01:04.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)

Pictures

Pictures of a build can be seen here. [1]

Retrieved from "http://www.gentoo-wiki.info/MSI_Megabook_s262"

Last modified: Fri, 29 Aug 2008 08:21:00 +0000 Hits: 7,920