LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 08-11-2017, 02:15 PM   #1
Woolie Wool
Member
 
Registered: Jul 2017
Location: Memphis, TN
Distribution: Arch
Posts: 39

Rep: Reputation: Disabled
ThinkPad T520 backlight brightness hotkeys and Xfce slider not working in Linux (Xubuntu 17.04)


The LCD backlight brightness controls for my new laptop (Lenovo Thinkpad T520, replacing the Edge 15 I used before) don't work on Linux at all. I can adjust brightness using the keyboard shortcuts (Fn + Home or End) during the boot sequence but when Linux takes over from the boot loader, these hotkeys no longer work and neither does Xfce's brightness GUI or the xbacklight command line tool I installed. Some Googling revealed multiple contradictory answers that involved digging in config files I really would rather not dig into unless I'm certain the procedure would work. One site said this is apparently a problem with newer kernel versions breaking something about the ThinkPad ACPI driver. Does anybody here know about this problem?
 
Old 08-11-2017, 06:04 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
It appears that the functionality is not complete in Linux. It doesn't look like Lenovo supports that in Linux.
 
Old 08-11-2017, 07:07 PM   #3
Trihexagonal
Member
 
Registered: Jul 2017
Posts: 362
Blog Entries: 1

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
I don't have my W520 booted up to check but the T61 I'm on now has a brightness control in BIOS.
 
Old 08-11-2017, 08:44 PM   #4
Woolie Wool
Member
 
Registered: Jul 2017
Location: Memphis, TN
Distribution: Arch
Posts: 39

Original Poster
Rep: Reputation: Disabled
I already said the brightness controls work when the BIOS is running, but when it hands the computer over to Linux, they stop working. Also, does Lenovo even write Linux drivers? I've heard people say that ThinkPad brightness controls used to work but a kernel update broke them.
 
Old 08-11-2017, 09:35 PM   #5
Trihexagonal
Member
 
Registered: Jul 2017
Posts: 362
Blog Entries: 1

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Quote:
Originally Posted by Woolie Wool View Post
I already said the brightness controls work when the BIOS is running, but when it hands the computer over to Linux, they stop working.
No, what you said was:

Quote:
I can adjust brightness using the keyboard shortcuts (Fn + Home or End) during the boot sequence but when Linux takes over from the boot loader, these hotkeys no longer work and neither does Xfce's brightness GUI or the xbacklight command line tool I installed.
I said there is a brightness control in the BIOS settings of my T61. Nothing about pressing Fn + Home or End.
 
Old 08-11-2017, 10:47 PM   #6
Woolie Wool
Member
 
Registered: Jul 2017
Location: Memphis, TN
Distribution: Arch
Posts: 39

Original Poster
Rep: Reputation: Disabled
There probably is in mine too, but how is that useful for this thread?
 
Old 08-11-2017, 11:02 PM   #7
Trihexagonal
Member
 
Registered: Jul 2017
Posts: 362
Blog Entries: 1

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Quote:
Originally Posted by Woolie Wool View Post
There probably is in mine too, but how is that useful for this thread?
Then excuse me for wasting your time. I won't disrupt your thread further and leave you to it.
 
Old 08-12-2017, 11:12 AM   #8
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
This is a well-known problem, but you may find a fix that works here:
http://www.thinkwiki.org/wiki/Proble...htness_buttons
 
Old 08-12-2017, 04:40 PM   #9
Woolie Wool
Member
 
Registered: Jul 2017
Location: Memphis, TN
Distribution: Arch
Posts: 39

Original Poster
Rep: Reputation: Disabled
Thanks for the link, I've only tried the /etc/linux/grub solution so far (didn't work), but I'll try the others later.
 
Old 08-18-2017, 12:48 PM   #10
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by Woolie Wool View Post
Thanks for the link, I've only tried the /etc/linux/grub solution so far (didn't work), but I'll try the others later.
... There is also a command-line solution to operate on screen brightness if you can't get the buttons to work. Let us know if you need to go there ...

Cheers,
 
Old 08-30-2017, 06:34 AM   #11
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Does the /sys/class/backlight/ stuff work for you? You can echo values there when all else fails.

FILE: /etc/default/grub
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi=force acpi_backlight=vendor"
Where "quiet" was there originally. The change updates the grub.cfg to pass those options to the linux kernel and makes the /sys/class/backlight/... options exist.

$ cat /sys/class/backlight/amdgpu_bl0/brightness

$ cat /sys/class/backlight/amdgpu_bl0/max_brightness
255

$ sudo chown $(whoami):$(whoami) /sys/class/backlight/amdgpu_bl0/brightness
$ echo 128 > /sys/class/backlight/amdgpu_bl0/brightness

Your subpath might vary depending on your GPU, like intel_backlight/ versus amdgpu_bl0/ et cetera. And in two years when various distros catch up, it'll just work out of the box.
 
Old 08-30-2017, 06:35 AM   #12
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
When things just work, you can do this:

$ xbacklight -set 50%
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux Backlight Brightness Keyboard Shortcuts LXer Syndicated Linux News 0 04-21-2017 06:36 PM
[SOLVED] Debian 7 on thinkpad T520; Wifi error floppy_stuttgart Linux - Wireless Networking 2 02-28-2015 09:14 AM
Linux 3.18.1 + KMS + backlight/brightness + suspend to RAM dr.s Slackware 3 01-07-2015 05:03 AM
Script to set-up brightness of backlight in XFCE ElectricZero Linux - Laptop and Netbook 1 09-19-2011 07:52 PM
thinkpad screen brightness increase/reduction not working hedpe Linux - Hardware 0 10-26-2007 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration