Re: [patch] turn off backlight on 12" pbook

2004-01-13 Thread Guido Guenther
Hi, On Wed, Oct 29, 2003 at 01:20:03PM +0100, Michael Schmitz wrote: > > On Tue, Oct 28, 2003 at 03:59:11PM +0100, Guido Guenther wrote: > > > although it can't handle brightness at the moment. Patch is against > > > 2.4.22-ben2. > > A slightly updated version (that additionally turns off the backl

Re: [patch] turn off backlight on 12" pbook

2003-11-03 Thread Michael Schmitz
> > I'd have to have a remote host to attach in the first place. That's a > > real sick idea there. I'd rather hack xmon over ethernet :-) > > Well, it's actually far from beeing sick :) The nice thing is that the > 1394 protocol let a node tap physical addresses in the memory of > another node. Th

Re: [patch] turn off backlight on 12" pbook

2003-11-03 Thread Benjamin Herrenschmidt
> I'd have to have a remote host to attach in the first place. That's a > real sick idea there. I'd rather hack xmon over ethernet :-) Well, it's actually far from beeing sick :) The nice thing is that the 1394 protocol let a node tap physical addresses in the memory of another node. The actual "

Re: [patch] turn off backlight on 12" pbook

2003-11-03 Thread Michael Schmitz
> > the kernel barfs sometime after rivafb init. xmon output goes to serial > > which is utterly pointless on a flat panel iMac > > Tried forcing use_screen to 1 in xmon ? if that doesn't work, you have That's what I was looking for, thanks. > the option of using firewire debugging :) I pushed a

Re: [patch] turn off backlight on 12" pbook

2003-10-31 Thread Benjamin Herrenschmidt
On Fri, 2003-10-31 at 19:58, Michael Schmitz wrote: > > > Can the classic emulation be used for this? > > > > No. Unfortunately, Macsbug is useful for tracking HW access, but classic > > emulation does no HW access, it all gets routed to underlying OS X drivers > > That's what I feared. I'll leave

Re: [patch] turn off backlight on 12" pbook

2003-10-31 Thread Michael Schmitz
> > Can the classic emulation be used for this? > > No. Unfortunately, Macsbug is useful for tracking HW access, but classic > emulation does no HW access, it all gets routed to underlying OS X drivers That's what I feared. I'll leave it to others, then. On the 2.6 front, I've _once_ been able to

Re: [patch] turn off backlight on 12" pbook

2003-10-30 Thread Benjamin Herrenschmidt
On Thu, 2003-10-30 at 20:32, Michael Schmitz wrote: > > > Thanks, I'll try that on the flat panel iMac, and work it into 2.6.0 as > > > well. > > Worked fine in 2.4, dies horribly in 2.6 BTW. Still tracking it down. > > > If any of you has a MacOS 9 capable machine with flat panel, I want to > >

Re: [patch] turn off backlight on 12" pbook

2003-10-30 Thread Guido Guenther
On Thu, Oct 30, 2003 at 02:46:12PM +1100, Benjamin Herrenschmidt wrote: > If any of you has a MacOS 9 capable machine with flat panel, I want to > see if we can get the actual finer backlight control to work. With MacOS That'd be pretty cool. NVidia currently doesn't provide any information on brig

Re: [patch] turn off backlight on 12" pbook

2003-10-30 Thread Carlos Perelló Marín
El jue, 30-10-2003 a las 04:46, Benjamin Herrenschmidt escribió: > On Wed, 2003-10-29 at 23:20, Michael Schmitz wrote: > > > On Tue, Oct 28, 2003 at 03:59:11PM +0100, Guido Guenther wrote: > > > > although it can't handle brightness at the moment. Patch is against > > > > 2.4.22-ben2. > > > A sligh

Re: [patch] turn off backlight on 12" pbook

2003-10-30 Thread Michael Schmitz
> > Thanks, I'll try that on the flat panel iMac, and work it into 2.6.0 as > > well. Worked fine in 2.4, dies horribly in 2.6 BTW. Still tracking it down. > If any of you has a MacOS 9 capable machine with flat panel, I want to > see if we can get the actual finer backlight control to work. With

Re: [patch] turn off backlight on 12" pbook

2003-10-29 Thread Benjamin Herrenschmidt
On Wed, 2003-10-29 at 23:20, Michael Schmitz wrote: > > On Tue, Oct 28, 2003 at 03:59:11PM +0100, Guido Guenther wrote: > > > although it can't handle brightness at the moment. Patch is against > > > 2.4.22-ben2. > > A slightly updated version (that additionally turns off the backlight at > > level

Re: [patch] turn off backlight on 12" pbook

2003-10-29 Thread Michael Schmitz
> On Tue, Oct 28, 2003 at 03:59:11PM +0100, Guido Guenther wrote: > > although it can't handle brightness at the moment. Patch is against > > 2.4.22-ben2. > A slightly updated version (that additionally turns off the backlight at > level == 0) can be found at: > http://honk.physik.uni-konstanz.de/

Re: [patch] turn off backlight on 12" pbook

2003-10-28 Thread Guido Guenther
On Tue, Oct 28, 2003 at 03:59:11PM +0100, Guido Guenther wrote: > although it can't handle brightness at the moment. Patch is against > 2.4.22-ben2. A slightly updated version (that additionally turns off the backlight at level == 0) can be found at: http://honk.physik.uni-konstanz.de/~agx/linux-p

[patch] turn off backlight on 12" pbook

2003-10-28 Thread Guido Guenther
Hi, the attached patch allows to toggle the backlight via "fblevel on/off" on a 12" pbook on and off. It registers a full backlight control although it can't handle brightness at the moment. Patch is against 2.4.22-ben2. Many thanks to Mark Vojkovich for providing the necessary information. Regards