Search:  
Gentoo Wiki

Asus_G1S


Please format this article according to the guidelines and Wikification suggestions, then remove this notice {{Wikify}} from the article


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

Contents

Little Overview

Component Status Notes
ACPI works Asus Extras available (see below)
Keyboard works see below
GeForce 8600M GT works (xorg-x11 & nvidia-drivers) framebuffer not tested
WLAN works (iwl4965) since 2.6.24 integrated in the kernel
Gigabit Ethernet works Realtek 8169 gigabit ethernet support
Sound works alsasound with hda_intel module
Touchpad works See below
Intel Turbo Memory not working no ideas at time how this get to work
PCMCIA not available
ExpressCardworks
IEEE 1394 not tested but should work ohci1394
USB Camera works @ see below
xD Picture CardReader not tested
MMC/SD Card Reader works SDHCI & ricoh_mmc
Bluetooth works
LED's (Gaming & Touchpad & Mail) works asus-laptop & lapsus (@see ACPI)
Asus OLED device works asus_oled-0.0.3
SoftLink 56K Modem works see below

Output of lspci

arko ~ # lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GT (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61)
06:00.0 Memory controller: Intel Corporation Turbo Memory Controller (rev 01)
07:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
08:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
08:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
08:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
08:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)

Output of lsusb

arko j0inty # lsusb
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 003: ID 0b05:1712 ASUSTek Computer, Inc. BT-183 Bluetooth 2.0+EDR adapter
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 046d:c01e Logitech, Inc. MX518 Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 174f:5a35 Syntek 1.3MPixel Web Cam - Asus G1s
Bus 001 Device 003: ID 0b05:1726 ASUSTek Computer, Inc. Laptop OLED Display
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

ACPI

For the ACPI support we need the follow kernel settings and programs.

Linux Kernel Configuration: Power managment options
[*] Power Management support
[*] Suspend to RAM and standby
[*] Hibernation (aka 'suspend to disk')
(/dev/<swap>) Default resume partition
[*] CPU idle PM support
Linux Kernel Configuration: Power managment options ---> Enhanced Hibernation (TuxOnIce)
<*>   File Allocator
<*>   Swap Allocator
()    Default pre-hibernate command
()    Default post-resume command
<*>   Compression support
<*>   Userspace User Interface support
(/usr/local/sbin/tuxonice_fbsplash) Default userui program location
[*]   Allow Keep Image Mode
[*]   Replace swsusp by default
[*]   Checksum pageset2
(25)  Default waiting time for emergency boot messages
< >   Test pageflags 
Linux Kernel Configuration: Power managment options ---> ACPI (Advanced Configuration and Power Interface) Support
[*]   Deprecated /proc/acpi files
[*]   Deprecated power /proc/acpi directories
[*]   Future power /sys interface
[*]   Deprecated /proc/acpi/event support
<*>   AC Adapter
<*>   Battery
<*>   Button
<*>   Video
<*>   Fan
-*-   Dock
<*>   Processor
<*>     Thermal Zone
< >   ASUS/Medion Laptop Extras 


Linux Kernel Configuration: Power managment options ---> CPU Frequency scaling
[*] CPU Frequency scaling
[*]   Enable CPUfreq debugging
<*>   CPU frequency translation statistics
[*]     CPU frequency translation statistics details
Default CPUFreq governor (conservative)  --->
-*-   'performance' governor
<*>   'powersave' governor
<*>   'userspace' governor for userspace frequency scaling
<*>   'ondemand' cpufreq policy governor
-*-   'conservative' cpufreq governor
*** CPUFreq processor drivers ***
<*>   ACPI Processor P-States driver
** shared options *** 
[*]   /proc/acpi/processor/../performance interface (deprecated)


And now we need to activate the asus-laptop module. For that we need to include two other packages, too.

Linux Kernel Configuration: Device Drivers ---> Graphics support ---> Backlight & LCD device support
--- Backlight & LCD device support
<*>   Lowlevel Backlight controls
Linux Kernel Configuration: LED devices
[*] LED Support
<*>   LED Class Support

This option here is only avalible by kernels >= 2.6.24

Linux Kernel Configuration: Device Drivers --> Misc devices
<M>   Asus Laptop Extras (EXPERIMENTAL)

After you compiled the kernel and restarted you will see that the udev has loaded the asus_laptop module. Now you can go and install the lapsus daemon or use the acpi4asus package out of portage.

lapsus

1. I have tested it only with the lapsus daemon and kde kicker applet which are shipped with lapsus.

2. To install the lapsus over a portage overlay you have to download the ebuild, confd and initd files from here.

  http://bugs.gentoo.org/show_bug.cgi?id=233822
File: /etc/make.conf
PORTDIR_OVERLAY="/usr/local/portage"
# mkdir -p /usr/local/portage/app-laptop/lapsus
# cp lapsus-9999.ebuild /usr/local/portage/app-laptop/lapsus
# ## Note: Replace ARCH with x86 or amd64
# echo "app-laptop/lapsus ~ARCH" >> /etc/portage/package.keywords
# mkdir /usr/local/portage/app-laptop/lapsus/files
# cp lapsusd.* /usr/local/portage/app-laptop/lapsus/files
# ebuild /usr/local/portage/app-laptop/lapsus/lapsus-9999.ebuild digest
# emerge -av app-laptop/lapsus
# usermod -a -Glapsus <user>
# /etc/init.d/dbus restart
### Start the daemon
# /etc/init.d/lapsusd start
### Stop the daemon
# /etc/init.d/lapsusd stop

To start the daemon in the default runlevel do

# rc-update -a lapsusd default

For KDE Users:

Now you can add a kicker applet that called Asus Laptop. Here you have to configure which feature you want and then you can see the tray buttons to control the LED/Displays/Sound/and soon.

Asus LCM (asus_oled)

The ASUS LCM device works pretty cool. Under the link below you will find a kernel module.

http://lapsus.berlios.de/asus_oled.html
# tar -xvf asus_oled-0.0.3.tar.bz2
# cd asus_oled-0.0.3
# make
# su
# make install
# modprobe asus_oled
# cat tux_r2.txt > /sys/class/asus_oled/oled_1/picture

That was it ;). More informations can find in the readme file.

Note: Since kernel 2.6.26 you need a patch for the version 0.0.3 of asus_oled module

asus_oled-0.0.3_2.6.26.patch

Keyboard

This configuration example is for german keyboards. If you have another keyboard change the "de" to your code.

File: /etc/conf.d/keymaps
KEYMAP="de-latin1"
File: /etx/X11/xorg.conf
Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "AutoRepeat" "500 30"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "de"
    Option         "XkbVariant" "nodeadkeys"
    Option         "XkbOptions" "altwin:super_win"
EndSection

Sound (snd_hda_intel)

The soundcard is easy to install. Simply add the snd_hda_intel support for alsa in your kernel. For more informations about alsa you can read tho howto posted here on gentoo-wiki.

http://www.gentoo-wiki.info/HOWTO_ALSA

SoftLink 56K Modem (snd_intel8x0m)

For the Modem you need to follow the ALSA part of the slmodem howto.

http://www.gentoo-wiki.info/HOWTO_slmodem#Using_ALSA_drivers
arko j0inty # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC861VD Analog [ALC861VD Analog]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
 Subdevices: 0/1
 Subdevice #0: subdevice #0
File: /etc/conf.d/slmodem
DEV=/dev/ttySL0
COUNTRY=GERMANY
GROUP=dialout
LN_DEV=/dev/modem
NICE=-6
MODULE=alsa
HW_SLOT=modem:0

I use it with KPPP and it works very fine.

Touchpad

File: /etc/make.conf
INPUT_DEVICES="mouse keyboard evdev synaptics"
File: /etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "BlankTime" "5"
    Option         "StandbyTime" "10"
    Option         "SuspendTime" "20"
    Option         "OffTime" "30"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Mouse1" "AlwaysCore"
EndSection

## Synaptics Touchpad
Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "synaptics"
    Option         "Device" "/dev/input/event6"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
    Option         "SHMConfig"  "on"
EndSection

## Logitech Mouse MX518
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "evdev"
    Option     "Emulate3Buttons" "no"
    Option      "Buttons" "10"
    Option      "ZAxisMapping" "4 5"
    Option      "Dev Name" "Logitech USB-PS/2 Optical Mouse"
    Option      "evBits"  "+1-2"
    Option      "keyBits" "~272-287"
    Option      "relBits" "~0-2 ~6 ~8"
    Option      "Pass"    "3"
EndSection

MX518 only

File: /etc/X11/Xmodmap
pointer = 1 2 3 4 5 8 9 6 7 10 11

KDE

For KDE you can install ksynaptics which works very well.

emerge -av ksynaptics

USB Camera

linux-uvc (>=2.6.26)

Linux Kernel Configuration: Device Drivers --> Multimedia devices --> Video capture adapters --> V4L USB devices

<M> USB Video Class (UVC)

linux-uvc (<=2.6.25)

With the UVC Linux kernel module the camera is working.

#this installs the linux-uvc driver
# svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk linux-uvc
# cd linux-uvc
# make
# su
# make install
# modprobe -v uvcvideo

luvcview

This is a Test program where you can also make some settings.

# This part installs luvcview
# wget http://mxhaard.free.fr/spca50x/Investigation/uvc/luvcview-20070512.tar.gz
# tar -xvf lucview-20070512.tar.gz
# cd luvciew
# make
# luvcview -f yuv -w

I have tested it with skype and some other v4l applications and it works fine.

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

Last modified: Sat, 06 Sep 2008 04:10:00 +0000 Hits: 3,340