Difference between revisions of "ASUS G1"

From ArchWiki
Jump to: navigation, search
(There is a tool for managing Asus LCM device named asusoled. The new kernel also has no problems with this device.)
m (Betarepeating moved page Asus G1 to ASUS G1: Standardizing case. ASUS website capitalizes the whole name, so we should too. http://usa.asus.com/)
(27 intermediate revisions by 14 users not shown)
Line 1: Line 1:
[[Category:Laptops (English)]]
+
{{out of date}}
[[Category:HOWTOs (English)]]
+
[[Category:ASUS]]
{{stub}}
+
 
+
 
==Hardware==
 
==Hardware==
 
*''CPU:'' Intel Core 2 Duo T7200 (2.00GHz, 4MB cache L2, FSB 667MHz)
 
*''CPU:'' Intel Core 2 Duo T7200 (2.00GHz, 4MB cache L2, FSB 667MHz)
Line 40: Line 38:
 
==Configuration==
 
==Configuration==
 
===CPU===
 
===CPU===
Works ot of the box.
+
Works out of the box.
  
Follow this [[SpeedStep]] guide to enable speedstepping
+
Follow this [[SpeedStep]] guide to enable speed-stepping.
  
 
===Video===
 
===Video===
Works with the propritary Nvidia-Driver in full display resolution.
+
Works with the proprietary Nvidia driver in full display resolution.
  
 
TV-Out/DVI currently untested, but the graphics driver finds the interfaces, so they should be switchable with the nvidia-tools.
 
TV-Out/DVI currently untested, but the graphics driver finds the interfaces, so they should be switchable with the nvidia-tools.
  
VGA-Out working with nvidia-settings.
+
VGA-Out is working with nvidia-settings.
  
Console Framebuffer is working in 1024x768 with the vga=0x317 kernel boot option. With the vesafb-tng the native display resolution should work, too.
+
Console framebuffer is working in 1024x768 with the vga=0x317 kernel boot option. With the vesafb-tng patch the native display resolution should work, too.
  
 
====Xorg====
 
====Xorg====
Follow this guide: [[How_to_install_NVIDIA_driver]]
+
Follow this guide: [[NVIDIA]]
  
No problems detected
+
No problems detected.
  
 
===Audio===
 
===Audio===
Works ot of the box.
+
Works out of the box.
  
Follow the official documentation to configure: [[Alsa]]
+
Follow the official documentation: [[ALSA]]
  
 
===Wi-Fi===
 
===Wi-Fi===
To enable wireless follow the official guide: [[Wireless_Setup]]
+
To enable wireless follow the official guide: [[Wireless Setup]]
  
Please note the Asus G1 needs the ipw3945 driver
+
Please note that the Asus G1 needs the ipw3945 driver.
  
NetworkManager is also a cool option
+
NetworkManager is also a cool option.
  
 
===Webcam===
 
===Webcam===
Since there is no official suppot for the G1 Webcam, it is needed to install separate drivers.
+
Since there is no official support for the G1 Webcam, you need to install separate drivers.
  
The best one (and the only one for linux) is [http://syntekdriver.sourceforge.net/ syntekdriver]
+
The best one (and the only one for Linux) is [http://syntekdriver.sourceforge.net/ syntekdriver].
  
 
The installation is really simple:
 
The installation is really simple:
  
  Download and unpackage the sources
+
  Download and unpackage the sources.
 
  make clean
 
  make clean
 
  make
 
  make
Line 86: Line 84:
  
 
Please note:
 
Please note:
* There is a problem loading the driver about the "/sys" file system. This isn't dangerous but will prevent the boot of Arch if you put the stk11xx driver in your loading modules (Don't do it)
+
* There is a problem loading the driver about the "/sys" file system. This isn't dangerous but will prevent the boot of Arch if you put the stk11xx driver in your loading modules (so do not do it).
* V4L is better than V4L2 right now. In future releases this may change, but now use V4L
+
* V4L is better than V4L2 right now. In future releases this may change, but for now use V4L.
 +
 
 +
Update:
 +
* new Asus G1S-B1 (and G1S-A1) laptops ship with the Chicony Electronics webcam which the 'linux-uvc-svn' package contains the driver for
  
 
===Bluetooth===
 
===Bluetooth===
Works out of the box? I doesn't own any bluetooth device, but the controller is detected and condifgured
+
Works out of the box? I do not own any bluetooth device, but the controller is detected and configured automatically.
  
 
===Pointer===
 
===Pointer===
To enable the pointer follow this guide: [[Touchpad_Synaptics]]
+
To enable the pointer follow this guide: [[Touchpad Synaptics]]
  
A really cool utility is gsynaptics (is in community repo).
+
A really cool utility is gsynaptics (available in the [community] repo).
  
 
===Leds & ACPI upgrade===
 
===Leds & ACPI upgrade===
To enable every led (the ones on the LCD too) the first thing needed is udpraging the acpi module with the provied by [http://acpi4asus.sourceforge.net/ acpi4asus].
+
'''''Note:''''' With recent kernels, compiling acpi4asus is no longer necessary. Skip to editing rc.conf below.
  
The operation are really easy, follow these steps:
+
To enable every led (the ones on the LCD too) the first thing needed is upgrading the acpi module with the one provided by [http://acpi4asus.sourceforge.net/ acpi4asus].
 +
 
 +
It's really easy, follow these steps:
  
 
  mkdir sources
 
  mkdir sources
Line 109: Line 112:
 
  make install
 
  make install
  
Now the new driver is installed, to use it and prevent udev from using the old one, edit your rc.conf and:
+
Now the new driver is installed. To use it and prevent udev from using the old one, edit your /etc/rc.conf and:
#Add to "MOD_BLACKLIST": "asus_acpi"
+
#Add to "MOD_BLACKLIST": asus_acpi
#Add to "MODULES": "asus_laptop"
+
#Add to "MODULES": asus_laptop
  
 
Right now you can reboot or execute:
 
Right now you can reboot or execute:
Line 119: Line 122:
 
Everything done!
 
Everything done!
  
You'll find the leds in "/sys/class/leds/"
+
You'll find the leds in "/sys/class/leds/".
  
To enable a led write "1" in the "brightness" file in the right directory
+
To enable a led write "1" in the "brightness" file in the right directory.
To disable a led write "0" in the "brightness" file in the right directory
+
To disable a led write "0" in the "brightness" file in the right directory.
  
 
Try this:
 
Try this:
Line 130: Line 133:
  
 
===OLED Display===
 
===OLED Display===
There is package in AUR named asusoled. It needs turning off usbhid (rmmod usbhid) or patching kernel ([http://kharg.LKSnet.org/asus-lcm.diff asus-lcm.diff]).
+
There is a package in AUR named asusoled.
 +
 
 +
kernel < 2.6.23: It needs turning off usbhid (rmmod usbhid) or patching the kernel: [http://kharg.LKSnet.org/asus-lcm.diff asus-lcm.diff]
 +
 
 +
kernel >= 2.6.23: works out of a box
 +
 
 +
 
 +
There is also a separate kernel driver based on asusoled: [http://lapsus.berlios.de/asus_oled.html Asus_OLED]. It works without patching usbhid or removing asus_laptop. Just load it before the usbhid module gets loaded and it will work (< 2.6.23, in new kernels works out of a box). It contains a small Qt utility, which can be used as a drop-in replacement for asusoled, and has some additional features.
 +
 
 +
 
 +
You may simply want to display a digital clock with the date in the asusoled area. To do this :
 +
 
 +
# install [https://aur.archlinux.org/packages.php?ID=22716 asus_oled-clock-svn] from the [[AUR]].
 +
# add 'asusoled-clock' in the daemons array of your rc.conf
  
 
====Function Keys====
 
====Function Keys====
WiP
+
WiP -- Use Lapsus
  
 
===Utilities===
 
===Utilities===
Here are listed some usefull utilities
+
Here are some useful utilities:
  
 
====The Lapsus daemon & KDE applet====
 
====The Lapsus daemon & KDE applet====
Lapsus is a set of programs created to help manage additional laptop features such as :     
+
Lapsus is a set of programs created to help manage additional laptop features such as:     
 
     * All the LEDs (on/off)
 
     * All the LEDs (on/off)
 
     * LCD Backlight
 
     * LCD Backlight
Line 151: Line 167:
 
     * LightSensor switch and sensitivity level (svn version only)
 
     * LightSensor switch and sensitivity level (svn version only)
  
Pre-required : acpi4asus from CVS (anyway a version > 0.41). In your rc.conf, mod_blacklist the 'acpi_asus' module and add the 'asus_laptop' one in the MODULES array.
+
<strike>Prerequisites: acpi4asus from CVS (at least a version > 0.41).</strike> In your rc.conf, blacklist the 'acpi_asus' module and add the 'asus_laptop' one in the MODULES array.
 
+
Install the latest lapsus package from http://lapsus.berlios.de/ with traditional method : ./configure, make, make install.
+
  
Now you have to make the lapsud daemon start : /opt/kde/sbin/lapsusd
+
Install the latest lapsus package from [https://aur.archlinux.org/packages.php?do_Details=1&ID=11207 aur].
 +
Now start the lapsusd daemon: <b>/etc/rc.d/lapsusd start</b>. You can add it into DAEMONS array in <b>/etc/rc.conf</b>.
  
Finally add the Lapsus applet to KDE kicker.
+
Finally add the lapsus applet to KDE kicker.

Revision as of 00:35, 14 June 2012

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:ASUS G1#)

Hardware

  • CPU: Intel Core 2 Duo T7200 (2.00GHz, 4MB cache L2, FSB 667MHz)
  • Chipset: Mobile Intel® 945 PM Express Chipset + ICH7M
  • RAM: 2048MB (2 x 1024MB) DDR2 SDRAM 667 Mhz
  • Hard Disk: SATA 160GB 5400 rpm - SATA 120GB 5400 rpm
  • DVD Burner: SUPER MULTI DOUBLE LAYER
  • Display:
    • TFT 15.4" WXGA (1280x800) ColorShine TFT-LCD, Asus Splendid Video Intelligent Technology
    • TFT 15.4" WSXGA+ (1680x1050) ColorShine TFT-LCD, Asus Splendid Video Intelligent Technology
  • Video: NVIDIA GeForce Go 7700 512MB
  • Audio: Scheda Intel High Definition Audio
  • Wi-Fi: 802.11a/b/g
  • Bluetooth: 2.0+EDR
  • Webcam: 1.3 Mpixel
  • Modem: 56 Kbps V.90
  • LAN Gigabit Ethernet: 10/100/1000
  • Connectors:
    • 1 x Microphone-in jack
    • 1 x Headphone-out jack (S/PDIF)
    • 1 x TypeII PCMCIA slot
    • 1 x Line-in jack
    • 1 x VGA port
    • 1 x DVI-D port
    • 4 x USB 2.0 ports
    • 1 x IEEE 1394 port
    • 1 x RJ11 Modem jack for phone line
    • 1 x RJ45 LAN Jack for LAN insert
    • 1 x TV-out(S-Video)
  • Card Reader: MMC, SD, MS, MS-Pro
  • Dimension and Weight:
    • 324mm * 284mm * 37.4 mm(W x D x H)
    • 3.1 Kg (8-cell)
  • Pointer: Touch pad


Configuration

CPU

Works out of the box.

Follow this SpeedStep guide to enable speed-stepping.

Video

Works with the proprietary Nvidia driver in full display resolution.

TV-Out/DVI currently untested, but the graphics driver finds the interfaces, so they should be switchable with the nvidia-tools.

VGA-Out is working with nvidia-settings.

Console framebuffer is working in 1024x768 with the vga=0x317 kernel boot option. With the vesafb-tng patch the native display resolution should work, too.

Xorg

Follow this guide: NVIDIA

No problems detected.

Audio

Works out of the box.

Follow the official documentation: ALSA

Wi-Fi

To enable wireless follow the official guide: Wireless Setup

Please note that the Asus G1 needs the ipw3945 driver.

NetworkManager is also a cool option.

Webcam

Since there is no official support for the G1 Webcam, you need to install separate drivers.

The best one (and the only one for Linux) is syntekdriver.

The installation is really simple:

Download and unpackage the sources.
make clean
make
modprobe videodev
insmod stk11xx.ko

That's all. Now the webcam is working.

Please note:

  • There is a problem loading the driver about the "/sys" file system. This isn't dangerous but will prevent the boot of Arch if you put the stk11xx driver in your loading modules (so do not do it).
  • V4L is better than V4L2 right now. In future releases this may change, but for now use V4L.

Update:

  • new Asus G1S-B1 (and G1S-A1) laptops ship with the Chicony Electronics webcam which the 'linux-uvc-svn' package contains the driver for

Bluetooth

Works out of the box? I do not own any bluetooth device, but the controller is detected and configured automatically.

Pointer

To enable the pointer follow this guide: Touchpad Synaptics

A really cool utility is gsynaptics (available in the [community] repo).

Leds & ACPI upgrade

Note: With recent kernels, compiling acpi4asus is no longer necessary. Skip to editing rc.conf below.

To enable every led (the ones on the LCD too) the first thing needed is upgrading the acpi module with the one provided by acpi4asus.

It's really easy, follow these steps:

mkdir sources
cvs -d:pserver:anonymous@acpi4asus.cvs.sourceforge.net:/cvsroot/acpi4asus login
cvs -z3 -d:pserver:anonymous@acpi4asus.cvs.sourceforge.net:/cvsroot/acpi4asus co -P acpi4asus
cd acpi4asus/driver
make
make install

Now the new driver is installed. To use it and prevent udev from using the old one, edit your /etc/rc.conf and:

  1. Add to "MOD_BLACKLIST": asus_acpi
  2. Add to "MODULES": asus_laptop

Right now you can reboot or execute:

modprobe -r asus_acpi
modprobe asus_laptop

Everything done!

You'll find the leds in "/sys/class/leds/".

To enable a led write "1" in the "brightness" file in the right directory. To disable a led write "0" in the "brightness" file in the right directory.

Try this:

echo 1 > /sys/class/leds/asus:gaming/brightness 

Enjoy your leds!

OLED Display

There is a package in AUR named asusoled.

kernel < 2.6.23: It needs turning off usbhid (rmmod usbhid) or patching the kernel: asus-lcm.diff

kernel >= 2.6.23: works out of a box


There is also a separate kernel driver based on asusoled: Asus_OLED. It works without patching usbhid or removing asus_laptop. Just load it before the usbhid module gets loaded and it will work (< 2.6.23, in new kernels works out of a box). It contains a small Qt utility, which can be used as a drop-in replacement for asusoled, and has some additional features.


You may simply want to display a digital clock with the date in the asusoled area. To do this :

  1. install asus_oled-clock-svn from the AUR.
  2. add 'asusoled-clock' in the daemons array of your rc.conf

Function Keys

WiP -- Use Lapsus

Utilities

Here are some useful utilities:

The Lapsus daemon & KDE applet

Lapsus is a set of programs created to help manage additional laptop features such as:

   * All the LEDs (on/off)
   * LCD Backlight
   * Wireless radio switch
   * Bluetooth adapter switch
   * Alsa mixer (volume control, mute/unmute)
   * Synaptics touchpad (on/off)
   * Volume/Mute hotkeys
   * Touchpad hotkey
   * Backlight hotkey
   * LightSensor switch and sensitivity level (svn version only)

Prerequisites: acpi4asus from CVS (at least a version > 0.41). In your rc.conf, blacklist the 'acpi_asus' module and add the 'asus_laptop' one in the MODULES array.

Install the latest lapsus package from aur. Now start the lapsusd daemon: /etc/rc.d/lapsusd start. You can add it into DAEMONS array in /etc/rc.conf.

Finally add the lapsus applet to KDE kicker.