Git Product home page Git Product logo

asus-flow-x13-linux's Introduction

Linux on Asus Flow x13

With small tweaks almost everything (surprisingly touch, pen input and camera) works fine . Notable exceptions are resume from sleep and fingerprint.

While writing on this, power draw from battery (with terminal, vscode and chromium open) is between 6 and 10W. CPU temperature is ~50C and fans are off.

To quickly install the fixes presented here one could

sudo sh install.sh

And to uninstall them

sudo sh uninstall.sh

Keyboard

Out of the box keyboard works but Fn-Key and backlight do not.

Since 5.11 linux kernel support for Asus N-Key Keyboards but is missing usb device id. To install the patched hid-asus for Flow x13 run

#remove previous versions
sudo dkms remove hid-asus-flow-x13/1.0 --all
sudo dkms remove asus-flow-x13/1.0 --all
#install current version
sudo dkms install .

GPU

AMD iGPU

Integrated gpu requires linux firmware after 11.02.2021 (having "Green Sardine").

Nvidia

Nouveau drivers hangs laptop at boot. It can be blacklisted by appending nouveau.blacklist=1 to kernel command line or by following commands as root

echo "blacklist nouveau" >  /etc/modprobe.d/asus-flow-x13-nouveau.conf
echo "alias nouveau off" >> /etc/modprobe.d/asus-flow-x13-nouveau.conf

Even if nouveau or nvidia is not loaded nvidia gpu will still consume ~10W of power. We need to set power/control to auto to reduce power.

echo auto > /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/power/control
echo '#nvidia dGPU' > /etc/udev/rules.d/99-asus-flow-power.rules
echo 'ACTION=="add", SUBSYSTEM=="pci", TEST=="power/control", ATTR{vendor}=="0x10de", ATTR{power/control}="auto"' >> /etc/udev/rules.d/99-asus-flow-power.rules
udevadm control --reload

asus-flow-x13-linux's People

Contributors

co-1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.