Asus anime matrix linux

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.

Daemon and tools to control your ASUS ROG laptop. Supersedes rog-core.

License

flukejones/asusctl

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.

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

WARNING: Many features are developed in tandem with kernel patches. If you see a feature is missing you either need a patched kernel, or v6.1 which has all my work merged upstream.

asusd is a utility for Linux to control many aspects of various ASUS laptops but can also be used with non-asus laptops with reduced features.

Now includes a GUI, rog-control-center .

The minimum supported kernel version is 5.17

For TUF laptops, the minimum supported kernel version is 6.1

  1. To provide an interface for rootless control of some system functions most users wish to control such as fan speeds, keyboard LEDs, graphics modes.
  2. Enable third-party apps to use the above with dbus methods
  3. To make the above as easy as possible for new users
  4. Respect the users resources: be small, light, and fast

Point 3 means that the list of supported distros is very narrow — fedora is explicitly supported. All other distros are not supported (while asusd might still run fine on them). For best support use fedora 36+ Workstation.

Читайте также:  You have stopped jobs linux

Point 4? asusd currently uses a tiny fraction of cpu time, and less than 1Mb of ram, the way a system-level daemon should.

Most ASUS gaming laptops that have a USB keyboard. If lsusb shows something similar to this:

Bus 001 Device 002: ID 0b05:1866 ASUSTek Computer, Inc. N-KEY Device 

then it may work without tweaks. Technically all other functions except the LED and AniMe parts should work regardless of your latop make.

  • System daemon
  • GUI app (includes tray and notifications)
  • Setting/modifying built-in LED modes
  • Per-key LED setting
  • Fancy LED modes (See examples) (currently being reworked)
  • AniMatrix display on G14 and M16 models that include it
  • Set battery charge limit (with kernel supporting this)
  • Fan curve control on supported laptops (G14/G15, some TUF like FA507)
  • Toggle bios setting for boot/POST sound
  • Toggle GPU MUX (g-sync, or called MUX on 2022+ laptops)

A gui is now in the repo — ROG Control Center. At this time it is still a WIP, but it has almost all features in place already.

Requirements are rust >= 1.57 installed from rustup.io if the distro provided version is too old, and make .

Ubuntu (unsuported):

apt install libgtk-3-dev libpango1.0-dev libgdk-pixbuf-2.0-dev libglib2.0-dev cmake libclang-dev libudev-dev libayatana-appindicator3-1 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh source "$HOME/.cargo/env" make sudo make install 

popos (unsuported):

sudo apt install cmake libclang-dev libudev-dev libgtk-3-dev libclang-dev libglib2.0-dev libatkmm-1.6-dev libpangomm-1.4-dev librust-gdk-pixbuf-dev curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh source "$HOME/.cargo/env" make sudo make install 
dnf install cmake clang-devel systemd-devel glib2-devel cairo-devel atkmm-devel pangomm-devel gdk-pixbuf2-devel gtk3-devel libappindicator-gtk3 make sudo make install 

Works with KDE Plasma (without GTK packages)

zypper in -t pattern devel_basis zypper in rustup make cmake systemd-devel clang-devel llvm-devel gdk-pixbuf-devel cairo-devel pango-devel freetype-devel gtk3-devel libexpat-devel libayatana-indicator3-7 make sudo make install 
  • Fedora copr = https://copr.fedorainfracloud.org/coprs/lukenukem/asus-linux/
  • openSUSE = https://download.opensuse.org/repositories/home:/luke_nukem:/asus/
  • Ubuntu = not supported due to packaging woes, but you can build and install on your own.

The default init method is to use the udev rule, this ensures that the service is started when the device is initialised and ready.

If you are upgrading from a previous installed version, you will need to restart the service or reboot.

$ systemctl daemon-reload && systemctl restart asusd 

You may also need to activate the service for debian install. If running Pop!_OS, I suggest disabling system76-power gnome-shell extension and systemd service.

Run sudo make uninstall in the source repo, and remove /etc/asusd/ .

See CONTRIBUTING.md . Additionally, also do cargo clean and cargo test on first checkout to ensure the commit hooks are used (via cargo-husky ).

Generation of the bindings with make bindings requires typeshare to be installed.

Dbus introsepction XML requires with make introspection requires anime_sim to be running before starting asusd .

A simulator using SDL2 can be built using cargo build —package rog_simulators and run with ./target/debug/anime_sim . Once started asusd will need restarting to pick it up. If running this sim on a laptop with the display, the simulated display will be used instead of the physical display.

Читайте также:  File recovery with linux

Please file a support request.

Mozilla Public License 2 (MPL-2.0)

ASUS and ROG Trademark is either a US registered trademark or trademark of ASUSTeK Computer Inc. in the United States and/or other countries.

Reference to any ASUS products, services, processes, or other information and/or use of ASUS Trademarks does not constitute or imply endorsement, sponsorship, or recommendation thereof by ASUS.

The use of ROG and ASUS trademarks within this website and associated tools and libraries is only to provide a recognisable identifier to users to enable them to associate that these tools will work with ASUS ROG laptops.

About

Daemon and tools to control your ASUS ROG laptop. Supersedes rog-core.

Источник

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.

Pixel-perfect Anime Matrix GIFs created using Inkscape. These animations have been tested with both Windows and Linux (specifically, Kubuntu 20.04) on ROG Zephyrus G14 (2021).

IAmSuyogJadhav/Anime-Matrix

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.

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

Pixel-perfect Anime Matrix GIFs created using Inkscape. These animations have been tested with both Windows and Linux (specifically, Kubuntu 20.04) on ROG Zephyrus G14 (2021).

  1. Import the GIF in the Anime Matrix section of Armoury Crate. You don’t need the .cfg files.
  2. Rotate until the little arrow on the right is completely out of the view.
  1. Make sure you have asusctl installed. Refer to https://asus-linux.org/ for more details.
  2. Move the GIF and the .cfg files to /home//.config/rog/ . Update the path inside the .cfg file to include your username.
  3. If you have asusctl installed correctly, you should now be able to trigger the anime matrix animation by running asusd-user from a terminal.

The template I used is included inside Template/ . This is a modification of the template used by Josh Walsh. When opened inside InkScape, you will see two layers, namely bg and Layer 1 . By default, bg is set to be transparent so that the grid drawn underneath is visible. Each of the squares in this grid correspond to exactly one of the LEDs on the back panel. So, as long as you draw using these squares, the final product will look ‘clean’ and sharp with no blurring.

Читайте также:  Linux see what ports are being used

Make sure to turn the opacity of the bg layer to 100 when you are finished drawing. Now export to PNG using the exact export settings shown in the included screenshot. You can create your own GIFs frame by frame and then combine into a single GIF file using ffmpeg or a similar program.

Please attribute/link back to this repo if you find this helpful. Have fun! 🙂

About

Pixel-perfect Anime Matrix GIFs created using Inkscape. These animations have been tested with both Windows and Linux (specifically, Kubuntu 20.04) on ROG Zephyrus G14 (2021).

Источник

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.

flukejones / rog-core Public archive

G401 Series — aniMe Matrix Display #10

G401 Series — aniMe Matrix Display #10

Comments

I finally got the windows software (Armoury Crate) and services running. (it was a pain)

Howto install «Armory Crate» on a «fresh» windows installation. (not the preinstalled one):

  1. Turn on Secureboot (BIOS)
  2. Turn on «Armoury Crate interface support» (BIOS)
  3. Clean windows installation
  4. Install all upates and drivers (amd/Nvidia)
  5. enable .net 2.0/3.0 windows feature
  6. Install «ROG Font» and «ASUSSystemControlInterfaceV2_DCH_W10_64_V22100»
  7. Reboot
  8. install «ROGLiveServicePackage_W10_64_V10250»
  9. Reboot
  10. Install «ARMOURYCRATEService_ASUS_V272»
  11. Reboot
  12. install «Armoury Crate» UWP
  13. Reboot
  14. Waiit upto 30 Minutes to allow «Armoury Crate» fetching its updates
  15. ready to use..

I’ll post any progress using this issue.

@aspann for the animatrix thingy I’m expecting something like this. But since it’s a single colour it should be a lot simpler. maybe. I’ve no idea of the resolution of it. Maybe if we can get the corner LEDs byte sequence it’ll give an idea of a pattern.

From memory, the packet sent to USB is 64 bytes, and at least 57 of those bytes are used for LED control (on the GX502). If the display is written by bit pattern, then it can control 456 of those pixels per packet — which means it’s likely to be multiple packets. The GX502 uses ten packets to control the RGB.

There’s likely to be an initialization byte sequence, and I suspect it will be part of the keyboard controller, which may make things a little easier.

The text was updated successfully, but these errors were encountered:

Источник

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