Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
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).


  Search this Thread
Old 09-11-2012, 10:58 PM   #1
LQ Newbie
Registered: Sep 2012
Location: Middle Tennessee
Distribution: Peppermint 3
Posts: 3

Rep: Reputation: Disabled
Question Fn brightness controls don't work


I recently bought an Acer Aspire ONE D270-1824 netbook and installed Peppermint 3 on it. I've not had any problems except when using Fn + the left or right arrow keys to control the screen brightness. Now, I found (I think on this website) a command work-around, along the lines of: sudo setpci -s 00:02.0 F4.b=BRIGHTNESSLEVEL (I use 50 as it's the easiest on my eyes.)

What I'm wanting to know is this: is there away to make it so that I don't have to enter this command every time I wake my computer from suspension or boot it up? I continue to issue this command to save my eyes and battery, but it's getting a little old.

Thanks to any of your gurus out there who can help and offer it!
Old 09-13-2012, 08:16 AM   #2
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
I am not familiar with Peppermint but nobody has answered ...

For boot, there will likely be a boot script for local extensions, something like /etc/rc.d/rc.local or /etc/init/local. You could put the command in there.

For resume, if you have a /usr/lib/pm-utils/sleep.d/ directory, you could try adding a script in there containing the command. With a bit of luck the directory exists and has at least one script already there that you can use as a template.
Old 09-13-2012, 10:25 AM   #3
LQ Newbie
Registered: Sep 2012
Location: Middle Tennessee
Distribution: Peppermint 3
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks Catkin, I'll take a look and see if I can find it!
Old 11-30-2012, 12:53 AM   #4
Registered: Nov 2012
Posts: 30

Rep: Reputation: Disabled
Yo, adrian!

You specify your vid card is Intel. You may want to consider this post:

I had the same problem, and nothing seemed to work. When I did find the solution, I had to enter a similar command like you EVERY. TIME. I. BOOTED. F That. So I wrote a Python script to do it for me. Hope it helps.
Old 12-01-2012, 09:16 AM   #5
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,248

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
I had this and sorted it as follows. It can vary with your laptop's dsdt but I have the file

10 = full brightness - 0 = zero brightness. I have this

BRIGHTNESS = { cat /sys/devices/virtual/backlight/acpi_video0/brightness}
echo -n $BRIGHTNESS > /sys/devices/virtual/backlight/acpi_video0/brightness
You need an event in /etc/acpi/events, like this
# /etc/acpi/events/video_brightnessup
event=video.* 00000086
To name the event, restart acpid with the -l option (log events to syslog) and name each event from the log entry for that event. I grabbed a set of debian and a set of fedora scripts, and hacked my own. They had the hard work done. Nobody else hands out decent scripts to my knowledge
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
brightness controls don't work on HP laptop leibnizster Linux - Laptop and Netbook 4 09-12-2012 12:54 PM
XFCE Xubuntu (12.04) Keyboard music controls don't work when player unfocused geokker Linux - Desktop 1 05-22-2012 02:30 AM
Acer 5755G-6823 Laptop brightness buttons don't work Lumify Linux - Hardware 5 03-21-2012 06:25 AM
How can i adjust brightness of a CRT with no physical controls on it? Stevithen Linux - Hardware 2 01-02-2010 04:19 PM
Audacity volume controls don't work in Lenny - did in Etch Zelator Debian 4 07-15-2009 12:26 AM > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 03:08 AM.

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