On Tue, 22 Jun 2004, Tommy Faasen wrote:

> >I don't understand -- if the stick is known to need to transfer a
> >descriptor before setting its address, how come it works on machine 2 when
> >you set the address first?
> >
> >  
> >
> Several people indicated that they needed that patch before getting the 
> stick to work, I guess that intel/via hardware is the most common. A 
> person on the forum uses an intel board with the patch to get it to 
> work. So I guess it is indeed needed, I can't explain why, nor am I 
> aware of differences between uhci and ohci except for the fact that I 
> read that ohci does more in hardware.

Yes, the differences are internal.  As far as the bus communication goes, 
the two types of controller should be pretty much the same.

You might try using the patch below, both with and without the 
broken-descriptor-fetch patch.  This is just a shot in the dark, but maybe 
it will help.  In technical terms, the patch makes full-speed bandwidth 
reclamation apply only to bulk transfers, not control transfers.

Alan Stern


===== drivers/usb/host/uhci-hcd.c 1.114 vs edited =====
--- 1.114/drivers/usb/host/uhci-hcd.c   Mon Jun 21 12:58:46 2004
+++ edited/drivers/usb/host/uhci-hcd.c  Wed Jun 23 09:56:08 2004
@@ -683,7 +683,7 @@
        if ((!(urb->transfer_flags & URB_NO_FSBR)) && !urbp->fsbr) {
                urbp->fsbr = 1;
                if (!uhci->fsbr++ && !uhci->fsbrtimeout)
-                       uhci->skel_term_qh->link = 
cpu_to_le32(uhci->skel_fs_control_qh->dma_handle) | UHCI_PTR_QH;
+                       uhci->skel_term_qh->link = 
cpu_to_le32(uhci->skel_bulk_qh->dma_handle) | UHCI_PTR_QH;
        }
 }
 



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to