LinuxQuestions.org
Help answer threads with 0 replies.
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 05-05-2012, 06:23 PM   #1
OK2BCK
LQ Newbie
 
Registered: May 2009
Location: New Zealand
Distribution: Fedora 16, LinuxMint, Puppy
Posts: 18

Rep: Reputation: 0
backlight won't change on ACER (Fedora 16 Verne)


Hello

I'd like to get the Fn+Left/Right Arrow working to adjust brightness on Acer Travelmate7720g. At the moment the intensity is very low and can't be changed from GUI or the keyboard.

Found this: http://www.spinics.net/lists/linux-fbdev/msg05879.html
"add quirk table for video backlight vendor mode and unregister acpi video interface"

I'm not too good with code yet, can some give me little assistance with this please


Jan
 
Old 05-05-2012, 08:06 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
That's a patch against the kernel source. Which can be (very) sensitive to kernel level.
I'd suggest you read the entire thread (if you haven't already), then maybe subscribe and ask if there are any (kernel) dependencies.

You'll need the source for your (distro) currently running kernel and (maybe) their patching regime. Kernel patching on a bare kernel is pretty straightforward, and is in fact documented in the kernel source tree itself. Doing it on a distros shipped kernel can be messier.
 
Old 05-07-2012, 03:04 AM   #3
OK2BCK
LQ Newbie
 
Registered: May 2009
Location: New Zealand
Distribution: Fedora 16, LinuxMint, Puppy
Posts: 18

Original Poster
Rep: Reputation: 0
I've decided to leave the problem aside because since yesterday the brightness locked up at its maximum for a change.
I'll see how things go, thanks for the advice syg00.


Jan
 
Old 05-08-2012, 05:39 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Just FYI, I tripped over this when looking for something else.

Like I said, somewhat messier.
 
Old 05-08-2012, 03:17 PM   #5
Babertje
Member
 
Registered: Jun 2009
Location: Haarlem, The Netherlands
Distribution: Archlinux
Posts: 125

Rep: Reputation: 20
It is often possible to adjust the backlight by ACPI.
First you need to know the max value which can be set by:
Code:
cat /sys/class/backlight/acpi_video0/max_brightness
if this returns 9 you can set it by the this command as root:
Code:
echo 9 > /sys/class/backlight/acpi_video0/brightness
You may need to add one of these lines to the kernel line in grub, lilo to get your FN keys to work
acpi_backlight=vendor (or) acpi_backlight=legacy
 
Old 05-09-2012, 09:41 PM   #6
GioBarr
LQ Newbie
 
Registered: May 2012
Location: Americana, Brazil
Distribution: Fedora 16 Verne i386
Posts: 11

Rep: Reputation: Disabled
Hi, I make a script which control backlight.

You can download my script at < www.pgio.com.br/outros/slight.zip > (my website about Math).

If you open a terminal in the folder which you unzipped the 'slight.zip', as root, try this:

bash slight s 1 ---> to screen more dark

bash slight s 6 ---> to screen more bright, or any number between 0 and 7.

Together 'slight' is the 'mybattery' shell script (because I use Lxde and it don't show my battery charge)

The syntax is:

bash mybattery (don't need root)


If you want, open my scripts in a editor like gedit, vi, etc and you will understand how them work.
 
Old 05-10-2012, 02:58 AM   #7
Babertje
Member
 
Registered: Jun 2009
Location: Haarlem, The Netherlands
Distribution: Archlinux
Posts: 125

Rep: Reputation: 20
To GioBarr:
You take 7 as your max brightness, this is not the case for all laptops, so expand your script to query first the max_brightness value. This makes your script more universal to use for other "linuxquestioneers"

About your mybattery script, it's a bit offtopic but why do you use "bc" to calculate the values? bash can do calculations too not all distro's have bc installed by default!
 
Old 05-10-2012, 09:21 PM   #8
GioBarr
LQ Newbie
 
Registered: May 2012
Location: Americana, Brazil
Distribution: Fedora 16 Verne i386
Posts: 11

Rep: Reputation: Disabled
To Babertje:

thank you for the idea, I improved the script, I hope 'slight'(script to adjust brightness) work fine to everybody.

everyone can download the script at:

http://www.pgio.com.br/outros/slight.zip
 
  


Reply


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
LXer: Red Hat Releases Fedora 16 "Verne" LXer Syndicated Linux News 0 11-09-2011 01:10 AM
LXer: Fedora 16 "Verne" Screenshot Tour LXer Syndicated Linux News 0 11-08-2011 11:20 PM
Sony with Intel 815 won't turn off screen backlight chris1379 Linux - Laptop and Netbook 4 11-13-2010 02:43 AM
Display won't change in Fedora 9 Briandr Fedora 4 09-04-2008 04:17 AM
LCD backlight does not turn off on console (acer travelmate 291LMi) zen_guerrilla Linux - Laptop and Netbook 0 07-16-2004 11:49 AM

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

All times are GMT -5. The time now is 10:15 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