Jump to content

Native USB3.0 on boards with non-intel USB3 e.g. Asmedia


  • Please log in to reply
22 replies to this topic

#1
dgsga

dgsga

    I've seen things you people wouldn't believe...

  • Members
  • PipPipPip
  • 156 posts
  • Gender:Male
This quick dsdt edit seems to work. You can inject this via efi device properties too. Insert the device code wherever you have USB3 in your DSDT (find this using ioreg), naming each device XHC1, XHC2 etc...
Device (XHC1)
				{
					Name (_ADR, Zero)
					Alias (PW94, _PRW)
					Method (_DSM, 4, NotSerialized)
					{
						Store (Package (0x0A)
							{
								"device-id",
								Buffer (0x04)
								{
									0x31, 0x1e, 0x00, 0x00
								},
							  
								"vendor-id",
								Buffer (0x04)
								{
									0x86, 0x80, 0x00, 0x00
								},
								"name",
								Buffer (0x0D)
								{
									"pci8086,1e31"
								},
							  
								"subsystem-id",
								Buffer (0x04)
								{
									0x70, 0x72, 0x00, 0x00
								},
								"subsystem-vendor-id",
								Buffer (0x04)
								{
									0x86, 0x80, 0x00, 0x00
								}
							}, Local0)
						DTGP (Arg2, RefOf (Local0))
						Return (Local0)
					}
				}

Attached File  usb3.tiff   59.73KB   316 downloadsAttached File  usb32.tiff   126.8KB   218 downloads

#2
bajabronco

bajabronco

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts
I tried like hell to find the USB 3 string in my DSDT - pulled the address/device # from the ioreg explorer, and still couldn't find it. I have a ASRock motherboard, what did your string look like before you modified it?

#3
dgsga

dgsga

    I've seen things you people wouldn't believe...

  • Members
  • PipPipPip
  • 156 posts
  • Gender:Male
Look for the device and vendor id of your USB chipset in your ioregistry. It will appear under one of the devices e.g. RP06. make sure USB3 is enabled in bios.

#4
TimeWalker75a

TimeWalker75a

    InsanelyMac Legend

  • Gurus
  • 1,103 posts
  • Gender:Male
Neat! Will give this a go for my fresco logic 1009 when I get home. Any idea if this works for other controllers as well? I have tried to mimic the id of mba5,2 previously but nothing changed really.

#5
proteinshake

proteinshake

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:Germany
I tried the exact same thing with 10.7.5 pre-releases and it failed with Renesas 720200A and 720201 - devices attached were detected and displayed in IOREG but never actually worked.I'll sure try again with ML now.

#6
TimeWalker75a

TimeWalker75a

    InsanelyMac Legend

  • Gurus
  • 1,103 posts
  • Gender:Male
Also are you sure about this part?
DTGP (Arg2, RefOf (Local0))

DTGP usually takes 5 arguments, not just 2.

UPD:

Nope, not working for Fresco Logic 1009, or am I missing something?
Even though it is being detected and my WD Passport light up, it is not picked up by the system.


        Device (RP03)
        {
            Name (_ADR, 0x001C0002)

             ...................


            Device (XHC1)
            {
                Name (_ADR, Zero)
                Alias (PW94, _PRW)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package ( )
                        {
                            "device-id",
                            Buffer (0x04)
                            {
                                0x31, 0x1e, 0x00, 0x00
                            },                            
                            "vendor-id",
                            Buffer (0x04)
                            {
                                0x86, 0x80, 0x00, 0x00
                            },
                            "name",
                            Buffer (0x0D)
                            {
                                "pci8086,1e31"
                            },   
                            "subsystem-id",
                            Buffer (0x04)
                            {
                                0x70, 0x72, 0x00, 0x00
                            },
                            "subsystem-vendor-id",
                            Buffer (0x04)
                            {
                                0x86, 0x80, 0x00, 0x00
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
                Name (PW94, Package (0x02)
                {
                    0x09, 
                    0x04
                })
            }
    ....................
}

Screens:
http://puu.sh/M8cO
http://puu.sh/M8dg

#7
proteinshake

proteinshake

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:Germany
The DSDT is fine, but there has to be something else missing.

#8
DoiX

DoiX

    Homo discens

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,130 posts
  • Gender:Male
  • Location:Terra
  • Interests:Photography, design, beer.
I tried this the second i got my hands on the DSDT of a macbook pro 2012. It didn't even acknowledge the DSDT changes. NEC USB3 chipset here...

#9
thanh hoang

thanh hoang

    InsanelyMac Protégé

  • Members
  • PipPip
  • 79 posts
Show USB 3.0 but not work=> :|
Thanks....

#10
iLeopod

iLeopod

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 435 posts
  • Gender:Male
  • Location:Germany
  • Interests:ileopod.wordpress.com
"name",
Buffer (0x0D)
{
"pci8086,1e31"
},  
should be:
"name",
"pci8086,1e31",

i have no usb3 device to test, but for USB 2 its not working.
My MB has two Etron controlllers.

#11
cili0

cili0

    InsanelyMacaholic

  • Retired
  • 3,008 posts
  • Gender:Male
  • Location:Italy
I suppose this won't work with 3rd party pci-e cards, right?

#12
iLeopod

iLeopod

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 435 posts
  • Gender:Male
  • Location:Germany
  • Interests:ileopod.wordpress.com
For me its not even working with the internal 3rd party controller. (only test with USB 2) Maybe there are some further properties needed, the apple SSDTs have much more entries for XHCx.

#13
TimeWalker75a

TimeWalker75a

    InsanelyMac Legend

  • Gurus
  • 1,103 posts
  • Gender:Male
yeah, I believe it's not even working. Judging by OP screenshots it won't work for him either, so why share and make a fuss around it ?

#14
DoiX

DoiX

    Homo discens

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,130 posts
  • Gender:Male
  • Location:Terra
  • Interests:Photography, design, beer.
Well, i decided to connect a USB Stick and leave it for a while. This is what happened:

Attached File  Screen Shot 2012-08-03 at 7.06.28 PM.png   164.71KB   466 downloads
Attached File  Screen Shot 2012-08-03 at 7.07.04 PM.png   167.7KB   508 downloads

It gets detected but it's not mounted, any attempts of doing so results in this message:
Attached File  Screen Shot 2012-08-03 at 7.10.18 PM.png   172.19KB   330 downloads

And in the terminal it says "time out"

#15
TimeWalker75a

TimeWalker75a

    InsanelyMac Legend

  • Gurus
  • 1,103 posts
  • Gender:Male
Actually after applying this patch to my dsdt I lost all of the usb mass storage functionality, only HID and peripheral devices (printer, scaner) devices worked.
Mass storage devices would be detected (on regular usb 2.0 ports, not on the 3.0 though) but never got mounted. Forcing them to mount through Disk utility resulted in the same message as DoiX posted above...

#16
DoiX

DoiX

    Homo discens

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,130 posts
  • Gender:Male
  • Location:Terra
  • Interests:Photography, design, beer.
After some more time, it finally got mounted, on it's own.. but it's currently empty.

Console log reported it's getting a new UUID...

Update: Aaaaaand the contents are fully visible.
Update 2: Read/Write is painstakingly slow, gets stuck for a while on "preparing"
Update 3: I connected my iPhone, after a while itunes picked it, it seems behave better than the usb stick, however Image Capture isn't detecting it.

Edited by DoiX, 03 August 2012 - 06:00 PM.


#17
TimeWalker75a

TimeWalker75a

    InsanelyMac Legend

  • Gurus
  • 1,103 posts
  • Gender:Male
S

After some more time, it finally got mounted, on it's own.. but it's currently empty.

Console log reported it's getting a new UUID...

Update: Aaaaaand the contents are fully visible.
Update 2: Read/Write is painstakingly slow, gets stuck for a while on "preparing"
Update 3: I connected my iPhone, after a while itunes picked it, it seems behave better than the usb stick, however Image Capture isn't detecting it.

So how long did you have to wait for the thing to mount ?

#18
DoiX

DoiX

    Homo discens

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,130 posts
  • Gender:Male
  • Location:Terra
  • Interests:Photography, design, beer.
@TimeWalker, it seems random. Between 5 and 10 minutes, having the stick/device plugged in while booting the system reduces the time to 5 minutes, only constant i've found. Other than that 5 - 10 minutes.

I assume the kext needs to be patched, as it seems to enter some cyclic check function, hence the slow mounting/copying.

#19
oolll

oolll

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts

This quick dsdt edit seems to work. You can inject this via efi device properties too. Insert the device code wherever you have USB3 in your DSDT (find this using ioreg), naming each device XHC1, XHC2 etc...


Hi, this patch and ML 10.8.2 have enabled my etron ej168 usb 3.0.The problem is that sleep/wake cycle disables usb 3.0 again.
Addition to dsdt.aml didn't work as well.

"AAPL,current-available",
0x0834,
"AAPL,current-extra",
0x0898,
"AAPL,current-extra-in-sleep",
0x0640,
"AAPL,max-port-current-in-sleep",
0x0834,
"AAPL,device-internal",
0x00,
Thanks for any help.

#20
carbo178

carbo178

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,665 posts
  • Gender:Male
  • Location:Dalle paludi della Pianura Padana
Hi, I tried to enter the code in the DSDT for my mobo, but I could not do it, I don't understand where mistake.
I opened a topic in the Italian section enclosing DSDT and IOreg, if someone could take a look ...
Thanks in advance

P.S. Sorry for my bad English (google translate)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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