My USB controller driver

Hans Petter Selasky hselasky at c2i.net
Sun Feb 5 07:19:19 PST 2006


On Saturday 04 February 2006 22:43, Torfinn Ingolfsen wrote:
> 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.

> 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


More information about the freebsd-multimedia mailing list