Date: Mon, 30 Jun 1997 05:52:59 -0700 (PDT) From: Kazutaka YOKOTA <yokota@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa psm.c Message-ID: <199706301252.FAA17602@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706301252.FAA17602>