From owner-freebsd-current@FreeBSD.ORG Sun Jul 6 04:54:24 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 058D037B405 for ; Sun, 6 Jul 2003 04:54:24 -0700 (PDT) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFEF04401F for ; Sun, 6 Jul 2003 04:54:22 -0700 (PDT) (envelope-from bruce@cran.org.uk) Received: from buffy.brucec.backnet ([82.41.200.71]) by smtp-out3.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5329); Sun, 6 Jul 2003 12:54:21 +0100 Received: from buffy.brucec.backnet (localhost.brucec.backnet [127.0.0.1]) h66BUULX056473; Sun, 6 Jul 2003 12:30:30 +0100 (BST) (envelope-from bruce@buffy.brucec.backnet) Received: (from bruce@localhost) by buffy.brucec.backnet (8.12.8p1/8.12.8/Submit) id h66BUU0g056472; Sun, 6 Jul 2003 12:30:30 +0100 (BST) Date: Sun, 6 Jul 2003 12:30:30 +0100 From: Bruce Cran To: Doug White Message-ID: <20030706113030.GA56425@buffy.brucec.backnet> References: <20030705120608.GA52927@buffy.brucec.backnet> <20030706011747.A79211@carver.gumbysoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030706011747.A79211@carver.gumbysoft.com> User-Agent: Mutt/1.5.4i X-OriginalArrivalTime: 06 Jul 2003 11:54:21.0798 (UTC) FILETIME=[56A01860:01C343B5] cc: current@freebsd.org Subject: Re: usb mouse on ehci controller doesn't work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 06 Jul 2003 11:54:24 -0000 On Sun, Jul 06, 2003 at 01:21:47AM -0700, Doug White wrote: > On Sat, 5 Jul 2003, Bruce Cran wrote: > > > I'm sure I used to be able to use a usb mouse in earlier versions of FreeBSD, > > but now whatever I try, I just can't get the secondary mouse (or primary, if > > I don't configure the laptop mouse pad) to work. When > > I plug it in, it finds it and allocates it to /dev/ums0 (ums0: Logitech > > USB Receiver, rev 1.10/13.10, addr 2, iclass 3/1. ums0: 5 buttons and Z dir) > > but XFree86 doesn't seem to like it - the log file > > Dying on a fcntl O_ASYNC, strange. > > > is attached. Also, moused doesn't show the > > pointer when I run 'moused -p /dev/ums0 -t auto'. > > I can confirm that my wired mx300 mouse with a Hi-speed USB machine works > fine. Note that it shouldn't be attaching to ehci but to the underlying > controller, uhci most likely. 'usbdevs' will show you the device tree. > > Are you doing 'vidcontrol -m on' to enable the mouse in the current vty? I swapped the Logitech wireless mouse for a Microsoft Intellimouse optical, and this time had slightly more success. If I run moused and tell XFree86 to use both /dev/psm0 and /dev/sysmouse, it still dies with the fcntl error. However, if I'm only using /dev/sysmouse, it works perfectly. The kernel has uhci but not ehci compiled in, so it must indeed be using the low-speed driver, not ehci. If I don't run moused but just tell X11 to use /dev/ums0, it still fails with the fcntl error. -- Bruce Cran