-
Notifications
You must be signed in to change notification settings - Fork 50
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
Keyboard's backlight lights up for only a split second on my MSI GS76 & turns off again! #46
Comments
Your keyboard uses a different command structure. I don't know which exactly, so its hard to say how to get your keyboard working. My first suggestion would be to test the things you already tested. So it seems that the command at least is partially correct. So how to proceed? |
Any progress on this one? I had brief success with my keyboard, but then after the system went to sleep, it stopped working again. See here: https://askubuntu.com/questions/1416415/how-to-enable-keyboard-backlight-in-msi-ge-76-raider-11ue/1417036#1417036 |
Are you referring to general functionality issues (i.e. more recent notebooks might not be supported) or to automatic resets from sleep/resume? |
General functionality issues. The sleep/resume issue is harder to pinpoint, as is getting it to work on startup. For some reason (even as I type this), the keyboard is working just fine, but I can't tell when it will turn on or off. |
Hello folks! Let me reiterate the whole thing! I have MSI GS76 and (Linux) Manjaro installed. Everything with Manjaro worked perfectly other than the keyboard backlight. They keyboard backlight is not simply a flashy or fancy accessory for me, but it is a must as I type things on my computer either in very dim light or no light at all at night! So, I really and truly needed the keyboard backlight to work! That's why I was hellbent on getting the keyboard backlight to work. I didn't care about the fancy and flashy keyboard backlight color functions or patterns. All I simply wanted was the keyboard backlight to light up. That's all. I searched the internet and many different forums for months and longer than a year. I found no solution and with everything I tried I came to a dead-end and cluttered the operating system by installing bunch of stuff that didn't work or help at the end. And finally another user (ulrickpsp) at github responded to another message I posted at the link below. With his simple solution, the keyboard backlight on my MSI GS76 laptop worked! I could not believe my eyes! I give all the credit to "ulrickpsp". Very shortly, let me state what I did.
As I said above, I didn't want or care about pulsing keyboard backlight. I just wanted the keyboard backlight to say on "solid". To do that, I replaced "-p" with "-s" as below. When I used "-s", it didn't recognize (understand) aqua color, probably it was not defined. So, instead of using the name "aqua", I had to use the corresponding number (ffffff) when I had to use "-s" for my own purpose. If you want steady (solid) keyboard backlight color of your choice, you can replace "ffffff" with your preference. Once you define the keyboard backlight color, it still keeps the keyboard backlight color even after you reboot the computer or even after you update your current kernel. That's my experience. It may be different in your experience, depending on how your setup is or what Linux distro you have, installed. So, please keep that in mind. (Also, I have GS76, but still I had to go with "GS75" as shown below because GS76 was not supported or included in "msi-perkeyrgb", but it still worked!?!) Here is the key. Here is what turned the keyboard backlight on. Don't ask me why, but as I understand it, Linux sees the keyboard as a usb device. You may see folders like "3-10" may be for the mouse. "3-11" may be for webcam. "3-12" may be for the keyboard.. Even though I was told to type the command below, to find the keyboard number. I had an error because Manjaro didn't recognize the "-T" argument in the command. So, I went with "3-12" because the person (who was helping me) had the same laptop as mine (MSI GS76) and his number was "3-12". In worse case, you just have to try whatever folder numbers you see under "/sys/bus/usb/drivers/usb/" Get the superuser privilege by typing the command below (It may be different in your Linux distro). Then type the command below to turn on the keyboard backlight once and for all! Yeah!?! (Don't forget to replace '3-12' below with whatever corresponding number is, for your keyboard.) Since you don't want to type the command below each time you reboot your computer, create a simple script with the instruction below to automatically start at every boot-up. That's all. Good luck! |
Good to know that you find a working solution 👍 |
Didn't work for me on Ubuntu 23.10. Update: |
Rolandixor, make sure both services Also, each time you reboot your computer, you need to run the command below to turn on the keyboard backlight. So, you need to create a simple script with the instruction below to automatically start at every boot-up. That's all. I hope it helps. |
The solution worked until I plugged in my power cord. There seems to be a
weird quirk that prevents the back light from staying on once external
power is connected.
I really hope a native solution is in the works, because this sucks after
so long.
…On Fri, 1 Dec 2023, 11:01 pm OuttaBody, ***@***.***> wrote:
Rolandixor, make sure both services python-setuptools and hidapi are also
installed. They are required by msi-perkeyrgb.
sudo pacman -S --needed python-setuptools hidapi
Also, each time you reboot your computer, you need to run the command
below to turn on the keyboard backlight.
echo '3-12' |sudo tee /sys/bus/usb/drivers/usb/unbind
So, you need to create a simple script with the instruction below to
automatically start at every boot-up. That's all.
echo '3-12' |sudo tee /sys/bus/usb/drivers/usb/unbind
I hope it helps.
—
Reply to this email directly, view it on GitHub
<#46 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEIIQZFYS5M3OHAEYKETATYHKKZDAVCNFSM5ZF54GU2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBTG4YDCNZQGYYA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
That's really strange! I feel like saying that it may have to do with power (energy) saving adjustments in Ubuntu. But there is no such feature relating to the keyboard backlight, as much as I know. Here is what I think it might be. Whatever state the keyboard backlight turns on in Ubuntu, it may remember that state and turn it off when there is any "change" to the previous state. You may, kind of, need to initialize (start) the keyboard backlight when your power source is connected and see what happens. Also, it sounds like you have dual boot system, (Windows and Ubuntu), which is fine. For the most part, it is how the BIOS interact with Linux. For example, I don't need to set up a keyboard backlight color theme in Manjaro. Whatever keyboard backlight color theme is selected in Windows, Linux recognizes as default and keeps it and goes with it. I've never had such problem with my system the problem that you're having. I'm using Manjaro KDE Plasma (Arch Linux Distro). I wanted to get away from Windows for the longest and tried many other Linux distros, but unfortunately I kept having to go back to Windows due to software problems. Meaning, the Linux distro didn't have the software. Even if it did, it didn't work properly. Sometimes the issue was components the laptop had... that I could not get them to work. Sometimes, the Linux distro seemed rather "blah" until I finally found Manjaro and gave it a try. Ever since I started using Manjaro (with KDE Plasma desktop environment), I never looked back. It has everything I need and want and more. Now compared to Manjaro, Windows seems "blah" to me. My main concern with Windows was privacy and security. Microsoft is in the pockets of the 3-letter agencies. I don't even want to get into corporate greed and incompetence! Anyway, my only issue with Manjaro was the keyboard backlight on my gaming laptop that I could not get it to work, no matter what I did or how much I tried, but I never gave up. I knew that solution was out there. Where there is a will, there is a way! Finally, my keyboard backlight works with Manjaro now. Everything in Manjaro is set up perfectly, working fine as if my laptop came with it. Here is what I want you to try if the keyboard backlight doesn't work when you turn on Ubuntu, which is better than rebooting your system. Go into terminal, first type the command to have admin rights. In my system, it is " Assuming that it is Also, assuming that inside this folder (/sys/bus/usb/drivers/usb/), you have one file called "bind", and another one called "unbind" and also have a folder called "3-12". When this folder "3-12" is in unbind state, you won't be able to see it though! When you type the command below, the folder "3-12" will be released for you to see it in your file manager when you look in "/sys/bus/usb/drivers/usb/bind".
So far, all we're doing is making sure such folder "3-12" exists in "/sys/bus/usb/drivers/usb/bind". That's all. Nothing more! When you turn on Ubuntu, if your keyboard backlight doesn't work, go into terminal. Type
After you bind, and then unbind, the keyboard backlight should turn on without having to reboot your computer. |
Hi folks,
I'm running Manjaro Linux (KDE Plasma Version: 5.24.5, Kernel Version: 5.18.0-1-rt11-MANJARO 64-bit) on MSI GS76 laptop. I've been trying to get the keyboard backlight to work on my laptop. And I need your help.
With MSIKLM, I got the "No compatible keyboard found" error. I fixed that problem by inserting the correct vendor id (1038) and product id (113A) in the code for the keyboard my laptop uses.
I recompiled the code. When I ran sudo msiklm test, I got the message "Compatible keyboard found!". So far so good! But when I run any of the commands below with valid argument, the backlight on my keyboard lights up for only a split second and turns off again. Any idea what the problem is or any solution to this problem? I really need this to work. It looks like I'm so close, but not quite there yet! As long as the keyboard backlight lights up, I don't really care what color it is...! I just need to be able to type in the dark. Thank you!
sudo msiklm green
sudo msiklm green,blue,red
sudo msiklm wave
sudo msiklm green high
sudo msiklm green,blue,red wave
sudo msiklm green,blue,red high wave
The text was updated successfully, but these errors were encountered: