Andres ZeroCross Posted October 28, 2015 Author Share Posted October 28, 2015 I am sorry, i can't do Hackintosh Activity right now. I have internet connection problem at my home. Maybe tommorow i can make experiment with latest El Capitan Beta seed 10.11.2 Link to comment Share on other sites More sharing options...
vonmolk Posted October 28, 2015 Share Posted October 28, 2015 Looks like they still haven't added the new iMac's to the USB kext's. I'll give 10.11.2 a shot when I get home from work. Link to comment Share on other sites More sharing options...
RehabMan Posted October 28, 2015 Share Posted October 28, 2015 Looks like they still haven't added the new iMac's to the USB kext's. I'll give 10.11.2 a shot when I get home from work. The new iMac14,1 does not use a USB port injector (according to ioreg). I think you're waiting for something to arrive that never will... Keep in mind, no port injector needed if ACPI is correct. Link to comment Share on other sites More sharing options...
vonmolk Posted October 28, 2015 Share Posted October 28, 2015 The new iMac14,1 does not use a USB port injector (according to ioreg). I think you're waiting for something to arrive that never will... Keep in mind, no port injector needed if ACPI is correct. Okay thank you I wasnt aware of that. Still trying to figure out how to get the ACPI correct so the USB ports are functional otherwise can't boot El Capitan from the usb drive I am using or if I boot from hard drive have a usable keyboard/mouse. Link to comment Share on other sites More sharing options...
RehabMan Posted October 28, 2015 Share Posted October 28, 2015 Okay thank you I wasnt aware of that. Still trying to figure out how to get the ACPI correct so the USB ports are functional otherwise can't boot El Capitan from the usb drive I am using or if I boot from hard drive have a usable keyboard/mouse. It is easier to build a port injector than to fix DSDT. It also lends toward having a completely hotpatch ACPI configuration (eg. no patched files in ACPI/patched). 2 Link to comment Share on other sites More sharing options...
Pike R. Alpha Posted October 28, 2015 Share Posted October 28, 2015 I don't like the requirement of external files, like (unsigned) kext. To me a patch ACPI table in the BIOS is far more superior. Link to comment Share on other sites More sharing options...
RehabMan Posted October 28, 2015 Share Posted October 28, 2015 I don't like the requirement of external files, like (unsigned) kext. To me a patch ACPI table in the BIOS is far more superior. To each his own. Link to comment Share on other sites More sharing options...
bomerr Posted October 29, 2015 Share Posted October 29, 2015 So, I was successfully able to boot the installer, using the ASMEDIA 1061 sata controller (El capitan installer on SATA drive)But obviously, I was unable to do anything once I got there, because -none- of the usb ports work (so no keyboard and mouse) I looked into getting a NEC usb2.0 card but I only have pcie 1x slots (no PCI). I've got a NEC usb3.0 card but I heard it doesn't work with el capitan? Damn the usb stack changes...This motherboard does have a built in compatible broadcom bluetooth controller though, maybe I can do this with a bluetooth keyboard... I'm not sure how to pair a bluetooth keyboard in the installer though. Did you try the USB 3.1 "teal" colored ports. USB 3.1 is not supported by the Z170 chipset so all the 3.1 ports on a motherboard are through an ASMedia Controller. Link to comment Share on other sites More sharing options...
Pike R. Alpha Posted October 30, 2015 Share Posted October 30, 2015 To each his own.But of course! @all, I checked the SATA registers and the ports are disabled, by the hardware... until you enable HotSwap in the BIOS. After that the port mappings (0x90) and control and status (0x94) registers are changed to enabled. 2 Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted October 30, 2015 Author Share Posted October 30, 2015 Update : it looks for Maxwell Nvidia Card need new "Nvidia Web Driver" after update to 10.11.2 It will restart with latest Nvidia Web Driver 10.11.1 PS : i have change "Required OS" for "nvdastartupweb.kext", but still restart. Keep waiting for new driver Link to comment Share on other sites More sharing options...
Cartson Posted October 30, 2015 Share Posted October 30, 2015 But of course! @all, I checked the SATA registers and the ports are disabled, by the hardware... until you enable HotSwap in the BIOS. After that the port mappings (0x90) and control and status (0x94) registers are changed to enabled. What's HowSwap in the BIOS, and how to enable it? Could you tell more detail,plz. Does this mean the Internal Sata in Z170 is working after enable HotSwap in the BIOS? Link to comment Share on other sites More sharing options...
Tightlovin Posted October 30, 2015 Share Posted October 30, 2015 Does this mean the Internal Sata in Z170 is working after enable HotSwap in the BIOS? of course it means hot swap sometimes it calls hot plug Link to comment Share on other sites More sharing options...
Pike R. Alpha Posted October 30, 2015 Share Posted October 30, 2015 What's HowSwap in the BIOS, and how to enable it? Could you tell more detail,plz. Does this mean the Internal Sata in Z170 is working after enable HotSwap in the BIOS? That depends on the BIOS but the error "still waiting for root device" is most likely caused by USB errors because when I wait long enough, then it finds the drive but it is utterly slow. Edit: For USB replace yours with this: Method (_PS0, 0, Serialized) // _PS0: Power State 0 { Store (MEMB, Local2) Store (PDBM, Local1) And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM) Store (Zero, D0D3) Store (XWMB, MEMB) Or (Local1, 0x02, PDBM) OperationRegion (MC11, SystemMemory, XWMB, 0x9000) Field (MC11, DWordAcc, Lock, Preserve) { Offset (0x580), // USB 3.0 Port-1 PC17, 32, Offset (0x590), // USB 3.0 Port-2 PC18, 32, Offset (0x5A0), // USB 3.0 Port-3 PC19, 32, Offset (0x5B0), // USB 3.0 Port-4 PC20, 32, Offset (0x5C0), // USB 3.0 Port-5 PC21, 32, Offset (0x5D0), // USB 3.0 Port-6 PC22, 32, Offset (0x5E0), // USB 3.0 Port-7 PC23, 32, Offset (0x5F0), // USB 3.0 Port-8 PC24, 32, Offset (0x600), // USB 3.0 Port-9 PC25, 32, Offset (0x610), // USB 3.0 Port-10 PC26, 32, Offset (0x80A4), // Power Management Control (PMCTRL_REG) , 28, AX28, 1, Offset (0x81C4), // USB2 PM Control (USB2PMCTRL_REG) , 2, CLK0, 1, , 3, CLK1, 1 } Store (One, AX28) Stall (0x33) Store (Zero, AX28) Store (Zero, CLK0) Store (Zero, CLK1) And (PC17, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-1 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC17) Sleep (0x65) And (PC17, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC17) } And (PC18, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-2 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC18) Sleep (0x65) And (PC18, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC18) } And (PC19, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-3 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC19) Sleep (0x65) And (PC19, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC19) } And (PC20, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-4 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC20) Sleep (0x65) And (PC20, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC20) } And (PC21, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-5 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC21) Sleep (0x65) And (PC21, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC21) } And (PC22, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-6 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC22) Sleep (0x65) And (PC22, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC22) } And (PC23, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-7 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC23) Sleep (0x65) And (PC23, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC23) } And (PC24, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-8 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC24) Sleep (0x65) And (PC24, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC24) } And (PC25, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-9 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC25) Sleep (0x65) And (PC25, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC25) } And (PC26, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-10 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC26) Sleep (0x65) And (PC26, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC26) } And (PDBM, 0xFFFFFFFFFFFFFFFD, PDBM) Store (Local2, MEMB) Store (Local1, PDBM) } 2 Link to comment Share on other sites More sharing options...
ammulder Posted October 30, 2015 Share Posted October 30, 2015 I checked the SATA registers and the ports are disabled, by the hardware... until you enable HotSwap in the BIOS. After that the port mappings (0x90) and control and status (0x94) registers are changed to enabled. I tried enabling SATA hot swap and it didn't help. I tried it on just the SATA port the SATA drive is on, and all SATA ports just for grins. I'm using an Asus Z170M-PLUS booting from a PCIe m.2 drive with OS X and Ubuntu, with a separate SATA drive attached just for testing. Even with the hot plug change, Ubuntu sees the SATA drive but OS X does not. (It shows up in IORegistryExplorer, but not in Finder or Disk Utility). For what it's worth, I also get this in the startup log (the SATA drive is plugged into SATA 5, e.g. PRT4): 10/29/15 9:16:41.654 PM configd[49]: timed out waiting for IOKit to quiesce 10/29/15 9:16:41.654 PM configd[49]: Busy services : 10/29/15 9:16:41.654 PM configd[49]: iMac17,1 [1, 60820 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert [1, 60777 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert/PCI0@0 [1, 60705 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI [3, 60701 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/GFX0@2 [1, 59801 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT0@17 [1, 60700 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT0@17/AppleIntelPchSeriesAHCI [1, 56146 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT0@17/AppleIntelPchSeriesAHCI/PRT4@4 [1, 56145 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT0@17/AppleIntelPchSeriesAHCI/PRT4@4/IOAHCIDevice@0 [!matched, 1, 56145 ms] Link to comment Share on other sites More sharing options...
Luke//power Posted October 30, 2015 Share Posted October 30, 2015 Pikeyboy my man, I love you. But your elusive explanations are making me lose my mind lol. That depends on the BIOS but the error "still waiting for root device" is most likely caused by USB errors because when I wait long enough, then it finds the drive but it is utterly slow.Edit: For USB replace yours with this: Method (_PS0, 0, Serialized) // _PS0: Power State 0 { Store (MEMB, Local2) Store (PDBM, Local1) And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM) Store (Zero, D0D3) Store (XWMB, MEMB) Or (Local1, 0x02, PDBM) OperationRegion (MC11, SystemMemory, XWMB, 0x9000) Field (MC11, DWordAcc, Lock, Preserve) { Offset (0x580), // USB 3.0 Port-1 PC17, 32, Offset (0x590), // USB 3.0 Port-2 PC18, 32, Offset (0x5A0), // USB 3.0 Port-3 PC19, 32, Offset (0x5B0), // USB 3.0 Port-4 PC20, 32, Offset (0x5C0), // USB 3.0 Port-5 PC21, 32, Offset (0x5D0), // USB 3.0 Port-6 PC22, 32, Offset (0x5E0), // USB 3.0 Port-7 PC23, 32, Offset (0x5F0), // USB 3.0 Port-8 PC24, 32, Offset (0x600), // USB 3.0 Port-9 PC25, 32, Offset (0x610), // USB 3.0 Port-10 PC26, 32, Offset (0x80A4), // Power Management Control (PMCTRL_REG) , 28, AX28, 1, Offset (0x81C4), // USB2 PM Control (USB2PMCTRL_REG) , 2, CLK0, 1, , 3, CLK1, 1 } Store (One, AX28) Stall (0x33) Store (Zero, AX28) Store (Zero, CLK0) Store (Zero, CLK1) And (PC17, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-1 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC17) Sleep (0x65) And (PC17, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC17) } And (PC18, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-2 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC18) Sleep (0x65) And (PC18, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC18) } And (PC19, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-3 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC19) Sleep (0x65) And (PC19, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC19) } And (PC20, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-4 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC20) Sleep (0x65) And (PC20, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC20) } And (PC21, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-5 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC21) Sleep (0x65) And (PC21, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC21) } And (PC22, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-6 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC22) Sleep (0x65) And (PC22, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC22) } And (PC23, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-7 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC23) Sleep (0x65) And (PC23, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC23) } And (PC24, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-8 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC24) Sleep (0x65) And (PC24, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC24) } And (PC25, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-9 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC25) Sleep (0x65) And (PC25, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC25) } And (PC26, 0xFFFFFFFFFFFFFFFD, Local1) // USB 3.0 Port-10 If (LEqual (And (Local1, 0x010203F9), 0x02E0)) { Or (Local1, 0x80000000, PC26) Sleep (0x65) And (PC26, 0xFFFFFFFFFFFFFFFD, Local1) Or (Local1, 0x00FE0000, PC26) } And (PDBM, 0xFFFFFFFFFFFFFFFD, PDBM) Store (Local2, MEMB) Store (Local1, PDBM) } Am I to understand that you've fixed usb? That's incredibly awesome. Link to comment Share on other sites More sharing options...
Micky1979 Posted October 30, 2015 Share Posted October 30, 2015 Update : it looks for Maxwell Nvidia Card need new "Nvidia Web Driver" after update to 10.11.2 It will restart with latest Nvidia Web Driver 10.11.1 PS : i have change "Required OS" for "nvdastartupweb.kext", but still restart. Keep waiting for new driver You can also try to leave it empty... Link to comment Share on other sites More sharing options...
Pike R. Alpha Posted October 30, 2015 Share Posted October 30, 2015 I tried enabling SATA hot swap and it didn't help. I tried it on just the SATA port the SATA drive is on, and all SATA ports just for grins. I'm using an Asus Z170M-PLUS booting from a PCIe m.2 drive with OS X and Ubuntu, with a separate SATA drive attached just for testing. Even with the hot plug change, Ubuntu sees the SATA drive but OS X does not. (It shows up in IORegistryExplorer, but not in Finder or Disk Utility). For what it's worth, I also get this in the startup log (the SATA drive is plugged into SATA 5, e.g. PRT4): ../..iMac17,1/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT0@17/AppleIntelPchSeriesAHCI/PRT4@4/IOAHCIDevice@0 [ [b]!matched[/b], 1, 56145 ms] The !matched part here jumps out. Clearly it is looking for something and it failed to locate it. I did find a rather weird looking looking _CID in the ACPI tables of the iMac17,1. Here. Give that a try on PRT4 Name (_CID, "hdd-power-off")The kext (forgot the name) also compares the device name with "Apple SSD" and when found it jumps to some location. @Luke//power, It's here for you to confirm or not of course 1 Link to comment Share on other sites More sharing options...
Luke//power Posted October 30, 2015 Share Posted October 30, 2015 The !matched part here jumps out. Clearly it is looking for something and it failed to locate it. I did find a rather weird looking looking one in the ACPI tables of the iMac17,1. Here. Give that a try on PRT4 Name (_CID, "hdd-power-off")@Luke//power, It's here for you to confirm or not of course Awesome, I'll try it very shortly. Thanks again for all your work! Edit: unfortunately, that didn't seem to make any difference for me. I tried all intel usb3 ports including both usb3 expansion headers, as well as usb2 ports. Going to do a little more testing though. Link to comment Share on other sites More sharing options...
ammulder Posted October 31, 2015 Share Posted October 31, 2015 The !matched part here jumps out. Clearly it is looking for something and it failed to locate it. I did find a rather weird looking looking _CID in the ACPI tables of the iMac17,1. Here. Give that a try on PRT4 Name (_CID, "hdd-power-off")The kext (forgot the name) also compares the device name with "Apple SSD" and when found it jumps to some location. Thanks for the suggestion. I tried adding that to PRT4. Now in IORegistryExplorer for PRT4 I see hdd-power-off / Number / 0x1 (and no such entry for any of the other ports, so it does seem to be the effect of the change). However, the drive still doesn't show in Disk Utility or Finder and the !matched message is still in the Console output. It's not actually an SSD, though I guess I will try one just to make sure that doesn't matter. It won't be named "Apple SSD" though, in any case. Though it looks like Apple ships a 1 TB 7200 RPM drive in the low-end Skylake configuration, so I would expect there's some way for a non-SSD to work... Link to comment Share on other sites More sharing options...
RehabMan Posted October 31, 2015 Share Posted October 31, 2015 I tried enabling SATA hot swap and it didn't help. I tried it on just the SATA port the SATA drive is on, and all SATA ports just for grins. I'm using an Asus Z170M-PLUS booting from a PCIe m.2 drive with OS X and Ubuntu, with a separate SATA drive attached just for testing. Even with the hot plug change, Ubuntu sees the SATA drive but OS X does not. (It shows up in IORegistryExplorer, but not in Finder or Disk Utility). For what it's worth, I also get this in the startup log (the SATA drive is plugged into SATA 5, e.g. PRT4): 10/29/15 9:16:41.654 PM configd[49]: timed out waiting for IOKit to quiesce 10/29/15 9:16:41.654 PM configd[49]: Busy services : 10/29/15 9:16:41.654 PM configd[49]: iMac17,1 [1, 60820 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert [1, 60777 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert/PCI0@0 [1, 60705 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI [3, 60701 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/GFX0@2 [1, 59801 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT0@17 [1, 60700 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT0@17/AppleIntelPchSeriesAHCI [1, 56146 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT0@17/AppleIntelPchSeriesAHCI/PRT4@4 [1, 56145 ms] 10/29/15 9:16:41.654 PM configd[49]: iMac17,1/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT0@17/AppleIntelPchSeriesAHCI/PRT4@4/IOAHCIDevice@0 [!matched, 1, 56145 ms] These logs are from the driver (kext) crashing/hanging, and IOKit getting tired of waiting during the probe/start process... I've done it several times myself while writing kexts... If you look at Activity Monitor, you probably have kernel_task quite busy... unless the driver is in a blocking wait state for an event that isn't happening for some reason [like interrupts]), then it will still hang, IOKit will still timeout, but it won't be using CPU cycles. Link to comment Share on other sites More sharing options...
Pike R. Alpha Posted October 31, 2015 Share Posted October 31, 2015 Tip: There are two things that you may want to do. First. Fix the _UPC objects in your ACPI table. You can do that by correcting the objects in your DSDT orSSDT, or with help of a tiny SSDT like so: Scope (\_SB.PCI0.XHC.RHUB.HS01) { Method (_INI, 0, NotSerialized) { Store (0x3, Index (_UPC, 1)) // USB 3 Standard-A connector } } Note: Use the correct hub and device names! Only use 0xFF (Proprietary connector) for your Bluetooth PCIe card and other internal devices. Another thing is that all devices that use something like this: Device (SS01) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), Zero)) } } Are not showing up in IORegistryExplorer. Either because Apple don't want a Method, but we can change this to: Device (SS01) { Name (_ADR, 0, Zero) // _ADR: Address } Or because the port exceeds the maximum number of supported ports (15). If this is not the case then this may help, but you have to use the correct value. That may be a little difficult, but let's look at this snippet: Method (SSPA, 0, Serialized) { If (LEqual (PCHV (), SPTH)) { Return (0x11) } Else { Return (0x0D) } } And another snippet: Name (SPTH, One) Name (SPTL, 0x02) Method (PCHV, 0, NotSerialized) { If (LEqual (PCHS, One)) { Return (SPTH) } If (LEqual (PCHS, 0x02)) { Return (SPTL) } Return (Zero) } So SPTH is 'One' and now look at this snippet: If (LEqual (PCHV (), SPTH)) { Scope (_SB.PCI0.XHC.RHUB) { Device (HS11) { Name (_ADR, 0x0B) // _ADR: Address } Device (HS12) { Name (_ADR, 0x0C) // _ADR: Address } Device (HS13) { Name (_ADR, 0x0D) // _ADR: Address } Device (HS14) { Name (_ADR, 0x0E) // _ADR: Address } Device (SS07) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x06)) } } Device (SS08) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x07)) } } Device (SS09) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x08)) } } Device (SS10) { Method (_ADR, 0, NotSerialized) // _ADR: Address { Return (Add (SSPA (), 0x09)) } } } } If you don't see these Device in IORegistryExplorer, then Method PCHV returns anything but 'One' so the value you should use is 0xd plus what you find in this line under each Device: Return (Add (SSPA (), 0x06)) In this case it's 0xd + 0x6 = 0x13 which means that you may exceed the maximum number of supported USB port (15) and then you will need to patch the kext, to lift this restriction. I think you can learn how to do that in one of the other USB threads in this forum. Good luck and have fun hacking! Link to comment Share on other sites More sharing options...
Pike R. Alpha Posted October 31, 2015 Share Posted October 31, 2015 I don't think that you have the right (USB) kexts. Let's verify this. Open a terminal window and enter: cd /S*/L*/Extensionsgrep -r 'AppleUSBXHCISPT' .If it fails to locate the string, then I'm afraid that you don't have the correct version of El Capitan. What you could do next is to remove all El Capitan installers and re-download it from the App Store, but make sure that you use iMac17,1 as model and Mac-65CE76090165799A, or Mac-B809C3757DA9BB8D or Mac-DB15BD556843C820 as your board-id. Edit: Anyone else here getting the: "unsupported speed mantissa [1248/2496/4992] exponent 2" errors in system.log? Note: The above values match up with bit 31:16 in the Intel Series 100 datasheet (volume 2) on page 1024, 1025 and 1026 XECP_SUPP_USB3_3 (XECP_SUPP_USB3_3)—Offset 8030h XECP_SUPP_USB3_4 (XECP_SUPP_USB3_4)—Offset 8034h XECP_SUPP_USB3_4 (XECP_SUPP_USB3_5)—Offset 8038h I am going to disable them, or try to disable the offending ports with help of the registers on page 1054. Link to comment Share on other sites More sharing options...
ammulder Posted November 1, 2015 Share Posted November 1, 2015 I don't think that you have the right (USB) kexts. Let's verify this. ... Edit: Anyone else here getting the: "unsupported speed mantissa [1248/2496/4992] exponent 2" errors in system.log? It looks like the string you suggest searching for is present on 10.11.1 but absent on the 10.11.2 Public Beta. I also saw the unsupported speed mantissa message once, though it doesn't seem to be happening to me at the moment. I have not tried the USB fixes above yet. Link to comment Share on other sites More sharing options...
Pike R. Alpha Posted November 1, 2015 Share Posted November 1, 2015 It looks like the string you suggest searching for is present on 10.11.1 but absent on the 10.11.2 Public Beta.And even then only in a binary, not in any plist, correct? I also saw the unsupported speed mantissa message once, though it doesn't seem to be happening to me at the moment. I have not tried the USB fixes above yet.The USB speed is switched back to keyboard speed, because it works, and finds the USB thumb drive, but it just takes ages. Almost literal. Wait a minute. I haven't checked the CPU speed. Let me verify that right now. For now. Just ignore the (DSDT) changes. I'll report here when it actually works. Link to comment Share on other sites More sharing options...
ammulder Posted November 1, 2015 Share Posted November 1, 2015 And even then only in a binary, not in any plist, correct? I got it on 10.11.1 on IOUSBHOSTFamily.kext/Contents/PlugIns/AppleUSBXHCIPCI.kext/Contents/Info.plist: <key>AppleUSBXHCISPT1</key> and a couple more lines. Also in the binary IOUSBHOSTFamily.kext/Contents/PlugIns/AppleUSBXHCIPCI.kext/Contents/MacOS/AppleUSBXHCIPCI Link to comment Share on other sites More sharing options...
Recommended Posts