Giter VIP home page Giter VIP logo

asus-linux-drivers / asus-wmi-hotkeys-driver Goto Github PK

View Code? Open in Web Editor NEW
23.0 1.0 4.0 95 KB

Linux configurable driver for Asus WMI hotkeys. The driver works as middle-man, is listening for key events from specific devices and when is appropriate key event caught then may be handle by own way configured in config file.

License: GNU General Public License v2.0

Python 48.11% Shell 51.89%
asus asus-wmi driver linux libinput keyboard-leds debugfs leds camera micmute

asus-wmi-hotkeys-driver's People

Contributors

ldrahnik avatar tendrid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

asus-wmi-hotkeys-driver's Issues

typo...

Hi, thanks for all.
I think there is a typo here

$ sudo .bash /uninstall.sh

instead of

$ sudo bash ./uninstall.sh

Regards,
Mario

Signal HUP

, not working after restart

○ asus_wmi_hotkeys.service - Asus WMI hotkeys handler
     Loaded: loaded (/etc/systemd/system/asus_wmi_hotkeys.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Sun 2024-01-07 13:07:45 CET; 7min ago
    Process: 671 ExecStart=/usr/bin/env python3 /usr/share/asus_wmi_hotkeys-driver/asus_wmi_hotkeys.py layout (code=killed, signal=HUP)
   Main PID: 671 (code=killed, signal=HUP)
        CPU: 57ms

Jan 07 13:07:41 ldrahnik systemd[1]: Started Asus WMI hotkeys handler.
Jan 07 13:07:45 ldrahnik systemd[1]: asus_wmi_hotkeys.service: Deactivated successfully.

Armory Crate Button Problem

Sorry to bother you, but what should I do if I need to use the Armory Crate button?
My PC is a TUF Gaming Laptop F15 FX507VV.

ux8402 keybindings

FYI: testing this on ux8402, want to rebind the two additional keys above the touchpad on the top right.
Picture
In windows, one is "switch window to other screen" and the other is "screenpad disable".
Keycodes are:

KEY_WMI_SCREENPAD = 0x6A #106
KEY_WMI_SWITCHWINDOWS = 0x9C #156

Not submitting a pull request because I don't want to pollute the main repo with my own keybindings, but in case you want to roll ux8402 into a future upgrade.
The other keycodes seemed to match up fine with the existing ones in up541ea.
Cheers, thanks for this.

Camera shutter

First of all thanks for the amazing work that you are doing.
Is there any way to get the electronic privacy shutter for webcam to work ?

IMG_20221110_064845

Asus UX7602VI non responsive hotkeys

Hello,

I'm desperately trying to get all (or most) of my recently acquired Asus UX7602VI laptop hotkeys to work but so far no luck whatsoever.

The laptop is running Ubuntu 22.04.4 LTS with kernel 6.6.5 and none of the following keys do anything at all:

  • brightness up + down (Fn4+5)
  • touchpad enable/disable (Fn6)
  • keyboard backlit brightness (Fn7)
  • microphone enable/disable (Fn9)
  • camera enable/disable (Fn10)
  • MyAsus (Fn12) - expected

Worst part is even the command libinput debug-events does not catch or display anything from those keys (others displaying result as expected).

Brightness can be adjusted via the Settings menu.
Touchpad works but cannot be disabled via hotkey.
Keyboard brightness is off all the time except during boot or under Windows 11.
Microphone works but cannot be disabled via hotkey.
Camera hotkey works but simply does not turn on/off its LED.
Also, unrelated but only 2 out of 4 internal speakers work.

I know this repo is only related to hotkeys but I thought you might have some pointers for the other unrelated issues.

Any idea where to go from here?
Thanks.

Documentation needs minor update

On the project page https://github.com/asus-linux-drivers/asus-wmi-hotkeys-driver is displayed the README.md which intructs
git clone https://github.com/asus-wmi-hotkeys-driver/asus-wmi-hotkeys-driver
This leads to

Username for 'https://github.com': mbrouillet
Password for 'https://[email protected]': 
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/asus-wmi-hotkeys-driver/asus-wmi-hotkeys-driver/'

I believe it should be replaced by what I copied under the green button CODE

git clone https://github.com/asus-linux-drivers/asus-wmi-hotkeys-driver.git
cd asus-wmi-hotkeys-driver/

It did work for me, but my model (UX582LR) is not an offered choice and to be honest I'm not sure what WMI hotkeys are. (I was hoping this would help get asus-touchpad-numpad-driver to work)

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.