-   Linux - Laptop and Netbook (
-   -   Fn brightness controls don't work (

adrian_m 09-11-2012 10:58 PM

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!

catkin 09-13-2012 08:16 AM

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.

adrian_m 09-13-2012 10:25 AM

Thanks Catkin, I'll take a look and see if I can find it!

alpo85 11-30-2012 12:53 AM

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.

business_kid 12-01-2012 09:16 AM

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

All times are GMT -5. The time now is 02:28 PM.