Asus rog linux driver

ASUS ROG Zephyrus G14 (2022) GA402

This page is applicable to the Asus ROG Zephyrus G14 GA402.

VFIO

The GPUs being muxed makes this laptop great for PCI Passthrough.

Kernel parameters can be set to bind vfio-pci to the discrete GPU.

rd.driver.pre=vfio-pci nogpumanager vfio-pci.ids=1002:73ef,1002:ab28

The GPU can then later be unbound from vfio-pci and rebound to AMDGPU later without disturbing the X11 session.

# echo 0000:03:00.0 > /sys/bus/pci/devices/0000:03:00.0/driver/unbind # echo 0000:03:00.1 > /sys/bus/pci/devices/0000:03:00.1/driver/unbind # modprobe amdgpu # echo 0000:03:00.0 > /sys/module/amdgpu/drivers/pci:amdgpu/bind # echo 1 > /sys/bus/pci/rescan

Power Management

Suspend

Attempting to use s2idle occasionally crashes AMDGPU, resulting in artifacting.

Wireless

WiFi

The MediaTek MT7922 works with the MT7921e driver, but has oddly high ping times (~20ms for a single hop) with high variability (>2ms jitter). So it is functional, but has problems.

Some have recommended switching it out for the more popular and widely supported Intel wifi cards.

ASUS Linux

The ASUS Linux stack provides users of this laptop with a great many ASUS specific functions, to name a few:

  • Battery Charge Limit,
  • Multiplexer (GPU) Controls,
  • Panel Overdrive,
  • Much more.

It is highly recommended to install these tools for the optimal experience on these laptops.

Источник

Welcome

Asus-Linux.org is an independent community effort that works to improve Linux support for Asus notebooks.

Many but not all ASUS ROG laptops work under Linux quite well. But there are always new models coming out, or older models that got missed. This project aims to solve all the issues you may have, and enable many ROG specific features.

Sound issues are the most common problem , and solving these requires a little more effort and patience — see the blog post about this plus visit the discord for guidance. Do note that the root problem is almost never pulse audio or pipewire — it’s the Realtek codec chip needing specific fixes in the kernel driver.

The second most common issue is that of device feature enablement such as:

  • AniMe Matrix display
  • RGB keyboard LEDs
  • fn+key combos and media controls
  • G-Sync enable on capable laptops
  • Re-enable the dGPU after setting «iGPU On» in Windows
  • and more All of the above is either enabled in asusctl already, or is enabled via patches to the kernel (and we provide pre-built kernels with the patches applied) which are steadily upstreamed.

Extra features we currently support are:

  • Control graphics modes via supergfxctl without reboots for switching between iGPU, dGPU, on-demand, and vfio (for VM pass-through)
  • Set battery charge limit
  • (custom) fan curve control
Читайте также:  Mbr to gpt without data loss linux

Want to contribute?

If this site helps you and you want to contribute we welcome you to help with development, search for issues, join the discord, and add to this website.

You can also donate

Your support on Pateron or Paypal helps us buy ASUS devices for development to support new features and drivers.

Patreon button imageor PayPal button image

New kernel patches, new generation

Kernel patches on their way to 6.4, and a general update

2023-06-30 — Reading time: 4 min

Reinstalling GRUB2

How to repair and reinstall a completely messed up GRUB2 in Fedora.

2022-10-29 — Reading time: 5 min

ASUS G14 Speaker Profiles

JamesDSP speaker profiles for the ASUS G14 notebooks (will work on others)

2022-08-27 — Reading time: 3 min

August 2022 Update 2

2022-08-26 — Reading time: 2 min

August 2022 Update Part 2

2022-08-08 — Reading time: 1 min

August 2022 Update

2022-08-03 — Reading time: 3 min

Build a fedora kernel: Updated

Patches you might require won’t always be backported — this post will help you build a kernel with the required patches

2022-08-02 — Reading time: 3 min

July 2022 Update

asusctl updates and changes, supergfxctl updates and changes, community updates

2022-07-16 — Reading time: 7 min

Gaming on Linux

Guide to setting up Steam and Proton for the best linux gaming experience.

2022-04-16 — Reading time: 11 min

September 2021 Update

New kernel patches, asusctl updates and changes, supergfxctl

2021-09-12 — Reading time: 4 min

May 2021 Update

Kernel patches and statuses

2021-05-06 — Reading time: 6 min

April 2021 Update

2021 hardware suspend, project rename, AniMe work

2021-04-16 — Reading time: 6 min

March 2021 Update

2021 hardware, asusctl new features, kernel patches

2021-03-22 — Reading time: 5 min

Feb 2021 Update

Update and status of project

2021-02-19 — Reading time: 3 min

Getting Sound Working

An example of making Realtek Codec work on ASUS GX502

2021-01-11 — Reading time: 12 min

Project Updates

Update and status of project

2021-01-09 — Reading time: 3 min

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

ASUS ROG userspace mouse driver for Linux

License

kyokenn/rogdrv

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Читайте также:  Linux ssh port knocking

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

rogdrv is a simple ASUS ROG (Republic of Gamers) userspace mouse driver for Linux. It acts as native (no D-BUS interaction) front-end to ratbag-python

Clone the git repository (including ratbag-python submodule):

git clone --recurse-submodules https://github.com/kyokenn/rogdrv.git cd rogdrv 
sudo pip3 install ./ratbag-python 

rogdrv and rogdrv-config requires r/w permissions for /dev/hidrawX file of your mouse. If you want to run them in rootless mode without «sudo», then you can install the custom udev rules:

sudo ./install_udev sudo udevadm control --reload-rules sudo udevadm trigger 

Userspace driver consists of 2 programs: rogdrv and rogdrv-config

Your mouse must be connected using RF or USB.

rogdrv

rogdrv is mouse configuration tool with GUI, which have easy access to some simple settings like profile switching.

rogdrv-config is a mouse configuration tool for the console, which covers the almost all settings.

Usage: rogdrv-config --help - display help for a command rogdrv-config [--debug] [args] - run a command Available commands: rogdrv-config actions - display list of available action codes rogdrv-config bind - bind a button or display current bindings rogdrv-config color - get/set LED colors rogdrv-config dpi - get/set DPI rogdrv-config profile - get/set profile rogdrv-config rate - get/set polling rate rogdrv-config response - get/set button response rogdrv-config snapping - enable/disable snapping 

hid-asus-mouse

If your mouse doesn’t support native HID-compatible keyboard events (old Gladius II generation and earlier mice in RF mode) or you want some extra features, then you can try the kernel module hid-asus-mouse

ratbag-python

You can run the ratbag-python daemon and use it with piper

Install the D-BUS settings:

sudo cp -fv ./ratbag-python/dbus/org.freedesktop.ratbag1.conf /etc/dbus-1/system.d/ 

Run the ratbag-python daemon:

Run the piper GUI.

You can also replace ratbag-python daemon with original libratbag

About

ASUS ROG userspace mouse driver for Linux

Источник

Asus rog linux driver

I really love windows and well its my main operating system. Since I am a IT student as well as a gamer I got this for both worlds. I would
like to have linux and be able to utilize the full power of the rog laptop i bought (which im very happy i did it rocks). I am enjoying it and
those who are having problems read the forums and your problems will be addressed or you will be helped. Most gamers know the in’s and outs of the computers/laptops very well.

Later my ROG brothers!
peace

Dabigin on xbl and psn
Dabigin on stream
Republic of Gamers Laptop owner 2-11-2011
System:
Current System
GL703GE (Powered on 1/3/2019)
Old System
G74SX (Retired 12/20/2018)

Assuming you’re looking for a Linux ATK driver, as your thread title suggests, there aren’t any. This is a common complaint with Asus laptops, which are designed as Windows platforms. Many owners are able to make do, though, as you don’t lose that much functionality without the ATK package.

dabigin wrote:
I really love windows and well its my main operating system. Since I am a IT student as well as a gamer I got this for both worlds. I would
like to have linux and be able to utilize the full power of the rog laptop i bought (which im very happy i did it rocks). I am enjoying it and
those who are having problems read the forums and your problems will be addressed or you will be helped. Most gamers know the in’s and outs of the computers/laptops very well.

Later my ROG brothers!
peace

Читайте также:  Проверить какая система линукс

I’ve been using Debian 6.0.3 Squeeze (Stable) on my G74 since I got it last October. Its really great with Linux: in fact I get 200MHz more out of my CPU with Linux (for some reason Windows’ implementation of ACPI constrains turbo on the G74’s core i7 2630QM to a max of 2.7GHz, whereas the chip is supposed to do 2.9. this is a known issue with the G74 and a common fault pointed out in some reviews, eg. http://www.notebookcheck.net/Review-Asus-G74SX-3DE-Gaming-Notebook.56809.0.html). With Linux I get a full 2.92 GHz from Turbo on my i7 2630. Using the CPU to it fullest speed potential in my mind is a decent trade-off for no control of the keyboard backlight, volume and screen brightness, and touchpad disable/enable via hotkeys (ATK): seriously, thats all I’m missing by not using windows. I can control screen on/off, wifi enable/disable via the key combos in linux. Also in Linux you will not experience the common well documented problems of the G74 that we on his forum help people troubleshoot (e.g. annoying keyboard lockup when you disable touchpad in BIOS, crazy sensitivity of touchpad, throttling of CPU when at full load, buggy 3rd party drivers, etc). As well linux addresses all 32GB of RAM I’ve stuffed into My G74, whereas windows home premium that came with the G74 is purposefully gimped not to.

First thing you should do is get a 3.X kernel with your distro: don’t use the (quite) old 2.6.32 stable kernels floating around. If you’ve ever compiled your own kernel, there are some ASUS specific device drivers in the kernel options that you can turn on in the compile that allow the asus hotkey combos to control the above things you’re missing by not using ATK, though I’ve never tried them specifically: I’m quite happy with the stock 3.0.0.3 kernel image.

NVIDIA also supports linux with the latest drivers for the GTX560M: grab ’em from here: http://www.nvidia.com/object/unix.html In fact this is the only 3rd party driver I use. everything else runs 100% fine with the device drivers in the kernel controlling them.

I use grub to control my G74 in a dual-boot config: windows 7 is on its own little isolated partition, where I can use excel (my favorite tool for research), game a bit, and let my wife store and watch her movies and pics. I’m going to turf this partition and switch over to 100% linux and run windows in a VM when things at work quiet down a little.

Good luck, and I stand by to help you out!


G74SX-CST1-CBIL, i7 2630QM 2GHz
32GB DDR3 RAM @1333MHz
GTX560M 3GB DDR5 (192 bit)
17.3″ LED 1920×1080
Sentelic TP, BIOS 203
Debian Linux Wheezy (Testing) Kernel 3.2, NVIDIA 295.40

Источник

Оцените статью
Adblock
detector