> C. Scott Ananian wrote:
> >
> > On Thu, 12 Feb 1998 "Garst R. Reese" <reese@isn.net>
> >
> > > Nice to see some new work on the apm_bios code in 2.1.86. I tried again
> > > setting screen blank on (turn off backlight), but still this msg.
> > > Midwest Micro soundbook elite DX2/66 monochome. Battery status works.
> > > APM Bios 1.0. Is this problem unfixable?
> >
> > You've got a buggy BIOS. Try this patch; tell me if it fixes the problem.
> > [If it doesn't, it just means that your APM BIOS doesn't support screen
> > blanking.]
> > --- linux/drivers/char/apm_bios.c.orig Wed Feb 11 01:13:06 1998
> > +++ linux/drivers/char/apm_bios.c Thu Feb 12 15:35:55 1998
> > @@ -261,7 +261,7 @@
> > #define APM_SET_DISPLAY_POWER_STATE(state, error) \
> > APM_BIOS_CALL(al) \
> > : "=a" (error) \
> > - : "a" (0x5307), "b" (0x01ff), "c" (state) \
> > + : "a" (0x5307), "b" (0x0100), "c" (state) \
> > APM_BIOS_CALL_END
> > #endif
> >
> That gets the screen to blank, but the backlight does not turn off.
> This is the same behaviour I get if I leave blanking unset.
> It works in dos (tm).
Try changing the 0x0100 in the above line to 0x0101. I suspect that will
turn the backlight off without blanking the screen contents. Could you
check that for me?
--Scott
@ @
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-oOO-(_)-OOo-=-=-=-=-=
C. Scott Ananian: cananian@lcs.mit.edu / Declare the Truth boldly and
Laboratory for Computer Science/Crypto / without hindrance.
Massachusetts Institute of Technology /META-PARRESIAS AKOLUTOS:Acts 28:31
-.-. .-.. .. ..-. ..-. --- .-. -.. ... -.-. --- - - .- -. .- -. .. .- -.
PGP key available via finger and from http://www.pdos.lcs.mit.edu/~cananian
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu