LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 08-05-2011, 03:12 PM   #1
tm512
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Rep: Reputation: Disabled
Unhappy 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.
 
Old 08-07-2011, 04:18 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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 ?
 
Old 08-07-2011, 01:58 PM   #3
tm512
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-07-2011, 06:29 PM   #4
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,264

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
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
 
Old 08-07-2011, 08:12 PM   #5
tm512
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
I'd prefer to avoid hacks like that since the backlight works perfectly on Arch Linux supplied kernels.

Quote:
Originally Posted by EDDY1 View Post
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.
 
Old 08-08-2011, 01:27 AM   #6
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,264

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
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.
 
Old 08-08-2011, 08:42 AM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
See:
https://bugs.launchpad.net/ubuntu/+s...ux/+bug/428910

Try adding "acpi_backlight=vendor" to the append line in '/etc/lilo.conf', then run 'lilo' as root.
 
Old 08-08-2011, 05:00 PM   #8
tm512
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-08-2011, 10:01 PM   #9
tm512
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Exclamation

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
 
Old 08-08-2011, 10:35 PM   #10
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,264

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
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.
 
Old 08-09-2011, 09:17 AM   #11
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Originally it was a bug in the kernel. I think they may have fixed it in the most recent release.
 
Old 08-10-2011, 01:56 AM   #12
tm512
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
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.
 
Old 08-10-2011, 08:02 PM   #13
tm512
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
I customized my 3.0.1 config, recompiled, and am no longer able to reproduce this issue.

Marking it as solved.
 
Old 08-11-2011, 12:42 AM   #14
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,264

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
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!
 
  


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
[SOLVED] Building custom kernel fails Bindestreck Slackware 9 08-02-2011 05:29 PM
[SOLVED] Nvidia 190.42 driver installation fails with custom kernel Moch5.0 Slackware 7 10-31-2009 06:43 PM
custom boot cd fails to boot with "Kernel panic - not syncing : vfs" ramachandra_ankireddy Linux From Scratch 1 11-23-2008 05:10 PM
iptables-restore fails on boot with custom kernel burntfuse Fedora 2 06-22-2006 09:52 AM
custom kernel does not boot coyopil Debian 10 01-12-2006 01:01 PM


All times are GMT -5. The time now is 01:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration