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

Build process failing #55

Closed matthew-henry closed 2 years ago

matthew-henry commented 2 years ago

Hi,

I tried to build the project as described in the README, but ran into an issue as screenshoted below. Not familiar with the Rust build process so it's entirely possible I've done this wrong. I'm on Manjaro with Kernal 5.16.7-1

image

matthew-henry commented 2 years ago

Ok. I actually got the build to proceed using the cargo make instructions in the github page. Now I can't run the output file. The file is marked executable in the permissions. Running with sudo gets the same error message.

image

4JX commented 2 years ago

As it is a file you need to run it relative to your current folder, so inside /release/ it'd be ./legion-kb-rgb

matthew-henry commented 2 years ago

Ah, that was an embarrassing mistake, still a relative noobie on linux. Thanks, everything looks to work fine. Other than the seg fault when I forgot to sudo first. Thanks for putting this together, not being able to control the keyboard lighting was a nuisance!