[ltp] USB and Powersaving

Sean Dague linux-thinkpad@linux-thinkpad.org
Tue, 29 Jun 2004 22:25:06 -0400


--pZs/OQEoSSbxGlYw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 10, 2004 at 11:18:00AM -0600, Dax Kelson wrote:
>=20
>=20
>=20
>  ...... Original Message .......
> On Mon,  7 Jun 2004 08:50:01 +0200 <veith@codezilla.de> wrote:
> >
> >Hello,
> >I've got a question: when The powersaving blanks the screen, I can
> >re-power it by using the touchpad or a key. If I attach my usb-mouse I
> >would like to be able to restore by moving the mouse...
> >This is not possible in the moment, the sreen stays blank!
> >
> >Any suggestions what direction to look after?
>=20
> Yes. Last I looked xscreensaver monitored mouse and keyboard activity by=
=20
> their IRQ interrupts via the file /proc/interrupts. USB mouse activity=20
> isn't counting as acivity.=20
>=20
> Consequently if you are *just* using your USB mouse the screen will blank=
=20
> on you even though you are using your system and USB mouse activity won't=
=20
> trigger a unblank.=20

xscreensaver actually uses a much more complex method to determine idle,
which will pick up a usb mouse fine.  (xscreensaver/driver/timers.c for
those what are interested).  I use a usb mouse at home and in the office and
have no issue with it.

	-Sean

--=20
__________________________________________________________________

Sean Dague                                       Mid-Hudson Valley
sean at dague dot net                            Linux Users Group
http://dague.net                                 http://mhvlug.org

There is no silver bullet.  Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________

--pZs/OQEoSSbxGlYw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFA4iSCSamXem9TdyYRAmDeAKCHqaSuQ4SzHObrv8Y3Ka2LfOW3pQCgl/B1
+asP05Oqzf3j+rWOyB0kY4s=
=+YOK
-----END PGP SIGNATURE-----

--pZs/OQEoSSbxGlYw--