My USB controller driver

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Sat Feb 4 13:43:22 PST 2006


On Fri, 30 Dec 2005 22:35:40 +0100
Hans Petter Selasky <hselasky at 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 at 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 at 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



More information about the freebsd-multimedia mailing list