-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fix for LG gram led keyboard 14ZB90Q #4
Comments
This overall looks good to me. Could you please open a pull request with these changes? |
An edit to the README removing what I wrote about this functionality would be appreciated as well. |
I'm on a 14T90N, and the script runs properly, but the keyboard backlight never updates. Is this a problem with the script or a driver I need? |
I will be honest, I don't think I can help you directly here, but I do have a few questions. Are you trying to say that the script runs successfully (meaning, it doesn't print errors) but the backlight does not turn on or off? |
If you look at the code, it updates the file below with either a 0 (for off) or 255 (for on) #1 Check if the following file exists #2 use the following command to turn the led ON #3 use the following command to turn led OFF Hope that works. |
#1: The file ls -lsa /sys/devices/platform/lg-laptop/leds/kbd_backlight/brightness does exist on the computer. #2 & #3: Command does nothing.
The file exists, and I can modify the value of the file, but the light doesn't change, and opening the file again shows the value just is stuck at 0. |
You need to have root permissions. Please try this: sudo nano /sys/devices/platform/lg-laptop/leds/kbd_backlight/brightness and edit and save the file (I use ctrl-s and then ctrl-x to exit) but as soon as you save, the keyboard should change. Also does your machine turn on/off the background manually using keyboard Fn-F8 |
This code works on LG gram 14ZB90Q. Turns kbd led on and off. 0 is off 255 is max.
lgkbdled.sh
The text was updated successfully, but these errors were encountered: