Re: Linux UVC driver can not handle urb_submit error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dears,

we have apply patch from new kernel for our 2.6.34 kernel:
the list of patch we apply:
USB: EHCI: remove PCI assumption(as1405)
USB: EHCI: simplify remainder computations(as1406)
USB: EHCI: add missing frame -> microframe conversion(as1407)
USB: EHCI: reorganize isochronous scheduler routine(as1408)
USB: EHCI: remove dead code in the periodic scheduler(as1409)

the result is identical.
is it necessary to update uvc driver ?
or
how about the error handliing for uvs driver?

Best Regards,
Soho



2011/5/24 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>:
> On Tue, 24 May 2011, Soho Soho123 wrote:
>
>> Dears,
>>
>> in linux 2.6.34, we test uvc driver with MJPG-Streamer server via WiFi
>> network. After about half hour, web cam will hang,
>> because we can see the error from console:
>> "uvcvideo: Failed to resubmit video URB (-27)."
>> after checking code in detail, we find the error is reported from
>> ehci-sched.c iso_stream_schedule(), the check:
>> if (unlikely(((start - now) & (mod - 1)) + sched->span>= mod - 2 *
>> SCHEDULE_SLOP)) {
>>       status = -EFBIG;
>>       goto fail;
>> }
>> do you have any idea?
>> this is generic IPCam testing.
>
> 2.6.34 is an old kernel.  Please try testing with 2.6.39.  There have
> been several changes to iso_stream_schedule().
>
> Alan Stern
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux