Search:  
Gentoo Wiki

Asus_F3SV

Split-arrows.gifIt has been suggested that this article be split into multiple articles accessible from a disambiguation or index page.   (Discuss)

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


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


Lenovo V Series

Contents

Introduction

If you also are a happy F3SV owner, at least drop a word in the talk page, or help to complete this wiki page.

The coresponding thread to this tutorial can be found in the Gentoo-Forums

If you want to contribute here, please also post your update in the [forums.gentoo.org Gentoo Asus F3SV discussion thread] so we all know you have ;-)

Have fun pjv 18:17, 14 September 2007 (UTC)

Updates

About this howto

This howto tries to summarize the configuration of Gentoo linux (or any linux for that matter) on the Asus F3SV. As this document doesn't cover the whole installation process, nor any other basic configuration measures, it will focus on the peculiarities concerned with this specific model. It isn't the ultimate truth either, as probably the most likely reason for it's existence is to serve as a written memory for users who have been through the ordeal of configuring such a system.

Note: Unless specified otherwise this page handles a 32-bit (x86) installation and a recent 2.6 kernel.

The laptop

It has lot's of model names, for instance the Z53 is nearly identical I think. As submodel names there are AS018C, AS019C, AS016C, A1, AS087V, ...

References

Specifications for an F3SV-AS018C with processor and harddisk upgrade

  1. System:
    1. Processor:
    2. Platform/motherboard/chipset:
      • Intel Centrino Duo "Santa Rosa" platform
      • Mobile Intel 965PM Express north bridge chipset
      • ICH8-M south bridge chipset
      • 800MHz front side bus
      • American Megatrends flash ROM BIOS
    3. Memory:
      • 2GB (2x1GB) DDR2 667MHz SDRAM memory
      • Dual SO-DIMM socket, 1 slot user accessible
      • Expandable to 4GB
    4. Chassis
      • Dimensions: 365x269.5x28-40.5mm (WDH)
      • Weight: 2.95kg (incl. 6-cell battery)
  2. Storage and ports:
    1. Storage:
      1. Hard disk drive
      2. Optical drive:
      3. Card reader:
    2. Ports and slots:
      1. Ports:
        • No serial, joystick, parallel or PS/2 ports
        • No infrared
        • 1x Headphone-out jack: stereo, 3.5mm mini jack
        • 1x Microphone-in jack: 3.5mm mini jack
        • 1x Line-in jack: 3.5mm mini jack
        • 1x RJ-11 Modem jack for phone line
        • 1x RJ-45 LAN jack for ethernet LAN
        • 4x USB 2.0 ports: 4 pins, backwards compatible with 1.0, at different sides
        • 1x IEEE 1394 port: FireWire/iLink
        • 1x DVI Port
        • 1x TV Out (S-Video): PAL/...
        • 1x VGA Port: Mini D-sub, external monitor video out 15-hole connector
        • 1x covered RF-in for optional TV Tuner
      2. Slots:
        • Kensington lock socket
        • No SmartCard Reader slot
        • No PCMCIA slot
        • Express Card slot
  3. Audio and Video:
    1. Soundcard:
      • Built-in Intel High Definition Audio compliant audio chip
      • SoundBlaster Pro Compatible
      • Realtek
      • Support Audio Jack Detect for Vista Basic Logo
      • Support Audio CODEC criteria for Vista Premium Logo
    2. Speakers:
      • Built-in stereo speakers (1.5W) (dual)
      • Built-in microphone
    3. Videocard:
      • nVIDIA GeForce 8600M GS
      • 256MB DDR2 VRAM memory
      • 512/1024MB virtual VRAM memory with TurboCache
      • PCI Express interface
      • Highest resolution ...
      • Simultaneous LCD and CRT display at ...
    4. Display:
      • 15.4" WXGA+ (1440x900) TFT colour LCD
      • 16.7 million colours
      • Automatic LCD dim
      • Color Shine LCD
    5. Camera:
  4. Communication:
    1. Modem:
      • Intel High Definition audio modem
      • Motorola
      • Pass and support worldwide regulation
      • Onboard
    2. Wired network card:
      • 10/100/1000 Mbps Base-T Gigabyte Ethernet card
      • Attansic L1
      • Pass and support worldwide regulation
      • Onboard
    3. Wireless network card:
    4. Bluetooth:
      • Bluetooth V2.0+EDR chipset
      • Onboard
  5. Controls:
    1. Keyboard:
      • Full-size 88-key regular non-curved keyboard
      • Inverted "T" cursor layout with 4 cursor keys
      • 19mm spacing, 2.5mm key travel
      • 12 function keys with these extra actions:
        • Fn+F1 Suspend switch
        • Fn+F2 Wireless (Bluetooth) switch
        • Fn+F3 E-mail
        • Fn+F4 Internet
        • Fn+F5 Brightness down
        • Fn+F6 Brightness up
        • Fn+F7 LCD on/off
        • Fn+F8 LCD/CRT switch display
        • Fn+F9 Touch Pad lock
        • Fn+F10 Volume on/mute
        • Fn+F11 Volume down
        • Fn+F12 Volume up
        • Fn+Space Power 4 Gear+
        • Fn+C Splendid
      • 2 Windows keys
      • 5 hotkeys: Instant launch Keys: Instant Fun PLUS, Power4 Gear +, Email, Internet, Touchpad Lock, Splendid
      • QWERTY US international layout
      • No Euro marking
      • Embedded numeric keypad
      • 4 LED status indicators:
        • Power-on/Suspend
        • Battery Charging/full/low
        • Wireless indicator
        • Bluetooth Indicator
    2. Touchpad:
      • Built-in touchpad pointing device with two (seamless) buttons and scroll region
      • Can be disabled
      • Synaptics
    3. Fingerprint reader:
  6. Energy:
    1. Battery:
      • 6-cell Li-Ion removable internal battery pack
      • 4800mAh
      • 3S2P
      • 53.28WHrs
      • 2 hours battery life
    2. Powersupply:
      • AC adapter with 3-pin plug
      • Output: 19V DC, 90W, ?A
      • Input: universal auto-sensing 100?240V AC, 50/60Hz
    3. Power management:
      • ACPI2.0 support
  7. Tests and usage:
  8. Other parts:
    1. Security
      • BIOS Booting / HDD User Password Protection and security lock
      • Kensington lock hole
      • TPM (Trusted Platform Module)
    2. Mouse:
    3. Carry bag:
      • Asus-branded
    4. Software:
      • Asus Built or modified for Vista
        • Asus Win flash for BIOS and Driver live Update
        • MS Media Share Software
        • ASUS DVD 2000 / Cyber link Power DVD (w/ DVD model) w/ latest qualified version
        • Asus Screen Saver
        • Asus Live Update
        • Asus Life frame II
        • ASUS Multi-Frame
        • ASUS Wireless Console
        • Net 4 switch
        • Power 4 Phone
        • Asus NB Probe +
        • Color Enhancement (Splendid)
        • ASUS Security Protect Manager 2.0 (with Finger Print), ADSM (without Finger Print)
        • Infineon Security Platform Host SW
        • Instant Fun PLUS
      • Shipment bundle S/W:
        • Norton Internet Security 2007/3/25 (TrialVersion)
        • Adobe Reader Utility for read PDF files (V7.0)
        • Nero V6.x (Bundle with CD/DVD recorder)
      • Operating System
        • Microsoft Windows Vista Home Premium NL/UK/FR
    5. Support:
      • 2-year pick-up & return (limited global hardware warranty)
      • 1-year battery pack warranty
      • On-line problem resolution through web interface (BIOS, Driver update)
      • OS install/uninstall consultation
      • Bundled software install/uninstall consultation
      • ASUS software supporting (Liveupdate, Power 4 Gear+, ASUS Probe)
    6. Also included:
      • Screen wiper
      • Cable wrapper
      • Power cable, manual, recovery cd's, warranty information
  9. Compliances:
    • Microsoft Windows Vista

