From owner-freebsd-questions@FreeBSD.ORG Mon Jul 30 06:09:33 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAEDF16A46B for ; Mon, 30 Jul 2007 06:09:33 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id D206313C4A6 for ; Mon, 30 Jul 2007 06:09:31 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id QAA12761; Mon, 30 Jul 2007 16:09:07 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 30 Jul 2007 16:09:06 +1000 (EST) From: Ian Smith To: Adam J Richardson In-Reply-To: <20070729191900.EC45F16A4A9@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Garrett Cooper , Chris Maness , freebsd-questions@freebsd.org Subject: Re: USB Mouse not Working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2007 06:09:33 -0000 On Sun, 29 Jul 2007 15:58:39 +0100 Adam J Richardson wrote: > >>> I beleive in the past I have checked with > >>> #cat /dev/ums0 > >>> and if things are working corectly, cat display binary garbage on the > screen when you wiggle the mouse. Try this after killing moused (moused > makes ums0 unavailable). > >> > >> Perhaps the mouse is dead or dying? Mine keeps its USB cable on a > >> little spindle, and to unreel the cable you have to tug on the cable. > >> Not the best design since the cable is very thin and has taken damage > >> over time. > >> > >> Adam J Richardson > > > > The mouse is working well on another system. Did you try my little > > experiment? > > > > Chris Maness > > Trying it in a terminal under xfce4 and substituting /dev/sysmouse > produces a torrent of spaces characters. I'm currently using a PS/2 > mouse [ie. the "tit" mouse on an old laptop]. > > $ sudo cat /dev/sysmouse > > Perhaps the xfce4 terminal translates the garbage into spaces. Or just undisplayed codes, some of which might wedge your terminal. Apart from using xev (in X), try piping cat through hexdump: paqi# cat /dev/sysmouse | hd 00000000 87 fc ff fd ff 00 00 7f 87 fd ff fe 00 00 00 7f |................| 00000010 87 ff 00 ff 00 00 00 7f 87 ff ff ff 00 00 00 7f |................| 00000020 87 ff 00 00 00 00 00 7f 87 ff ff 00 00 00 00 7f |................| 00000030 87 ff ff 00 00 00 00 7f 87 ff ff ff 00 00 00 7f |................| 00000040 87 ff ff ff 00 00 00 7f 87 ff 00 00 00 00 00 7f |................| 00000050 87 ff 00 00 00 00 00 7f 87 01 ff 01 00 00 00 7f |................| ^C Cheers, Ian