Jump to content



Member Since 08 Oct 2007
Offline Last Active Jul 28 2014 05:56 PM

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");
 		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");
 			return -ETIMEDOUT;

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

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

13 June 2013 - 06:48 AM

On USB3 ports not connected to the VLI810 hub I get around 100MBps with my USB3 thumbdrive (its rated speed). I will try with a USB3 connected SSD later.

llauqsd, how about speeds? i have ~20 MBps per port. even on usb 2.0 hosted by x79.

In Topic: New Driver for Realtek RTL8111

12 June 2013 - 05:56 AM

Thank you so much for the great driver! I was just wondering if you have considered incorporating the change dmazar made to checkLinkStatus() into your code. Without this change I too get cases where the link goes down and will not come back up. Would there be any downsides to other users by adding this change to your code?


- changed checkLinkStatus():

} else {
	 if (interrupt) {
		 /* Stop watchdog and statistics updates. */
		 if (tp->mcfg == CFG_METHOD_23) {
			 WriteReg32(ERIDR, 0x00000001);
			 WriteReg32(ERIAR, 0x8042f108);
	 } else {
		 /* Called from enable() - just notify that the link is down. */

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

12 June 2013 - 05:42 AM

Thank you so much for the great work.


I am using an Asus P9X79 Deluxe motherboard that has 8 USB 3.0 ports. 4 of the ports are connected to a VIA VLI810 hub. Although I can get the hub to show in About this Mac, USB 3.0 devices do not show up when connected to any of the ports controlled by the hub.


Any help or advice would be greatly appreciated.



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