Module Name:    src
Committed By:   nisimura
Date:           Tue May 15 02:14:13 UTC 2012

Modified Files:
        src/sys/arch/sandpoint/sandpoint: satmgr.c

Log Message:
A temporaly fix to avoid a lockup by KBT4 DISP button.  Not sure
the real fix.  Curse on the every poorly written engineering
documents on Earth.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/sandpoint/sandpoint/satmgr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sandpoint/sandpoint/satmgr.c
diff -u src/sys/arch/sandpoint/sandpoint/satmgr.c:1.22 src/sys/arch/sandpoint/sandpoint/satmgr.c:1.23
--- src/sys/arch/sandpoint/sandpoint/satmgr.c:1.22	Fri May 11 21:40:49 2012
+++ src/sys/arch/sandpoint/sandpoint/satmgr.c	Tue May 15 02:14:13 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: satmgr.c,v 1.22 2012/05/11 21:40:49 nisimura Exp $ */
+/* $NetBSD: satmgr.c,v 1.23 2012/05/15 02:14:13 nisimura Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -1033,7 +1033,7 @@ mbtnintr(void *arg)
 	/* notified after 3 seconds guard time */
 	struct satmgr_softc *sc = arg;
 
-	send_sat(sc, "\x80\x36"); /* query button state */
+	send_sat(sc, "\x80\x36\x4a"); /* query button state with parity */
 	mutex_enter(&sc->sc_replk);
 	sc->sc_btn_cnt = 0;
 	mutex_exit(&sc->sc_replk);

Reply via email to