Jump to content

USB 3.0 card - ASM1042 OS X drivers from Highpoint(Mac)


mitch_de
 Share

72 posts in this topic

Recommended Posts

Yeah I get that too. From a quick look at some transfer speeds (to a slow hard disk) I think it's cosmetic. The attached drives seem to be running at the right speed, the port just isn't reporting the correct speed to the system.

 

Zenith's kext should fix that but I haven't been using it. The Oyen is good enough for my needs.

Link to comment
Share on other sites

If you say so ^_^ I didn't even check transfer speeds....Zenith's driver fixed it. I see two specific fixes for the ASM1042 in the topic, that can't be bad.

 

I also put back the cosmetic ASM1042 DSDT code, I can see it in ioreg, but not in System Information, Zenith's driver overrides it!

Strangely it also overrides Apple's Intel USB 3.0 driver, time will tell if that's good or bad. 

 

My P8Z77-V Pro Hack is shaping up nicely. Now to test S3 sleep again..it goes to sleep but I can't get it to wake up. Same old same old...

 

/EDIT

Ok.. S3 sleep/wake is now working now...it's a bit wonky though...there's more, but these are the on-topic messages from Console:

 

SaveControllerStateForSleep: xHC Save Error (when entering sleep mode)

RestoreControllerStateFromSleep: xHC Restore Error (after waking up)

 

My USB 3.0 flash drive doesn't auto-unmount when entering sleep.

Link to comment
Share on other sites

I don't use sleep here but drives aren't unmounted with the CalDigit or Oyen kexts either. As a result they're improperly ejected and remounted on wake.

 

You'll need a third party tool to take care of that. I've seen a few around.

 

Zenith's driver has some bootflags. Maybe one of those can help matters.

Link to comment
Share on other sites

I don't really use it either, I'm just chasing compatibility for compatibility's sake, it's my favorite part of the game.

Once everything works well..if that's possible..then the challenge is over and I win :P

 

Thanks for the nudges as always.

 

Checking out the other boot flags, alredy using the one that leaves EHCI alone on Z77.

  • Like 1
Link to comment
Share on other sites

  • 6 months later...

Someone know which value to hex edit in the binary to bypass the manufacturer protection ? To make it work with other brands (like modbin made for the Lacie kext aka PXHCD) ?

 

Thanks.

 

Can anyone tell the hex code which needs to be changed to bypass the manufacturer protection ?  Has anyone got the 10.9 CalDigit’s kext to work for ASM 1042, the plist edit/DSDT change doesn’t work for their 10.9 kexts .

Link to comment
Share on other sites

I didn't even know there were newer CalDigit kexts as I've been using the Oyen one all this time.

 

It seems the new one does have some kind of device lock. The kext loads fine with my DSDT edit (and presumably the plist one as well) but won't mount anything attached to it. So it probably needs a LaCie-style patch now.

 

The Oyen driver still works fine, even though they say on their site that Mavericks isn't supported.

Link to comment
Share on other sites

  • 1 year later...

Hello. This is one of the most helpful threads about USB3 but I still don't understand some things.

 

 

I'm using GenericUSBXHCI.kext (v1.2.8d9) because I don't know another way to get work my ASM1042 controller.

It's all OK, but it breaks sleep. Terminal says: 

kernel[0] <Notice>: Wake reason: PXSX PXSX
So I tried to use several ways to get sleep work but nothing helped. Only when I used -gux_nosleep in kernel flags sleep worked normally few times but now Terminal says: 

kernel[0] <Notice>: Wake reason: EHC1 XHC EHCI
As I understand I need to apply some patches to my DSDT with specific device id but I don't understand what exactly I need to do.

Can somebody explain me in step-by step guide how to get work sleep & ASMedia 1042 USB 3.0 Controller in Yosemite?

 

Here is my:

Terminal output

IOReg

DSDT

 

Kind Regards, Eugene.

Link to comment
Share on other sites

Just tried

-gux_defer_usb2 -gux_no_idle

nothing changes, computer immediately wakes up after going to sleep.

Jul  1 18:27:25 Eugenes-Mac-Pro kernel[0] <Notice>: Wake reason: EHC1 XHC EHCI 
Jul  1 18:31:04 Eugenes-Mac-Pro kernel[0] <Notice>: Wake reason: EHC1 XHC PXSX PXSX EHCI

