kern/64772: Mouse Movement Problem

Vladimir Tsvetkov wild_pig at mail.bg
Fri Mar 26 05:30:14 PST 2004


>Number:         64772
>Category:       kern
>Synopsis:       Mouse Movement Problem
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 26 05:30:14 PST 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


More information about the freebsd-bugs mailing list