Re: Bug report: 045e:0721 Microsoft LifeCam NX-3000 not detected

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

 



On Sat, 31 Aug 2013, Jürgen Liebmann wrote:

> Hi Alan, thank you for your help.
> This patch fixed this problem! Now the camera works fine.
> 
> Then I download the newest kernel (3.11.0-rc7), this contain the same error.
> I checked out this kernel, inserted your patch and the camera works fine!
> 
> This place is therefore definitely the cause of my problem.

We're not finished yet.  Let's see what happens with an additional 
delay added in, same as if the patch wasn't present.  Try this patch 
instead of the previous one.

Alan Stern



Index: 3.10/drivers/usb/host/ehci-q.c
===================================================================
--- 3.10.orig/drivers/usb/host/ehci-q.c
+++ 3.10/drivers/usb/host/ehci-q.c
@@ -1170,7 +1170,7 @@ static void single_unlink_async(struct e
 	struct ehci_qh		*prev;
 
 	/* Add to the end of the list of QHs waiting for the next IAAD */
-	qh->qh_state = QH_STATE_UNLINK_WAIT;
+	qh->qh_state = QH_STATE_UNLINK;
 	if (ehci->async_unlink)
 		ehci->async_unlink_last->unlink_next = qh;
 	else
@@ -1186,6 +1186,7 @@ static void single_unlink_async(struct e
 	prev->qh_next = qh->qh_next;
 	if (ehci->qh_scan_next == qh)
 		ehci->qh_scan_next = qh->qh_next.qh;
+	udelay(125);
 }
 
 static void start_iaa_cycle(struct ehci_hcd *ehci, bool nested)


--
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