Brightness controls stopped working after update on a Samsung QX412-S01AU

13,722

Solution 1

(The situation seems to change with each few new kernel versions, which is very unfortunate.)

After some more experimentation and then fortunately running into this post http://ubuntuforums.org/showpost.php?p=12126780&postcount=6 I have it working on my setup.

You need this in your /etc/default/grub:

GRUB_CMDLINE_LINUX_DEFAULT="nosplash acpi_osi=Linux acpi_backlight=vendor"

After making the changes, do:

sudo update-grub

If you are running the latest Ubuntu 12.04.3 with kernel 3.8.0 (tested on 2013-10-29), or if the above alone does not work after a reboot, you also want to blacklist the samsung_laptop kernel module. Do this by creating a new file in /etc/modprobe.d/ called blacklist-np300.conf with the following contents:

blacklist samsung_laptop

... and then reboot.

I have full backlight control and range restored! If you're wondering what exactly the acpi_osi parameter does, see this askubuntu entry: What does the kernel boot parameter "set acpi_osi=Linux" do?

Solution 2

For Samsung laptops that have a keyboard backlight (like the Chronos Series 7) which can be set when installing samsung-tools from the "Linux on my Samsung" PPA, it is actually recommendable to keep acpi_osi=linux in the Kernel command line. This enables the keyboard backlight functions, it also allows for more fine-tuning when using the brightness controls compared to acpi_osi=. Just make sure to remove the acpi_backlight=vendor parameter.

Share:
13,722

Related videos on Youtube

Jason O'Neil
Author by

Jason O'Neil

Updated on September 18, 2022

Comments

  • Jason O'Neil
    Jason O'Neil almost 2 years

    Previously on my Samsung QX412-S01AU laptop I had been able to get brightness controls working, see this question: Brightness Hotkeys Only Slightly Work.

    After a recent automatic update, which upgraded the kernel, my brightness has stopped working and is on an almost unusably low setting. The keyboard shortcuts for brightness can adjust the screen between about 0 and 30%. The slider using the keyboard shortcuts then ceases to move up, every button press just keeps the level at 30%. "Brightness and Lock" in the settings allows you to move the slider the whole way, but never gives you more than the same 30% brightness.

    Here's what I've tried so far:

    • echo "0" | sudo tee /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/acpi_video0/brightness
      echo "7" | sudo tee /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/acpi_video0/brightness
      These used to work, but now have no effect at all.
    • xbacklight -set 100
      This only allows you to change from about 0-30, as above.
    • I tried to re-apply this answer, but the acpi_backlight=vendor bit was still in my grub config.
    • The output of ls /sys/class/backlight/*/brightness used to be this:
      • Used to be this: /sys/class/backlight/intel_backlight/brightness
      • After the update is this: /sys/class/backlight/intel_backlight/brightness /sys/class/backlight/samsung/brightness

    The kernel version that came through in the update was linux-image-3.2.0-27-generic:amd64 (3.2.0-27.43).

    EDIT- (Ian.B.) Just wanted to add that I have the same problem (Samsung QX411, NVIDIA Optimus) and have removed the acpi_backlight=kernel from the grub and it doesn't change anything. I also tried upgrading to a mainline 3.4 kernel with no effect (with or without the acpi key in grub). Interestingly if I cat the parameters in /sys/class/samsung/brightness/ with the power cord in/out I get:

    actual_brightness 8/1
    bl_power 0
    brightness 4/2
    max_brightness 8
    

    Don't know if it's a clue that the brightness and actual brightness keys aren't in sync.

    • Admin
      Admin almost 12 years
      are you running nvidia optimus system? Anyway Remove the kernel parameter, update grub ,reboot and see if it works.
    • Admin
      Admin almost 12 years
      Hi @Web-E, yeah, it's an Optimus system. (See Jorge Castro's comments above also). Should that help debug it?
    • Admin
      Admin almost 12 years
      Still hoping for a better answer, but for now I can boot the older kernal (3.2.0-26). To do this you hold down shift when your computer starts to bring up the Grub menu. From there choose "Older Linux Versions" and select 3.2.0-26. Everything is working then.
    • Admin
      Admin almost 12 years
      Super irritating, I'm seeing exactly the same problem after a kernel update on this Samsung NP300V3A. I've removed acpi_backlight=vendor, but then the whole system goes unstable. At least with acpi_backlight=vendor, I have these whole 3 levels of brightness. With 3.2.0-26 it was indeed perfect with acpi_backlight=vendor.
    • Admin
      Admin almost 12 years
      Hi @CharlBotha, were you able to go back to using 3.2.0-26 for now? That's what I've done and it's working okay. If you want to give it a shot but need help let me know. Hopefully a future update fixes it properly. I did see a bug on launchpad which looks like this one, so hopefully they're onto it...
    • Admin
      Admin almost 12 years
      @JasonO'Neil please check (and accept?) my answer below! :) I managed to fix with 3.2.0-27 by a simple change of grub parameters, working 100% now.
    • Admin
      Admin almost 12 years
      Yep, that did the trick. Thanks very much, sorry it took me a while to try it and accept. First time I've restarted my laptop since you posted the answer 11 days ago :P
  • Jason O'Neil
    Jason O'Neil almost 12 years
    Hi, thanks for the info. For my particular laptop I don't have keyboard backlights and the above solution worked. However, I didn't know about that PPA - looks useful! Thanks
  • mgab
    mgab over 9 years
    This worked for me in a updated Ubuntu 14.04... (I didn't need the blacklist samsung_laptop line, but I'm not using a Samsung, anyway...)