Difference between revisions of "ASUS Zenbook UX303"

From ArchWiki
Jump to: navigation, search
(update Pkg/AUR templates (https://github.com/lahwaacz/wiki-scripts/blob/master/update-package-templates.py))
m (Touch Pad: works since Linux 4.0.1-1)
Line 29: Line 29:
 
   [Install]
 
   [Install]
  
=== Touch Pad ===
+
=== Touchpad ===
The touchpad is an FocalTech model, that is '''not yet supported''' by the arch reference kernel. It works only as a basic mouse (no scroll with two fingers, no gesture):
+
The touchpad is an FocalTech model, that is supported by the arch reference kernel since 4.0.1-1 update.
 +
 
 
   dmesg | grep FLT01                                                             
 
   dmesg | grep FLT01                                                             
 
   [    0.395565] pnp 00:06: Plug and Play ACPI device, IDs FLT0101 SYN0a00 SYN0002 PNP0f03 PNP0f13 PNP0f12 (active)
 
   [    0.395565] pnp 00:06: Plug and Play ACPI device, IDs FLT0101 SYN0a00 SYN0002 PNP0f03 PNP0f13 PNP0f12 (active)
Line 37: Line 38:
 
   15  
 
   15  
  
   $ xinput  
+
   $ xinput  
 
   ⎡ Virtual core pointer                    id=2 [master pointer  (3)]
 
   ⎡ Virtual core pointer                    id=2 [master pointer  (3)]
  ...
+
   ⎜  ↳ FocalTechPS/2 FocalTech FocalTech Touchpad id=14 [slave  pointer  (2)]
   ⎜  ↳ PS/2 Logitech Wheel Mouse              id=15 [slave  pointer  (2)]
 
But, since the 3.18 version, the kernel identifies the touchpad (but identify only, so no scroll with two fingers, no gesture):
 
 
 
  $ xinput
 
  ⎡ Virtual core pointer                          id=2    [master pointer  (3)]
 
  ..
 
  ⎜  ↳ PS/2 FocalTech FocalTech Touchpad in mouse emulation mode id=14   [slave  pointer  (2)]
 
 
 
Some works in progress:
 
* [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1372609 bug#1372609] : this bug is now resolved, see the below Mathias Gottschlag's patch.
 
* [https://bugzilla.redhat.com/show_bug.cgi?id=1110011 bug#1110011]
 
* [https://bbs.archlinux.org/viewtopic.php?id=187242 Touchpad not recognized on Asus Zenbook UX303LA]
 
 
 
Mathias Gottschlag wrote the [http://www.spinics.net/lists/linux-input/msg34486.html driver] for this touchpad. This patch is '''now [https://github.com/torvalds/linux/blob/master/drivers/input/mouse/focaltech.c included] in the 4.0.0-rc1 kernel''', so it will be soon available in the GnuArch Linux kernel. If you want to try it now the easiest way is to install {{AUR|linux-git}} from aur.
 
 
 
You can also compile the Mathias Gottschlag's kernel:
 
* get the Mathias Gottschlag's kernel git repository : git clone https://github.com/mgottschlag/linux.git
 
* switch to the focaltech3 branch : git checkout remotes/origin/focaltech3
 
* and follow the [[Kernels/Compilation/Traditional]] wiki doc
 
* and enjoy the two finger scrolling and other synaptic settings
 
  
If you prefer an already compiled kernel, Mathis Gottschlah [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1372609/comments/210 published it] as detailed in the [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1372609 bug#1372609] thread (thank's to Tonus contributor).
+
To get full functionality, you will need to configure the touchpad. See [[Touchpad Synaptics]] for more information.
  
 
=== Touch screen ===
 
=== Touch screen ===

Revision as of 08:48, 3 May 2015

This page contains instructions, tips, pointers, and links for installing and configuring Arch Linux on the ASUS Zenbook UX303 Ultrabook.

There is a lot a models but 2 main models, UX303LN with 2 graphic cards (intel & nvidia) and UX303LA with only an intel graphic card.

Installation problems

None, but you should use the UEFI archlinux installation guide. The Asus UEFI accepts UEFI boot (which works well) and Legacy BIOS mode.

Compatibility

Hard Disk

For models with an SSD, see Solid_State_Drives.

For the models without a SSD as main disk, the hard disk stop/start each 30/60 seconds, add a udev rule :

 $ cat /etc/udev/rules.d/50-hdparm.rules
 # Configure hardisk power management: No more spin-down !!
 KERNEL=="sda", SUBSYSTEM=="block", ACTION=="add", RUN+="/usr/bin/hdparm -B 255 -S 0 /dev/sda"

and update the systemd hdparm service:

 $ cat /etc/systemd/system/hdparm.service 
 [Unit]
 Description=Local system resume actions
 After=suspend.target
 
 [Service]
 Type=simple
 ExecStart=/usr/bin/hdparm -B 255 -S 0 /dev/sda
 
 [Install]

Touchpad

The touchpad is an FocalTech model, that is supported by the arch reference kernel since 4.0.1-1 update.

 dmesg | grep FLT01                                                            
 [    0.395565] pnp 00:06: Plug and Play ACPI device, IDs FLT0101 SYN0a00 SYN0002 PNP0f03 PNP0f13 PNP0f12 (active)
 cat /sys/bus/acpi/devices/FLT0101\:00/status                                  
 15 
 $ xinput   
 ⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
 ⎜   ↳ FocalTechPS/2 FocalTech FocalTech Touchpad	id=14	[slave  pointer  (2)]

To get full functionality, you will need to configure the touchpad. See Touchpad Synaptics for more information.

Touch screen

The touchscreen is an Atmel maXTouch Digitize. Simple touch works well out of the box. The 10-point multi touch works with libinput installed (tested with the tools/event-debug libinput test tool).

Webcam

The webcam is an SuYin HF1019-T838-SN03 (USB 2.0, UVC) which works well.

Wifi

The wifi chipset is an Intel(R) Dual Band Wireless N 7260, REV=0x144. It works well with recents kernel (fails with 3.2.0 kernel) with the iwlwifi kernel module and the firmware version 23.214.9.0. The device name is wlp2s0.

Bluetooth

The Bluetooth chipset is an intel N7260 model (same as the wifi chipset), which works well. Uses the intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq firmware.

Graphics

The main graphic chipset is an Intel Haswell chipset, which works well with the i915 xorg driver. See Intel_graphics for details.

The second graphic card (for the LN model) is an NVIDIA GeForce 840M, not yet tested....

See Hybrid_graphics for possible configurations.

Keyboard backlight

Four level positions (0 to 3) available with

 tee /sys/class/leds/asus::kbd_backlight/brightness <<< 3

Monitor backlight

available with

 tee  /sys/class/backlight/intel_backlight/brightness  <<< 500

825 is the max value.

On kernel 3.17, max value seems to be 187

QHD monitor

Some models include a 3200x1800 screen, which display very tiny characters.

See the general HiDPI wiki page for possible fixes.

Function Keys

All function keys except the backlight and "plane" mode seem to work out of the box (as of kernel 3.17). To fix, add acpi_osi= as a kernel parameter. Example line from /etc/default/grub:

GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_osi="