Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old January 21st, 2008   #1
olavjunior
Ubuntu Extra Shot
 
olavjunior's Avatar
 
Join Date: Feb 2007
Location: Norway
Beans: 380
Ubuntu 8.10 Intrepid Ibex
Lightbulb How to adjust brightness on hp laptops in Gutsy or Hardy

Thanks to Mike Lopez for making this litle script http://tech.mikelopez.info/2007/10/2...comment-112929

Here's how to:
Download the attached lcdbryt.sh

Run this from where you downloaded it to:
1. sudo cp lcdbryt.sh /usr/bin
2. sudo chmod +x /usr/bin/lcdbryt.sh
3. sudo gedit /etc/acpi/video_brightnessup.sh
1. add the following line at the end of the file
lcdbryt.sh up
2. save (Ctrl+s alt+F4)
4. sudo gedit /etc/acpi/video_brightnessdown.sh
1. add the following line at the end of the file
lcdbryt.sh dn
2. save (Ctrl+s alt+F4)


This should be it, now at least my Fn F6 & F7 works perfectly!

This also works great in Hardy! Enjoy
Attached Files
File Type: sh lcdbryt.sh (696 Bytes, 1450 views)

Last edited by olavjunior; May 2nd, 2008 at 08:54 AM..
olavjunior is offline  
Old January 21st, 2008   #2
tehsnipes
5 Cups of Ubuntu
 
Join Date: Jan 2008
Beans: 25
Re: How to adjust brightness on hp laptops in Gutsy

can anyone confirm this??
tehsnipes is offline  
Old January 22nd, 2008   #3
olavjunior
Ubuntu Extra Shot
 
olavjunior's Avatar
 
Join Date: Feb 2007
Location: Norway
Beans: 380
Ubuntu 8.10 Intrepid Ibex
Re: How to adjust brightness on hp laptops in Gutsy

I can confirm that it worked perfectly on my hp dv2130
olavjunior is offline  
Old January 22nd, 2008   #4
rufensis
First Cup of Ubuntu
 
rufensis's Avatar
 
Join Date: Jan 2008
Location: Brooklyn, New York
Beans: 1
Ubuntu 7.10 Gutsy Gibbon
Re: How to adjust brightness on hp laptops in Gutsy

This worked perfectly on an HP Pavilion dv2000 laptop, too.
__________________
Free the bound periodicals!
rufensis is offline  
Old January 22nd, 2008   #5
Z_o-s-o
Gee! These Aren't Roasted!
 
Z_o-s-o's Avatar
 
Join Date: Oct 2007
Location: Upland, CA
Beans: 160
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to Z_o-s-o
Re: How to adjust brightness on hp laptops in Gutsy

The DV2000's arent supported out of the box?

The keyboard controls on my Dv6215 worked like a charm out of the box.
__________________
HP DV6215: 15.4" glossy widescreen, 2.0 ghz Turion 64, 2gb DDR2, 120 gig hdd, Nvidia Go6150 gfx
Z_o-s-o is offline  
Old January 22nd, 2008   #6
olavjunior
Ubuntu Extra Shot
 
olavjunior's Avatar
 
Join Date: Feb 2007
Location: Norway
Beans: 380
Ubuntu 8.10 Intrepid Ibex
Re: How to adjust brightness on hp laptops in Gutsy

No, mine worked somewhat under Feisty, meaning it just went bright or dimmed. But didn't work at all under Gutsy (until now)
olavjunior is offline  
Old January 22nd, 2008   #7
rosegarden78
Ubuntu Extra Shot
 
rosegarden78's Avatar
 
Join Date: Jan 2008
Beans: 367
Ubuntu 7.10 Gutsy Gibbon
Re: How to adjust brightness on hp laptops in Gutsy

You can hack a work-around by adjusting gamma correction which fixed my brightness problem on an overly-bright standard LCD display 1024x768 laptop at 86 ppi.

Make two shell scripts gc-up and gc-dn with a text editor in your /home directory

nano gc-up
#!/bin/sh
#gamma up
xgamma -gamma 1.0

nano gc-dn
#!/bin/sh
#gamma down
xgamma -gamma 0.75

chmod +x gc-up
chmod +x gc-dn

The commands above make the files executable. You can also do all this from the GUI with the right click. Finally add the scripts to keyboard shortcuts but you'll need to use Ctrl-F7 and Ctrl-F8 if the function key isn't detected in settings. Just type under command:

bash /home/gc-up
bash /home/gc-dn

And don't forget to set your key combination.
rosegarden78 is offline  
Old January 22nd, 2008   #8
tehsnipes
5 Cups of Ubuntu
 
Join Date: Jan 2008
Beans: 25
Re: How to adjust brightness on hp laptops in Gutsy

thanks mates, it works like a charm
tehsnipes is offline  
Old January 23rd, 2008   #9
olavjunior
Ubuntu Extra Shot
 
olavjunior's Avatar
 
Join Date: Feb 2007
Location: Norway
Beans: 380
Ubuntu 8.10 Intrepid Ibex
Re: How to adjust brightness on hp laptops in Gutsy

I tried adjusting the gamma, but that didn't give the right effect for me. The colors just got darker or something, not the backlight. The easy way to use gamma is
Code:
xgamma gamma 1.0 (or smaller..)
if you want to try
olavjunior is offline  
Old January 24th, 2008   #10
tehsnipes
5 Cups of Ubuntu
 
Join Date: Jan 2008
Beans: 25
Re: How to adjust brightness on hp laptops in Gutsy

Sticky this map, highly helpful and easy and should easily solve the problems for us noobs out here.

thanks so much man.
tehsnipes is offline  
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:34 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry