-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with devices other than GL553VE #1
Comments
Sorry for the late response. Can you try running the program with sudo. |
I've copy from console sudo ./openauranb FF0000 Initializing libusb library... |
I use openSUSE Tumbleweed with gcc (SUSE Linux) 9.1.1 20190520 [gcc-9-branch revision 271396] and kernel 5.1.5 |
The code I've written is to configure backlights on ROG GL553VE exclusively. There is no guarantee that the ASUS TUF FX503GE uses the same hardware configurations for the backlights. Also the hardware id's for the keyboard device will probably be different. The best course of action would be to use this code as a starting point and reverse engineer the backlight yourself. You will need to use a USB packet capture software such as wireshark to see how the aura software communicates with the LED hardware. |
Can you help me do this? I'm new to linux. I don't think it should be difficult as ROG and TUF are very similar technologies. |
I've install Wireshark but I don't see USB row |
You should read this. I would suggest you dualboot windows and linux instead of using a windows VM on linux to reverse engineer the device. I couldn't get the driver and aura software to work within the VM. Perhaps it works only with actual USB external devices. You can go to device manager on windows and disable the HID devices one by one and see if you can change the lights with aura software. When you detect the device that when disabled halts the working of aura software, note the VID and PID from its properties. You should be able to change the first few lines of code with your VID and PID. If the communication is not different then you should be able to change the lights. Good luck. |
I've dual boot with Windows 10. In Windows I go to device manager and I try to disable HID device and Controller USB, but the led non turn off or not controllable by ASUS software. :( |
I would need access to the device to proceed further. My previous comment contains the method I used. |
I have an Asus FX505 and i'm trying to do what you said. Thank you |
Hello, And no the script does not change the brightness. However I am able to change the brightness on my Xubuntu setup by using the buttons on the keyboard ( F3 and F4 in my case ). Thank You. |
I tried checking mine but I don't have any such devices in my human interface devices and disabling the ones there didn't change anything for keyboard controlling. Even using Wireshark to capture USB packets didn't help as no packets seemed to be transmitted through my TUF keyboard software. Thanks a lot for your help anyways! |
Perhaps in your case the device drivers are in the keyboard section? |
Product ID for FX503VD is 0x1869, as shown here. May work for FX503GE |
I have an Asus TUF FX505DU and the keyboard is PS/2, not USB, as I posted in an issue here: I know reverse engineering is not an easy task. But I would like to support any effort to get it working on Linux. |
I think most new laptops use a logical USB connection for their internal keyboards. Perhaps ASUS wanted N-key roll over for their TUF gaming laptops. Regardless I think the LED driver must be a Human Interface Device. Did you try going through the steps in my previous comment ( here )? |
Okay, I'll try to look into Windows's Device Manager. Hope to find a clue there. |
There's a device named ASUS System Control Interface V2. I installed the driver from here: And here's the Some screenshots:
So that's what I need to note, the device |
@systemgvp this answer is for Ubuntu: So probably you have to install |
Something that I realize about my laptop keyboard is that not all the Fn hotkeys are functional on Linux, like the keyboard backlight brightness control and fan control. Then I found this news: Hope that's a good sign. |
@yaliv if the news is true, then we have to wait for Linux 5.3 and we can use asus-kbd-backlight package itself for controlling our tuf laptops. Another option would be to try porting the asus control interface driver but I'm not sure how we could go about doing that since it's quite a large package. |
I can already control my keyboard backlight brightness with the Fn keys on kernel 4.15.0 |
After switching to Linux kernel version 5.3, my keyboard backlight is automatically changing colors now. I can control its brightness using Fn hotkeys too. |
yaliv, Can you attach a ZIP file with the compiled code? because I can not in any way compile even by installing the appropriate libraries |
Yup, I installed Linux 5.3 kernel and keyboard fn keys started working in mine as well. Still happy that support has been added |
@systemgvp actually I haven't tried anything that mention "USB", either using this project or rogauracore, because I believe that the RGB lighting in my keyboard doesn't use USB. Any similarities I mentioned about My laptop is Asus TUF Gaming FX505DU and I figured out that the RGB lighting is controlled by ASUS SCI v2, not USB. I myself did experiment with a fresh Windows installation on a free partition I created. |
Hello guys! I have found this repository when typing "asus open source" to Google. The funny thing is that ASUS does not seem to care enough... and hence open source projects from end users are usually first ones in search engines. When I briefly read posts of this issue, I have noticed that some of you have laptop models that may be supported by asus-fan-control, a simple fan control written in POSIX shell. I am writing that as I have noticed that @yaliv mentioned fan control in one of his posts and I find it quite relevant. I do not know whether you are already using a fan control for your devices but if not and you need to (e.g., aggressive fan policy), please give asus-fan-control a try. I would really be more than happy to add support for new devices! 🚀 You would be publicly stated as the first tester of your laptop model of course. 👍 Should you have any problems, feel free to create an issue. I am here to help. 😄 |
I currently use faustus for my laptop and I found it the most convenient, because I just need one driver for controlling the RGB keyboard backlight and fan boost mode. Speaking of fan control, faustus use modes (normal, overboost, silent), which can be switched by pressing |
@yaliv I completely understand your situation and thank you for your willingness. ❤️ Certainly let me know. 😄 |
@yaliv BTW, please hold on. There is a little nasty bug affecting new asus-fan-control users. I should get to it by tomorrow or maybe a bit later. I will let you know. 😄 EDIT: Fixed... 😄 |
I'm trying to start your project to run the LEDs on my keyboard (ASUS TUF FX503GE) but I see the following error:
`./openauranb FF0000
Parsed arg values are R = FF G = 00 B = 00
Openauranb : Change backlight color for ASUS notebooks.
Press any key to start.
Initializing libusb library...
Successfully initialized libusb library.
Number of usb devices found = 5
Successfully found all USB devices.
Checking device with product_id = 0003
and device address = 1
Checking device with product_id = fa60
and device address = 2
Checking device with product_id = 0aaa
and device address = 4
Checking device with product_id = 56a2
and device address = 3
Checking device with product_id = 0002
and device address = 1
Device address = 105
Errore di segmentazione (core dump creato)`
Can you help me?
The text was updated successfully, but these errors were encountered: