-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add support for Lenovo Legion 5 Pro (2021) #31
Comments
By what I see, I search the correct hidraw device by the name, for the chip
Here's is the correct hidraw device from my laptop |
Can you do a |
Thanks for considering this! As requested:
|
It seems to me that is the same chip as the Lenovo Y720. So it should work after I add the |
Thanks @Izurii ! I made that change to
Is this something I can easily fix? Or if not, would it be convenient for you to build a |
You need to update your node.js: https://stackoverflow.com/questions/8191459/how-do-i-update-node-js/33010229#33010229 I ran into the same problem, but managed to get it built with the updated node.js. |
@cconvey @auberginebeardsley Any of you have windows installed in your laptop? If yes, do you have the software from Lenovo that controls the keyboard RGB? If also yes, can you send me the software or tell me the name, this way I can take a look how the driver works for windows and maybe replicate it on this app. |
My Windows installation is thoroughly deleted, unfortunately. |
The software used for Lenovo 5 Pro is Lenovo Vantage. https://www.microsoft.com/en-us/p/lenovo-vantage/9wzdncrfj4mv |
@dausruddin Many thanks, do you have a Windows installation? |
Yes. I am dualbooting. Feel free to ask me anything. I have been following this issue for a while :D |
@dausruddin So, can you check if, somewhere inside the folder where the Lenovo Vantage is installed you have a DLL with "LED" somewhere in the name? |
Unfortunately I spotted none. Folder: List of files
|
@dausruddin I asked about this DLL because in the software used by the Lenovo Y720 this DLL is responsible for controlling the RGB backlight. Maybe is in another file, so if possible, can you upload the whole folder and send me a link? This way I can work my way up to find how the software works and implement this in my software. |
Content of I did a quick search and there is another folder that might interest you. |
@dausruddin Many thanks! I'll be taking a look and as soon as possible will come back here with some news |
Thank you😁 |
May I add a thank you as well? Thank you! :) |
Thank you! I am waiting for solution very unpatiently lol |
Here's the updated LenovoVantage software. I found some references to the above strings in .js files under LenovoCompanion UWP app, but couldn't trace them to code as the JS is all minified. |
Any updates for getting Legion 5 Pro support? It would be greatly appreciated! Thanks in advance! |
I have made CLI tool to control leds on Legion 5 Pro 2021 on linux https://github.com/imShara/l5p-kbl |
Thanks @imShara !!! I have tested and it is working really good. |
Can I use your code to implement support for the Legion 5 Pro in mine? Of course, I'll be giving the credits for that 👍 |
Sorry for the delay folks. My work and studies is consuming my free time in a way I never seen before lol, but I'll be making fixes and updating this project soon! |
Yes, of course |
@imShara thank you for your tool, I've learned how it works and tried to run it (with a slight modification) on my IdeaPad Gaming 3 which has a different keyboard model (VENDOR = 0x048D PRODUCT = 0xC966), but that caused the keyboard to stop responding, so I assume the payload is probably different for this model. Can I ask how did you discover the correct payload? |
In legion 5 pro there is three hidraw devices, and proper is NOT a keyboard actually. You can check right device from windows with wireshark and usbpcap. You should catch packages when shitching modes in lenovo vantage. |
Is your feature request related to a problem? Please describe.
This app seems 95% close to working on a Lenovo Legion 5 Pro, 2021 edition (16ACH6H), but the latest release isn't able to.
Describe the solution you'd like
I'd like to work with a contributor to get this working on my recently purchased laptop, which is running Linux Mint 20.1 ("ulyssa") with a 5.13.0 -based kernel.
Describe alternatives you've considered
I couldn't find any similar app for Lenovo laptops, so this app is the most promising solution I'm aware of. I tried running this app as-is (release 1.8.60), but it didn't work.
Additional context
I suspect this laptop is nearly compatible with the app for several reasons:
The text was updated successfully, but these errors were encountered: