From owner-freebsd-usb@FreeBSD.ORG Sat Mar 14 11:02:52 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E7C0106566B for ; Sat, 14 Mar 2009 11:02:52 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id C60298FC16 for ; Sat, 14 Mar 2009 11:02:51 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=93AayTmb9UcA:10 a=AcdjiWDHAAAA:8 a=4WShUQFyMyeEtbRmrHQA:9 a=eW92VB0KAUivAjjzlcbAjMDJgysA:4 a=8UL1S1SzPDgA:10 Received: from [193.217.167.198] (account mc467741@c2i.net HELO [10.0.0.188]) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1213048610; Sat, 14 Mar 2009 12:02:49 +0100 From: Hans Petter Selasky To: man@email.com.ua Date: Sat, 14 Mar 2009 12:05:19 +0100 User-Agent: KMail/1.9.7 References: <200903140114.22511.man@email.com.ua> <200903140933.24547.hselasky@c2i.net> <200903141303.11883.man@email.com.ua> In-Reply-To: <200903141303.11883.man@email.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903141205.20848.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: support for logitech mx610 mouse X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2009 11:02:52 -0000 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.