Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2007 23:17:08 -0700
From:      Chris Maness <chris@chrismaness.com>
To:        Ian Smith <smithi@nimnet.asn.au>
Cc:        Garrett Cooper <youshi10@u.washington.edu>, freebsd-questions@freebsd.org, Adam J Richardson <fatman.uk@gmail.com>
Subject:   Re: USB Mouse not Working
Message-ID:  <46AD8264.4070803@chrismaness.com>
In-Reply-To: <Pine.BSF.3.96.1070730155913.22401D-100000@gaia.nimnet.asn.au>
References:  <Pine.BSF.3.96.1070730155913.22401D-100000@gaia.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Ian Smith wrote:
> 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
>
>   
Try doing that with /dev/ums0 after killing moused.  I would imagine it 
would do the same.  I installed PC-BSD on the same box and tried several 
USB mice.  Still no worky.  I think I have some kind of bug either in 
the mother board, or in FreeBSD, because I had tried installing WinXP 
over it and the USB mouse worked.  Really weird.  I think I will 
probably have to use a PS/2 mouse on this box.

Chris Maness



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46AD8264.4070803>