Difference between revisions of "ASUS Zenbook UX31E"

From ArchWiki
Jump to: navigation, search
(Ethernet - USB adapter)
Line 63: Line 63:
  
 
=== Ethernet - USB adapter ===
 
=== Ethernet - USB adapter ===
 +
{{Note|The Asix USB ethernet drivers are included in the current (3.2.2-1) kernel, so it should work out of the box now}}
 
The Ethernet USB adapater which comes with the ASUS UX31 and UX21 models is the Asix "USB to Fast Ethernet" adapter, model AX88772B. At the present, the device is not recognized by the currently available kernels. However, the source for the driver for Linux Kernels 2.6.38 and later can be downloaded at the following link: AX88772B Linux Driver v4.2.0: http://www.asix.com.tw/FrootAttach/driver/AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source.zip.
 
The Ethernet USB adapater which comes with the ASUS UX31 and UX21 models is the Asix "USB to Fast Ethernet" adapter, model AX88772B. At the present, the device is not recognized by the currently available kernels. However, the source for the driver for Linux Kernels 2.6.38 and later can be downloaded at the following link: AX88772B Linux Driver v4.2.0: http://www.asix.com.tw/FrootAttach/driver/AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source.zip.
  

Revision as of 22:45, 5 February 2012

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

This page contains instructions, tips, pointers, and links for installing and configuring Arch Linux on the ASUS Zenbook UX31E Ultrabook. (There is probably little/no difference with his 11" little brother, the UX21E)

Installation issues

If you get an error trying to format partitions when installing Arch try adding this line to the kernel parameters

libata.dma=0

Compatibility

For best user experience, use the latest mainline kernel (linux-mainlineAUR).

The following article refers to at least kernel 3.2.rc6

Touch Pad

There are different versions of the UX31, some have Sentelic and some have Elenatec - Touch pads.

Elenatec Touch pads

Touch & Scroll works out of the box. Clickpad functionality does not. (However, using two and three finger touches for right an middle click works fine).

If higher pressure must be applied to your touchpad in order to function properly, tweak the following properties according to your needs [1]

synclient FingerLow=5
synclient FingerHigh=15

Alternatively, edit your /etc/X11/xorg.conf.d/10-synaptics.conf

Section "InputClass"
       Identifier "touchpad catchall"
       Driver "synaptics"
       MatchIsTouchpad "on"
       MatchDevicePath "/dev/input/event*"
       Option "TapButton1" "1"
       Option "TapButton2" "3"
       Option "TapButton3" "2"
       Option "VertTwoFingerScroll" "1"
       Option "HorizTwoFingerScroll" "1"
       Option "FingerLow" "5"
       Option "FingerHigh" "15"
EndSection

Sentelic Touchpads

Note: The Sentelic Touchpad drivers have been added to the 3.2 kernel, so it should work out of the box by now.

Some kind of driver seems to be available here. https://github.com/ReubenBond/sentelic-multitouch In fact, ReubenBond has made contact with a sentelic representative who has provided him with official documentation on putting the device into absolute positioning mode. The latter can be accessed here: http://fsp-lnxdrv.svn.sourceforge.net/viewvc/fsp-lnxdrv/trunk/doc/fsp_packet.txt?revision=43&view=markup

This looks very promising and ReubenBond is committed to developing a driver in the next few weeks. This is all referenced in the forum https://bbs.archlinux.org/viewtopic.php?id=125262&p=2

Another even more advanced progress on driver is available here: https://github.com/saaros/sentelic

Please document any findings here.

Graphics

Works out of the box

Wireless

Works fine with the ath9k driver, included in the kernel since 2.6.27. Edit rc.conf as root and add ath9k to the MODULES array.

Warning: Do not forget to install the wireless_tools and wpa_suppliant packages during the installation since you will get stuck with no internet access if you don't!

Ethernet - USB adapter

Note: The Asix USB ethernet drivers are included in the current (3.2.2-1) kernel, so it should work out of the box now

The Ethernet USB adapater which comes with the ASUS UX31 and UX21 models is the Asix "USB to Fast Ethernet" adapter, model AX88772B. At the present, the device is not recognized by the currently available kernels. However, the source for the driver for Linux Kernels 2.6.38 and later can be downloaded at the following link: AX88772B Linux Driver v4.2.0: http://www.asix.com.tw/FrootAttach/driver/AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source.zip.

Once downloaded, the source needs to be compiled. First unzip the file as follows:

unzip AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source.zip

Next, go into the unzipped directory and compile the source as follows:

cd AX88772B_772A_760_772_178_LINUX_Driver_v4.1.0_Source
make

Install the just compiled module:

sudo make install

Finally load the module:

sudo modprobe asix

That's it. You should be able to connect using a wired connection now.

Solid State Drive

Check Solid_State_Drives

Power Management

Suspend to RAM

The USB modules must be unloaded or the laptop won't come out of sleep mode.

Put

SUSPEND_MODULES="xhci_hcd ehci_hcd uhci_hd"

in

/etc/pm/config.d/unload_module

The USB 3.0 module needs to be unloaded before suspending and X needs to disable/enable DPMS to get the screen back on on resume.

This can be done by creating a script in /etc/pm/sleep.d/ Pm-utils#Advanced_Configuration

This works with kernel >= 3.1.8-1 :

/etc/pm/sleep.d/95usbscreen
EHCI_BUSES="0000:00:1a.0 0000:00:1d.0"
case "${1}" in
   resume|thaw)
       # Disable touch-to-tap on Zenbook Sentelic touchpad
       # I don't know if this is needed
       echo -n 0x90 0x80 > /sys/devices/platform/i8042/serio4/setreg
       echo -n c > /sys/devices/platform/i8042/serio4/flags
       # Hacky workaround to fix display after suspend
       export DISPLAY=":0"
       export XAUTHORITY="/home/YOURUSER/.Xauthority"
       xset dpms force off
       xset dpms force on
       ;;
esac

Don't forget to make the script executable :

# chmod +x /etc/pm/sleep.d/95usbscreen

PCIe ASPM

Do not add the following option to the kernel line

pcie_aspm=force 

if

dmesg | grep -i "acpi fadt"

outputs

ACPI FADT declares the system doesn't support PCIe ASPM, so disable it.

i915

Enabling i915_enable_rc6 will improve battery perfomance significatively but might also cause sudden shutdowns. To enable it, add the following option to your kernel line.

i915.i915_enable_rc6=1

To check the current state of all i915 parameters execute as root (bash)

for i in /sys/module/i915/parameters/*;do echo ${i}=`cat $i`;done

Module parameter details

modinfo i915

For sudden shutdowns you can try fixing DSDT part of ACPI.

Additional powersavings

Configure Laptop_Mode_Tools and don't forget to check CPU_Frequency_Scaling

Additional ressources