USB UHCI Problems on 8-Stable
holm at freibergnet.de
Sat Mar 17 08:59:04 UTC 2012
>The BULK transfer stops by a stall. I suspect the UHCI is receiving more data
>than it can, and is hardware programmed to stop it looks like. I can't change
>that behaviour. It is not a bug in the FreeBSD USB driver I think.
>Try this patch to /usr/ports/devel/openocd/
>make extract patch
Uhh, may I use Vi? :-)
>result = jlink_usb_read(jlink, in_length);
>/* must read at least one packet at a time! */
>result = jlink_usb_read(jlink, in_length + ((-in_length) & 63));
>Then re-compile and try again!
Ok, I'll try that patch(~ sunday eavening, I'm out of town currntly),
but it adresses the problem with openocd. ( which is good anyways).
I is still a bug in FreeBSD's driver that there is now way to
wake up the controller again and I think that should be changed.
(please remember, most Kerenels are running with compiled in drivers, so
thie singe solution is a reboot to reactivate the controller.
I dont know that much about USB, but I sure that FreeBSDs behavior in this
case isn't that what we really want. I think usbconfig -d ugen1.1 reset
schould be made working..
Technik Service u. Handel Tiffe, www.tsht.de, Holm Tiffe,
Freiberger Straße 42, 09600 Oberschöna, USt-Id: DE253710583
www.tsht.de, info at tsht.de, Fax +49 3731 74200, Mobil: 0172 8790 741
More information about the freebsd-usb