[gpm]Bug with IMPS/2 w/ Microsoft Intellimouse 1.3A on Linux
Pozsar Balazs
pozsy@sch.bme.hu
Sun, 16 Jun 2002 02:48:03 +0200 (MEST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---559023410-33463914-1024188483=:22942
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi!
I had the same problem, and I figured out two things:
- Sometimes the mouse is confused and imps2 init will fail if I do not
send a reset to it.
- moving the mouse before, or during initialization will make it fail.
The attached patch solved all my problems, so can try it, but this is not
official :)
I didn't want to send it yet to the list, but you asked for it :).
On Sat, 15 Jun 2002, Shawn Starr wrote:
>
> === ERROR ===: [/usr/src/other/gpm-1.20.0/src/mice.c(1727)]:
> imps2: PS/2 mouse failed init
> === ERROR ===: [/usr/src/other/gpm-1.20.0/src/mice.c(1727)]:
>
> When loading gpm and moving the mouse the driver bombs on load. Also,
> sometimes it will fail with:
>
> === ERROR ===: [/usr/src/other/gpm-1.20.0/src/mice.c(1755)]:
> imps2: Auto-detected unknown mouse type 250, assuming standard PS/2
>
> Options used to load gpm:
>
> gpm -m /dev/psaux -t imps2 -b 9600"
>
> * Note: For some reason I have to specify baud rate (?)
>
> Any ideas? :)
>
> Thanks,
>
> Shawn Starr, sh0n.net, <spstarr@sh0n.net>
> Maintainer: -shawn kernel patches: http://xfs.sh0n.net/2.4/
> Developer Support Engineer
> Datawire Communication Networks Inc.
> 10 Carlson Court, Suite 300
> Toronto, ON, M9W 6L2
> T: 416.213.2001 ext 179 F: 416.213.2008
>
> _______________________________________________
> gpm mailing list
> gpm@lists.linux.it
> http://lists.linux.it/listinfo/gpm
>
--
pozsy
---559023410-33463914-1024188483=:22942
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="gpm-1.20.0-i_imps2-fix"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.4.30.0206160248030.22942@balu>
Content-Description:
Content-Disposition: attachment; filename="gpm-1.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