Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Linux Mint 12 (64bit), on an Acer Aspire 7730g. Upon every boot, the screen brightness is set very very low. Easily fixed via the function keys, but still a very annoying thing to do after every boot. Is there a way to set the brightness permanently?

NB: Interestingly, I had the same problem when Ubuntu was installed on the same laptop, so I'm a bit perplexed about how did this setting survive a complete OS reinstall?

dmesg output available here.

Another update: I don't know if this is related, but everytime I reboot, my wireless is off, bluetooth is on and num lock is off; all three the exact opposite I want them to be. If this is not related, it may become another question.. :-(

share|improve this question
    
Does this help? blog.ishans.info/2011/09/25/… –  user14517 Feb 5 '12 at 15:23
    
Could you please post your dmesg on pastebin? –  bdowning Feb 5 '12 at 15:43
    
@bdowning: Updated the question! –  dr Hannibal Lecter Feb 5 '12 at 16:49
    
@Nunoxic: Wouldn't this require me to add it for every user? The "blackout" occurs on login screen, so I'm not sure if this would be as practical. (Unless I misunderstood and this works even before login?) Also, unlike that guy's problem, there is no change of brightness on login/logout, is that a significant difference? –  dr Hannibal Lecter Feb 5 '12 at 16:52
    
I'm not so sure. You could give it a try if you are not averse to the idea of experimenting a little. It could, of course, be risky. –  user14517 Feb 5 '12 at 17:39

2 Answers 2

up vote 8 down vote accepted

Your laptop should have /sys/class/backlight. For example, /sys/class/backlight/acpi_video0/brightness. You can write (echo) values to this file to adjust brightness.

cat /sys/class/backlight/acpi_video0/max_brightness > /sys/class/backlight/acpi_video0/brightness

This will set the brightness to max. Just put it in an init script on boot.

share|improve this answer
3  
Many distros use the /etc/rc.local init script for running programs after boot. –  Herman Torjussen Feb 5 '12 at 18:02
    
Success! I added that to /etc/rc.local as @hesse said and it works, half a second after the login screen shows up it toggles the brigthness. Thanks! –  dr Hannibal Lecter Feb 5 '12 at 19:54

my x120e's brightness constantly changing bothers me as well. surprisingly (but not), when i ran

gksudo dmesg > boot.messages

and opened boot.messages in a text editor, i noticed this message:

[Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness

multiple times, as well as some interesting others. paste that into Google and you'll find Cannibal's Candy [wordpress] - who provides an in-depth look at ACPI and a method for universally setting the screen brightness (+ so much more):

DSDT editing: Put an end to your ACPI woes

yep, prepare your mind to be blown. i'm working through CC's post right now, but thought i would share. best of luck!


running Linux Mint Debian (amd64) on a Thinkpad x120e

share|improve this answer
    
My goodness. This is hardcore. The link talks about learning a whole new language. I think I'll stick to changing the brightness manually for now! –  LondonRob Jul 26 at 23:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.