Giter Club home page Giter Club logo

aero-keyboard's Issues

Make FN keys great again

Hello!
Have you also problems with 'fn' keys? I have Gigabyte P56XT laptop with Manjaro Linux installed and only few 'fn' buttons serves its purpose.
fn+f1 - sleep - working
fn+f2 - have no idea what is about - not working )
fn+(f3, f4) - screen brightness - not working
fn+f5 - switch monitor - working
fn+f6 - also have no idea what is it about - not working
fn+(f7-f9) - sound control - working
fn+f10 - touchpad lock - not working
fn+f11 - airplane mode - not working
fn+f12 - not defined

would you add support for these buttons?

Script runs without errors, but has no effect

All scripts I run are executed without errors, for example:

$ ./white.rb
Opening device 1:5:3...
Closing device

But it has absolutely no effect on the keyboard backlight, even if I run it with sudo or perform the complete setup process as root user. I have a AERO 15 YB and I noticed that my keyboard is device 005 and not 004 (Bus 001 Device 005: ID 1044:7a3b Chu Yuen Enterprise Co., Ltd USB-HID Keyboard), but this should not really matter for the code.

Bus 001 Device 010: ID 1044:7a3b Chu Yuen Enterprise Co., Ltd USB-HID Keyboard support

HI,
I tried your toolset but can't get it working I changed the product_id to 0x7a3b because this is the product for my Gigabyte Aero 15 keyboard.

But when trying to execute for example orange.rb I receive this nice message:

/.rvm/gems/ruby-2.6.0/gems/hidapi-0.1.9/lib/hidapi/engine.rb:137:in `get_device_by_path': Path should be in BUS:ADDRESS:INTERFACE format with each value being in hexadecimal (ie - 0001:01A:00), not 1:a:3. (HIDAPI::DevicePathInvalid)

Do you have an idea how to solve this? Usually I could just hit fn+space to make work for keyboard backlight but somehow this stopped working so I tried your code.

Not compatible with Aero Classic 15

Hello !
I'm very grateful for your work.

I tried to run your program on my computer (Aero Classic 15), but it seems the keyboard is not the same :/

When I run :

$ ruby built_in_example.rb 
Traceback (most recent call last):
        1: from built_in_example.rb:7:in `<main>'
/home/hugues/Téléchargements/aero-keyboard-master/keyboard.rb:12:in `open': The keyboard could not be found (RuntimeError)

The lsusb output :

$ lsusb
Bus 002 Device 002: ID 0bda:0328 Realtek Semiconductor Corp. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 13d3:56a2 IMC Networks 
Bus 001 Device 004: ID 8087:0aaa Intel Corp. 
Bus 001 Device 003: ID 1044:7a39 Chu Yuen Enterprise Co., Ltd 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Is there any chance for this to work on my laptop ?
Thanks in advance

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.