Experiences

General

Specs

Quality

Battery Uptime

Max with wifi is 1 hour 40 minutes (processor going on 800MHz)

Max without wifi with LCD darken a little is 1 hour 50 minutes.

Max while doing nothing is 2 hours.

Max with power user on top (wifi, some transfer, little 2-3 emerges, switching between 2 users, 20 minutes of VMware) is 1 hour 5 minutes.

Your mileages may vary :-)

Support

Hardware

Output of 'lspci'

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 Contoller #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:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (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 Unknown device 0425 (rev a1)
02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)
03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61)
09:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
09:01.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
09:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 12)
09:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
09:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)

Also see Asus F3SV/lspci

Output of 'lsusb'

lsusb

Bus 007 Device 002: ID 08ff:1600 AuthenTec, Inc. 
Bus 007 Device 001: ID 0000:0000  
Bus 006 Device 001: ID 0000:0000  
Bus 005 Device 002: ID 046d:c019 Logitech, Inc. 
Bus 005 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 002: ID 174f:6a31  
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 002: ID 0b05:1712 ASUSTek Computer, Inc. 
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000

Also see Asus F3SV/lsusb

Output of 'lshal'

See Asus F3SV/lshal

Kernel Config

Works with gentoo-sources kernel 2.6.22-r1 (optionally with suspend2 and reiser4 patches). (link to config to be added).

