Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Feb 2006 22:43:21 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: My USB controller driver
Message-ID:  <20060204224321.7026ca2a.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <200512302235.40874.hselasky@c2i.net>
References:  <200512302235.40874.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Dec 2005 22:35:40 +0100
Hans Petter Selasky <hselasky@c2i.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060204224321.7026ca2a.torfinn.ingolfsen>