Asus M51SN

Hardware description
lspci

lsusb

Ethernet
According to, the Attansic L1 Gigabit Ethernet Adapter is supported in Linux >= 2.6.21. The 2007.0 Gentoo Live-CD comes with an older kernel, and, thus, does not support this card. The 2008.0-beta2 Gentoo Live-CD comes with 2.6.24-gentoo-r5 kernel, and this card works fine.

Wi-Fi
The 2008.0-beta2 Live-CD has not detected the wireless card.

The Intel PRO/Wireless 3945ABG card can be easily enabled by selecting its driver in kernel source and installing the required firmware from the net-wireless/iwl3945-ucode package.

Note that some laptops might come with another Intel wi-fi card. Please check yours using lspci.

The wi-fi card can be enabled or disabled by writing 1 or 0 to /sys/devices/platform/asus-laptop/wlan

Bluetooth
You can use bluez for bluetooth support.

Kernel
I needed to update to at least 1.0.15 for alsa with kernel 2.6.24-r3

Packages
media-libs/alsa-lib (1.0.16_rc2@17.03.2008): Advanced Linux Sound Architecture Library media-plugins/gst-plugins-alsa (0.10.14(0.10)@16.03.2008): plugin for gstreamer media-sound/alsa-headers (1.0.16_rc2@17.03.2008): Header files for Advanced Linux Sound Architecture kernel modules media-sound/alsa-utils (1.0.15(0.9)@17.03.2008 -> (~)1.0.16_rc1(0.9)): Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.) media-sound/alsamixergui (0.9.0.1.2-r4@16.03.2008): AlsaMixerGui - a FLTK based amixer Frontend media-sound/gnome-alsamixer (0.9.6@16.03.2008): Gnome based ALSA Mixer

Modprobe.d
Afterwards run:

Further notes
It seems that position_fix=1 is not required.

Sound works using the ALSA driver which came with 2.6.24-gentoo-r8 kernel (being 1.0.15 according to my /proc/asound/version) using the following settings inside /etc/modprobe.d/alsa:

alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss options snd cards_limit=1 options snd-hda-intel position_fix=1 model=lenovo alias snd-card-0 snd-hda-intel alias sound-slot-0 snd-hda-intel

(You may need to run update-modules after editing.)

Sound over multiple applications also works with this config.

Video
Just follow this guide or the official one and add a little in the xorg.conf (Device Section):

Option        "DPI" "96 x 96"

Note: This may only be needed in some cases. It should be autodetected but the drivers don't always get it right.

Webcam
Webcam works using qc-usb: emerge -av qc-usb. When done installing, load the module:

Viewing the cam can be achieved through (e.g.):

Click here for other ways to view the webcam.

---

On my laptop it only works with media-video/linux-uvc.