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

IP 5 16IAU7 Chromebook #173

Open zackboll opened 2 months ago

zackboll commented 2 months ago

I am running Debian Bookworm on my IP 5 16IAU7 Chromebook using the firmware update utility script from mrchromebox.tech. Any possibility this project will support my keyboard?

4JX commented 2 months ago

I am running Debian Bookworm ... Chromebook

If it can run a Linux distro it should be viable. Provided you have a 4 zone RGB keyboard. If that is the case, run the program once and post here the screenshot of the IDs it gives you

zackboll commented 2 months ago

I have been able to get the keyboard lights working using ectool zboll@debiani3:~/git/ectool$ git remote -v origin https://gitlab.howett.net/DHowett/ectool.git (fetch) origin https://gitlab.howett.net/DHowett/ectool.git (push)

zboll@debiani3:~/git/ectool$ sudo ectool rgbkbd getconfig RGBKBD_TYPE: EC_RGBKBD_TYPE_FOUR_ZONES_40_LEDS

I tried building this project from source and also using a release download, but unfortunately when I run legion-kb-rgb, I do not see any device ids listed and get a warning about failing to find a valid keyboard.

4JX commented 2 months ago

but unfortunately when I run legion-kb-rgb, I do not see any device ids listed and get a warning about failing to find a valid keyboard.

It should display IDs in that screen, like all the 0x####:0x#### here: image

zackboll commented 2 months ago

Screenshot from 2024-09-10 19-52-29 I am currently not getting any identifiers

4JX commented 2 months ago

Poked around a bit and it seems that I would have to implement a rust equivalent of the ectools keyboard control bit. The upside is that if I manage to do it, it'll probably work with all chromebooks that ectool does.

zackboll commented 2 months ago

Thanks, if you end up taking this on, let me know if there is something I can do to help. Certainly with testing, I haven’t done much software with Rust, I come from an Ada/SPARK background.