Well guys, today I bring you the solution to a problem that I had to solve in my Cinnamon with Arch Linux.
The problem was that on an HP Envy M4 Notebook, the reduce and increase brightness button works and is displayed in cinnamon, BUT OH! it does not increase or reduce gloss.
By running the following command:
$ ls /sys/class/backlight/
I would display the controller in my case they appeared 2
acpi_video0 e intel_backlight
The problem is that everything works for acpi_video0 but it is not using the intel_backlight which is what my notebook uses.
How can we know this? Easy with the command:
# cat /sys/class/backlight/acpi_video0/brightness
Which shows us its value and if we press the keyboard button and lower or raise the brightness it modifies it. But like I said, that's not the one the notebook uses if not intel_backlight, now if we do the same but for intel we will see something different:
# cat /sys/class/backlight/intel_backlight/brightness
It gives us the value but if we modify it from the terminal we will notice that the brightness is modified.
An example:
# echo 1000 > /sys/class/backlight/intel_backlight/brightness
We will notice that the brightness changes or increases depending on the value we use.
Solution to the problem:
We create or modify the file /etc/X11/xorg.conf.d/20-intel.conf and we add the following:
Section "Device" Identifier "card0" Driver "intel" Option "Backlight" "intel_backlight" BusID "PCI: 0: 2: 0" EndSection
After this we need to modify the following line in the / etc / default / grub file:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"
As you can see I only added acpi_backlight = vendor inside the sentence, depending on how yours is only added inside.
We proceed to regenerate our grub.cfg with the following command:
# grub-mkconfig -o /boot/grub/grub.cfg
and that's it just in case I use a:
# mkinitcpio -p linux
but just in case: 3 luck and I hope it helps someone who has the same problem and is trying to solve it n_n a greeting.
thanks for sharing .. greetings
And it is supposed to be a friendly and special desktop for novice users….
that's why people stay away from Linux.
No offense, if you have nothing good to say, you better not give your opinion. If you read the article you will see that this only happens on certain hardware. It doesn't happen to me, and 20 other people I know who have a laptop and use GNU / Linux either.
Not to mention that the computers that come pre-installed with the other OS that "is super-friendly", the vendor or the manufacturer has already configured all of that for us, or they had to install all those drivers that any Linux user does not need to install.
No offense or start a meaningless discussion, but Rubén is right, many people stay away from Linux because of problems like these, I have seen it many times. There are many comments that do NOT comment on anything "negative" about linux but they also do not say anything good ... let's say for example a "very good, I'll try it" and those comments are not repressed in any way ... I think you have to be even or be more tolerant .
On the other hand, in my personal lap I have the same problem, (although it is with ubuntu and cinnamon), when I get home I will try the solution and post the results. Regards.
Don't be queers. One has to see the objective of the operating system before installing or using it. It is obvious that certain things frustrate beginners, what they do not know is that these things happen for a particular hardware, or on a particular operating system, such as gentoo or arch linux.
I installed arch linux and in a certain part it is a headache, but I managed to get it to have cinnamon, although after 3 starts it no longer starts. But I know a lot about gnu linux and I will be able to solve it; the thing is, it's Arch, and just like gentoo, if you don't know your goals, you'll be dead and will speak ill of gnu linux for life.
The first objective is to understand that certain things do not work because the firmware is possibly generic created by reverse engineering since they were made exclusively for use in winbugdows and are not supported for business reasons. The second objective is to understand what that OS is aiming at, what are its basic objectives, if it is stability (debian), if it is functionality (ubuntu / mint), if it is flexibility (arch, gentoo), if it is for servers, if it is for rescue, if it is for games, if it is for studies, etc.
In order.
Excellent! I had the same problem. Thanks for the input.
@beny_hm
First of all, thank you !! At last my laptop gets shiny ok, it is a Fujitsu AH562 and I had not found anything about it on the internet.
So I think the article should not be specific to Arch, it works for other distros, I just did it in Fedora 19 and I'm pretty sure it works for any other with recent software.
in fact 🙂, I tried it in mint 16 and it works only when regenerating the code is: sudo update-grub
Thank you for writing this article! You have fixed a very annoying problem I had with two of my three computers.
I encourage you to continue writing more articles!
Thanks for the article, you have just been very helpful in my eyes 😀
With create file
20-intel.conf
It was enough for me, since when I added the line to the grub, it gave me an error when starting. Thank you. : ')I was just looking for the solution to that problem!
I wanted to ask you if I can do the same procedure using Elementary OS Luna.
PS: if you know how to configure the speakers so that they all sound and the headphones, thank you very much!
greetings and thanks from Uruguay!
It works on my ubuntu 14.04 with my Asus Aspire laptop.
Thank you!
Thanks a lot! Until now I had only been able to change the brightness with "echo number> / sys / class / backlight / intel_backlight / brightness" but it was very tedious and now it works with the 😀 keys