Jump to content

llauqsd

llauqsd

Member Since 08 Oct 2007
Offline Last Active May 20 2015 03:36 AM
*****

Posts I've Made

In Topic: GenericUSBXHCI USB 3.0 driver for OS X with source

30 October 2013 - 09:37 PM

Hi Zenith432, is there any way to get proper PME working on ASM1042? I noticed a thread about a linux usb3 driver that stated that the asm1042 can't save/restore its state fast enough. The specific post can be found here: http://www.spinics.n...b/msg65342.html

 

And the suggested patch:

---
 drivers/usb/host/xhci.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index afdc73e..73e8817 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -795,8 +795,8 @@ int xhci_suspend(struct xhci_hcd *xhci)
 	command = xhci_readl(xhci, &xhci->op_regs->command);
 	command |= CMD_CSS;
 	xhci_writel(xhci, command, &xhci->op_regs->command);
-	if (handshake(xhci, &xhci->op_regs->status, STS_SAVE, 0, 10*100)) {
-		xhci_warn(xhci, "WARN: xHC CMD_CSS timeout\n");
+	if (handshake(xhci, &xhci->op_regs->status, STS_SAVE, 0, 10 * 1000)) {
+		xhci_warn(xhci, "WARN: xHC save state timeout\n");
 		spin_unlock_irq(&xhci->lock);
 		return -ETIMEDOUT;
 	}
@@ -848,8 +848,8 @@ int xhci_resume(struct xhci_hcd *xhci, bool hibernated)
 		command |= CMD_CRS;
 		xhci_writel(xhci, command, &xhci->op_regs->command);
 		if (handshake(xhci, &xhci->op_regs->status,
-			      STS_RESTORE, 0, 10*100)) {
-			xhci_dbg(xhci, "WARN: xHC CMD_CSS timeout\n");
+			      STS_RESTORE, 0, 10 * 1000)) {
+			xhci_warn(xhci, "WARN: xHC restore state timeout\n");
 			spin_unlock_irq(&xhci->lock);
 			return -ETIMEDOUT;
 		}
-- 
1.7.4.1

Also, has there been any progress with VLI810 internal hubs working? I can help provide any information necessary to try to get them to work.

 

Thank you for your great work!

In Topic: GenericUSBXHCI USB 3.0 driver for OS X with source

17 September 2013 - 08:36 PM

Awesome! v1.2.6d2 fixes KP with my dock that uses UASP. VLI810 internal hub still doesn't work though :(

© 2015 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy