From: Vojtech Pavlik <vojtech@suse.cz>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Take Vos <Take.Vos@binary-magic.com>,
linux-kernel@vger.kernel.org, Vojtech Pavlik <vojtech@suse.cz>
Subject: Re: PROBLEM: PS/2 mouse wart does not work, while scratch pad does.
Date: Wed, 23 Oct 2002 10:42:22 +0200 [thread overview]
Message-ID: <20021023104222.B28139@ucw.cz> (raw)
In-Reply-To: <5001.1035330391@passion.cambridge.redhat.com>; from dwmw2@infradead.org on Wed, Oct 23, 2002 at 12:46:31AM +0100
On Wed, Oct 23, 2002 at 12:46:31AM +0100, David Woodhouse wrote:
> Take.Vos@binary-magic.com said:
> > hardware:DELL Inspiron 8100
>
> > The internal scratch pad works, but the internal wart mouse doesn't,
> > in the BIOS it is set to use both devices for input. This is tested
> > with both Xfree86 and running cat on /dev/input/mice and /dev/input/
> > mouse0 and /dev/input/event0.
>
> Probing for various other PS/2 extensions appears to confuse the thing such
> that the clitmouse no longer works. If we probe for it first and then abort
> the other probes, it seems happier...
Thanks, applied.
> --- 1.16/drivers/input/mouse/psmouse.c Tue Oct 8 11:51:30 2002
> +++ edited/drivers/input/mouse/psmouse.c Wed Oct 23 00:39:06 2002
> @@ -311,6 +311,26 @@
> if (psmouse_noext)
> return PSMOUSE_PS2;
>
> +/*
> + * Try Synaptics TouchPad magic ID
> + */
> +
> + param[0] = 0;
> + psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
> + psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
> + psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
> + psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
> + psmouse_command(psmouse, param, PSMOUSE_CMD_GETINFO);
> +
> + if (param[1] == 0x47) {
> + /* We could do more here. But it's sufficient just
> + to stop the subsequent probes from screwing the
> + thing up. */
> + psmouse->vendor = "Synaptics";
> + psmouse->name = "TouchPad";
> + return PSMOUSE_PS2;
> + }
> +
> /*
> * Try Genius NetMouse magic init.
> */
--
Vojtech Pavlik
SuSE Labs
next prev parent reply other threads:[~2002-10-23 8:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-22 8:46 PROBLEM: USB mouse does not apear in /dev/input Take Vos
2002-10-22 9:09 ` Brad Hards
2002-10-22 9:48 ` Take Vos
2002-10-22 10:03 ` Brad Hards
2002-10-22 16:47 ` Greg KH
2002-10-22 9:34 ` PROBLEM: PCMCIA cardmgr kill hangs kernel bert hubert
2002-10-22 9:51 ` Take Vos
2002-10-22 11:13 ` Take Vos
2002-10-22 12:15 ` Alan Cox
2002-10-22 12:20 ` Take Vos
[not found] ` <200210221311.19468.Take.Vos@binary-magic.com>
[not found] ` <200210222121.04718.bhards@bigpond.net.au>
2002-10-22 11:28 ` PROBLEM: USB mouse does not apear in /dev/input Take Vos
2002-10-22 12:23 ` PROBLEM: USB mouse does not apear in /dev/input (solved) Take Vos
2002-10-22 23:46 ` PROBLEM: PS/2 mouse wart does not work, while scratch pad does David Woodhouse
2002-10-23 8:42 ` Vojtech Pavlik [this message]
2002-11-09 21:50 ` Take Vos
2002-12-12 19:30 ` Take Vos
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=20021023104222.B28139@ucw.cz \
--to=vojtech@suse.cz \
--cc=Take.Vos@binary-magic.com \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome