On Mon, Jun 18, 2001 at 03:00:30PM +0200, Werner Cornelius wrote:
> Hello,
> 
> I just programmed a new driver for a USB ISDN TA.
> I tested it with kernel versions 2.2.19 and 2.4.5 8uhci and ohci configs.
> Unfortunately some other persons testing the driver too reported that when 
> using the alternate JE uhci driver with 2.4.5 the machine hangs when the 
> driver is loade and a device is connected.
> Regarding 2.2.19 and 2.4.5 (uhci non je and ohci) no problems occured.
> Does anybody know what is the difference when using the uhci je driver 
> instead of the standard uhci version ?
> There seems to be a difference between 2.2.19 and 2.4.5, too.
> As I recognized 2.2.19 drivers leave the input fields of the urb untouched, 
> 2.4.5 modifies the dev field for example. But even with the needed changes in 
> my driver the problem still exists on the remote machine.
> 
> What could be the reason ?

Bulk queued urbs still do not work properly with the uhci.o (JE) driver.
usb-uhci.o (non-JE) works fine for these urbs.  If your driver is using
queued urbs, this could be the problem.

> Is it necessary to refill ALL fields of an Bulk or control urb when reusing 
> it ? As for interrupt urbs (in endpoints) the urb is automatically 
> rescheduled itself I assume not to need any changes in the completion handler 
> ? Or is this wrong, too ?

No, all you need to do is set the urb->dev pointer.  Refilling all of
the fields is overkill, but also works :)

greg k-h

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to