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.)
(update Pkg/AUR templates (https://github.com/lahwaacz/wiki-scripts/blob/master/update-package-templates.py))
 
(40 intermediate revisions by 19 users not shown)
Line 1: Line 1:
[[Category:Laptops (English)]]
+
[[Category:ASUS]]
[[Category:HOWTOs (English)]]
+
{{out of date}}
{{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. See [[CPU frequency scaling]] for some tweaks.
 
 
Follow this [[SpeedStep]] guide to enable speedstepping
 
  
 
===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 network configuration]]
  
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.
+
See [[Webcam setup]].
 
 
The best one (and the only one for linux) is [http://syntekdriver.sourceforge.net/ 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 (Don't do it)
 
* V4L is better than V4L2 right now. In future releases this may change, but now use V4L
 
  
 
===Bluetooth===
 
===Bluetooth===
Works out of the box? I doesn't own any bluetooth device, but the controller is detected and condifgured
+
See the main article: [[Bluetooth]]
  
 
===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).
+
===Leds & ACPI upgrade===
 +
'''''Note:''''' With recent kernels, compiling acpi4asus is no longer necessary.  Skip to editing rc.conf below.
  
===Leds & ACPI upgrade===
+
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].
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].
 
  
The operation are really easy, follow these steps:
+
It's really easy, follow these steps:
  
 
  mkdir sources
 
  mkdir sources
Line 109: Line 89:
 
  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 99:
 
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 110:
  
 
===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]
  
====Function Keys====
+
kernel >= 2.6.23: works out of a box
WiP
+
 
 +
 
 +
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.
  
===Utilities===
 
Here are listed some usefull utilities
 
  
====The Lapsus daemon & KDE applet====
+
You may simply want to display a digital clock with the date in the asusoled area. To do this :
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)
 
  
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.
+
# install {{AUR|asus_oled-clock-svn}}{{Broken package link|{{aur-mirror|asus_oled-clock-svn}}}} from the [[AUR]].
 +
# add 'asusoled-clock' in the daemons array of your rc.conf
  
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
+
There are also some interesting utilities available to control and utilize the OLED display over here: https://bitbucket.org/SysGhost/asus-oled-command-line-utility.git
  
Finally add the Lapsus applet to KDE kicker.
+
====Function Keys====
 +
WiP -- Use Lapsus

Latest revision as of 10:17, 20 August 2015

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. See CPU frequency scaling for some tweaks.

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 network configuration

Please note that the Asus G1 needs the ipw3945 driver.

NetworkManager is also a cool option.

Webcam

See Webcam setup.

Bluetooth

See the main article: Bluetooth

Pointer

To enable the pointer follow this guide: Touchpad Synaptics

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-svnAUR[broken link: archived in aur-mirror] from the AUR.
  2. add 'asusoled-clock' in the daemons array of your rc.conf


There are also some interesting utilities available to control and utilize the OLED display over here: https://bitbucket.org/SysGhost/asus-oled-command-line-utility.git

Function Keys

WiP -- Use Lapsus