From nobody@FreeBSD.org  Fri Oct 25 11:29:44 2002
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 8756F37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Oct 2002 11:29:44 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 32AF543E42
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Oct 2002 11:29:44 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9PITd7R072242
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Oct 2002 11:29:39 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g9PITdc9072241;
	Fri, 25 Oct 2002 11:29:39 -0700 (PDT)
Message-Id: <200210251829.g9PITdc9072241@www.freebsd.org>
Date: Fri, 25 Oct 2002 11:29:39 -0700 (PDT)
From: tsu-fan cheng <tscheng@ic.sunysb.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mouse freezed!
X-Send-Pr-Version: www-1.0

>Number:         44470
>Category:       misc
>Synopsis:       mouse freezed!
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 25 11:30:00 PDT 2002
>Closed-Date:    Sun Jun 08 10:48:11 PDT 2003
>Last-Modified:  Sun Jun 08 10:48:11 PDT 2003
>Originator:     tsu-fan cheng
>Release:        4.7
>Organization:
SUNY@SB
>Environment:
FreeBSD bst19-196unix.path.sunysb.edu 4.7-STABLE FreeBSD 4.7-STABLE #5: Thu Oct 17 12:10:43 EDT 2002     tfcheng@bst19-196unix.path.sunysb.edu:/usr/src/sys/compile/TFCHENG  i386

>Description:
      mouse freeze after x-window idle, didn't show in 4.6, mouse freeze under either gnome or fluxbox, sometimes freeze when mozilla is running, but later found also freeze when abiword running, app seems not the problem. x window is 4.2.0_1,1, installed when running 4.6. 
>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: schweikh 
State-Changed-When: Sat Oct 26 03:55:36 PDT 2002 
State-Changed-Why:  
Do you have a usb mouse? If yes, are there messages in /var/log/messages 
saying s.t. like "usb0: host controller halted"? 

Have you tried replacing your mouse? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44470 

From: Jens Schweikhardt <schweikh@schweikhardt.net>
To: Tsu-Fan Cheng <tscheng@ic.sunysb.edu>
Cc: GNATS Bug Followup <bug-followup@FreeBSD.org>
Subject: Re: misc/44470: mouse freezed!
Date: Sun, 27 Oct 2002 10:23:50 +0100

 On Sat, Oct 26, 2002 at 03:25:49PM -0400, Tsu-Fan Cheng wrote:
 # hi, i checked my /var/log/message, there is something like:
 # Oct 23 21:27:42 bst19-196unix /kernel: psmintr: delay too long; resetting
 # byte count, and
 # Oct 25 14:20:12 bst19-196unix /kernel: psmintr: out of sync (0040 !=
 # 0000).
 # Oct 25 14:20:12 bst19-196unix /kernel: psmintr: discard a byte (1).
 # are these talking about my PS2 mouse?
 
 Yes. Please read psm(4), especially
 
      bit 8 NOCHECKSYNC
             The psm driver tries to detect the first byte of the data packet
             by checking the bit pattern of that byte.  Although this method
             should work with most PS/2 pointing devices, it may interfere with
             some devices which are not so compatible with known devices.  If
             you think your pointing device is not functioning as expected, and
             the kernel frequently prints the following message to the console,
 
                   psmintr: out of sync (xxxx != yyyy).
 
             set this flag to disable synchronization check and see if it
             helps.
 
 
 Try recompiling your kernel with this flag for device psm or maybe
 add the flag to the /boot/device.hints (on -current; I'm not sure if
 this way also applies to 4.x)
 
 PS: When answering, please cc to bug-followup@freebsd.org with the
 subject intact so GNATS can add our mail exchange to the audit trail.
 
 Regards,
 
 	Jens
 -- 
 Jens Schweikhardt http://www.schweikhardt.net/
 SIGSIG -- signature too long (core dumped)
State-Changed-From-To: feedback->closed 
State-Changed-By: ceri 
State-Changed-When: Sun Jun 8 10:47:35 PDT 2003 
State-Changed-Why:  
Feedback timeout.  Also, schweikh provided a workaround. 

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