From owner-freebsd-multimedia@FreeBSD.ORG Sat Feb 4 21:43:22 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 F1C8016A420 for ; Sat, 4 Feb 2006 21:43:21 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ED6443D45 for ; Sat, 4 Feb 2006 21:43:21 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IU600E0JN9I1570@osl1smout1.broadpark.no> for freebsd-multimedia@freebsd.org; Sat, 04 Feb 2006 22:48:54 +0100 (CET) Received: from kg-work.kg4.no ([80.202.174.136]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0IU6005JJN4BWB00@osl1sminn1.broadpark.no> for freebsd-multimedia@freebsd.org; Sat, 04 Feb 2006 22:45:48 +0100 (CET) Date: Sat, 04 Feb 2006 22:43:21 +0100 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH In-reply-to: <200512302235.40874.hselasky@c2i.net> To: freebsd-multimedia@freebsd.org Message-id: <20060204224321.7026ca2a.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <200512302235.40874.hselasky@c2i.net> 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: Sat, 04 Feb 2006 21:43:22 -0000 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. Under FreeBSD (with the standard usb driver), it just displays lines like these in /var/log/messages: Feb 4 21:19:58 kg-fil kernel: uhub0: port 4, set config at addr 2 failed Feb 4 21:19:58 kg-fil kernel: uhub0: device problem (IOERROR), disabling port 4 Feb 4 21:20:00 kg-fil kernel: uhub0: port 4, set config at addr 2 failed Feb 4 21:20:00 kg-fil kernel: uhub0: device problem (IOERROR), disabling port 4 Feb 4 21:20:02 kg-fil kernel: uhub0: port 4, set config at addr 2 failed Feb 4 21:20:02 kg-fil kernel: uhub0: device problem (IOERROR), disabling port 4 Feb 4 21:20:02 kg-fil kernel: uhub0: port error, restarting port 4 With the usb4bsd driver the error messages looks slighthly different: Feb 4 22:31:13 kg-fil kernel: uhub0: port 4, set config at addr 126 failed, error=USBD_IOERROR Feb 4 22:31:13 kg-fil kernel: uhub_explore: usb_new_device failed, error=USBD_IOERROR Feb 4 22:31:13 kg-fil kernel: uhub0: device problem (USBD_IOERROR), disabling port 4 Feb 4 22:31:14 kg-fil kernel: uhub0: port 4 reset failed Feb 4 22:31:15 kg-fil kernel: uhub0: port 4, set config at addr 126 failed, error=USBD_IOERROR Feb 4 22:31:15 kg-fil kernel: uhub_explore: usb_new_device failed, error=USBD_IOERROR Feb 4 22:31:15 kg-fil kernel: uhub0: device problem (USBD_IOERROR), disabling port 4 Feb 4 22:31:16 kg-fil 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 kg-fil kernel: uhub_explore: usb_new_device failed, error=USBD_INVAL Feb 4 22:31:16 kg-fil kernel: uhub0: device problem (USBD_INVAL), disabling port 4 Feb 4 22:31:17 kg-fil kernel: uhub0: port 4, set config at addr 126 failed, error=USBD_IOERROR Feb 4 22:31:17 kg-fil kernel: uhub_explore: usb_new_device failed, error=USBD_IOERROR Feb 4 22:31:17 kg-fil kernel: uhub0: device problem (USBD_IOERROR), disabling port 4 Feb 4 22:31:17 kg-fil kernel: uhub0: port error, restarting port 4 Feb 4 22:31:18 kg-fil kernel: uhub0: port 4 reset failed I have usb snoop (usb traffic dumps) logs from windows for the LabelManager PC, in case anyone is interested in looking closer at the problem. -- Regards, Torfinn Ingolfsen, Norway