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
325 stars 41 forks source link

don't find keyboard: Lenovo Legion 5 Pro Gaming #146

Closed mikysal78 closed 10 months ago

mikysal78 commented 11 months ago

Hi, I have this model probe: https://linux-hardware.org/?probe=1c3113c9b9 i run with gui bat don't find keyboard. Howto solve? Thanks.

4JX commented 11 months ago

048d:c975

I will assume the rest of the identifier is correct, perhaps you need to take a look at https://github.com/4JX/L5P-Keyboard-RGB#usage? Specifically about needing to use sudo if you haven't set up the udev rules.

jgirardet commented 10 months ago

Hi and Merry Xmas, SAme thing here with a legion 5 pro with Ryzen (is it why ?). I added the udev rules.

jim@pop-os:~/App$ ./legion-kb-rgb set --effect Wave
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value: There was an error getting a valid keyboard
├╴at app/src/effects/mod.rs:89:14
├╴Ensure that you have a supported model and that the application has access to it.
├╴On Linux, see https://github.com/4JX/L5P-Keyboard-RGB#usage
│
╰─▶ Error: Couldn't find device
    ╰╴at app/src/effects/mod.rs:89:14
Location: app/src/cli.rs:171

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

My probe : https://linux-hardware.org/?probe=db50c73272 image

Do you need some other log ?

4JX commented 10 months ago

Valid identifiers the program recognizes are all 048d:c9XY where X goes from 5 to 8 depending on the year and Y is usually 5 for the "normal" legions and 3 for the "Ideadpad/LOQ" models. Are you sure your device has an RGB keyboard? If so, does Vantage recognize it on windows?

CactusRaven commented 10 months ago

Same issue just occurred to me. Was working fine this morning but after i shut down my system and a few hours later got back on i was blessed with a full brightness rainbow strobe. when i went to relaunch it gave the issue presented here (Failed to find valid keyboard, Ensure you have valid keyboard and the application has access to it, In certain cases, this may be due to hardware failure) Running a legion5 Pro 16ACH6H win 11 AMD Ryzen 7 5800H. i have no idea if this is the proper place to put this issue as i do not use github but if it isnt i will move it there. i just cant stand this rainbow vomit

jgirardet commented 10 months ago

Damn it's not a RGB, only white and black backlight. sorry for losing your time

4JX commented 10 months ago

@CactusRaven What OS? Did Vantage ever (before or after this issue) recognize your keyboard?

CactusRaven commented 10 months ago

@4JX Windows 11 home, Vantage never gave the option to modify lighting ( fn+space does nothing ) which is how i found out about this software. its been working flawlessly for years and this is the only time i've had issue with it.

CactusRaven commented 10 months ago

this appeared for me i have no idea if it is helpful as i am decidedly NOT a computer person

image_2023-12-30_133235616

4JX commented 10 months ago

Did you perhaps run the program with admin privileges at some point? Seems like it can't save a config/profile file due to one already existing.

Windows 11 home, Vantage never gave the option to modify lighting ( fn+space does nothing ) which is how i found out about this software. its been working flawlessly for years and this is the only time i've had issue with it.

Might consider the keyboard dead(-er) than before, can you check if LenovoLegionToolkit works for you?

CactusRaven commented 10 months ago

It boots, it runs, keyboard backlight unchanged. Wish i could understand what broke it in the first place. it was working perfect and now, nothing.

CactusRaven commented 10 months ago

oh well, itll get fixed somehow or another. have a good whatever it is for you. happy new year!

4JX commented 10 months ago

Closing this due to inactivity from OP, if anyone encounters problems feel free to open a separate issue.