Re: apm_bios: set display ready : Unrecognized device ID

C. Scott Ananian (cananian@lcs.mit.edu)
Thu, 12 Feb 1998 15:39:56 -0500 (EST)


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

-
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