From: David Woodhouse <dwmw2@infradead.org>
To: Take Vos <Take.Vos@binary-magic.com>
Cc: 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 00:46:31 +0100 [thread overview]
Message-ID: <5001.1035330391@passion.cambridge.redhat.com> (raw)
In-Reply-To: <200210221046.46700.Take.Vos@binary-magic.com>
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...
--- 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.
*/
--
dwmw2
next prev parent reply other threads:[~2002-10-22 23:40 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 ` David Woodhouse [this message]
2002-10-23 8:42 ` PROBLEM: PS/2 mouse wart does not work, while scratch pad does Vojtech Pavlik
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=5001.1035330391@passion.cambridge.redhat.com \
--to=dwmw2@infradead.org \
--cc=Take.Vos@binary-magic.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vojtech@suse.cz \
/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