Michal Sojka wrote:
Hi,
I have tried my high-speed iso driver under 2.5.52 and 54, and it
doesn't work. The completion routine gets called, but no data arriving.
Fields of completed urb are: status: 0, error_count: 0. When I submit
And urb->iso_frame_desc[i].{status,actual_length} = ... ?
Remember that one of the way ISO is funky in this API is that you get
per-packet status in that iso_frame_desc array ... which is also
misnamed, it's not necessarily one per frame (period 1 msec).
completed urb again (in completion routine), system hangs and urbs are
submited forever. The only thing that is working is Magic SysRq.
Well, if you can find out what's up, more power to you. I don't
currently have any devices to test high speed ISO with, so it'd
be hard for me to help just now. Though that may be getting
resolved in a while ... ;) All I can say is that the code worked
when submitted (or seemed to), and that logic has barely been touched
since then.
My ehci controller is NEC D720100GM and on the other side of wire is
Phillips ISP1581.
There is another stange problem. When I plug the device to USB 1.1 root
hub, kernel hangs even before anything is sent to device (before address
assignment etc.). SysRq doesn't work then. If the device is plugged when
system boots, everything is OK. The only kernel that hasn't this problem
is RedHat's 2.4.18-3. I have tried vanilla kernels 2.4.18,19,20 and some
2.5 up to 54.
Curious. My first guess would be problems in the firmware that's driving
your isp1581. As you describe it, that's clearly not an EHCI issue (since
it's on a USB 1.1 hub).
- Dave
Has anybody some suggestion?
Regards
Michal Sojka
David Brownell wrote:
Michal Sojka wrote:
I need to transfer data stream (iso transfer) from some measuring
device to PC via USB 2.0. I have written a driver that works fine at
full-speed (with uhci). If I tried to use 2.4.20-pre11 with //EHCI
patch from // 2.5.39 for hi-speed, it seems it doesn't //work. ///Is
there some better choice for hi-speed ISO transfer in 2.5?
In what way does it not work? That particular code (high speed ISO)
hasn't gotten any use that I know of since it appeared in March ...
seems that high speed ISO devices are rare, so I'd expect problems
would be lurking. Try using the 2.5.51 code (2.5.50bk snapshots are
now available) since that's the latest.
What EHCI hardware are you using?
- Dave
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel