From nobody@FreeBSD.org  Fri Mar 26 05:29:45 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A6F1516A4D0
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Mar 2004 05:29:45 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9E15243D55
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Mar 2004 05:29:45 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i2QDTi72029807
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Mar 2004 05:29:44 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i2QDTiQB029806;
	Fri, 26 Mar 2004 05:29:44 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200403261329.i2QDTiQB029806@www.freebsd.org>
Date: Fri, 26 Mar 2004 05:29:44 -0800 (PST)
From: Vladimir Tsvetkov <wild_pig@mail.bg>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Mouse Movement Problem
X-Send-Pr-Version: www-2.3

>Number:         64772
>Category:       kern
>Synopsis:       Mouse Movement Problem
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 26 05:30:14 PST 2004
>Closed-Date:    Fri Dec 29 19:13:43 GMT 2006
>Last-Modified:  Fri Dec 29 19:13:43 GMT 2006
>Originator:     Vladimir Tsvetkov
>Release:        FreeBSD 4.9 RELEASE
>Organization:
Sofia University
>Environment:
FreeBSD 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Fri Mar 19 09:50:56 EET 2004 root@:/usr/src/sys/compile/SAMUILAUKER i386      
>Description:
I have two mice plugged into my PC: a PS/2 2 button mouse( Microsoft compatible)
The boot messages from the /var/run/dmesg.boot are:
psm0:  <PS/2 Mouse> irq12 on atkbdc0
psm0: model IntelliMouse, devise ID 3

and another USB wireless mouse.
The boot messages from the /var/run/dmesg.boot are:
ums0: Microsoft Microsoft Wireless Intellimouse Explorer \ M-.1.04, rev 1.10/0.0e, addr2, iclass 3/1
ums0: 5 buttons and 2 dir

As you the kernel recognizes the USB mouse too, recognizes it, but I don't know hot to start it, or is it possible to start it at all...( if there is a way to start the USB mouse, please let know how to do it, because I'm still a novice to the FreeBSD world)

Anyway, it's not the problem I've encounter.
I've configured the PS/2 mouse as follows: from the /stand/sysinstall configuration menu :
Type -> Auto
Port -> ps/2
I started the deamon, and everything seemed fine, until I noticed that the mouse cursor jumps from time to time( even when I leave the mouse untouched).It's interesting that the direction of the jump is awlays diagonally to the top and to the left( the distance of the jump is aproximatly 2-3 inches). This behavior is even more distinctive( frequent) when I start the KDE graphic environment. I thought that maybe the problem is a hardware mallfunction of the mouse, so I tested it in a Windows XP Pro system for a day and there were no problems.

I had to make a patch to the following file:
/sys/dev/ata/ata-dma.c
line 644-645 I've added: | 0x07461039 into the ata_find_device() call, so the system now recognizes my SiS746 chipset, but I don't think it have anything common with my mouse problem.

Another thing to notice:
When I log into my FreeBSD system and when I first try to move my mouse, the are about 100 messages on the display:
Something like this:

Mar 26 13:15:09 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:09 /kernel psmint: discard a byte (1).
Mar 26 13:15:09 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:09 /kernel psmint: discard a byte (2).
Mar 26 13:15:09 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:09 /kernel psmint: discard a byte (3).
Mar 26 13:15:09 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:09 /kernel psmint: discard a byte (4).
Mar 26 13:15:09 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:09 /kernel psmint: discard a byte (5).
Mar 26 13:15:09 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:09 /kernel psmint: discard a byte (6).
Mar 26 13:15:09 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:09 /kernel psmint: discard a byte (7).
Mar 26 13:15:09 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:09 /kernel psmint: discard a byte (8).
Mar 26 13:15:09 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:09 /kernel psmint: discard a byte (9).
Mar 26 13:15:09 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:09 /kernel psmint: discard a byte (10).
Mar 26 13:15:09 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:09 /kernel psmint: discard a byte (11).
Mar 26 13:15:09 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:09 /kernel psmint: discard a byte (12).

Syntax error: "(" unexpected
$Mar 26 13:15:14 /kernel psmint: delay too long; reseting byte count
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (1).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (2).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (3).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (4).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (5).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (6).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (7).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (8).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (9).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (10).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (11).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (12).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (13).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (14).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (15).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (16).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (17).
Mar 26 13:15:13 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:13 /kernel psmint: discard a byte (18).
Mar 26 13:15:17 /kernel psmint: out of sync ( 0000 != 0008).
Mar 26 13:15:17 /kernel psmint: reset the mouse

M: not found

And then the mouse cursor appears on the display, but behaves as I mentioned before.





     
>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:

From: wild_pig@mail.bg
To: freebsd-gnats-submit@FreeBSD.org
Cc: wild_pig@mail.bg
Subject: kern/64772
Date: Sun, 18 Jul 2004 17:21:09 +0300

 This message is in MIME format.
 
 --=_0d3295ab3ccf54beb1baa7
 Content-Type: text/plain; charset="Windows-1251"
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Recently, I've changed the mouse with a new - Logitect
 SBF-96. And the problem with the mouse movement disapeared.
 So, maybe the problem was in the mouse itself or improper
 configuration ot it.
 But the question is still opened. Why such a problem existed
 on the old mouse?
 Maybe the problem is in the mouse resolution - on the old
 mouse the resolution was 520 dpi. I don't know!<br/><br/>
 -----------------------------</br>
 <a target=3D'_blank' href=3D"http://www.mail.bg/ads/adclick.php?bannerid=3D1=
 444&amp;zoneid=3D13&amp;source=3D&amp;dest=3Dhttp%3A%2F%2Fwww.posoka.com%2F%=
 3Fform%3Dexc&amp;ismap=3D">
 =C8=C7=C3=CE=C4=CD=C8 =CE=D4=C5=D0=D2=C8 =E7=E0 =E5=EA=F1=EA=F3=F0=E7=E8=E8 =
 =E2</br>
 =D2=F3=F0=F6=E8=FF, =C3=FA=F0=F6=E8=FF, =C8=F1=EF=E0=ED=E8=FF</br>
 http://www.POSOKA.COM</a><div id=3D"beacon_1444" style=3D"position: absolute=
 ; left: 0px; top: 0px; visibility: hidden;"><img src=3D'http://www.mail.bg/a=
 ds/adlog.php?bannerid=3D1444&amp;clientid=3D832&amp;zoneid=3D13&amp;source=
 =3D&amp;block=3D0&amp;capping=3D0&amp;cb=3D9411c8f22715542d927b43c385ee1a19'=
  width=3D'0' height=3D'0' alt=3D'' style=3D'width: 0px; height: 0px;'></div>
 
 --=_0d3295ab3ccf54beb1baa7
 Content-Type: text/html; charset="windows-1251"
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 <html><head><title></title><meta content=3D"MSHTML 6.00.2800.1106"
 name=3D"GENERATOR" /></head><body>Recently, I've changed the mouse with a ne=
 w -
 Logitect SBF-96. And the problem with the mouse movement disapeared. So, may=
 be
 the problem was in the mouse itself or improper configuration ot it. <br />B=
 ut
 the question is still opened. Why such a problem existed on the old mouse? <=
 br
 />Maybe the problem is in the mouse resolution - on the old mouse the
 resolution was 520 dpi. I don't know!</body></html><br/><br/>
 -----------------------------</br>
 <a target=3D'_blank' href=3D"http://www.mail.bg/ads/adclick.php?bannerid=3D1=
 444&amp;zoneid=3D13&amp;source=3D&amp;dest=3Dhttp%3A%2F%2Fwww.posoka.com%2F%=
 3Fform%3Dexc&amp;ismap=3D">
 =C8=C7=C3=CE=C4=CD=C8 =CE=D4=C5=D0=D2=C8 =E7=E0 =E5=EA=F1=EA=F3=F0=E7=E8=E8 =
 =E2</br>
 =D2=F3=F0=F6=E8=FF, =C3=FA=F0=F6=E8=FF, =C8=F1=EF=E0=ED=E8=FF</br>
 http://www.POSOKA.COM</a><div id=3D"beacon_1444" style=3D"position: absolute=
 ; left: 0px; top: 0px; visibility: hidden;"><img src=3D'http://www.mail.bg/a=
 ds/adlog.php?bannerid=3D1444&amp;clientid=3D832&amp;zoneid=3D13&amp;source=
 =3D&amp;block=3D0&amp;capping=3D0&amp;cb=3D9411c8f22715542d927b43c385ee1a19'=
  width=3D'0' height=3D'0' alt=3D'' style=3D'width: 0px; height: 0px;'></div>
 
 --=_0d3295ab3ccf54beb1baa7--
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Fri Dec 29 19:13:39 UTC 2006 
State-Changed-Why:  
A different mouse solved the problem, most likely a weird mouse, or some 
minor glitch in the code which i pressume to be fixed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64772 
>Unformatted:
