So I followed this post but I am stuck because of this output:
ln: failed to create symbolic link '/sys/class/brightness': Operation not permitted.
What I wanted to try is:
$ cd /sys/class
This directory should contain a soft link calledbrightness
to the brightness device discovered in the previous step. Should it be missing, create it:$ sudo ln -s /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight/brightness /sys/class/brightness
Note that: There is no "brightness" folder inside /sys/class. But there is "backlight" folder. What should I do? Should "brightness" folder/file?
Creating the file, gives me, "Operation not permitted". I used "cat > brightness" command. It didn't work. Now the only option I have is to create a folder.
Meanwhile, I can't control the brightness through the "brightness" button. Even moving the "Brightness bar" manually doesn't respond.
Brightness button & bar used to work, but dunno what happened. How do I resolve this issue?
Try this:
That should fix it.
Actually, you don't even need to do that. All those steps are not required if you want to control brightness. You already have the brightness control, all this command is doing is creating a small link to that.
Do this:
Change the number to whatever you like. There is an upper limit. This is not usually a percentage. So you should be able to set brightness to 281, for example.
Your last error was using cat command incorrectly. cat command show the content of a file.
For some reason, changing this line solved the issue:
For that, do this:
Put above line and restart. This didn't work before but it worked somehow. Try using "video" instead of "vendor" which is very unusual. But it might help.