Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2007 16:09:06 +1000 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Adam J Richardson <fatman.uk@gmail.com>
Cc:        Garrett Cooper <youshi10@u.washington.edu>, Chris Maness <chris@chrismaness.com>, freebsd-questions@freebsd.org
Subject:   Re: USB Mouse not Working
Message-ID:  <Pine.BSF.3.96.1070730155913.22401D-100000@gaia.nimnet.asn.au>
In-Reply-To: <20070729191900.EC45F16A4A9@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 29 Jul 2007 15:58:39 +0100 Adam J Richardson <fatman.uk@gmail.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1070730155913.22401D-100000>