From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 26 05:30:14 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B861C16A4CE for ; Fri, 26 Mar 2004 05:30:14 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE16F43D5A for ; Fri, 26 Mar 2004 05:30:14 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2QDUEbv051433 for ; Fri, 26 Mar 2004 05:30:14 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2QDUEQh051430; Fri, 26 Mar 2004 05:30:14 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 26 Mar 2004 05:30:14 -0800 (PST) Resent-Message-Id: <200403261330.i2QDUEQh051430@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vladimir Tsvetkov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6F1516A4D0 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/64772: Mouse Movement Problem X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2004 13:30:14 -0000 >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: 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: