From owner-freebsd-multimedia@FreeBSD.ORG Sun Feb 5 15:19:19 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92F9D16A420 for ; Sun, 5 Feb 2006 15:19:19 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from mail.turbocat.net (mail.turbocat.net [213.133.116.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id B725B43D58 for ; Sun, 5 Feb 2006 15:19:18 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: by mail.turbocat.net (Postfix, from userid 1002) id CF881422EC4A; Sun, 5 Feb 2006 16:19:13 +0100 (CET) Received: from [10.175.254.92] (unknown [212.20.206.12]) by mail.turbocat.net (Postfix) with ESMTP id BD774422EC48; Sun, 5 Feb 2006 16:19:12 +0100 (CET) From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Sun, 5 Feb 2006 16:19:26 +0100 User-Agent: KMail/1.7 References: <200512302235.40874.hselasky@c2i.net> <20060204224321.7026ca2a.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20060204224321.7026ca2a.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602051619.27890.hselasky@c2i.net> Cc: Subject: Re: My USB controller driver X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2006 15:19:19 -0000 On Saturday 04 February 2006 22:43, Torfinn Ingolfsen wrote: > On Fri, 30 Dec 2005 22:35:40 +0100 > > Hans Petter Selasky wrote: > > Hi, > > > > I just want to remind you of my USB controller driver for FreeBSD. I > > have now created a new homepage for it: > > > > http://www.turbocat.net/~hselasky/usb4bsd > > I installed your driver on a machine for testing purposes. The machine > is running: > > root@kg-fil# uname -a > FreeBSD kg-fil.kg4.no 6.0-STABLE FreeBSD 6.0-STABLE #3: Sat Feb 4 > 22:21:44 CET 2006 root@kg-fil.kg4.no:/usr/obj/usr/src/sys/FIL60 > amd64 > > The driver installed fine, and the machine booted the new kernel without > problems. > > I wanted to test a non-conforming usb device I have; it is a Dymo > "LabelManager PC" printer. This little gaddget connects to the a us > port, and under windows it works fine. > kernel: usbreq_get_config_desc: confidx=0, bad desc len=30 type=3 > Feb 4 22:31:16 kg-fil kernel: uhub0: port 4, set config at addr 126 > failed, error=USBD_INVAL Feb 4 22:31:16 Maybe there is something wrong with the decoding of the USB config descriptor. Maybe you could try hex dumping the structures in question. The code above can easily be found in /sys/dev/usb2, by searching for "bad desc len". --HPS