USB Mouse not Working
Chris Maness
chris at chrismaness.com
Mon Jul 30 06:17:10 UTC 2007
Ian Smith wrote:
> On Sun, 29 Jul 2007 15:58:39 +0100 Adam J Richardson <fatman.uk at 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
More information about the freebsd-questions
mailing list