From owner-freebsd-mobile Fri Feb 22 12:32:45 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.karlsruhe.punkt.de (ns.karlsruhe.punkt.de [217.29.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 0CCCA37B400 for ; Fri, 22 Feb 2002 12:32:39 -0800 (PST) Received: from hugo10.ka.punkt.de (kagate.punkt.de [194.77.232.254]) by ns.karlsruhe.punkt.de (8.9.3/8.9.3) with ESMTP id VAA81895; Fri, 22 Feb 2002 21:32:36 +0100 (CET) (envelope-from mrawek@punkt.de) Received: (from ry29@localhost) by hugo10.ka.punkt.de (8.11.4/8.11.4) id g1MKWaI85272; Fri, 22 Feb 2002 21:32:36 +0100 (CET) (envelope-from ry29) Date: Fri, 22 Feb 2002 21:32:36 +0100 From: Patric Mrawek To: Stuart Barkley Cc: freebsd-mobile@freebsd.org Subject: Re: Toshiba 1900-101 Message-ID: <20020222213236.A84861@hugo10.ka.punkt.de> Reply-To: Patric Mrawek References: <20020222170123.A77585@hugo10.ka.punkt.de> <20020222120030.U31860-100000@4gh.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020222120030.U31860-100000@4gh.dyndns.org>; from stuartb@4gh.net on Fri, Feb 22, 2002 at 12:15:05PM -0500 Organization: punkt.de GmbH Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Stuart Barkley [020222 18:15]: > I have a Toshiba 1005-S157 and am working through getting it > functioning correctly. Last night I got the touchpad working with a > small patch to the psm driver. > > --- /sys/isa/psm.c.orig Mon Jul 30 12:29:05 2001 > +++ /sys/isa/psm.c Fri Feb 22 02:57:08 2002 > @@ -635,6 +635,7 @@ > > switch((i = test_aux_port(kbdc))) { > case 1: /* ignore this error */ > + case 2: /* ignore this error */ > case PSM_ACK: > if (verbose) > log(LOG_DEBUG, "psm%d: strange result for test aux port (%d).\n", > @@ -899,6 +900,7 @@ > */ > switch ((i = test_aux_port(sc->kbdc))) { > case 1: /* ignore this error */ > + case 2: /* ignore this error */ > case PSM_ACK: > if (verbose) > printf("psm%d: strange result for test aux port (%d).\n", > I've looked through the code myself. I think it's not the right way to just discard the result of test_aux_port(). int test_aux_port(KBDC p) { int retry = KBD_MAXRETRY; int again = KBD_MAXWAIT; int c = -1; while (retry-- > 0) { empty_both_buffers(p, 10); if (write_controller_command(p, KBDC_TEST_AUX_PORT)) break; } if (retry < 0) return FALSE; emptyq(&kbdcp(p)->kbd); while (again-- > 0) { c = read_controller_data(p); if (c != -1) /* try again if the controller is not ready */ break; } if (verbose || bootverbose) log(LOG_DEBUG, "kbdc: TEST_AUX_PORT status:%04x\n", c); return c; } The problem is the result from read_controller_data(). As I mentioned my knowledge at debbuging such stuff isn't enough, so I need help from one the gurus :-P > I still need to get X, audio recording and apm working. I have > XFree86-3 working in 800x600 VGA16 mode, but its not really > acceptable. I've just built XFree86-4.2.0 but haven't installed or > tested it yet. What kind of gfx is in that notebook? Regards, Patric -- Patric Mrawek (__) (++)-----i\ eat penguins instead, they start to ~~| BSD | * spread around anyway! |_|~|_| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message