On Fri, 2006-09-29 at 00:44 +0200, Frank Lichtenheld wrote:
> Hmm, I have a Powerbook G4 12" with Nvidia card. I can adjust my
> brightness just fine right now. But I don't have
> a /sys/class/backlight
> so after I would apply your patch it would stop working, right?
> (Haven't actually tested it due to time constraints, though)
> 
> Is this because I have one of the nvidia powerbooks or is my kernel
> too
> "old" (default Debian 2.6.17-2-powerpc)? 

I don't really know. The backlight / backlight_legacy seems to have been
introduced in 2.6.18. Before that, I guess only "legacy" (ioctl) was
present, so no need of a .config option.

Some people don't even need pbbuttonsd to adjust lcd backlight.

I guess a couple of #ifdef could adjust pbbuttonsd behavior, so if ioctl
aren't present, use sysfs.

But currently, if you switch to 2.6.18, I guess you won't be able (at
all) to adjust backlight because CONFIG_PMAC_BACKLIGHT_LEGACY is not set
on debian kernel (see #389693).
-- 
Yves-Alexis



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to