Asus rog linux drivers

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 without reboots for switching between iGPU, dGPU, on-demand, and vfio (for VM pass-through)
  • Set battery charge limit
  • Fan curve control

Join the community and fork us on GitLab.com.

2021-09-12 — Reading time: 3 min

September 2021 Update

New kernel patches, asusctl updates and changes, supergfxctl

2021-09-12 — Reading time: 3 min

May 2021 Update

Kernel patches and statuses

2021-05-06 — Reading time: 5 min

April 2021 Update

2021 hardware suspend, project rename, AniMe work

2021-04-16 — Reading time: 5 min

March 2021 Update

2021 hardware, asusctl new features, kernel patches

2021-03-22 — Reading time: 4 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

2021-03-02 — Reading time: 3 min

Feb 2021 Update

Update and status of project

2021-02-19 — Reading time: 2 min

Getting Sound Working

An example of making Realtek Codec work on ASUS GX502

Источник

Thread: Making a Linux driver

Thread Tools
Search Thread
Display

ROG Junior Member Array Kyoken PC Specs

Kyoken PC Specs
Motherboard Intel DX58SO
Processor Intel i7
Graphics Card #1 nVidia GeForce
Sound Card Creative
Case ASUS TA-211 White
Keyboard Logitech
Mouse ASUS ROG Pugio
OS Linux
Network Router ASUS DSL-N10

Join Date Jan 2018 Reputation 10 Posts 2

Making a Linux driver

Yesterday I just purchased my ROG Pugio mouse.
I was thought that I boot into Windows, setup the mouse, bind the keys and then I can boot back into Linux. But it was not that easy. Pugio, just like any other smart programmable mouses, is a composite device. It means that device consists of at least 2 virtual input devices: mouse and keyboard (for keyboard button events). The mouse part is working fine, but the keyboard was not. Looks like the keyboard device is not just a regular keyboard device. The events from it are ignored. At least it uses a HID protocol.

So I started with protocol reverse-engineering and starting writing a userspace driver: https://github.com/kyokenn/rogdrv
I has made a virtual uinput device driver, which reads events from mouse and generates regular uinput events.

Читайте также:  Пропал главный экран windows 10

Then I figured out that Pugio actually consists of 3 HID devices: mouse, keyboard, and some custom HID device. I was curious about the 3rd device and found out that it’s a control device for changing a mouse settings. I reverse-engineered it a little and implemented some features like: button binding, changing LED colors, setting a DPI. So this turned really good.

The Armoury software was so buggy. When you bind a button it can randomly unbind another button. If you disable a button and try to bind another button, it crashes. And it keep crashing until you enable all buttons back or reset all settings to defaults. So I’m happy that I have my own little tool for configuring a mouse.

It will be good it I had an access to protocol documentation. But I think it will never happen.
I also interested how does this keyboard device works in Windows. Does it uses some custom HID device driver? Will it work on vanilla Windows installation without internet access? Maybe Windows treats it as some USB HID remote control?

Источник

Asus rog linux drivers

rogdrv is a simple ASUS ROG (Republic of Gamers) userspace mouse driver for Linux. The mouse is a composite device which consists of 2 devices: mouse, keyboard and consumer control for changing mouse settings. The keyboard part is unsupported on Linux, but it’s recognised as HID device. So this driver maps HID events to the generic keyboard events.

The protocol was reverse-engineered, so everything is experimental. Use at your own risk.

Supported devices and features

Device name Profiles Button Bindings Performance Settings LEDs Sleep
Gladius II + + + + N/A
Gladius II Origin + + + + N/A
Gladius II Origin PNK LTD + + + + N/A
Pugio + + + + N/A
Strix Carry + + + N/A +
Keris Wireless + + + + +
Strix Impact N/A ? ? + N/A
Strix Impact II Wireless + + + + ?
Strix Evolve ? ? ? ? N/A
Buzzard + ? ? ? N/A
Spatha + ? ? ? ?
  • Profiles — Profile switching feature
  • Button Bindings — Buttons binding feature
  • Performance Settings — DPI, polling rate, buttons response, angle snapping configuration feature
  • LEDs — LED color customization feature
  • Sleep — Sleep timeout setting feature for the wireless mices

There is a chance that a driver can be compatible with other mouse devices from ASUS ROG (Republic of Gamers) series.

Источник

Linux support for ASUS ROG laptops is coming along nicely

Back in April we revealed the ROG-Core project, with an aim to better support ASUS ROG laptops on Linux and it seems it’s really coming along nicely now.

This special ‘Republic Of Gamers’ brand of ASUS laptops (available here) comes with a bunch of flashy features, most of which are only directly supported on Windows. Frustrating for Linux buyers of course but great to see a community project spring up to allow Linux users to fully appreciate their kit.

While it started off initially focusing on the Zephyrus GX502GW, which the author of the project owned, it’s now progressed onto supporting quite a lot of models including: GM501, GX502, GX531, G512, G712, G531, G532 and more like GA14/GA401 depending on kernel patches. Impressive progress for something so new. It also shows how hardware vendors could and should be doing it if a few people hacking away in their free time can do it so well.

So what can it do? Quite a lot now. Per-key LED settings, fancy LED modes, modifying built-in LED modes, a Daemon mode, various system control options like screen brightness and Touchpad toggle, hotkeys for things like media controls and more.

It’s gained a bit of a following now too, and has spawned another project with ZephyrusBling which builds upon ROG-Core to allow owners of the ASUS ROG Zephyrus G14 with the AniMe Matrix LED display on the back to do things like this:

While I have no need of it, I suddenly feel like I need it. How could you not love that though? Brilliant bit of useless flashy tech for the super nerd to show off a bit.

See the ROG-Core project here and the ZephyrusBling project here. Going even further, there’s even now another project aimed at supporting AMD based ASUS laptops.

Источник

Thread: Linux drivers and atk for linux

Thread Tools
Search Thread
Display

Linux drivers and atk for linux

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

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.

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-. k.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!

Last edited by fostert; 02-15-2012 at 04:52 AM .

Источник

Читайте также:  Как поменять яркость экрана windows 10 сочетание клавиш
Оцените статью