public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Albert Hopkins <marduk@letterboxes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to stop mouse motion
Date: Sat, 15 Nov 2008 16:15:25 -0500	[thread overview]
Message-ID: <1226783725.25426.4.camel@blackwidow.nbk> (raw)
In-Reply-To: <38af3d670811151255k8e40d83n268f57fbf7516ae3@mail.gmail.com>

On Sat, 2008-11-15 at 18:55 -0200, Jorge Peixoto de Morais Neto wrote:
> Hi. I have a crappy mouse made in China. One of its problems is that
> the mouse pointer sometimes moves even while the mouse is not moving.
> Usually this manifests by the pointer "shaking", moving back and
> forward one or two pixels very fast (it looks like some 5 times per
> second).  The worst problem caused by this is that the monitor can
> wake up at seemingly random times.
> 
> One solution would be to switch off the monitor every time I won't use
> it for a few minutes, but (AFAIK) this would waste energy and reduce
> lifetime. I want the DPMS modes of standby, suspend, off.
> 
> Another solution would be to buy another mouse, but this would cost
> money and would not teach me the solution (this problem can manifest
> again in the future, with this or another computer).
> 
> So I want a way to tell the kernel or X11 to ignore mouse motion.
> Either to shut down mouse motion completely, or to allow it but to
> ignore it for the effect considering the computer as idle. I have
> performed a quick read of kernel code and of the xorg.conf man page
> but I see no clue.
> 
> Anybody knows?
> 
Yes.  What you need to do is write your own mouse driver.  Call it
'crappydrv'.  In this driver, you detect events sent by the mouse, but
then simply ignore them.

HTH,
-a





  reply	other threads:[~2008-11-15 21:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-15 20:55 [gentoo-user] How to stop mouse motion Jorge Peixoto de Morais Neto
2008-11-15 21:15 ` Albert Hopkins [this message]
2008-11-15 21:20   ` Jorge Peixoto de Morais Neto
2008-11-15 21:58     ` Volker Armin Hemmann
2008-11-15 22:04       ` Jorge Peixoto de Morais Neto
2008-11-15 22:43         ` Volker Armin Hemmann
2008-11-15 21:27   ` Daniel Pielmeier
2008-11-15 21:25 ` Alan McKinnon
2008-11-15 21:57   ` Volker Armin Hemmann
2008-11-15 22:26 ` Mark Kirkwood
2008-11-16 11:58 ` Etaoin Shrdlu
2008-11-16 13:14   ` Jorge Peixoto de Morais Neto
2008-11-16 12:14 ` Johám-Luís Miguéns Vila
2008-11-17  8:07 ` Allan Arguelles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1226783725.25426.4.camel@blackwidow.nbk \
    --to=marduk@letterboxes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox