| 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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-05-2011, 03:12 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2011
Posts: 7
Rep: 
|
Backlight fails frequently on boot with custom kernel
Hi, first post here.
I have been having issues with my netbook's backlight on a 3.0 kernel I have compiled. Every few boots, the screen will turn fullbright, as the kernel prints out:
Code:
ACPI Error: Current brightness invalid (20110413/video-377)
Any attempts to change the brightness with the fn keys afterwards causes this to be printed out:
Code:
ACPI: Failed to switch the brightness
Rarely (I've only gotten this once) I can change the brightness afterwards, even though it still prints out the errors. When I look in /sys/class/backlight/ when the errors get thrown, it is completely empty, otherwise it has a folder named acpi_video0.
This happens both with a .config based on the (working) Arch Linux kernel I am running now, and with a "make defconfig" that I tweaked to include the drivers that I want. I'm a bit confused as to where to start looking for a solution since the majority of the time it does work properly. It's just the times when the screen gets forced to an eye-searing brightness that I have problems.
If anyone is able to help, I would be most appreciative. Thanks in advance. 
|
|
|
|
08-07-2011, 04:18 AM
|
#2
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,595
|
I think more info might be needed, for example post the .config or the parts in the graphics section, and what brand of netbook is this ?
|
|
|
|
08-07-2011, 01:58 PM
|
#3
|
|
LQ Newbie
Registered: Aug 2011
Posts: 7
Original Poster
Rep: 
|
Sure, here's the kernel .config file, not sure exactly which parts to post so I'm just doing the whole thing: http://pastebin.com/c62bNz7j
Here's a paste of dmesg when it fails to get the backlight working: http://pastebin.com/2CcwLzKA
The netbook is an Acer Aspire One AO532h.
|
|
|
|
08-07-2011, 06:29 PM
|
#4
|
|
Senior Member
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,132
|
Maybe this will help
http://ubuntuforums.org/showthread.php?t=881241
Ialso noticed you have settings for dual-head not sure if it's relevant
|
|
|
|
08-07-2011, 08:12 PM
|
#5
|
|
LQ Newbie
Registered: Aug 2011
Posts: 7
Original Poster
Rep: 
|
Quote:
Originally Posted by EDDY1
|
I'd prefer to avoid hacks like that since the backlight works perfectly on Arch Linux supplied kernels.
Quote:
Originally Posted by EDDY1
Ialso noticed you have settings for dual-head not sure if it's relevant
|
You mean "ACPI: Video Device [OVGA] (multi-head: yes rom: no post: no)"? It's the same on the working kernel.
Oh, and I believe that I forgot to mention that the previous kernel I had compiled myself (2.6.35) had very similar issues. I can't say exactly since it was a while ago and I didn't pay too much attention to it.
Thanks for your time thus far. 
|
|
|
|
08-08-2011, 01:27 AM
|
#6
|
|
Senior Member
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,132
|
Are you just compiling for the fun of it or for a specific reason?
Also the suggested info was not a hack if you read it it gives you control of the adjustments up & down, I elieve that you looked at the first option 50% not at the full configuration file, have you checked your settings.
|
|
|
|
08-08-2011, 05:00 PM
|
#8
|
|
LQ Newbie
Registered: Aug 2011
Posts: 7
Original Poster
Rep: 
|
I am doing this just for "fun". I also wanted to set my CPU type to Intel Atom and take advantage of any optimization that did.
The backlight fix you linked to was, in fact, a hack. It was a workaround fix for something that sometimes works on this kernel, and that always works on Arch Linux supplied kernels. It addresses the symptoms, not the cause. Sorry, but that is no solution for me.
"acpi_backlight=vendor" does not help, I had tried it prior to posting here. If I recall correctly, it just made the backlight go fullbright 100% of boots. Furthermore, the launchpad link is old, and it does not accurately portray my problem.
Arch Linux's newly released Linux 3.0 does not have this issue.
I am now going to try compiling with this currently working config to see if I still run into problems. If I do, then I will look and see what patches Arch Linux might have applied and see if any of them fix it.
Thanks so far. 
|
|
|
|
08-08-2011, 10:01 PM
|
#9
|
|
LQ Newbie
Registered: Aug 2011
Posts: 7
Original Poster
Rep: 
|
I have just compiled Linux 3.0.1 from source using an unmodified Arch Linux config. It does not appear to have the backlight issue.
At this point, I am confused as to what I did that broke it. It's not like there's an option in the setup named "Make backlight work on only some boots".  Common sense says that the backlight would either work 100% or 0% of the time, depending on whether the driver was installed, right?
Here's the good config. http://pastebin.com/pYuDUpGH
|
|
|
|
08-08-2011, 10:35 PM
|
#10
|
|
Senior Member
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,132
|
You obviously used the old configuration file from original install.
I just did a apt upgrade on vbox & it worked well. I might try it on my wheezy hdd for my laptop, which was having network problems so I switched back to hdd with Squeeze on it.
Last edited by EDDY1; 08-08-2011 at 10:36 PM.
|
|
|
|
08-09-2011, 09:17 AM
|
#11
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,595
|
Originally it was a bug in the kernel. I think they may have fixed it in the most recent release.
|
|
|
|
08-10-2011, 01:56 AM
|
#12
|
|
LQ Newbie
Registered: Aug 2011
Posts: 7
Original Poster
Rep: 
|
Quote:
Originally Posted by EDDY1
You obviously used the old configuration file from original install.
|
Yes, that was the point. I had wanted to see if the problem persisted if I used the same config as the working kernel. I'm not sure what you're trying to say here.
Quote:
|
Originally Posted by H_TeXMeX_H
Originally it was a bug in the kernel. I think they may have fixed it in the most recent release.
|
Not sure how that would be quite possible, since I've never had this issue on my netbook with Arch Linux kernels since I switched it to Linux (2.6.34).
When I get the time, I will try out a customized config again, and if the problem seems to be gone, I'll mark this as resolved.
|
|
|
|
08-10-2011, 08:02 PM
|
#13
|
|
LQ Newbie
Registered: Aug 2011
Posts: 7
Original Poster
Rep: 
|
I customized my 3.0.1 config, recompiled, and am no longer able to reproduce this issue.
Marking it as solved.
|
|
|
|
08-11-2011, 12:42 AM
|
#14
|
|
Senior Member
Registered: Mar 2010
Location: Oakland,Ca
Distribution: DebianSqueeze, winsxp, wins7, Debian wheezy, LFS 7.2
Posts: 4,132
|
Nice to know that you have solved your issue, I recently upgraded from wheezy 2.6.38 to 3.0 on my laptop & am working thru my issues, laptop mode wasn't working also Gtk pixbuff, partially fixed, had to edit /usr/sbin/laptop_mode for unhandled kernel version errors. I have a few more issues but they'll soon be resolved. My virtual machine works fine though.
Congrats on your success!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:52 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|