tag:blogger.com,1999:blog-7876560611515310173.post781784862408769475..comments2008-11-01T10:14:22.320-05:00Comments on Ubuntu on the Dell Inspiron 1501: Backlight & Brightness FixredDEADhttp://www.blogger.com/profile/07778199165854076395noreply@blogger.comBlogger37125tag:blogger.com,1999:blog-7876560611515310173.post-77688895010670105832008-11-01T10:11:00.000-05:002008-11-01T10:11:00.000-05:002008-11-01T10:11:00.000-05:00William's fix for brightness changes when plugging...William's fix for brightness changes when plugging/unplugging my 1501 works. I would suggest that one uses separate scripts rather than adding to the 85-anacron.sh or 15-anacron.sh files. In my case, I created 99-brightness.sh files in each directory and added the 'sudo echo' lines to that, rather than the anacron scripts. Not that it really matters as far as whether it works or not, it's just cleaner code that way.Shaunhttp://www.blogger.com/profile/02654932224788072831noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-50129196336323199982008-10-20T11:19:00.000-05:002008-10-20T11:19:00.000-05:002008-10-20T11:19:00.000-05:00how can i save my current screen brightness (aroun...how can i save my current screen brightness (around 30%) as my default screen brightness at startup?<BR/>i am using intrepid.<BR/>my /proc/acpi/video/VGA/LCD/brightness file is empty.manish mahabirhttp://www.blogger.com/profile/01440700745168489206noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-77331414109702133312008-09-14T18:12:00.000-05:002008-09-14T18:12:00.000-05:002008-09-14T18:12:00.000-05:00As a follow up to what I said earlier,I found a wa...As a follow up to what I said earlier,<BR/><BR/>I found a way to have the brightness go all the way down when you unplug the laptop! This time, open /etc/acpi/battery.d/15-anacron.sh with 'sudo gedit'.<BR/>Add this line:<BR/>sudo echo -n 12 > /proc/acpi/video/VGA/LCD/brightness<BR/><BR/>It should be working now.<BR/>Email me at Techdude300[at]gmail[dot]com if you need any help/have any questions.Williamhttp://www.blogger.com/profile/02698706637071384581noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-71268514260856939742008-09-14T18:05:00.000-05:002008-09-14T18:05:00.000-05:002008-09-14T18:05:00.000-05:00Thanks d00d for the awesome fix! I've been thinkin...Thanks d00d for the awesome fix! I've been thinking about what robin said about unplugging/plugging in the laptop. I've found a way for it to automatically set the brightness to full when you plug it in. By using what caleb first said about setting it with the terminal. <BR/>Use 'sudo gedit' to edit /etc/acpi/ac.d/85-anacron.sh .<BR/>then add the following line:<BR/>sudo echo -n 100 > /proc/acpi/video/VGA/LCD/brightness<BR/>Save and close and you should be good to go!<BR/>I'll post back if I find a fix to unplugging. <BR/><BR/>Ubuntu for life!<BR/>-WilliamWilliamhttp://www.blogger.com/profile/02698706637071384581noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-71570044229239622542008-09-13T10:01:00.000-05:002008-09-13T10:01:00.000-05:002008-09-13T10:01:00.000-05:00Great! It works, d00d. :-) Thanks a lot.Great! It works, d00d. :-) Thanks a lot.Asen Nenovhttp://www.blogger.com/profile/05959132641339175354noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-83088513527915236272008-08-14T21:09:00.000-05:002008-08-14T21:09:00.000-05:002008-08-14T21:09:00.000-05:00malek and d00d you are geniuses. Thank you for a s...malek and d00d you are geniuses. Thank you for a simple fix to a simple problemlegitneohttp://www.blogger.com/profile/03235232553155666151noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-5569080472062044082008-07-06T15:18:00.000-05:002008-07-06T15:18:00.000-05:002008-07-06T15:18:00.000-05:00thanks, the last fix works for me (editing videobr...thanks, the last fix works for me (editing videobrightness*.sh), but what about when we unplug/replug AC ? I can see that Ubuntu tries to set the brightness level to the minimum, but it has no effect. I guess it as to do with power.sh. What needs to be done?Robinhttp://www.blogger.com/profile/03986092160644278747noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-83864862877307960832008-05-26T23:12:00.000-05:002008-05-26T23:12:00.000-05:002008-05-26T23:12:00.000-05:00Thanks a lot dOOdI followed your instructions. Now...Thanks a lot dOOd<BR/><BR/>I followed your instructions. Now my brighteness controls work properly.ahttp://www.blogger.com/profile/10868052401321058567noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-65229208589412675282008-05-19T15:45:00.000-05:002008-05-19T15:45:00.000-05:002008-05-19T15:45:00.000-05:00Millions of thanks to malek and d00d!!Can't believ...Millions of thanks to malek and d00d!!<BR/><BR/>Can't believe could exist such an elegant and easy solution to this entangled problem...<BR/><BR/>No need of downgrading BIOS, no need of any trouble; in a couple of minutes brightness keys work just fine.<BR/><BR/>Again, thank you very much malek and d00d; you deserve a big hooray!!<BR/><BR/>BRAVO!José Héctorhttp://www.blogger.com/profile/14748408486507564678noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-8792883669731316882008-04-30T14:38:00.000-05:002008-04-30T14:38:00.000-05:002008-04-30T14:38:00.000-05:00I'm having Ubuntu 8.04 with BIOS ver 2.6.1 and bri...I'm having Ubuntu 8.04 with BIOS ver 2.6.1 and brightness, suspend and hibernate do not workMichael Blondinhttp://www.blogger.com/profile/16585310529397830658noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-57293629164778834122008-04-08T15:58:00.000-05:002008-04-08T15:58:00.000-05:002008-04-08T15:58:00.000-05:00For what it's worth, I threw together a ruby-gtk v...For what it's worth, I threw together a ruby-gtk version of the gnome-brightness-applet that works using Shane and Marcelo's techniques:<BR/><BR/>http://dcberner.blogspot.com/2008/04/its-rubygtk-time-again.html<BR/><BR/>Enjoy.Derek Bernerhttp://www.blogger.com/profile/15831188663707535117noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-56687517941734095632008-04-04T04:19:00.000-05:002008-04-04T04:19:00.000-05:002008-04-04T04:19:00.000-05:00hi drew,there is a utility to upgrade the BIOS... ...hi drew,<BR/><BR/>there is a utility to upgrade the BIOS... read these instructions here:<BR/><BR/>http://direct2dell.com/one2one/archive/2007/12/05/37446.aspx<BR/><BR/>http://www.ubuntu-unleashed.com/2007/09/howto-easily-upgrade-dell-bios-in.html<BR/><BR/>its pretty easy.Shanehttp://www.blogger.com/profile/05568256890108446296noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-34088518208281017342008-04-03T20:02:00.000-05:002008-04-03T20:02:00.000-05:002008-04-03T20:02:00.000-05:00How do you upgrade your BIOS back? I get some erro...How do you upgrade your BIOS back? I get some error every time I try going from 1.7 to latest.Drewhttp://www.blogger.com/profile/05390166836217767749noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-75799323949842546952008-04-03T01:37:00.000-05:002008-04-03T01:37:00.000-05:002008-04-03T01:37:00.000-05:00I need to upgrade my bios but now I can't. Some er...I need to upgrade my bios but now I can't. Some error I get. ;(Drewhttp://www.blogger.com/profile/05390166836217767749noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-20024191821887894792008-03-18T15:30:00.000-05:002008-03-18T15:30:00.000-05:002008-03-18T15:30:00.000-05:00Very nice Malek.In case you cant read russian:1. b...Very nice Malek.<BR/>In case you cant read russian:<BR/><BR/>1. backup /etc/acpi/video_brightnessup.sh<BR/>and /etc/acpi/videobrightnessdown.sh<BR/><BR/>2. sudo gedit the first one<BR/><BR/>3. replace everything in it with:<BR/><BR/>#!/bin/bash<BR/><BR/>CURRENT=$(grep "current:" /proc/acpi/video/VGA/LCD/brightness |awk '{print $2}')<BR/><BR/><BR/>case "$CURRENT" in<BR/><BR/>100)<BR/>echo -n 100 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>87)<BR/>echo -n 100 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>75)<BR/>echo -n 87 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>62)<BR/>echo -n 75 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>50)<BR/>echo -n 62 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>37)<BR/>echo -n 50 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>25)<BR/>echo -n 37 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>12)<BR/>echo -n 25 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>*)<BR/>echo -n 100 > /proc/acpi/video/VGA/LCD/brightness ;<BR/>;;<BR/>esac<BR/><BR/><BR/>4. sudo gedit the second one (brightnessdown) and add:<BR/>#!/bin/bash<BR/><BR/>CURRENT=$(grep "current:" /proc/acpi/video/VGA/LCD/brightness |awk '{print $2}')<BR/><BR/><BR/>case "$CURRENT" in<BR/><BR/>12)<BR/>echo -n 12 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>25)<BR/>echo -n 12 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>37)<BR/>echo -n 25 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>50)<BR/>echo -n 37 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>62)<BR/>echo -n 50 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>75)<BR/>echo -n 62 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>87)<BR/>echo -n 75 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>100)<BR/>echo -n 87 > /proc/acpi/video/VGA/LCD/brightness;<BR/>;;<BR/>*)<BR/>echo -n 50 > /proc/acpi/video/VGA/LCD/brightness ;<BR/>;;<BR/>esac<BR/><BR/><BR/><BR/>5.save and now your fn+up and down work great.d00dhttp://www.blogger.com/profile/14473309305957775002noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-61840698605872405462008-02-28T07:19:00.000-06:002008-02-28T07:19:00.000-06:002008-02-28T07:19:00.000-06:00If fn+up/down don't work, you need to replace 2 fi...If fn+up/down don't work, you need to replace 2 files.<BR/>Look here.<BR/>http://habrahabr.ru/blog/ubuntu/35013.html<BR/>It works!malekhttp://www.blogger.com/profile/06960121649590722039noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-37309024929408916192008-02-19T20:19:00.000-06:002008-02-19T20:19:00.000-06:002008-02-19T20:19:00.000-06:00The brightness keys (fn+up/down) work with the new...The brightness keys (fn+up/down) work with the new 2.6.24.1 kernel and Gutsy. I have bios version 2.6.2. <BR/><BR/>Apparently, the "video" kernel modules responsible for the brightness were rewritten in the latest kernel release.<BR/>I think hardy heron is going to have the 2.6.24 kernel, so the brightness keys should work by default on the next Ubuntu release.<BR/><BR/>In addition, suspend and hibernate work with the fglrx drivers.Samerhttp://www.blogger.com/profile/04380039736395349948noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-29890652835427207552008-01-24T12:03:00.000-06:002008-01-24T12:03:00.000-06:002008-01-24T12:03:00.000-06:00I coded two functions in C for changing the bright...I coded two functions in C for changing the brightness of the screen using the <BR/>echo -n XX > /proc/acpi/video/VGA/LCD/brightness<BR/><BR/>so you can run it using Ctrl-UP or Ctrl-Down by configuring Compiz<BR/><BR/>Remember that this should be run using gksu<BR/><BR/>http://iie.fing.edu.uy/~mdavid/1501brightness.tar.gz<BR/><BR/>You will see some lame programming in these functions... advises are welcome ;)Marcelohttp://www.blogger.com/profile/10161311821946744484noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-15740257200640924822008-01-19T16:58:00.000-06:002008-01-19T16:58:00.000-06:002008-01-19T16:58:00.000-06:00Try typing the following command in a terminal:xga...Try typing the following command in a terminal:<BR/><BR/>xgamma -gamma 0.75<BR/><BR/>If that doesn't work you need to install xgamma from the repos.<BR/><BR/>I have posted my own solution here on setting it up:<BR/><BR/>http://ubuntuforums.org/showthread.php?p=4168042#post4168042Rexhttp://www.blogger.com/profile/16082594004986108025noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-61009562301998186212008-01-19T16:57:00.000-06:002008-01-19T16:57:00.000-06:002008-01-19T16:57:00.000-06:00Try typing the following command in a terminal:xga...Try typing the following command in a terminal:<BR/><BR/>xgamma -gamma 0.75<BR/><BR/>If that doesn't work you need to install xgamma from the repos.<BR/><BR/>I have posted my own solution here on setting it up:<BR/><BR/>http://ubuntuforums.org/showthread.php?p=4168042#post4168042Rexhttp://www.blogger.com/profile/16082594004986108025noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-7577389650448124402008-01-14T19:39:00.000-06:002008-01-14T19:39:00.000-06:002008-01-14T19:39:00.000-06:00Here is a gui way to change the brightness without...Here is a gui way to change the brightness without rolling back the bios.<BR/><BR/>Make sure zenity is installed, go to Synaptic Package Manager and search for Zenity.<BR/>Thanks to Shane for the script, I modified it slightly.<BR/><BR/>1. Download files from here: http://tp-txdp4282.content-type.com/48395805/68030/1408338/1/screenbrightness.zip<BR/>2. Extract files.<BR/>3. Go to Applications -> Accessories -> Terminal<BR/>4. Type in: sudo nautilus<BR/>5. Click Go -> Location (Ctrl+L)<BR/>6. Enter /usr/bin<BR/>7. Paste set-brightness into /usr/bin<BR/>8. Press reload to make sure the script is there.<BR/><BR/>Optional<BR/>1. "Put Set Brightness Icon" on the desktop.<BR/>2. Rightclick the icon -> properties<BR/>3. Click the image in the upper left hand corner, find the icon image.calebhttp://www.blogger.com/profile/15881921627007345605noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-18742685760565731842008-01-11T11:51:00.000-06:002008-01-11T11:51:00.000-06:002008-01-11T11:51:00.000-06:00I finally managed to downgrade to bios version 1.7...I finally managed to downgrade to bios version 1.7 without having to install windows. It's pretty easy with Bart's Preinstalled Environment (BartPE) bootable live windows CD/DVD. <BR/><BR/>That's what I did:<BR/>First I built a bootable live cd with the PEBuilder (http://www.nu2.nu/pebuilder/). It requires a Windows-Installation-CD. Afterwards I runned the downloades bios-flash-utility (downloaded from dell homepage) from a fat-partition of the hd (i should work with a flash-stick too). Every thing worked allright. I'm so glad that I didn't need to install Windows only in order to downgrade the bios! <BR/>So I hope it helps!<BR/><BR/>Anyway I got one question: is it necessary to reinstall ubuntu after downgrading bios to version 1.7? Ubuntu seems to work fine (the brightness-Buttons finally work!), but I still got this bios-bug-message right after booting.demianhttp://www.blogger.com/profile/15646780280951805160noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-25444380798863039592007-12-31T05:16:00.000-06:002007-12-31T05:16:00.000-06:002007-12-31T05:16:00.000-06:00Did somebody try µswsusp? You can find it here: ht...Did somebody try µswsusp? You can find it here: http://suspend.sourceforge.net/ I didn't because I'm using linux for 5 days, and I'm not sure if I would do it well...<BR/>...and Happy New Year ;-)Violinista en el tejadohttp://www.blogger.com/profile/10586695242795728640noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-21565891850415728492007-12-28T14:34:00.000-06:002007-12-28T14:34:00.000-06:002007-12-28T14:34:00.000-06:00I wrote a small GUI (that uses zenity) to adjust t...I wrote a small GUI (that uses zenity) to adjust the screen brightness without downgrading the BIOS. This must be run with su or sudo.<BR/><BR/>save the following in an executable file called set-brightness (for example) in /usr/bin and create a new item in the menu that runs 'sudo set-brightness'.<BR/><BR/>----------------------<BR/>#!/bin/sh<BR/><BR/>ans=$(zenity --width=40 --height=230 --title="Set Screen Brightness" --list --text "Brightness Level" --radiolist --column "Select" --column "Action" FALSE Low FALSE Normal FALSE Bright FALSE "Very Bright";)<BR/>if [ "$ans" = "Low" ] ; then<BR/> echo -n 25 > /proc/acpi/video/VGA/LCD/brightness<BR/>fi<BR/>if [ "$ans" = "Normal" ] ; then<BR/> echo -n 50 > /proc/acpi/video/VGA/LCD/brightness<BR/>fi<BR/>if [ "$ans" = "Bright" ]; then<BR/> echo -n 75 > /proc/acpi/video/VGA/LCD/brightness<BR/>fi<BR/>if [ "$ans" = "Very Bright" ]; then<BR/> echo -n 100 > /proc/acpi/video/VGA/LCD/brightness<BR/>fi<BR/>-------------------------------<BR/><BR/>hope this helps!Shanehttp://www.blogger.com/profile/05568256890108446296noreply@blogger.comtag:blogger.com,1999:blog-7876560611515310173.post-53223769164202726292007-12-22T12:00:00.000-06:002007-12-22T12:00:00.000-06:002007-12-22T12:00:00.000-06:00while downgrading your bios seems to fix the backl...while downgrading your bios seems to fix the backlight issue upgrading to the latest version fixes the suspend and hibernate issueBrianhttp://www.blogger.com/profile/05791011309045934098noreply@blogger.com