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 10-25-2016, 12:00 PM   #1
Cág
LQ Newbie
 
Registered: Oct 2016
Posts: 18

Rep: Reputation: 0
Brightness Fn keys don't work


Hi,

My brightness Fn keys (Fn+F4/F5) don't work for some reason, and I think the problem is in the kernel. I can set brightness with xbacklight, I can change key bindings to some other keys (e.g. to my current volume keys) and it will work (I'm using dwm, so key bindings are in config.h). Also I can adjust brightness in BIOS and GRUB with Fn+F4/F5.

Is there a kernel option for it? And if not, what else can be the problem?

Thank ye all.
 
Old 10-25-2016, 12:32 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Cág View Post
Hi,
My brightness Fn keys (Fn+F4/F5) don't work for some reason, and I think the problem is in the kernel. I can set brightness with xbacklight, I can change key bindings to some other keys (e.g. to my current volume keys) and it will work (I'm using dwm, so key bindings are in config.h). Also I can adjust brightness in BIOS and GRUB with Fn+F4/F5.

Is there a kernel option for it? And if not, what else can be the problem?
Since you don't tell us what brand/model of laptop, running what version/distro of Linux, with what desktop environment...who knows??? We can't guess...provide details, and we may be able to help.
 
Old 10-25-2016, 01:30 PM   #3
Cág
LQ Newbie
 
Registered: Oct 2016
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
Since you don't tell us what brand/model of laptop, running what version/distro of Linux, with what desktop environment...who knows??? We can't guess...provide details, and we may be able to help.
Alpine (written under my nick), 4.4.27, Dell Inspiron, dwm. I already posted another thread on hybrid graphics, where I mention all of that, so I thought I told it. Sorry about it.
 
Old 10-25-2016, 03:57 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
You might try to install acpid and acpi-support. At least that's the debian package with features to change brightness on certain laptops. And other things like shutdown when the power button is pushed. Useful when the keyboard stops responding as that button still works most times and does a clean shutdown.
 
Old 10-26-2016, 07:30 AM   #5
Cág
LQ Newbie
 
Registered: Oct 2016
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Shadow_7 View Post
You might try to install acpid and acpi-support. At least that's the debian package with features to change brightness on certain laptops. And other things like shutdown when the power button is pushed. Useful when the keyboard stops responding as that button still works most times and does a clean shutdown.
I have Debian with the same kernel config on another partition, it has acpid (current Alpine has acpi, kinda limited in features), no difference. Also tried with Openbox. And power button key works, to shutdown the machine I use only it.
 
Old 10-26-2016, 08:14 AM   #6
Cág
LQ Newbie
 
Registered: Oct 2016
Posts: 18

Original Poster
Rep: Reputation: 0
Solved by remapping keys with xmodmap. My XF86MonBrightnessUp and XF86MonBrightnessDown were missing, so I made a custom .Xmodmap file in my home. Identified those keys with keycodes with xev.
 
Old 02-11-2019, 07:06 PM   #7
dave_robbo
LQ Newbie
 
Registered: Feb 2019
Posts: 1

Rep: Reputation: Disabled
Solution for Dell Inspiron 17 7000

Hello,

I had the same issue and found this post, so maybe others might be helped...

Running xubuntu 18.10 on a Dell Inspiron 17 7000 (7786).

The solution was to remove all the grub command line options except "acpi_backlight=vendor":
sudo nano /etc/default/grub
Edit the GRUB_CMDLINE_LINUX_DEFAULT line as follows:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"
Run: sudo update-grub
Run: sudo reboot now

Previously, I had tried the following option without success:
"acpi_osi=! "acpi_osi=Windows 2015""
"nomodeset" (this was needed until I installed the latest nvidia driver)
"acpi_osi="
"acpi_osi=Linux"


Without success meant the Fn+F11 and Fn+F12 keys did nothing, and none of these commands worked...
ls -l /sys/class/backlight
Now, it shows "dell_backlight intel_backlight"

Running this gave nothing either:
xrandr --verbose | grep Bright
Now it shows " Brightness: 1.0".

The other function keys - volume, keyboard backlight, wireless on/off, etc... were working OK.
 
1 members found this post helpful.
  


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
Fn brightness controls don't work adrian_m Linux - Laptop and Netbook 4 12-01-2012 09:16 AM
brightness controls don't work on HP laptop leibnizster Linux - Laptop and Netbook 4 09-12-2012 12:54 PM
Acer 5755G-6823 Laptop brightness buttons don't work Lumify Linux - Hardware 5 03-21-2012 06:25 AM
vi up/down and j/k keys don't work theKbStockpiler Linux - General 3 09-18-2011 03:09 AM
Some keys don't work ... others are wrong??? sys7em Slackware 1 10-09-2004 08:30 PM

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

All times are GMT -5. The time now is 07:27 AM.

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