From owner-cvs-sys Mon Jun 30 05:59:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA23259 for cvs-sys-outgoing; Mon, 30 Jun 1997 05:59:06 -0700 (PDT) Received: from critter.dk.tfs.com ([140.145.230.252]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA23245; Mon, 30 Jun 1997 05:59:00 -0700 (PDT) Received: from critter.dk.tfs.com (localhost [127.0.0.1]) by critter.dk.tfs.com (8.8.6/8.8.5) with ESMTP id OAA04442; Mon, 30 Jun 1997 14:58:18 +0200 (CEST) To: Kazutaka YOKOTA cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG From: Poul-Henning Kamp Subject: Re: cvs commit: src/sys/i386/isa psm.c In-reply-to: Your message of "Mon, 30 Jun 1997 05:52:59 PDT." <199706301252.FAA17602@freefall.freebsd.org> Date: Mon, 30 Jun 1997 14:58:18 +0200 Message-ID: <4440.867675498@critter.dk.tfs.com> Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Shouldn't this be a flag in the isa structure so that the "userconfig" editor can tweak it, rather than a compile time option ? Poul-Henning In message <199706301252.FAA17602@freefall.freebsd.org>, Kazutaka YOKOTA writes : >yokota 1997/06/30 05:52:58 PDT > > Modified files: > sys/i386/isa psm.c > Log: > Add experimental APM support for some laptops. > > If the configuration option PSM_HOOKAPM is defined and the APM device > is available, the psm driver will issue the ENABLE command to the > pointing device at the resume APM event if the device was open when > the system went into suspended mode. If the option > PSM_RESETAFTERSUSPEND is specified in addition to PSM_HOOKAPM, the > driver will try to reset the pointing device before sending the > ENABLE command. > > Built-in PS/2-type pointing devices in some laptops (all the reports I > heard were about Toshiba models) sometimes don't work immediately > after the system is resumed. The device MAY become available after a > while. The system may exhibit the same symptom in other OS's too > (no, FreeBSD is not the only OS that is suffering :-). > > I don't know the correct way of solving this yet, but it's been > reported that issuing the ENABLE command after resumption wakes up the > pointing device. > > Without PSM_HOOKAPM, the psm driver behaves in the same way as before. > > Problem reported in the bsd-nomads mailing list in Japan. > > Revision Changes Path > 1.40 +220 -69 src/sys/i386/isa/psm.c -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Power and ignorance is a disgusting cocktail.