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

next in thread | previous in thread | raw e-mail | index | archive | help
Try open up the endpoint(s) instead:

see /dev/usb/xxx

--HPS

On Saturday 14 March 2009, man@email.com.ua wrote:
> > 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.





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