> On Tuesday 12 December 2006 10:14 am, Zhang Daniel wrote:
>> Hi,
>> I am trying to run two cameras in YUV 640x480 30 fps in Linux. The first
>> one is running correctly. But the second one always fails with "NO SPACE"
>> error.

While developing for an embedded system based on 2.6.10-based vendor kernel,
I've seen situation when ehci driver was unable to schedule iso transfer
for usbaudio device, when there have already been a hub and an usb network
device connected.
The reason was that iso transfer required some [small] free space in each
slot of periodic schedule, but before ehci driver scheduled interrupt
transfers of hub and network device both into the first schedule slot,
leaving almost no free space in that slot.

I was able to make it schedule all three devices, by altering scheduling
algorithm such that it first tried to schedule new transfers into
completely empty slots, and if it was not able to, only then schedule as it
did before.

I still have that patch around (but for that vendor kernel, and likely not
in very clean form). However, if somebody is interested in it, I may try to
port it to current kernel, cleanup and submit.

Nikita


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to