Date: Mon, 30 Jun 1997 14:58:18 +0200 From: Poul-Henning Kamp <phk@dk.tfs.com> To: Kazutaka YOKOTA <yokota@FreeBSD.ORG> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/isa psm.c Message-ID: <4440.867675498@critter.dk.tfs.com> In-Reply-To: Your message of "Mon, 30 Jun 1997 05:52:59 PDT." <199706301252.FAA17602@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4440.867675498>