- Linux на Asus Zenbook UX310UQ-GL474T
- David Vonka’s Blog
- Ubuntu Documentation
- Asus Zenbook and Ubuntu
- Overview
- Suspend, Hibernate, Shut-down and Reboot
- Keyboard
- Multimedia keys
- Touchpad
- Summary
- Extra tweaking
- Sentelic Touchpad
- Elantech Touchpad
- Wireless
- USB Ethernet
- Bluetooth
- Sound
- Microphone
- Internal mic
- External mic
- Webcam
- External Monitor
- SD card slot
- Fan Control
- Sensors
- Power Saving Optimizations
- Kernel parameters to use
- Bugs and issues
- Not yet solved
- Manually enabling USB 3 / XHCI runtime PM disables port
- Improved support for Sentelic touchpad synaptics/multitouch
- Machine won’t boot with UEFI
- Solved
- USB Ethernet dropping packages
- USB 2 / EHCI module needs to be unbound on suspend (Solved)
- VT-d setting in BIOS (Solved)
- pcie_aspm=force doesn’t work (Solved)
- Machine check events (MCE) errors reported in kernel log
- Intel RC6 causes sudden shutdowns (Solved)
- Kernel 3.2 KMS (Solved)
- EHCI power savings preventing shutdown (Solved)
- Appendix: Older information
- Ubuntu 11.10
- Suspend, Hibernate, Shutdown and Reboot
- Wireless (11.10)
- External microphone
- USB Ethernet
- Bluetooth
- Power Saving Optimizations
- Power saving scripts
- How to upgrade kernel
- 1. Set kernel options
- 2. Download the kernel
- 3. Install the kernel
- How to recompile kernel for Ubuntu 12.04 LTS and ux31e
Linux на Asus Zenbook UX310UQ-GL474T
Хочу поставить Mint 18.1 или Ubuntu. Кто-нибудь пробовал? Функциональные кнопки работают? Какие могут быть подводные камни?
Не быстрее будет самому поставить и посмотреть? А потом уже спрашивать, если что не заработает.
Просто интересно, может кто ставил. Конечно, поставлю и посмотрю.
Я ставил. Проблемы следующие:
1. Разрешение экрана. У ноута оно 1920х1080. Mint Cinnamon и другие (кроме KDE) поддерживают масштабирование только 1 или 2. А для комфортной работы требуется 1.5. KDE поддерживает 1.5, но не везде. Где-то вылезают косяки с разрешением.
2. У ноута 2 видеокарты. По-умолчанию, в linux они будут работать одновременно, что негативно скажется на автономности работы. Так что нужно будет поправить этот момент ручками.
И если со вторым вопросом можно справиться, то по первому много вопросов. Сам из-за этого до сих пор на винде.
ставил минт, не понравилось быстродействием, в итоге откатился на арч, но подозреваю этому ноуту нужен ssd. fn-клавиши робят из коробки. может некоторые подпилить придется
ASUS Zenbook UX310UQ-FB306T ставил Mint, всё работает.
На UX310UQ-FB306T разрешение 3200х1800. У автора 1920х1080.
Я в курсе, масштабирование интерфейса в 2 раза тоже работает нормально. Проц такой же, видюха такая же(дрова ставятся без проблем, переключение между интеграшкой и дискреткой работает), функциональные клавиши работают.
Ну что ж, поставил. Вроде все работает. Только некоторые функциональные клавиши не работают. А так все в порядке.
В Gnome Tweak Tools можно выставить у шрифтов Scaling Factor 1.3 или 1.6, например. У самого UX31A. Scaling Factor по идее можно и через dconf выставить, на Cinnamon не пробовал но должно работать.
какой смысл скейлить только шрифты? шрифты как раз нормальные, некоторые элементы вот маленькие. Дропбокс, гпартед, флаг языка
Честно говоря не знаю какой смысл скейлить в данном случае что-то кроме шрифтов, в GTK3 и так элементы довольно большие, а вот текст было плохо видно и увеличение очень помогло. Dropbox не использую, с gparted всё нормально было. Флаг языка у меня на Caps Lock выведен.
Вы о гном-3? у меня-то циннамон. Язык тоже на капсе, но это не делает флаг больше. И в либроффисе тоже все мелко, а настройку масштабирования интерфейса в верии 5.4 куда-то выпилили
ставил debian, wifi модуль не работал без пакета iwlwifi, мол, драйвера для Intel 7265 несвободные
Источник
David Vonka’s Blog
I just bought an ASUS Zenbook UX303LN, preinstalled with a Windows 8.1 Pro operating systems. An hour’s experience with the state of affairs at Microsoft persuaded me that I really have to install Linux, despite all the problems encountered by VNpro9x and described here:
http://vnpro9x.com/threads/556-Asus-UX303LN-and-Ubuntu
I encountered all the expected trouble, but after a few hour’s work I do have a functional system, with correct handling of the HiDPI 3200×1800 resolution and a working touchpad with gestures. Function keys work. I’m not sure about the energy management yet.
Let us see what I had to do.
Disable UEFI
I’ve no ambition to really understand what UEFI is. It is on, it stops me from installing linux => I want it off.
- log into your windows 8.1
- go to the screen with the colorful tiles and click on ‘restart’, while holding the Shift key. I kept holding the shift key, until the folowing menu appeared, but maybe it is not really needed.
- this brings you to the a menu, where you go for advanced and deeper in the menu to UEFI configuration
- windows tells you to restart to change the UEFI settings. Do restart.
- after restart you’ll end up in the BIOS setup, go to the security tab and select disabled in the UEFI secure boot
Download and install Linux Mint 17.1 64-bit cinnamon
Simply downloaded the ISO and used this software: http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/ to put it on a FAT formatted usb disk. Make sure to use this usb installer. there is some “new way” and “old way” of creating a bootable linux USB stick and 17.1 mint needs the “new way”, which the current pendrive is.
The installation works tollerably out-of-the-box. Three things suck:
- the touchpad runs in a ps/2 mouse simulation mode (try running xinput from your terminal). This means that you cannot use any multi-finger gestures, like two-finger scroll.
- The OS itself is fine, but in firefox, all pages have very tiny fonts. This has to do with limited support for HiDPI screens.
- Most function keys do not work.
The touchpad gestures and the function keys
There are many posts on the internet about this problem, I was saved by this one: http://ubuntuforums.org/showthread.php?t=2253069&page=7
At the end, user named pilot6 gives a link to a modified 3.16 kernel, which fixes this. The current mainstream 3.19 kernel does not contain the fix yet. Anyway,
- go to https://www.dropbox.com/sh/07642x3lziqgmz9/AACGWNO5_lNnX7x7tYMoH9gka?dl=0
- go to the next directory
- download the 4 deb files to a separate directory on your system
- open the terminal, go to that directory and run sudo -s dpkg -i *.deb and then sudo -s update-grub
- restart your computer and log into linux, the touchpad should work fine now
Edit May 2015: The approach described in the strikethrough section does not work any more, because the dropbox “next” directory is empty. But pilot6 (let us all hail his nickname) describes a new solution, which works on my Zenbook (source: https://launchpad.net/
sudo add-apt-repository ppa:canonical-kernel-team/ppa
sudo apt-get update
sudo apt-get install linux-generic-lts-vivid
sudo add-apt-repository -r ppa:canonical-kernel-team/ppa
install a new kernel for you. Do this and reboot. After rebooting, run
and you should get something like
Linux vonkad-UX303LN 3.19.0-17-generic #17
14.04.1-Ubuntu SMP Thu May 7 11:05:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
in response, showing that you are really running the new kernel .
Edit October 2015: The installation of another kernel described in the strike-through section is not needed any more, the following works fine on a standard mint 3.19.0-31-generic kernel.
Then run install the driver by
sudo add-apt-repository ppa:hanipouspilot/focaltech-dkms
sudo apt-get update
sudo apt-get install focaltech-dkms
and then either reboot or activate the respective module by
sudo modprobe -r psmouse
sudo modprobe psmouse
As for the brightness keys, one need to follow the advice by guillaume-desclaux at http://ubuntuforums.org/showthread.php?t=2243162, which says that one needs to
and find the line starting with GRUB_CMDLINE_LINUX_DEFAULT
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash acpi_osi=“
add the bold part about acpi_osi, do no forget the “=” sign. Reboot and enjoy your Fn-F5 and Fn-F6 key combination.
Firefox
- Open Firefox, put about:config in the address bar
- agree that you’ll be careful
- find property layout.css.devPixelsPerPx and set if from -1 to something between 1.5 and 2
- restart firefox
Conclusion
That’s it 😉
Review after 3 months
Well, I “played” with my installation, broke it totally and utterly and had to reinstall. During the reinstall, I decided to give up on the HiDPI 3200×1800 resolution and switched to a more normal 1920×1080, because I was facing the folowing problems
- projector: I need to be able to connect my Zenbook to a projector. The HiDPI resolution does not play well with the 1280xsomething low resolution of the projector. It is actualy not usable at all. And it is hard to just switch the resolution of the Zenbook for the presentation, because I need to tweak a lot of software (like my Intellij Idea development environment) and if I switch to a standard resolution, these tweaks backfire on me. So going between 3200 and 1920 resolution is just not simple enough to be done twice a day.
- vmware windows 8.1: I need to be able to run windows in vmware (yes, I actually have bought a special windows licence for this). I simply cannot do that with the HiDPI, I see nothing in the windows screen.
- minor visual problems: I was sick of too small icons in several software packages. Everything was workable, but almost no software hanled the high resolution really perfectly.
Источник
Ubuntu Documentation
Finally, a reliable solution for unexpected shutdowns and hangs was discovered!
This seems to be working with any Asus laptop suffering from unexpected shutdowns and / or hangs while running on battery:
1. Add the following boot arguments _both_ to GRUB_CMDLINE_LINUX_DEFAULT and GRUB_CMDLINE_LINUX in /etc/default/grub.cfg:
intel_pstate=disable pcie_aspm=force acpi_osi=’Windows 2009′ acpi_os_name=’Windows 2009′
Don’t forget to execute sudo update-grub afterwards!
2. Install the package tlp from ppa:linrunner/tlp an set at least the following values in /etc/default/tlp
3. Shut down the device, carefully remove the bottom cover and detach the big battery (not the tiny CMOS battery) from the motherboard for five minutes. There are plenty of youtube videos showing how to safely disassemble the various Asus laptops. With certain power management settings on the OS side, the EC (Embedded Controller) goes crazy and thus needs resetting. The only way to reset it is to detach the battery for a few minutes.
4. From now on, shutdowns should be gone. Take care, however, not to _ever_ use any live USB stick or installation / recovery CDs based on Linux and using the intel_pstate driver and / or the default BIOS settings for ASPM. If you try to, you will merely reproduce the problem once again, and will subsequently have to disassemble your Zenbook once again. There are a few sad cases, like reinstalling Ubuntu itself, where you will _have_ to boot from a live USB utilizing the problematic intel_pstate driver. Only do so when running on AC, and please repeat Stage 3 (no matter how boring) of this manual once you are done.
P.S. Intel_pstate and the default ASPM bios settings eventually make the mobo’s Embedded Controller go crazy and persist in this state until the battery is detached from the motherboard. That’s basically how this problem is born.
The Asus Zenbook models UX31E/UX21E works very well with Ubuntu but does benefit from a little post installation configuration regarding. This page aims to describe the steps needed to fully enable all features of the Asus Zenbook. For the newer Asus Zenbook Prime models UX32/UX31A/UX21A, see the AsusZenbookPrime.
You can check what is your model with the command:
For further discusion and to seek help, see Ubuntu and the Asus Zenbook thread in the Ubuntu Forums. Please contribute valuable information to this page and create bug reports in launchpad if Ubuntu needs to fix something. Place links to those bug reports in the text below.
Asus Zenbook and Ubuntu
Especially power management and possibly touchpad depending on the touchpad vendor need manual configuration. Please either use the 12.04.1 LTS point release for installing, or if using the original 12.04 LTS installation media install all the updates available on your first run! There was a suspend related problem that was fixed only via updates.
Ubuntu 12.10 should also work generally well, but LTS versions of Ubuntu are recommended for normal users. Ubuntu 12.04.2 LTS point release in January 2013 will also include updated hardware support, optionally installable for current 12.04 LTS users. Ubuntu 13.04 is reported to also works properly.
Overview
Anything not mentioned here should work out of the box.
Support status
(works out-of-the-box) (works, with remarks) (needs manual work) (won’t currently work (completely)) (not yet documented)
The default BIOS works well. If needed, you can download the newest BIOS here:
You can update the BIOS from the BIOS menu itself, without any additional utilities.
Copy the BIOS file onto a memory-stick. Reboot and press the esc button to enter the BIOS menu. Then select «Enter Setup». From the Advanced tab, choose the Easy Flash option and then select the BIOS file to update.
Current Xorg-server uses a display resolution setting of 96dpi by default. UX31E Zenbooks have a resolution of
138dpi. The default value of 96dpi makes fonts (and every thing else) look really small.
You can list the current setting with:
You can try use this option to override the default value:
You can add this line at the end of /etc/X11/xinit/xinitrc
Only when dimension and resolution are set correctly after an Ubuntu installation, the remark in the overview can disappear.
The SDD works out-of-the-box but its performance can be optimised. You should follow the directions at http://www.howtogeek.com/62761/how-to-tweak-your-ssd-in-ubuntu-for-better-performance/ and change your /etc/fstab parameters by adding «discard,noatime» to the mount options for your SSD. In addition, it recommends changing your scheduler to «deadline». Further minimize SSD writes by mounting /tmp in RAM by adding the line «tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0» to the bottom of /etc/fstab. Finally you can enable TRIM by adding «rootfstype=ext4» to the ‘GRUB_CMDLINE_LINUX_DEFAULT=’ parameters line in /etc/default/grub and then running:
**Only enable TRIM this way if /root is on your SSD drive.**
Only when SSD optimisation is done automatically by Ubuntu, the remark in the overview can disappear.
Suspend, Hibernate, Shut-down and Reboot
Works perfectly out of the box, provided you have installed the 12.04.1 LTS updates.
Before the kernel update was added to 12.04 LTS, the following workaround was needed:
The kernel USB 3.0 (and sometimes 2.0) modules needs to be unloaded before suspending, and in kernels prior to 3.1 X also needs to disable/enable DPMS to get the screen back on resume. Save the following script as /etc/pm/sleep.d/20_zenbook (and make it executable):
If this workaround not used on an unfixed kernel, there have been reports that the laptop’s memory controller setting may be screwed. After an incorrect suspend, if the corruption happens, many memory blocks starting with
1G will be corrupt. Good way to see it is to use «memtest86+». The only way to fix controller setting is to open the case and plug off the battery. Please note that on this ultrabook the battery is not a user serviceable part and this could mean that by opening you can get your warranty void! If you start Windows or Linux with a corrupted controller, you will get system crashes or/and damaged file system. More info here: https://bugzilla.kernel.org/show_bug.cgi?id=42728 and https://bugs.launchpad.net/ubuntu/+source/linux/+bug/962798
For kernel 3.1 or newer (Ubuntu 12.04 LTS):
For 13.04 it works bu after wake up the login (unlock) dialog is a compete white rectangle. However, it does work but one cannot see the field to enter you password and the button to unlck the machine. This needs to be fixef before it can be reported that it works out of the box.
Keyboard
The keyboard works fine out of the box. If you do not want dead keys to be enabled, choose Engish (US) in
All other three English (US) keyboards enable dead keys and provide no option of disabling dead keys in any other way. Usually the installation of Ubuntu will suggest you choose English (US) International. The compose key can be enabled in Options. under Compose key position. Left Win and Right Win are good candidates for this.
Multimedia keys
Toggle internal/external screen: Works.
Volume up, down, mute: Works.
Brightness up, down: Works.
NOTE: As of BIOS update 214 «Support Windows8 brightness control» is added. This means that the brightness buttons won’t work in Ubuntu any longer. Brightness workaround 2 in the Zenbook Prime wiki works fine for changing brightness.
Switch screen on/off: Works.
Switch touchpad on/off: Works. (Where are the files in GNOME 3 for the OSD icons for? There is a small alignment error in of them.)
Switch Network connection on/off: Works.
Context menu key: Works.
Fn + C (Launch1): Works, but not bound by default.
Fn + Space (Launch6): Works, but not bound by default.
Fn + V (Web Cam): Works, but not bound by default.
Fn+C/V/Space still does not work on 13.04 when the command above have been executed. How can this be fixed? Once fixed in a new Ubuntu installation, the remark on the icon of the section can be resolved.
Touchpad
Summary
Works fine out of the box, if you have Elantech made touchpad in your Zenbook. Use System Settings -> Mouse and Touchpad to change several settings including enabling two finger scrolling. Also three and four finger touch gestures work.
Works only in a basic way if you have Sentelic made touchpad in your Zenbook. Using a 3.5 kernel instead is recommended for optimal behavior — the Ubuntu 12.10 kernel will be available for 12.04 LTS users around the time 12.04.2 LTS will be released. current non-supported 3.5 backport snapshot version to 12.04 LTS here (note you only need the kernel)
Extra tweaking
This section is only for advanced users and requires usage of command line.
The Zenbook comes with one of two types of touchpads: Sentelic or Elantech. To determine which touchpad you have use this command:
Sentelic Touchpad
Works out of the box. Currently multi-touch doesn’t work, but see Bugs & Issues below for current status. To disable tap-to-click on boot, add the following to /etc/rc.local (and to the resume section of the suspend/resume script above, if necessary):
Elantech Touchpad
Works out of the box. Multi-touch works in Ubuntu 12.04 LTS (kernel 3.2). Changes made in 3.2 were that the whole pad is the left button, there is thus no right button*. Click and drag is done by clicking anywhere on the pad and moving the finger. Right mouse is available as two-finger tap. Middle button is available as three finger tap.
* A revision to the synaptics driver restores click-pad functionality.
See here for the instructions. (See here for ubuntu versions previous to 12.04) Unfortunately the provided script is aged out because properties of the command xinput did changed. In order to provide a working script, copy and replace the following lines in your «enable-rightbutton.sh» script file (only last line did changed) :
Check the ID of your pointer device by typing :
Change de execution right of your script, and execute it :
With the 3.2 kernel, there is a very simple solution to the very low sensitivity problem. You can just use synclient to setup the sensitivity you want (and many other things).
Here is an example script from Aurélien Jacobs and Marcus Möller. You can save it e.g. as
/bin/touchpad_settings and add it as Unity startup script using gnome-session-properties.
Only the first line is required to increase sensitivity. Other lines make the touchpad much more useful, but may not fit your needs. It is highly recommend to spend some time playing with synclient to find a setup that you really like (see ‘man synaptics’).
For kernel 3.3-rc5 on Ubuntu 12.04 LTS is Elantech drivers is working very good.
How can I disable touchpad on the buttons? In other words, when I move my fingers on the touchpad buttons I do not want the pointer to move. How an I configure this?
Wireless
Many users report that this works out of the box. Seems to work flawlessly, several megabytes per second. However, the hardware only supports 2.4GHz networks.
Additionally, in non-optimal conditions the connection starts easily to be flaky and slow. Debugging and development effort between a driver developer and users having the same wifi hardware as Zenbook occurred in June 2013 which lead to a fix that tremendously improves the wifi quality. Currently it’s not yet integrated in a released kernel, but you may see the comments #63 and #65 in this bug report:
. on how to get the improved driver currently for the current running kernel.
The patches will be part of Linux 3.11 kernel (and will be possibly backported 3.10 etc)
USB Ethernet
Works out of the box. (kernel 3.2-rc7 and later, commit)
For older than 12.04 LTS kernels, the following patch was needed to be applied:
Bluetooth
Works perfectly out of the box, provided you have installed all the 12.04 LTS updates.
Sound
Works perfectly out of the box, both internal and through HDMI.
Microphone
Internal mic
Works perfectly out of the box.
External mic
Works perfectly out of the box, provided you have installed all the 12.04 LTS updates.
It does not work on (at least) the Zenbook UX301 ultra-books though, which utilizes a combo jack (no external mic appears in the sound configuration of Ubuntu). As June 2015 and Ubuntu 15.04, there is no known fix.
Webcam
Ubuntu recognizes the camera out of the box. You can test it with Cheese and use that for taking pictures, series of pictures for stop motion and for making movies.
If you find video too dark when using video-conferencing apps (eg. Skype, Google Hangouts) install and run guvcview and adjust your brightness, contrast and gamma settings.
If this option doesn’t work you can also try entering
in the shell while Skype is running, to boost your gamma settings.
External Monitor
HDMI works out of the box (with audio). If you wish to use the laptop display at the same time as an external display, you must plug in the HDMI cable after X has started (also after resuming from suspend).
VGA works out of the box. But the internal screen has only one resolution setting (1600×900). This can be changed by creating an xorg configuration file called e.g. 10_eDP1.conf and placing it in /usr/share/X11/xorg.conf.d. The file should have the following content:
Note that if you want to use the internal and external screen at the same time the same rule applies as for the HDMI slot: plug in after system booted up. In case the user is «ready» pressing Fn+F8 before GRUB appears should solve the dual screen problem as well (according to reports on Ubuntu and the Asus Zenbook thread).
SD card slot
Works perfectly out of the box.
Fan Control
Works perfectly out of the box.
Sensors
Sensors for temperature and fan speed work by default. However to (optionally) read the sensor data requires the package lm-sensors which is installed by:
Power Saving Optimizations
Power saving on Asus Zenbook is pretty good out-of-the-box on Ubuntu 12.04 LTS, although not as perfect as it could be if Asus was shipping/certifying Ubuntu itself. This section gives a couple of hints to perfect it.
The biggest improvement — the Intel graphics RC6 power saving — is enabled by default in Ubuntu 12.04 LTS and is not needed to be specified separately anymore like in earlier Ubuntus. Likewise, Frame Buffer Compression is enabled by default in 12.04 LTS.
After enabling also the optimizations below, one should get circa 5W idle power usage with screen on but brightness to minimum, with WLAN connected.
Kernel parameters to use
Enabling ASPM saves a meaningful amount of power when idle according to powerstat. It’s recommended. The pcie_aspm=force parameter is however required on Zenbook because the Zenbook BIOS gives Ubuntu wrong information. Therefore, add the following to the file /etc/default/grub, after the text quiet splash but within the same quotes:
There are a couple of optional kernel parameters which save some power and have not shown any problems with Zenbook, but are not enabled by default. Instead of the above, you may also use the following:
After editing /etc/default/grub, make sure to run
Enabling ALPM may save a meaningful amount of power when idle according to powerstat.
Read more and also the warnings on page ALPM. So far it has worked without problems for people, for example the Zenbook users, but has not been enabled by default in Ubuntu yet.
Bugs and issues
Not yet solved
Manually enabling USB 3 / XHCI runtime PM disables port
In «auto» suspend setting for the Fresco controller causes the USB3-port on the right to disable, although cellphones etc still can be charged with it.
Status: Awaiting kernel developer feedback. [add link!]
Improved support for Sentelic touchpad synaptics/multitouch
Reuben Bond has begun work on a synaptics driver for the Sentelic touchpad on https://github.com/ReubenBond/sentelic-multitouch but is awaiting further documentation from Sentelic regarding the multi touch.
Also, Oskari Saarenmaa has managed to get two finger scrolling working in his git repo at https://github.com/saaros/sentelic/, which Chris D aims to refine further in his fork at https://github.com/thaelim/sentelic.
Status: Work in progress.
Machine won’t boot with UEFI
As of 21-Feb-2012 Grub2 seems to have problems booting Asus machines using UEFI, so use BIOS.
EDIT by JW (16-Dec-2013): ASUS uses Aptio firmware from American Megatrends. It appears the BIOS is case sensitive. It looks for the filename EFI/BOOT/bootx64.efi, but Ubuntu provides EFI/BOOT/BOOTX64.EFI. See https://bugs.launchpad.net/linux/+bug/1261465.
Solved
USB Ethernet dropping packages
On ux31e and ubuntu 12.04 64 bits, ASIX USB-Ethernet driver noticably slow, dropping packets and reporting RX errors. It shows errors on syslogs such as: asix 2-1:1.0: eth0: asix_rx_fixup() Bad RX Length 1808 asix 2-1:1.0: eth0: asix_rx_fixup() Bad Header Length
In order to include on new kernel, please report it as bug on http://bugs.launchpad.net/ubuntu/+source/linux/+bug/947723
Status: Bug fixed in Ubuntu 12.04 LTS updates
USB 2 / EHCI module needs to be unbound on suspend (Solved)
The module needs to be unbound or the machine won’t suspend, bound on resume.
Status: Fixed in upstream kernels and Ubuntu 12.04 LTS kernel update.
VT-d setting in BIOS (Solved)
Earlier VT-d feature was recommended to be disabled in Zenbook BIOS. To disable VT-d, reboot your Zenbook, holding down the Esc-button while it starts up. Locate the VT-d setting in the BIOS menus and toggle it to disabled.
Status: Fixed in Ubuntu 12.04 LTS update, VT-d has not shown problems, even if i915.semaphores is used.
pcie_aspm=force doesn’t work (Solved)
Status: Bug fixed in Ubuntu 12.04 LTS update
Machine check events (MCE) errors reported in kernel log
power limit notification MCE errors have been confirmed to be harmless (see here
Status: Specific issue noted above may be safely ignored.
Intel RC6 causes sudden shutdowns (Solved)
Kernel developers are aware and working on an issue with DMAR+RC6.
However, Zenbboks experience sudden shutdowns with RC6 on and Intel IOMMU off.
The most stable configuration is to enable semaphores and turn off VTd in BIOS, see above.
However, this needs to be properly fixed in the kernel once RC6 gets enabled by default.
Status: Solved in kernels 3.3-rc6 or newer, and Ubuntu 12.04 LTS update.
Kernel 3.2 KMS (Solved)
Commit dc22ee6fc18ce0f15424e753e8473c306ece95c1 in 3.2-rc1 causes the KMS to fail on the Zenbook graphics. 3.2-rc1 to 3.2-rc5 will therefore not boot without supplying kernel parameter i915.modeset=0, in which mode hardware acceleration is disabled.
Status: Solved in 3.2-rc6 with commit ed4a51842a9d9e618d4f4c31349b15b974dba5df
EHCI power savings preventing shutdown (Solved)
Status: Solved in kernels 3.0.11, 3.1.3 or newer.
Appendix: Older information
The following parts are kept for historical reasons.
- New Zenbook users should install Ubuntu 12.04 LTS, even Beta. Ubuntu 11.10 users may find information still below.
- Power saving scripts should be near optimal in 12.04 LTS without changes, and the other power optimization topics above are much more relevant for saving power.
- With the Bluetooth fix in the kernel, most users shouldn’t have a need to compile their own anymore, although of course that always can be done if wanted.
Ubuntu 11.10
This section includes special instructions for Ubuntu 11.10 that are not anymore needed in Ubuntu 12.04 LTS. If some section is not included here at all, the situation in 11.10 was similar to 12.04 LTS ie. most things work out of the box.
Suspend, Hibernate, Shutdown and Reboot
The kernel USB 3.0 (and sometimes 2.0) modules needs to be unloaded before suspending, and in kernels prior to 3.1 X also needs to disable/enable DPMS to get the screen back on resume. Save the following script as /etc/pm/sleep.d/20_zenbook (and make it executable):
If this workaround not used, there have been reports that the laptop’s memory controller setting may be screwed. After an incorrect suspend, if the corruption happens, many memory blocks starting with
1G will be corrupt. Good way to see it is to use «memtest86+». The only way to fix controller setting is to open the case and plug off the battery. Please note that on this ultrabook the battery is not a user serviceable part and this could mean that by opening you can get your warranty void! If you start Windows or Linux with a corrupted controller, you will get system crashes or/and damaged file system. More info here: https://bugzilla.kernel.org/show_bug.cgi?id=42728
For kernel 3.0 (Ubuntu 11.10):
Wireless (11.10)
Many users report that this works out of the box.
Many users have also reported bad signal strengths, or random disconnections with low signal levels in Ubuntu 11.10.
For some, frequent disconnections are shown in dmesg but are not visibly indicated. If you are getting poor wireless performance run dmesg to check or run tail -f /var/log/kern.log.
Possible workaround: run sudo killall wpa_supplicant after booting (see here)
Possible workaround: patch network-manager (see here)
Possible workaround: set the BSSID for your single access-point network (see here)
Possible workaround: remove network-manager and install wicd. You’ll have to manually enable the tray icons in Unity (see here)
See this bug report also, and mark yourself as affected.
External microphone
This information only affects you if you’re using earlier Ubuntu than 12.04 LTS, or have not installed all the 12.04 LTS updates.
By default, the headphone/microphone combo jack (TRRS) does not switch automatically to the external microphone when one is plugged in. Bug report here
To resolve this, add the following line to /etc/modprobe.d/alsa-base.conf
(Note that if you already have a line starting with «options snd-hda-intel» then you should modify it to include the extra option.)
USB Ethernet
For Ubuntu 11.10 and earlier kernels, or if you still experience instability, download the asix-driver from 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.
Then download essentials:
Next, go into the unzipped directory and compile the source as follows:
Install the just compiled module:
Finally load the module:
That’s it. You should be able to connect using a wired connection now.
For 3.2 kernels, the following patch has to be applied:
Bluetooth
The bluetooth module is the Atheros AR3012, which requires loading a firmware before it can be used. For now, patching the kernel is required to recognize this module as AR3012 one.
Power Saving Optimizations
Kernel parameters
To get the most power efficient system with longer battery life and cooler CPU temperatures, the configuration recommended so far is to disable VT-d in the BIOS and boot kernel 3.2-rc6 or newer with the boot options:
RC6 and semaphores are disabled by default in final kernel 3.2, so they should be forced on. FBC should not be enabled and has not shown any improvements. LVDS downclock does not have any effect on the ZenBook since it’s eDP.
To disable VT-d, reboot your Zenbook, holding down the Esc-button while it starts up. Locate the VT-d setting in the BIOS menus and toggle it to disabled.
Occasional shutdowns still occur but the cause it yet unknown — it might be the ath9k driver or something related to RC6 or ASPM. (This was fixed on kernel 3.3.0-rc6)
Note that this configuration trades off a bit of stability (unexpected shutdowns) for power efficiency. Without these RC6 settings, you will have less battery life etc., but the system will be perfectly stable (or so it seems).
possible patch: modifying the DSDT table seems to fully stabilize the system with RC6 active, acording to http://files.benesovi.eu/ux31e/ (This patch is not necessary since kernel 3.3.0-rc6) — Note: Patch does not solve the problem. system still shuts down sometimes (MM)
Power saving scripts
To apply all recommendations by powertop when on battery, put the following in a script (the name does not matter) in /etc/pm/power.d:
How to upgrade kernel
WARNING: This is a long operation and not usually recommended if you don’t know what you’re doing.
If you want to upgrade to the newest kernel, which improves power use, wlan and a number of other issues which are solved from time to time, do the following:
1. Set kernel options
Edit the kernel options in grub (using nano, vi, gedit or any other editor):
And change the line starting with GRUB_CMDLINE_LINUX_DEFAULT to:
save and run update-grub:
2. Download the kernel
kernel-ppa/mainline/ to find the latest kernel (e.g. ‘v3.2.2-precise’, which is kernel version 3.2.2 and works also on Oneiric), and from that folder download 3 files:
3. Install the kernel
Open a terminal and change to the directory where you downloaded these files, and run
(if you have older linux-*.deb files laying around in that folder, you should specify the new files explicitly instead of using wildcards). Reboot to run the new kernel. You can verify the kernel version from the grub menu selection, or by running
How to recompile kernel for Ubuntu 12.04 LTS and ux31e
1.Install some tools to compile: Code:
2. Create some directory somewhere where you’d like to store the source files you’ll want to compile, I’m calling it «kernel». Cd into that directory and get the kernel sources via git. Code:
3. Download kernel last source from http://www.kernel.org/ and uncompress it.
4. Donwload felsi’s bluetooth patch
and apply patch on 3.3-rc5 folder.
note that within the patch the paths are still linking to kernel version 3.2.5. You have to enter the respetive path to where you have downloaded and unpacked the kernel (e.g. linux-3.3-rc6/drivers/bluetooth/).
5. Now you’ll actually have to compile the source. This takes commands: Code:
6. the compiled kernel packages will be in the parent folder. So make a «cd ..» and install: Code:
7. Just for safety, update grub Code:
AsusZenbook (последним исправлял пользователь eierfrucht 2015-09-09 17:24:09)
The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details
Источник