Jump to content

Asus U3S6 Lion support


  • Please log in to reply
2 replies to this topic

#1
toine44

toine44

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
The Asus U3S6 is a PCIe 4x card with Marvell 88SE9120 AHCI SATAIII + NEC uPD720200 USB 3.0 interconnected via a PLX PCIe switch.

Here are the kext injectors (simply plist xml files to inject properties for existing drivers) for use with 10.7.5 (native USB3 support)
Attached File  Injectors.zip   4.58KB   75 downloads

Attached File  AHCI.png   18.73KB   34 downloadsAttached File  USB3.png   21.47KB   35 downloads

Here is the patch to add to your DSDT. You will have to locate under which device node the card is visible with IORegistryExplorer (searching AHCI shall help). Then past this code inside this device declaration (between Device(wxyz) { and }).

/* ASUS U3S6 addon */
Device (PLX0)
{
Name (_ADR, Zero)

Method (_DSM, 4, NotSerialized)
{
Store (Package ()
{
"AAPL,slot-name",
Buffer ()
{
"Slot-4"
},

"device_type",
Buffer ()
{
"PCI bridge"
},

"name",
Buffer ()
{
"PLX Technology, Inc. PEX 8608 8-lane PCI Express Gen 2 Switch"
},

"subsystem-vendor-id",
Buffer (0x04)
{
0x6B, 0x10, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}


Device (PLX1)
{
Name (_ADR, 0x00010000)

Device (XHC1)
{
Name (_ADR, Zero)

Method (_DSM, 4, NotSerialized)
{
Store (Package ()
{
"AAPL,slot-name",
Buffer (0x09)
{
"Built in"
},

"device_type",
Buffer ()
{
"USB controller"
},

"name",
Buffer ()
{
"NEC Corporation uPD720200 USB 3.0 Host Controller"
},

"subsystem-vendor-id",
Buffer (0x04)
{
0x6B, 0x10, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

}
}

Device (PLX5)
{
Name (_ADR, 0x00050000)

Device (ATA6)
{
Name (_ADR, Zero)

Method (_DSM, 4, NotSerialized)
{
Store (Package ()
{
"AAPL,slot-name",
Buffer (0x09)
{
"Built in"
},

"device_type",
Buffer ()
{
"SATA controller"
},

"name",
Buffer ()
{
"Marvell 88SE9120 2 port SATA AHCI 1.0 Controller"
},

"subsystem-vendor-id",
Buffer (0x04)
{
0x6B, 0x10, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

Device (PRT0)
{
Name (_ADR, Zero)
Method (_DSM, 4, NotSerialized)
{
Store (Package ()
{
"io-device-location",
Buffer (0x06)
{
"Bay 6"
},

"Physical Interconnect Location",
Buffer ()
{
"Internal"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Device (PRT1)
{
Name (_ADR, Zero)
Method (_DSM, 4, NotSerialized)
{
Store (Package ()
{
"io-device-location",
Buffer (0x06)
{
"Bay 7"
},

"Physical Interconnect Location",
Buffer ()
{
"Internal"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

}
}

/* unused PLX port */
Device (PLX7)
{
Name (_ADR, 0x00070000)
Method (_STA, 0, NotSerialized)
{
Return (0x0B)
}
}

/* unused PLX port */
Device (PLX9)
{
Name (_ADR, 0x00090000)
Method (_STA, 0, NotSerialized)
{
Return (0x0B)
}
}

}
/* end ASUS U3S6 */

I ve not tested USB3 but the driver loads. It is reported to only support USB3 devices.

Happy hack !

#2
@ROBASEFR

@ROBASEFR

    @ROBASEFR

  • Members
  • PipPipPipPipPip
  • 272 posts
  • Gender:Male
  • Location:France
Hello Toine44,

I bought the Asus U3S6 card for my Hack (EX58-UD5)
With OSX 10.8.2 it works 100% with latest AHCI_3rdParty_SATA.kext and PXHCD.kext.
I can edit my DSDT file but not shure I understand your "t

hen paste this code inside this device declaration (between Device(wxyz) {and})


With IORegistryExplorer I get this:


The card is on PCI0@0 ; pci-bridge@5 ;PRT1@1;IOAHCIDevice@0


But i don't know where to paste your patch and does it include


/*

Asus

U3S6 addon */ and

/* end

Asus

U3S6 */ ?


And what does this patch change ?

Thanks for your help



#3
GLXOZ

GLXOZ

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts
  • Gender:Male
2 toine44
Can you share ioreg-dump?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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