Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2009 13:03:11 +0200
From:      man@email.com.ua
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: support for logitech mx610 mouse
Message-ID:  <200903141303.11883.man@email.com.ua>
In-Reply-To: <200903140933.24547.hselasky@c2i.net>
References:  <200903140114.22511.man@email.com.ua> <200903140933.24547.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_v74uJL7egE8OFZu
Content-Type: text/plain;
  charset="koi8-r"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

> I need some samples of the data format, when you a) move mouse b) press 
> buttons. Can you write a small C-program?

Of course, but to my surprise, the program does not read any data from uhid0.
I tried an even more simple test
cat /dev/uhid0 
^C
Nothing

But on FreeBSD 7.1 - nice read (see attached file, result of cat)

>a) move mouse b) press  buttons.
Only press additional buttons expected. This mouse create 2 uhid devices - first report about moving and press standard button (hidden when loaded ums), second - about additional buttons.

--Boundary-00=_v74uJL7egE8OFZu
Content-Type: application/octet-stream;
  name="uhid0"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="uhid0"

AwAA6QADAAAAAAMAAOkAAwAAAAADAADpAAMAAAAAAwAA6gADAAAAAAMAAOoAAwAAAAADAADqAAMA
AAAAAwAA4gADAAAAAAMAAOIAAwAAAAADAADiAAMAAAAAA4oBAAADAAAAAAOKAQAAAwAAAAADigEA
AAMAAAAAA7wBAAADAAAAAAO8AQAAAwAAAAADvAEAAAMAAAAA

--Boundary-00=_v74uJL7egE8OFZu--



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