[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB mouse



On Wed, 26 Jul 2000, Tuomas Kuosmanen wrote:
> On Wed, Jul 26, 2000 at 04:03:19PM +0200, Michel D?nzer wanted to say the following:
> > Hadess wrote:
> > > - try "cat /dev/usbmouse" and move the mouse, see if any output
> > 
> > I redirected that to a file which was about 2 megs after a few seconds...
> > 'file' said it was ASCII text, and the first few pages in 'more' were empty.
> > 
> > Does that imply anything?
> 
> You should probably do
> 
> 	cat < /dev/usbmouse
> 
> it should print nice garbage stream to the terminal when you move the mouse,
> and it should stop if you dont move it. Example here (dont we all just love
> screenshots 8)
> 
> It will mess up your terminal if you do it for a long time, typing "reset"
> helps if your characters get garbled.

Hence use `od' or `hexdump'.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds



Reply to: