Re: apm_bios: set display ready : Unrecognized device ID

Garst R. Reese (reese@isn.net)
Thu, 12 Feb 1998 21:55:10 -0400


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.]
> --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
>
> --- 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).
On the subject of the pcmcia patches, it would be nice if they were
posted to the list or somewhere. The last time there was a break was Dec
23rd. I was not about to bug Dave over the holidays. But I am happy to
hear that you keep him informed.
-- 
Thanks, Garst

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu