From owner-freebsd-usb@FreeBSD.ORG Tue Aug 25 07:27:28 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 D7F43106568F for ; Tue, 25 Aug 2009 07:27:28 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 4391A8FC30 for ; Tue, 25 Aug 2009 07:27:27 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=P9OmxJiwNasA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=b8g_AYBDG9dYEVpeJUoA:9 a=bkNuffbydhJbywoYDSAA:7 a=EIhLUKUrfBf5mku1SKKO7bHs6o4A:4 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1298506457; Tue, 25 Aug 2009 09:27:26 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 25 Aug 2009 09:27:37 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <200908241557.n7OFvuT1052755@freefall.freebsd.org> <20090825011025.GA26981@hades.panopticon> In-Reply-To: <20090825011025.GA26981@hades.panopticon> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908250927.39427.hselasky@c2i.net> Cc: gavin@freebsd.org Subject: Re: usb/101761: [usb67] [patch] [request] usb.h: increase maximal size of report descriptor 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: Tue, 25 Aug 2009 07:27:28 -0000 On Tuesday 25 August 2009 03:10:25 Dmitry Marakasov wrote: > * gavin@FreeBSD.org (gavin@FreeBSD.org) wrote: > > State-Changed-From-To: open->feedback > > State-Changed-By: gavin > > State-Changed-When: Mon Aug 24 15:54:46 UTC 2009 > > State-Changed-Why: > > To submitter: I'm not sure what the state is of this PR. It looks like > > the problem has not yet been fixed in FreeBSD 6 or 7, but I don't know if > > it is still an issue with the new USB stack in 8.x. Do you happen to > > know if this PR is still valid against the new USB stack? Thanks! > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=101761 > > How do I dump UHID report descriptor with the new stack? usbhitctl > doesn't seem to work: > > root@hades:amdmi3# usbhidctl -f /dev/uhid1 -r > Report descriptor: > Total input size 0 bytes > Total output size 0 bytes > Total feature size 0 bytes > root@hades:amdmi3# usbhidctl -f /dev/uhid1 -a > usbhidctl: USB_SET_IMMED: Device not configured How to dump HID descriptor: Interface 0 of ugen7.5: usbconfig -u 7 -a 5 do_request 0x81 0x06 0x2200 0 0x1000 Interface 1 of ugen7.5: usbconfig -u 7 -a 5 do_request 0x81 0x06 0x2200 1 0x1000 And so on. --HPS