From owner-freebsd-current@FreeBSD.ORG Wed Mar 18 08:02:21 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE52E106566B for ; Wed, 18 Mar 2009 08:02:21 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swip.net [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 47D218FC17 for ; Wed, 18 Mar 2009 08:02:21 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=lbJ68NXQDkN7mLsmCk8A:9 a=30S1cF4c7A2_6ef8t332jCHJxKsA:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 468476485; Wed, 18 Mar 2009 09:02:20 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 18 Mar 2009 09:04:51 +0100 User-Agent: KMail/1.9.7 References: <49C083A4.5020608@swin.edu.au> In-Reply-To: <49C083A4.5020608@swin.edu.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903180904.52127.hselasky@c2i.net> Cc: Mattia Rossi Subject: Re: USB2, mouse and X X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 08:02:22 -0000 On Wednesday 18 March 2009, Mattia Rossi wrote: > Hi, > > I've seen that there are a lot of issues with mice and the new USB2 > stack, but as my problem is still not resolved with the current kernel, > i think it's time to report my problem: > > My mouse (or maybe keyboard?) issues regard only the X window system (I > tried fluxbox and KDE4). Mouse and keyboard are USB, attached via a USB > hub (integrated in my monitor). They both work without flaws in the > console, but it's a pain to write text in different windows in X. The > typed text just doesn't get displayed some times, unless the mouse > cursor is moved. Sometimes after typing some text, and moving the mouse > afterwards, the text gets written, but letters will be grouped together > and look like this: > Hi, I think this might be an interrupt problem of the Host Controller or kernel in combination with your screen card. Is your screen card using the same interrupt like the USB controllers? What does "vmstat -i" output? Are any processes running high in "top" ? There are also some debugging sysctls: sysctl hw.usb2.ehci.debug=15 sysctl hw.usb2.uhci.debug=15 sysctl hw.usb2.ums.debug=15 sysctl hw.usb2.ukbd.debug=15 Warning: Can generate a lot of dmesg. When you don't see the text and press CTRL+ALT+F1 on the keyboard, do you get switched back to the console? Try to turn on "ums" and "ukbd" debugging first and see if the printouts to dmesg stop when you don't see anything in the X-window. --HPS