From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 8 16:56:23 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC25716A4CE for ; Fri, 8 Apr 2005 16:56:23 +0000 (GMT) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4312443D41 for ; Fri, 8 Apr 2005 16:56:23 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: by ox.eicat.ca (Postfix, from userid 66) id BB54DDA64; Fri, 8 Apr 2005 12:56:22 -0400 (EDT) Received: by canoe.dclg.ca (Postfix, from userid 101) id 31D721A08B1; Fri, 8 Apr 2005 12:56:16 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16982.47024.135663.645297@canoe.dclg.ca> Date: Fri, 8 Apr 2005 12:56:16 -0400 To: Maksim Yevmenkin In-Reply-To: <4256B5EB.9080506@savvis.net> References: <16982.46075.115518.130213@canoe.dclg.ca> <4256B5EB.9080506@savvis.net> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid cc: freebsd-hackers@freebsd.org cc: David Gilbert Subject: Re: Tricky USB device. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 16:56:23 -0000 >>>>> "Maksim" == Maksim Yevmenkin writes: >> ... I don't know if this is hindering me. The usbhid* commands >> aren't particularly helpful. The port udesc_dump seems only to >> work on ugen devices ... and ugen doesn't pop up for this device. Maksim> how about getting usb hid descriptor, parsing and dumping it? Maksim> check out libusbhid - man usbhid(3). it might be that all you Maksim> need to do is to create hid report and send it to the Maksim> device. libusbhid(3) will help you with that. Tried that. The usb_get_report_desc() returns NULL. This is not a complicated device --- it's not even technically a "human interface" device. >> I suppose I need to know how to supress uhid ... or to make ugen >> show up. It would also be nice to know how to generically poke the >> interupt enpoints... Maksim> well comment out 'device uhid' from your kernel config and Maksim> rebuilding the kernel should do the trick. I wanted to try to avoid that since I use many USB devices, but it's a last resort kind-of-thing. The documentation for the device describes the interface as simply using the two interupt endpoints (read and write). Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can only be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================