Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]problem with laptop brightness
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
klas
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2017
Posts: 104
Location: Manchester

PostPosted: Sun Oct 08, 2017 11:26 pm    Post subject: [SOLVED]problem with laptop brightness Reply with quote

Hi guys ,
Anyone to help me fix my laptop brightness . It always goes back to full brightness everytime I restart the machine.
I have a lenovo thinkpad x1 carbon second gen.
Command
Code:
zgrep BACKLIGHT /proc/config.gz
throws something like this
Code:

adam@grodo ~ $ zgrep BACKLIGHT /proc/config.gz
# CONFIG_FB_BACKLIGHT is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_BACKLIGHT_CLASS_DEVICE=m
CONFIG_BACKLIGHT_GENERIC=m
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_PM8941_WLED is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3639 is not set
# CONFIG_BACKLIGHT_LV5207LP is not set
# CONFIG_BACKLIGHT_BD6107 is not set
# CONFIG_BACKLIGHT_ARCXCNN is not set
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set

Kind Regards,


Last edited by klas on Sat Dec 02, 2017 1:18 am; edited 1 time in total
Back to top
View user's profile Send private message
Hieronymus Bosch
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2015
Posts: 83
Location: 31°45′33.14″N 106°29′24.63″W

PostPosted: Mon Oct 09, 2017 12:21 am    Post subject: Reply with quote

Chage the following to built-in kernel :

Code:

CONFIG_BACKLIGHT_CLASS_DEVICE=m
CONFIG_BACKLIGHT_GENERIC=m


Also, you can install x11-apps/xbacklight and then make a init script to adjust brightness.
_________________
Details fueled any investigation ...
Back to top
View user's profile Send private message
_Nomad_
Guru
Guru


Joined: 11 Apr 2003
Posts: 571

PostPosted: Wed Oct 11, 2017 6:37 am    Post subject: Reply with quote

or you can simply echo the desired value into
Code:
/sys/class/backlight/{provider}/brightness
.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum