Discussion:
T30 - mouse and suspend issue
(too old to reply)
o***@es.net
2004-02-05 17:13:26 UTC
Permalink
Date: Thu, 05 Feb 2004 09:40:20 -0500
Hello,
When I suspend my laptop (using "zzz" or Fn-F4), when I wake it up, the
mouse (Trackpoint) is dead. The keyboard still responds.
If the laptop is docked, the mouse (PS/2) works fine after a suspend.
This behavior occurs regardless of whether I have X running or not.
I have a Thinkpad T30 (2366-81U) running FreeBSD-4.9-RELEASE.
I have using apm, not apci, and have apm0 enable in the kernel and apm
and apmd enabled in my rc.conf.
I believe that you need to edit the psm flags in /boot/device.hints to
be:
hint.psm.0.flags="0x2000"

This sets HOOKRESUME in the driver to fix this exact problem.
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: ***@es.net Phone: +1 510 486-8634
d***@des.no
2004-02-06 13:09:40 UTC
Permalink
Adding "hints.psm.0.flags=3D"0x2000"" to /boot/device.hints didn't fix the
problem, but you pointed me in the right direction.
note: s/hints/hint/
Based on this information, I tried adding "flags =3D 0x2000" to the psm0
device in my kernel config and recompiled the kernel.
That worked.
these two methods are equivalent, just remember you need to reboot for
the hints to take effect.

DES
--=20
Dag-Erling Sm=F8rgrav - ***@des.no
o***@es.net
2004-02-06 16:43:18 UTC
Permalink
Date: Thu, 05 Feb 2004 21:17:26 -0500
Post by o***@es.net
Date: Thu, 05 Feb 2004 09:40:20 -0500
Hello,
When I suspend my laptop (using "zzz" or Fn-F4), when I wake it up, the
mouse (Trackpoint) is dead. The keyboard still responds.
If the laptop is docked, the mouse (PS/2) works fine after a suspend.
This behavior occurs regardless of whether I have X running or not.
I have a Thinkpad T30 (2366-81U) running FreeBSD-4.9-RELEASE.
I have using apm, not apci, and have apm0 enable in the kernel and apm
and apmd enabled in my rc.conf.
I believe that you need to edit the psm flags in /boot/device.hints to
hint.psm.0.flags="0x2000"
This sets HOOKRESUME in the driver to fix this exact problem.
Thanks.
Adding "hints.psm.0.flags="0x2000"" to /boot/device.hints didn't fix the
problem, but you pointed me in the right direction.
Based on this information, I tried adding "flags = 0x2000" to the psm0
device in my kernel config and recompiled the kernel.
That worked.
Oops! For some reason I thought that you were running V5. In V4 things
like device configuration details were in the kernel config file. In V5
they moved to device.hints. Sorry for the false lead, but I'm glad that
you figured it out.
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: ***@es.net Phone: +1 510 486-8634
Loading...