Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
backlight control by kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Tue Apr 26, 2005 8:45 am    Post subject: backlight control by kernel Reply with quote

Hi.

My iBook works well with pbbuttonsd.
But after loading the kernel the backlight first is switched to maximum and tells about "backlight 15/15". Can I change this to 7/15?
Kernelconfig doesn't offers something about this.
Or will pbbuttonsd still work without the backlight option of the kernel?

Paolo


Last edited by Massimo B. on Tue Apr 26, 2005 1:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cenrim
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2004
Posts: 142
Location: Germany

PostPosted: Tue Apr 26, 2005 1:09 pm    Post subject: Reply with quote

there's a tool called fblevel, which can be used to set the backlight brightness...
maybe there's something in the /sys or /proc directory, but i didn't find anything matching
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Wed Apr 27, 2005 12:14 am    Post subject: Reply with quote

You can set the inital brightness level in pbbuttonsd.conf, but obviously it will only take effect once pbbuttonsd gets loaded in runlevel default.

In [MODULE DISPLAY]
Code:
LCD_Brightness = X

where X is your desired brightness, in your case, 7. Make sure it is commented out of course as that line is in there, but commented out by default (although X = 8 by default).

Puggy
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Wed Apr 27, 2005 9:22 am    Post subject: Reply with quote

I know. But obviously the openfirmware remembers the last setting after reboot, just at the moment the kernel starts switches to maximum, and pbbuttonsd to my setting again.
As I can see the kernel tells something about 15/15 so maybe the backlight option of the kernel's menuconfig could get a parameter or I disable it (if pbbuttons is able to act without kernel support?)

Paolo
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Wed Apr 27, 2005 10:39 am    Post subject: Reply with quote

organ wrote:
I know. But obviously the openfirmware remembers the last setting after reboot, just at the moment the kernel starts switches to maximum, and pbbuttonsd to my setting again.
As I can see the kernel tells something about 15/15 so maybe the backlight option of the kernel's menuconfig could get a parameter or I disable it (if pbbuttons is able to act without kernel support?)

Paolo


I guess it's possible that enabling the option to use residual openfirmware stuff might allow you to do that. I'm not entirely sure. pbbuttonsd can't do anything without kernel support, it merely asks the kernel to do things for it.

Puggy
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum