You are here:
wiki.doebe.li
>
Marc Web
>
WebStart
>
PersonalInfraStructure
>
AsusUX21E
(21 Aug 2012,
MarcPilloud
)
(raw view)
E
dit
A
ttach
---+ Asus <NOP>UX21E</NOP> * [[http://ch.asus.com/de/Notebooks/Superior_Mobility/ASUS_ZENBOOK_UX21E/][http://ch.asus.com/de/Notebooks/Superior_Mobility/ASUS_ZENBOOK_UX21E/]] ---+++ Ubuntu 11.10 Oneiric Ocelot on <NOP>UX21E</NOP> Actual installation * Linux Version: 3.2.30 - generic - pae (32 Bit Version) * Bios 212 * Ubuntu 12.04 With other Linux Kernel * AsusUX21EwithOneiricOcelotLinux32 * AsusUX21EwithPrecicePangolin Main Support Ressources * https://help.ubuntu.com/community/AsusZenbook * [[http://ubuntuforums.org/showthread.php?t=1865577]] ---+++ Bios * Download: [[http://support.asus.com/download/download_item_mkt.aspx?slanguage=de-de&model=UX21E]] ---+++ DSDT * * Added file *01_acpi* to */etc/grub.d/* * Added file *dsdt.aml* (for Ux21) to <strong>/boot/<br /></strong> * Erklärung: http://files.benesovi.eu/ux31e/ * Anleitung DSDT via GRUB laden: http://blog.michael.kuron-germany.de/2011/03/patching-dsdt-in-recent-linux-kernels-without-recompiling/ * [[%ATTACHURL%/dsdt.aml][dsdt.aml]]: dsdt.aml (from UX21 Bios 209) ---+++ Touchpad General Informations (in German): http://wiki.ubuntuusers.de/touchpad To determine which touchpad you have use this command: <pre>cat /proc/bus/input/devices | grep -i pad</pre> <pre>xinput -list</pre> <pre>xinput list-props 12</pre> <pre>open dconf-editor, then check /org/gnome/settings-daemon/peripherals/touchpad/touchpad-enabled</pre> *Elantech* * Disable Tap-Clicking * http://wiki.daviddarts.com/Ubuntu_Lucid_on_the_Asus_UL30VT#Touchpad * Touchpad always reports 3 finger tap as 1 finger tap * https://launchpad.net/ubuntu/oneiric/+source/xserver-xorg-input-synaptics * https://code.launchpad.net/~jconti/ubuntu/oneiric/xserver-xorg-input-synaptics/bug-873482 * https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/873482 * http://ubuntuforums.org/showthread.php?t=1615564 *Sentelic* * Python script to inactivad sentelic touchpad while typing<br />https://github.com/gokmen/Sentelic * Inactivat Touch-on-Click <pre>echo -n 0x90 0x80 > /sys/devices/platform/i8042/serio4/setreg echo -n c > /sys/devices/platform/i8042/serio4/flags </pre> *Synaptics* * http://tombuntu.com/index.php/2011/11/06/persistent-touchpad-configuration-in-ubuntu-11-10/ ---+++ Keybindings Systemeinstellungen > Tastatur > Tastaturkürzel $xmodmap -pke <pre>sudo apt-get install cheese gconftool-2 -s /desktop/gnome/keybindings/custom0/name -t string 'Web Cam' gconftool-2 -s /desktop/gnome/keybindings/custom0/binding -t string 'XF86WebCam' gconftool-2 -s /desktop/gnome/keybindings/custom0/action -t string 'cheese'</pre> <pre>gconftool-2 -s /desktop/gnome/keybindings/custom2/name -t string 'Touchpad Toggle' gconftool-2 -s /desktop/gnome/keybindings/custom2/binding -t string 'XF86TouchpadToggle' gconftool-2 -s /desktop/gnome/keybindings/custom2/action -t string '/etc/acpi/asus-touchpad.sh'</pre> ---+++ Ethernet - USB-Adapter 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. <a href="http://www.asix.com.tw/FrootAttach/driver/AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source.zip" target="_blank">http://www.asix.com.tw/FrootAttach/d...2.0_Source.zip</a> Once downloaded, the source needs to be compiled. First unzip the file.<br /><br />Download essentials <pre>apt-get install build-essential linux-headers-`uname -r` </pre> Next, go into the unzipped directory and compile the source as follows: <pre>cd AX88772B_772A_760_772_178_LINUX_Driver_v4.2.0_Source make </pre> Install the just compiled module: <pre>sudo make install </pre> Finally load the module: <pre>sudo modprobe asix </pre> That's it. You should be able to connect using a wired connection now. ---+++ WLAN <table align="center" border="0" cellpadding="6" cellspacing="0" id="post11557032" width="100%"> <tbody> <tr valign="top"> <td id="td_post_11557032"> <div id="post_message_11557032">If anyone interested I found a way to make WiFi fast: Code: <pre dir="ltr">echo "options ath9k nohwcrypt=1" >> /etc/modprobe.d/ath9k.conf</pre> </div> </td> </tr> <tr> <td><br /></td> <td align="right"></td> </tr> </tbody> </table> ---+++ Bluetooth he 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. The patch, and it's upstream progress, can be seen here: http://thread.gmane.org/gmane.linux.bluez.kernel/18801 More info: [[http://ubuntuforums.org/showthread.php?t=1867447&highlight=zenbook]] <h2 id="Sensors_.28temps_.26_fans.29">Sensors (temps & fans)</h2> Works by default however to (optionally) read the sensor data requires the package lm-sensors which is installed by: <pre>sudo aptitude install lm-sensors sudo tee -a /etc/modules <<-EOF coretemp EOF</pre> <h2 id="Power_Optimizations">Power Optimizations</h2> To apply all recommendations by powertop when on battery, put the following script in /etc/pm/power.d: <pre># Powertop tunables case $1 in true) ## VM writeback timeout echo 1500 > /proc/sys/vm/dirty_writeback_centisecs ## Autosuspend for USB devices ### USB2.0-CRW (Generic) echo auto > /sys/bus/usb/devices/1-1.7/power/level ### Bluetooth USB Host Controller (Atheros Communications) echo auto > /sys/bus/usb/devices/1-1.8/power/level ## Runtime PM for PCI devices ### Atheros Communications Inc. AR9485 Wireless Network Adapter echo auto > /sys/bus/pci/devices/0000:02:00.0/power/control ### Fresco Logic Device 1009 echo auto > /sys/bus/pci/devices/0000:03:00.0/power/control ### Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller echo auto > /sys/bus/pci/devices/0000:00:1f.2/power/control ### Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 # echo auto > /sys/bus/pci/devices/0000:00:1d.0/power/control # Causes machine to freeze on shutdown, should work with kernels 3.0.11, 3.1.3 or newer ### Intel Corporation 2nd Generation Core Processor Family DRAM Controller echo auto > /sys/bus/pci/devices/0000:00:00.0/power/control ### Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 echo auto > /sys/bus/pci/devices/0000:00:16.0/power/control ### Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller echo auto > /sys/bus/pci/devices/0000:00:1b.0/power/control ### Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 echo auto > /sys/bus/pci/devices/0000:00:1c.0/power/control ### Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 echo auto > /sys/bus/pci/devices/0000:00:1c.1/power/control ### Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 echo auto > /sys/bus/pci/devices/0000:00:1c.3/power/control ### Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller echo auto > /sys/bus/pci/devices/0000:00:02.0/power/control ## SATA link power management echo min_power > /sys/class/scsi_host/host0/link_power_management_policy # 50% screen brightness on battery echo 5 > /sys/bus/pci/devices/0000:00:02.0/backlight/acpi_video0/brightness ;; false) # 90% screen brightness on AC echo 9 > /sys/bus/pci/devices/0000:00:02.0/backlight/acpi_video0/brightness ;; esac exit 0</pre> ---+++ Startparameter in Grub * <strong>pcie_aspm=force</strong><br />ASPM is not enabled by default, at least not yet. As far as I know this is ongoing work.<br />See also: <a href="http://www.phoronix.com/scan.php?page=article&item=linux_aspm_solution&num=1" target="_blank">http://www.phoronix.com/scan.php?pag...solution&num=1</a> * <strong>i915.modeset=1</strong><br />Is enabled by default, therefore unnecessary. It was only required for older 3.2-rc kernels (rc5 and below, because of a regression which is now fixed). * <strong>i915.i915_enable_rc6=1</strong><br />Is enabled by default in the 3.2 kernels if VTd is disabled, but not in 3.1. Significant power usage improvements. Causes problems with VTd enabled.<br />See also: <a href="http://intellinuxgraphics.org/2011Q4.html" target="_blank">http://intellinuxgraphics.org/2011Q4.html</a> * <strong>i915.semaphores=1</strong><br />Enabled by default in the 3.2 kernels (only if VTd is disabled). Not enabled in 3.1, causes problems together with VTd, see <a href="http://intellinuxgraphics.org/2011Q4.html" target="_blank">http://intellinuxgraphics.org/2011Q4.html</a>.<br />Edit: will probably get deactivated by default with the final release of Linux 3.2, see <a href="https://lkml.org/lkml/2011/12/23/247" target="_blank">https://lkml.org/lkml/2011/12/23/247</a>. * <strong>i915.i915_enable_fbc=1</strong><br />Is enabled by default since kernel 3.1, according to <a href="http://intellinuxgraphics.org/2011Q4.html" target="_blank">http://intellinuxgraphics.org/2011Q4.html</a>. * <strong>i915.lvds_downclock=1</strong><br />Based on the quote above posted by nomego and the output of "xrandr", the Zenbook uses eDP (Embedded Display Port) instead of LVDS. So this option has no effect. * <strong>intel_iommu=off</strong><br />Alternative to disabling VTd in the BIOS. * <strong>acpi_oci="Linux"</strong><br />Only a cosmetical fix, because a line in dmesg (?) recommended it, but no positive or negative effect known.<br />This doesn't signify any problem with Ubuntu or with the Linux kernel. What the message indicates is that your BIOS is querying the operating system to see whether or not Linux is running, and Linux is ignoring this query. The reason for this is that often a BIOS will offer a limited feature set to the operating system when it responds that it is Linux. Linux generally supports all the same features as Windows, so Linux developers consider this query to be a bug in the firmware and instead report that the operating system is Windows so that the full set of features for the machine will be available. The message can be safely ignored. So, the recommendation should probably be:<br /> - use kernel 3.2-rc6<br /> - disable VTd in the BIOS<br /> - use the kernel option "pcie_aspm=force" (with the final 3.2 release "i915.semaphores=1" will probably be necessary again)<br /> <br /> The alternative:<br /> - use kernel 3.1<br /> - disable VTd in the BIOS<br /> - use the kernel option "pcie_aspm=force i915.i915_enable_rc6=1 i915.semaphores=1" <br /> (The Elantech touchpad mouse buttons work under 3.1, that's one reason for the older kernel - and I think the only one.) I always edit /etc/default/grub and alter the contents of the line that starts with: <pre dir="ltr">GRUB_CMDLINE_LINUX_DEFAULT="pcie_aspm=force"</pre> and then <pre dir="ltr">sudo update-grub</pre>
Attachments
1
Attachments
1
Topic attachments
I
Attachment
Action
Size
Date
Who
Comment
aml
dsdt.aml
manage
62.5 K
03 Feb 2012 - 20:58
MarcPilloud
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r9
<
r8
<
r7
<
r6
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r9 - 21 Aug 2012,
MarcPilloud
Marc
Marc Web
Create New Topic
Index
Search
Changes
Notifications
Statistics
Preferences
简体中文
正體中文
Nederlands
English
Français
Deutsch
Italiano
日本語
Português
Русский
Español
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Seite genereriert um 20 May 2024 - 20:14
Ideas, requests, problems regarding wiki.doebe.li?
Send feedback