Hardware status

Note: Hardware marked with suspend2 blacklisted must have it's drivers compiled as modules so they can be unloaded before suspending to disk.
DeviceWorks?Note
CPU Yesdual core (SMP), 64-bit capable, cpufreq (or I prefer the old speedfreq)
ACPI & Hotkeys YesHotkeys, battery, power,... work. Brightness buttons don't seem to work. Also quite a lot of workarounds are needed.
DVD-recorder Yes
Touchpad YesProblem with right scroll area which only has one x value.
USB Yes
Wired networking YesReliability issue?
Wireless networking YesHave issues when connecting to Radius networks (disconnects once a 5 minutes or bigger download ~5MB)
Modem YesNot very well tested and might not be very reliable.
Bluetooth Yes
Videocard Yes
Soundcard Yes
FirewireUntestedBut it probably works out of the box.
Internal multicard reader Yes
Software suspend YesWorks, although iwlwfi drivers doesn't reconnect in reasonable time (rmmod and modprobe iwlwifi or waiting some about 5-10 minutes helps).
Webcam Yessuspend2 blacklisted
Fingerprint reader PossiblyNew driver
TPMUntested
PCI Express slotUntested
External monitor Yes

Pre-Installation Notes

Wired networking

You need to get the atl1 driver seperately as it is not yet on many LiveCD's.

CPU

See this guide.

Problems and Solutions

ACPI & Hotkeys

ACPI basically works out of the box.

For the hotkeys and the LEDs there's the acpi4asus asus-laptop kernel driver. Normally, you should see an option for this in your kernel config (do not confuse with an older version called asus_acpi, make sure to disable 'ASUS/Medion Laptop Extras'!). The in-kernel version might work, but I only tried getting the latest from cvs and building it outside the kernel.

Linux Kernel Configuration: Kernel 2.6.22-gentoo-r1
Power management options (ACPI, APM) --->
 ACPI (Advanced Configuration and Power Interface) Support --->
  [*] ACPI Support
  < > ASUS/Medion Laptop Extras
Device Drivers --->
  Generic Driver Options --->
    [ ] Select only drivers that don't need compile-time external firmware
    [ ] Prevent firmware from being built
  Graphics support --->
    [*] Backlight & LCD device support --->
        <*> or <M> Lowlevel Backlight controls
  LED devices --->
    [*] LED Support
    <*> or <M> LED Class Support
  Misc devices --->
    <*> or <M> Asus Laptop Extras (EXPERIMENTAL)

Unfortunately the DSDT is buggy as usual. To get all hotkeys working you need to correct the DSDT file. Download mine (or the latest) from acpi.sourceforge.net.

Here are some references: Asus G1, [1]

Build it to check that it's warning and error-free and to get the dsdt.hex:

# iasl -tc dsdt.dsl

Copy dsdt.hex to /usr/src/dsdt_table.h

Modify your kernel configuration:

