Date: Fri, 22 Feb 2002 21:32:36 +0100 From: Patric Mrawek <mrawek@punkt.de> To: Stuart Barkley <stuartb@4gh.net> Cc: freebsd-mobile@freebsd.org Subject: Re: Toshiba 1900-101 Message-ID: <20020222213236.A84861@hugo10.ka.punkt.de> In-Reply-To: <20020222120030.U31860-100000@4gh.dyndns.org>; from stuartb@4gh.net on Fri, Feb 22, 2002 at 12:15:05PM -0500 References: <20020222170123.A77585@hugo10.ka.punkt.de> <20020222120030.U31860-100000@4gh.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Stuart Barkley <stuartb@4gh.net> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020222213236.A84861>