Fix: Cinnamon does not reduce or increase brightness on Arch Linux

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.


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

15 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   panchomora said

    thanks for sharing .. greetings

  2.   Ruben said

    And it is supposed to be a friendly and special desktop for novice users….
    that's why people stay away from Linux.

    1.    elav said

      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.

      1.    Morpheus said

        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.

      2.    Raistlin said

        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.

        1.    Lucas said

          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.

  3.   Nick said

    Excellent! I had the same problem. Thanks for the input.

  4.   dhunter said

    @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.

    1.    beny_hm said

      in fact 🙂, I tried it in mint 16 and it works only when regenerating the code is: sudo update-grub

  5.   twin said

    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!

  6.   cat said

    Thanks for the article, you have just been very helpful in my eyes 😀

  7.   eldragon87 said

    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. : ')

  8.   martin said

    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!

  9.   Hans Gallardo Serapio said

    It works on my ubuntu 14.04 with my Asus Aspire laptop.

    Thank you!

  10.   Juan Nava said

    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