Linux Kernel Configuration: Kernel 2.6.22-gentoo-r1
Power management options (ACPI, APM) --->
  ACPI (Advanced Configuration and Power Interface) Support --->
    [*] Include Custom DSDT
    (/usr/src/dsdt_table.h) Custom DSDT Table file to include

You will also need this (among other things) in your kernel configuration:

Linux Kernel Configuration: Kernel 2.6.22-gentoo-r1
Power management options (ACPI, APM) --->
  ACPI (Advanced Configuration and Power Interface) Support --->
    <*>   Video
Device Drivers  --->
  Input device support  --->
    [*]   Miscellaneous devices  --->
      <M>   User level driver support

The video option should give control over the LCD brightness. Now load the other modules, the first to get the hotkeys to generate acpi events, the second to have a /dev/uinput for later:

# modprobe asus-laptop
# modprobe uinput

Run the following and press Fn+F12 for instance:

#  tail -f /var/log/acpid

You should see something like this:

Code: tail -f /var/log/acpid
received event "hotkey ATKD 00000030 00000163"

You are obviously free to use any scripts that you like now to make use of these acpi events. You could start the asus-acpid init script for instance. That will work and will raise the volume in the background.

You won't get to see the gnome osd however because it calls amixer directly. My solution to this was to use acpi-support (something gentoo 'borrowed' from ubuntu), and in particular the acpi_fakekey app that converts acpi events to regular (old X) keycodes (as if you press a regular key).

The sunrise overlay has acpi-support-0.103 so get it from there.

Update 2008-07-14: Things have even become worse with acpi_fakekey (see below). As of kernel 2.6.23 you need to patch the kernel because some kernel dev thought it would be useful to only accept key events really coming from the keyboard (and in that way blocking acpi_fakekey). Anyway, hack over hack over hack, apply this patch in the context of this bug. Luckily the acpi-support package as in the sunrise overlay (version 0.103) now just works, so no need for repackaging or self-compiling anymore.

(Re)Start both involved init scripts:

# /etc/init.d/acpid restart
# /etc/init.d/acpi-support restart

Now you should be able to define your key shortcuts in gnome-keybindings-properties.

Finally, you can copy these modified scripts (well, merged from asus-laptop and acpi-support actually) from me, which give you the best of both worlds (still volume control via amixer if gnome's not running):

Code: /etc/acpi/mutebtn.sh
#!/bin/bash
. /usr/share/acpi-support/key-constants

if (($(ps -A | grep -c mixer_applet2) > 0));
then
        acpi_fakekey $KEY_MUTE;
else
        amixer -q set Front toggle;
fi

Code: /etc/acpi/voldownbtn.sh
#!/bin/bash
. /usr/share/acpi-support/key-constants

if (($(ps -A | grep -c mixer_applet2) > 0));
then
	acpi_fakekey $KEY_VOLUMEDOWN;
else
	amixer -q set Front 3-;
fi

Code: /etc/acpi/volupbtn.sh
#!/bin/bash
. /usr/share/acpi-support/key-constants

if (($(ps -A | grep -c mixer_applet2) > 0));
then
        acpi_fakekey $KEY_VOLUMEUP;
else
        amixer -q set Front 3+;
fi

Links: http://lapsus.berlios.de/

Multicard reader

This works practically out of the box, that is if you select the right kernel options:

Linux Kernel Configuration: Kernel 2.6.22-gentoo-r1
Device Drivers  --->
  <M> MMC/SD card support  --->
    [ ]   MMC debugging
    [ ]   Allow unsafe resume (DANGEROUS)
    ---   MMC/SD Card Drivers
    <M>   MMC block device driver
    ---   MMC/SD Host Controller Drivers
    <M>   Secure Digital Host Controller Interface support  (EXPERIMENTAL)

Load the module with:

# modprobe mmc_block

Then, when you insert a card, udev/hal/... should do it's work and you should be able to open it in your filebrowser.

Webcam

The webcam has this usb id:

Bus 003 Device 002: ID 174f:6a31

There is an experimental syntek driver at http://syntekdriver.sourceforge.net. Support for this device is in since revision 47. There is an ebuild (time of writing version 1.3.1) at http://bugs.gentoo.org/show_bug.cgi?id=178946.

First you need to compile in videodev in your kernel:

Linux Kernel Configuration: Kernel 2.6.22-gentoo-r1
Device drivers  --->
  Multimedia devices --->
    <M> Video For Linux 
    [*]   Enable Video For Linux API 1 (DEPRECATED)
    ---   Enable Video For Linux API 1 compatible Layer
    [*]   Video capture adapters  ---> 
    

You can then load the module as follows:

# modprobe videodev

Then install the ebuild and load the kernel module.

# modprobe stk11xx

The LED should flash briefly. There should be correct output in dmesg and you should be able to use the camera in apps using v4l like ekiga or skype. For instance emerge camorama and launch it:

# emerge -av media-video/camorama
# camorama

(You need to apply the color correction filter in camorama otherwise the colours will be somewhat reversed (blue and red).)

You can also view the Asus screensaver that came with the Windows installation by opening "file:///Windows/Windows/Asus_Camera_ScreenSaver%20dir/ASUS%20Camara%20ScreenSaver.swf" (where the first Windows is the mountpoint for your C: partition) with firefox. The camera should work in flash as well.

Videocard

Use the latest binary nvidia drivers (173.14.09). Problems between splash and the nvidia drivers when switching tty's have disappeared since somewhat version 173.14.09 (allthough the fix could also be in the splash packages).

Links:

Soundcard

Typical alsa installation using hda-intel driver. Links:

Bluetooth

Typical installation using in kernel modules and bluez. Links:

DVD-recorder

Nothing device-dependent, typical installation of for instance cdr-tools.

USB, FireWire and other connections

Touchpad

Typical installation via the X.org Synaptics driver module.

The touchpad has a lot of friction so you will mostly need to set the options to more sensitive values. Also it has a dedicated scroll area on the right side. It seems this area was added to a regular touchpad without real hardware support for it. The area only has one x value, namely 8176 (using synclient). There are no x values between about 6000 and 8176 (it just jumps discretely when you move your finger). This means it cannot detect horizontal movement, as with the smaller touchpads where you just set the scroll area using software. This is confusing when you bring your finger too much to the right when moving your mouse normally (things become non-linear), as there is only an imaginary boundary and no real edge.

Links: Synaptics Touchpad

Wired networking

After the Gentoo installation this is just a typical configuration using the kernel atl1 driver.

Links:

Wireless networking

See this guide.

Modem

Alsa can make the winmodem look like a SmartLink softmodem for use with slmodem. Actually nearly all modems today are used this way. Then you can use a dialer like for instance wvdial. So, once again, this would be a quite typical installation.

There is however an slmodem/alsa bug and you will need to get the latest slmodem source and then patch it with the simple patch found at Hell Labs. As of the slmodem-2.9.11-20070813 tarball, this patch is still necessary.

# patch -p1 < slmodem-2.9.11-alsa-period-size.patch 

Compile slmodem with:

# SUPPORT_ALSA=1 make
# SUPPORT_ALSA=1 make install

Then start slmodem manually (or later on use the gentoo init scripts, you can maybe copy these from the gentoo slmodem package):

# slmodemd --country BELGIUM --alsa hw:0,6

This is because of:

# card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]

You might get this if you don't use the patch:

# error: period size 48 is not supported by playback (64)

WvDial needs the

# Carrier Check = no

line in /etc/wvdial.conf for it to work, but other chatscripts work.

I also needed to use

# Dial Command = ATDT

with wvdial at least once to get past "No carrier detected". However gnome-ppp seems to be able to also do it with the default ATM1L3DT.

# wvdial

It never really stops dialing but seems to just work once you get DNS information output.

Links:

TPM

Links:

Fingerprint reader

The AES1610 is now specifically supported by a new project: fprint. Also ebuilds are in an overlay (see "downloads" on the website). I am waiting on gcc 4.1.3 (or a bugfix) to be able to properly install libfprint and test everything. The device will be hardly usable anyways due to the low match scores.

Links:

Hardware sensors

See this guide.

Sleep, Standby, Suspend, Hibernation, ...

Links:

Links

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

Last modified: Tue, 09 Sep 2008 01:20:00 +0000 Hits: 15,700