First one when I'm using -gux_nosleep, as you can see it solves PXSX problem

The second one when I'm using only -gux_defer_usb2 -gux_no_idle

____

 

Please tell more about USB options in Clover. What options do you think can help?

Link to comment
Share on other sites

I moved forward with my experiments and patched my DSDT with this code 

into method label _DSM parent_adr 0x001D0000 remove_entry;
into device name_adr 0x001D0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package ()\n
        {\n
            "device-id", \n
            Buffer (0x04)\n
            {\n
                0x26, 0x1c, 0x00, 0x00\n
            }, \n
            "built-in", \n
            Buffer (One)\n
            {\n
                0x00\n
            }, \n
            "AAPL,clock-id", \n
            Buffer (One)\n
            {\n
                0x01\n
            }, \n
            "device_type", \n
            Buffer (0x05)\n
            {\n
                "EHCI"\n
            }, \n
            "AAPL,current-available", \n
            0x0834, \n
            "AAPL,current-extra", \n
            0x0898, \n
            "AAPL,current-extra-in-sleep", \n
            0x0640, \n
            "AAPL,device-internal",\n
            0x02,\n
            "AAPL,max-port-current-in-sleep",\n
            0x0834,  \n
            Buffer (One)\n
            {\n
                0x00\n
            }\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001A0000 remove_entry;
into device name_adr 0x001A0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package ()\n
        {\n
            "device-id", \n
            Buffer (0x04)\n
            {\n
                0x26, 0x1c, 0x00, 0x00\n
            }, \n
            "built-in", \n
            Buffer (One)\n
            {\n
                0x00\n
            }, \n
            "AAPL,clock-id", \n
            Buffer (One)\n
            {\n
                0x02\n
            }, \n
            "device_type", \n
            Buffer (0x05)\n
            {\n
                "EHCI"\n
            }, \n
            "AAPL,current-available", \n
            0x0834, \n
            "AAPL,current-extra", \n
            0x0898, \n
            "AAPL,current-extra-in-sleep", \n
            0x0640, \n
            "AAPL,device-internal",\n
            0x02,\n
            "AAPL,max-port-current-in-sleep",\n
            0x0834,  \n
            Buffer (One)\n
            {\n
                0x00\n
            }\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end

It seems that this has helped. OSX flawlessly goes to sleep and waking up. After waking all devices connected to USB 2.0 and 3.0 ports automatically reconnects and working

 

but at this point I can't wake up computer using keyboard or mouse, only by pressing Power Button. Is this normal?

Link to comment
Share on other sites

but at this point I can't wake up computer using keyboard or mouse, only by pressing Power Button. Is this normal?

 

Maybe.

If you use Hibernation mode, you can wake-up by power button.

 

Run this command in Terminal, and put the result here:

pmset -g | grep hibernatemode
Link to comment
Share on other sites

pmset -g | grep hibernatemode
 hibernatemode        0

abn0rmal.pdx

Try to deselect Add Clock Id in clover.
 
About #63 delete the code

 

Add Clock Id is NOT selected in Clover.

Link to comment
Share on other sites

hibernatemode 0 will save sleepimage only to RAM, this will be Sleep only.

Maybe is missing the _PWB method in your DSDT. IMO is not a problem wake-up via Power Button, since that your Sleep is working great.

Link to comment
Share on other sites

  • 2 months later...

Add Clock Id is NOT selected in Clover.

here

I moved forward with my experiments and patched my DSDT with this code 

            "AAPL,clock-id", \n
            Buffer (One)\n
            {\n
                0x01\n
            }, \n
 
but at this point I can't wake up computer using keyboard or mouse, only by pressing Power Button. Is this normal?

 

 

yes, with ClockID this is normal. 

Link to comment
Share on other sites

  • 3 months later...

I moved forward with my experiments and patched my DSDT...

 

It seems that this has helped. OSX flawlessly goes to sleep and waking up. After waking all devices connected to USB 2.0 and 3.0 ports automatically reconnects and working...

 

 

Does it work on El Capitan?

Link to comment
Share on other sites

 Share

×
×
  • Create New...