Re: uvcvideo: Failed to resubmit video URB (-27)

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

 



Hi Alan-

This fix seems to have worked as well.  One of my cameras did suffer a glitch during a 2 hour run, but dmesg was clean and I was able to recover from it, so it might have been something unrelated.  Anyway like I said one of the hunks failed because of a code change in rc9 i guess, here's the hunk that failed, I changed the line manually and that's what I've been testing.

@@ -2275,7 +2296,7 @@ scan_periodic (struct ehci_hcd *ehci)
 	 */
 	now_uframe = ehci->next_uframe;
 	if (ehci->rh_state == EHCI_RH_RUNNING) {
-		clock = ehci_readl(ehci, &ehci->regs->frame_index);
+		clock = ehci_read_frame_index(ehci);
 		clock_frame = (clock >> 3) & (ehci->periodic_size - 1);
 	} else  {
 		clock = now_uframe + mod - 1;


-thanks again
jason

----- Original Message -----
From: "Alan Stern" <stern@xxxxxxxxxxxxxxxxxxx>
To: "Jason N Pitt" <jpitt@xxxxxxxxx>
Cc: "USB list" <linux-usb@xxxxxxxxxxxxxxx>
Sent: Tuesday, October 11, 2011 8:11:15 AM
Subject: Re: uvcvideo: Failed to resubmit video URB (-27)

On Mon, 3 Oct 2011, Alan Stern wrote:

> On Mon, 3 Oct 2011, Pitt, Jason N wrote:
> 
> > jpitt@selenide:~/run1/cam12$ lspci -n -s 7:00.1
> > 07:00.1 0c03: 9710:9990
> 
> Ah, good, that's what I expected.
> 
> Okay, below is a real patch to fix this problem.  It's meant to be
> applied without any of the earlier patches.  If it works for you, I'll
> submit it for inclusion in the upcoming kernel releases (including the
> stable kernels).

Jason:

Have you been able to test this final patch yet?

Alan Stern


-- 
/*
Jason Pitt PhD                                   206.667.5603
Roth Lab                                      jpitt@xxxxxxxxx
Basic Sciences Division 
Fred Hutchinson Cancer Research Center
1100 Fairview Ave N A3-135
Seattle, WA 98109
*/
--
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