4JX / L5P-Keyboard-RGB

Cross platform software to control the RGB/lighting of the 4 zone keyboard included in the 2020, 2021, 2022 and 2023 lineup of the Lenovo Legion laptops. Works on Windows and Linux.
GNU General Public License v3.0
308 stars 39 forks source link

Legion T5 28IMB05 support #61

Closed CE1CECL closed 11 months ago

CE1CECL commented 2 years ago

Ref: https://github.com/BartoszCichecki/LenovoLegionToolkit/issues/69 & https://github.com/ViRb3/LenovoController/issues/4

I don’t know if this project is for desktop Legions either, but there isn’t any program available but vantage, especially for Linux, you can’t run vantage on linux (vantage isn’t even open sourced by Lenovo, at least the SDK for lighting or whatever isn’t)

4JX commented 2 years ago

This program only covers the RGB aspect of the Vantage app.

I don't think it would be very feasible to add support for a desktop with the app in it's current state, as most of the code is hard coded to expect the layout of a 4 zone keyboard. That is, unless they also provided you with one of those?

CE1CECL commented 2 years ago

This program only covers the RGB aspect of the Vantage app.

I don't think it would be very feasible to add support for a desktop with the app in it's current state, as most of the code is hard coded to expect the layout of a 4 zone keyboard. That is, unless they also provided you with one of those?

Capture

This is what it looks like.

CE1CECL commented 2 years ago

Its also worth mentioning that opening up v0.13.1 doesn't show anything, anything newer shows an error.

Capture

4JX commented 2 years ago

Its also worth mentioning that opening up v0.13.1 doesn't show anything, anything newer shows an error.

Older versions silently failed/showed the error in the console.

Can you send screenshots of the configuration of the rest of components (the different sub menus in that 3/4 tab)? And do any of them have addressable colours or are they all preset effects?

CE1CECL commented 2 years ago

1Capture 2Capture 3Capture 4Capture 5Capture 6Capture 7Capture 8Capture 9Capture Capture

Some say its managed by GPU? Says OpenRGB's discord server, it may or may not be I2C?

CE1CECL commented 2 years ago

If you aren't able to fix this (which i don't know if it will, desktop Legion's don't seem too common), do you think if i run Linux, I can pass through the RGB driver using KVM? Have you or anyone else tried?

4JX commented 2 years ago

If you aren't able to fix this (which i don't know if it will, desktop Legion's don't seem too common), do you think if i run Linux, I can pass through the RGB driver using KVM? Have you or anyone else tried?

Perhaps, haven't tried myself though.

The main issue with something like this is time. Your run-of-the-mill company will do anything but give developers any sort of help in developing their own solutions, because god forbid end users can enjoy their hardware after companies move on to their next big thing.

I was able to track down where the magic is probably happening, at least for my system: i

Specifically, LedDtSettingsModule.dll has strings that:

Its also worth noting that LedSetModule.dll has references to what probably are the different desktop build configurations: a

To sum up the information dump: Successfully reverse engineering LedDtSettingsModule.dll would probably be enough to allow for custom controls on the entire lineup of Lenovo (Gaming/Legion) machines. As for when and how, we go back to the time (and feature creep) problem.

Also if possible please confirm the existence of the same/similar files in your machine, especially the RGB config save path which should lead to a folder with two XML files (one default and one that stores the current active config)

CE1CECL commented 2 years ago

C.zip

4JX commented 2 years ago

Putting this on hold for now since it's going to take quite a bit of effort to make progress for something like this, apologies.

CE1CECL commented 1 year ago

@4JX OpenRGB works with my fan now, at least on windows 10. But the LED strip idk how to configure that, its doing this over HID VID 17EF & PID C955

EDIT: https://gitlab.com/CalcProgrammer1/OpenRGB/-/issues/2999 says there is also a WMI Interface as well. I think its ACPI\PNP0C14\GamingWMI_0 (according to their log)

4JX commented 11 months ago

Been thinking about this issue for a while, I decided it would be better to not attempt to implement this out of concerns for feature creep as the program is focused on 4 zone keyboards.