Gentoo Wiki


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



This guide is about how to install Linux on the Asus A6Km laptop.

Hardware overview

CPUAMD Turion 64 Mobile Technology, MT-32, 512kB L2 cache, 1.8Ghz, 25W
MotherboardSIS 756 + SIS 964L
Hard diskIDE UDMA-100 80 Gb / 5400 RPM.
VideoNVidia GeForce 7300 Go 64 MB with TurboCache supporting up to 256MB, TV-out and external monitor port
Display15.4" WXGA Color Shine LCD Technology, 1280 x 800 px
PC Card1 x Type II PCMCIA 2.1 compliant
CardreaderRicoh R5C822 SD/SDIO/MMC/MS/MSPro
LANRealtek RTL-8169 10/100/1000 Base-T
WIFIBroadcom Corporation BCM4318 802.11g Wireless LAN Controller
ModemSiS AC'97 Modem
USB4 ports, USB 1.1 and 2.0
FireWire1 port
Infrared1 port, IrDA v1.1
Parallel1 port, EPP/ECP
Audio1 Line In, 1 Line Out, 1 Microphone, 1 Optical out, AC'97, Audio-DJ

lspci output

The Howto

As this didn't resemble a howto or a guide (rather an incomplete list of hardware), I thought I would add to it as I have this laptop and run Gentoo 2006 amd64. (Submitted by Appleman1234)

Things that work

CPU: The CPU works and supports frequency scaling. Frequency scaling requires the modules, freq_table, cpufreq_userspace, powernow-k8 and a application like cpudyn or powernowd.

ACPI: ACPI works with kernels greater than 2.6.16-rc3, before this it required a BIOS downgrade, a change of DSDT, or removing usb support from the kernel. The easiest solution is to use a newer kernel. It helps if you emerge an acpi dameon like acpid or powersaved and add it to the default runlevel. The ASUS-ACPI is said to work with correct setup according to the Italian Gentoo Wiki, I am yet to test this but will do so.

Apparently more hotkeys (more then just brightness and lcd off) can be accessed by using asus-hotkeys [1] and the definition file [2]. Yet to be tested.

Wireless: Wireless works with bcm43xx module in the 2.6.17 kernel. You have to use fwcutter to get the firmware and install it properly though. (See This Gentoo forum post for instructions ) The code for this native driver is a little buggy (They are working on fixing it), so wireless may play up from time to time. Networkmanger and Knetworkmanager now work :), just be careful with udev and dbus.

In order to make it work again: modprobe -r bcm43xx modprobe bcm43xx iwconfig eth1 essid Youressid ifconfig eth1 up

You can also use ndiswrapper just make sure you use the 64 bit windows drivers. (For more information go here)

In kernel 2.6.20 and latest udev all work at the box(Need only firmware. I get this from ASUS CD.). Wireless also works with the newer b43 driver in the newer kernel, but I find it doesn't find any access points when running the net script not on boot and the signal strength of networks is less than the older driver with Networkmanager and iwlist scan. It also renames the wireless device to wlan0.

Ethernet: The wired ethernet works correctly with the r8169 module. But if you want to change mac address first you need to apply this patch

Graphics Card: The nvidia module works flawlessly with xorg 7.0. To get it emerge nvidia-kernel and emerge nvidia-glx. If you have xorg 7.1, it still works (you just have use the emerge --nodeps option) but their are some font drawing problems. I changed a subhinting pixel setting in KDE and now the only applications that are affected is sometimes Firefox and Wine applications. If you don't want to downgrade your X and have no need for 3D support, I suggest you just use the nv driver instead. Update: No problems in xorg 7.1 now after nvidia update and beryl provides xgl effects using nvidia drivers.

USB: USB works provided you load the right modules. (ohci-hcd, ehci-ocd, etc)

IEEE1394: Should work, haven't tested.

PCMCIA: The module is yenta_socket.

Ricoh Co Ltd R5C822 MMC / SD Card reader

A driver for the MMC / SD card reader has been in the kernel since 2.6.18 (sdhci). Both SD and MMC cards work :).

Sound: Sound now works, with recent versions of ALSA. The module is snd_intel8x0. The was a big issue, bug with this card in older versions of ALSA, this has been resolved.

Modem: It should work with linuxant drivers and it might work with the Smartlink drivers, but I haven't as of yet tested it.

Webcam: A driver for the device is currently under development [] (thanks to thothonegan and maxxer for pointing The driver is finally at version 1.0 release, and currently works for most V4L applications and some V4L2 applications.

Gentoo ebuild (bugzilla)

lsusb of this camera

 Bus 001 Device 002: ID 174f:a311
 iManufacturer           1 Syntek Semicon.
 iProduct                2 USB2.0 Video

Infrared: Works under lirc using the lirc-sir driver with irq=3 and io=0x2f8. Make sure it is loaded before the serial driver (make the serial driver module) or lirc wont be able to get it. Haven't tested IrDA communication, though it should work fine with the irtty-sir driver. More information here: Asus a7j lirc RC

I will add more information and detailed instructions for things when I get time.


Retrieved from ""

Last modified: Tue, 09 Sep 2008 01:23:00 +0000 Hits: 13,560