LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 09-15-2011, 02:06 PM   #16
Z0K4
Member
 
Registered: Sep 2011
Location: Split, Croatia
Distribution: Slackware, Fedora
Posts: 86

Original Poster
Rep: Reputation: 4

Quote:
Originally Posted by allend View Post
Just found another link that is relevant. http://forums.gentoo.org/viewtopic-t...6-start-0.html
Appears to be a bug that will need to be addressed upstream.
The command simply writes to the pci register that controls the backlight. I do not see how it will do any damage.
You could try writing F4.B=00 and see whether it affects your brightness level.
Thank you! F4.B=00 sets my brightness level at 100%. I see this is a huge kernel bug, so I'm satisfied with this solution, even though I'll be facing short battery life. So I made rc.backlight entry in /etc/rc.d folder with this code:
Code:
#!/bin/sh
#Backlight fix script
setpci -s 00:02.0 F4.B=00
Then I made it executable with:
Code:
chmod +x /etc/rc.d/rc.backlight
Now I'm interested will this run automatically on boot? If not what should I do to make it run on system boot?
 
Old 09-15-2011, 06:59 PM   #17
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
To have the fix run at boot, I would add the code to /etc/rc.d/rc.local rather than creating a separate script.
 
1 members found this post helpful.
Old 09-15-2011, 07:14 PM   #18
Z0K4
Member
 
Registered: Sep 2011
Location: Split, Croatia
Distribution: Slackware, Fedora
Posts: 86

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by allend View Post
To have the fix run at boot, I would add the code to /etc/rc.d/rc.local rather than creating a separate script.
I took your advice allend, and it works! Thank you!

Until this bug is fixed (with next kernel release hopefully) this will do the trick! Just want to say thank you to everyone who replied at this topic. Guys (and girls if there are any) you are great! Cheers!
 
  


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] Brightness set to zero: moved to http://www.linuxquestions.org/questions/slackware-14/brightness-set Z0K4 Linux - Laptop and Netbook 5 09-15-2011 11:09 AM
Is anyone using Salix? windtalker10 Slackware 26 07-10-2010 11:10 PM
Brightness problems on an Intel 845 brandnew427 Linux - Hardware 2 12-21-2009 12:14 AM
Using the Appledisplay module to set monitor brightness njbailey Linux - Kernel 2 10-16-2006 09:17 AM
Sony vaio vgn-b55g lcd brightness can't be set Habu Linux - Laptop and Netbook 1 02-19-2006 06:45 PM


All times are GMT -5. The time now is 05:18 PM.

Main Menu
Advertisement
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