Jump to content

OS X compatible motherboard -> QUO


meklort
4,397 posts in this topic

Recommended Posts

For any variable changes in Defaults.plist to become active, you need to remove the corresponding variable because Oz will not override them (notice that the file name is Defaults.plist and not Default.plist).

 

Easiest way to clear nvram is :

 

Boot, at beep press F12, when you see screen to pick which partition to boot from  hit Command-Option-P-R (just like on a real Mac)

 

Tidbits

fmm-computer-name = computer name from Sharing panel ..


 

sudo nvram boot-args="-v kext-dev-mode=1"  as one example.    To clear this parameter do I make the quotes null?  sudo nvram boot-args="" or is it sudo nvram -d boot-args

 

 

sudo nvram boot-args=""  .. assigns a null string to the variable named boot-args

sudo nvram -d boot-args  .. -d = delete the variable

 

You cannot disable SIP (csrutil) from regular OS. Not permitted.

 

The way I  did it is that I have SIP toally disabled in my Defaults.plist as a failsafe precaution but I have re-enabled it by booting in Recovery OS.

For El Capitan : csrutil --without nvram

For Sierra PB: csrutil --without nvram --without kext

  • Like 1
Link to comment
Share on other sites

I compared IOACPIPlane defined ports from both our system and they are identical.

I have checked the limitations and matching properties of the kexts for iMac13,2 and MacMini6,2 and they are identical.

We have the same BIOS, thus we have the same DSDT

 

I could explain why the ports setup would be different between MacPro3,1 and our setups but I can find no explanation for a different behavior between our systems.

 

Going to see if they have a backplate adapter at the nearby comp store to externalize my ports on F_USB1 and F_USB2 to test it.

 

Are you sure that when you tested it, that it was done correctly and that the SMBIOS of iMac 13,2 was actually in effect ..in simple error in Defaults,plist would have caused the change to be rejected and would have defaulted to the BIOS value of MacPro3,1 .. (notices that the previous ioreg file (which I was not able to read) had MacPro in the name)

 

 

Another thing i found is that there seems to be more ports defined in DSDT that do actually exists ...now that is weird ..

Still digging ...

Link to comment
Share on other sites

I have a 13,1 setup. Only one of the 4 ports on F_USB1 and F_USB2 work. Both F_USB3 ports work. As I only need 2 ports for my front panel, I'm OK with just F_USB3 working.

My front panel is connected to F_USB30 port on the motherboard

 

So now looking at how things are matched...first looking at USB2/USB3 controller ..

 

in the XHCI kext ...

		<key>AppleUSBXHCIPPT</key>
		<dict>
			<key>CFBundleIdentifier</key>
			<string>com.apple.driver.usb.AppleUSBXHCIPCI</string>
			<key>IOClass</key>
			<string>AppleUSBXHCIPPT</string>
			<key>IOPCIPrimaryMatch</key>
			<string>0x1e318086</string>
			<key>IOPCITunnelCompatible</key>
			<true/>
			<key>IOProbeScore</key>
			<integer>1000</integer>
			<key>IOProviderClass</key>
			<string>IOPCIDevice</string>
		</dict>

and in IOReg we can see how it was matched

XHC1@14000000  <class AppleUSBXHCIPPT, id 0x100000220, registered, matched, active, busy 0 (1655 ms), retain 67>
    | |   |   | {
    | |   |   |   "IOClass" = "AppleUSBXHCIPPT"
    | |   |   |   "kUSBMuxEnabled" = Yes
    | |   |   |   "kUSBSleepPortCurrentLimit" = 2100
    | |   |   |   "IOPowerManagement" = {"ChildrenPowerState"=3,"DevicePowerState"=2,"CurrentPowerState"=3,"CapabilityFlags"=32768,"MaxPowerState"=3,"DriverPowerState"=0}
    | |   |   |   "IOProviderClass" = "IOPCIDevice"
    | |   |   |   "ports" = {"PRT6"={"UsbConnector"=3,"port"=<06000000>},"PRT3"={"UsbConnector"=3,"port"=<03000000>},"PRT7"={"UsbConnector"=3,"port"=<07000000>},"PRT4"={"UsbConnector"=3,"port"=<04000000>},"PRT1"={"UsbConnector"=3,"port"=<01000000>},"PRT8"={"UsbConnector"=3,"port"=<08000000>},"PRT5"={"UsbConnector"=3,"port"=<05000000>},"PRT2"={"UsbConnector"=3,"port"=<02000000>}}
    | |   |   |   "IOProbeScore" = 1000
    | |   |   |   "locationID" = 335544320
    | |   |   |   "name" = <"XHC1">
    | |   |   |   "64bit" = Yes
    | |   |   |   "kUSBWakePortCurrentLimit" = 2100
    | |   |   |   "device-properties" = {"acpi-path"="IOACPIPlane:/_SB/PCI0@0/XHC1@140000","AAPL,current-extra"=2200,"AAPL,device-internal"=0,"AAPL,max-port-current-in-sleep"=2100,"AAPL,current-extra-in-sleep"=1600,"acpi-device"="IOACPIPlatformDevice is not serializable","AAPL,current-available"=2100}
    | |   |   |   "IOPCIPrimaryMatch" = "0x1e318086"
    | |   |   |   "IOMatchCategory" = "IODefaultMatchCategory"
    | |   |   |   "CFBundleIdentifier" = "com.apple.driver.usb.AppleUSBXHCIPCI"
    | |   |   |   "port-count" = <08000000>
    | |   |   |   "IOGeneralInterest" = "IOCommand is not serializable"
    | |   |   |   "IOPCITunnelCompatible" = Yes
    | |   |   |   "controller-statistics" = {"kControllerStatIOCount"=788,"kControllerStatPowerStateTime"={"kPowerStateOff"="0ms (0%)","kPowerStateSleep"="0ms (0%)","kPowerStateOn"="1191925ms (86%)","kPowerStateSuspended"="187564ms (13%)"},"kControllerStatSpuriousInterruptCount"=5}
    | |   |   |   "kUSBSleepSupported" = Yes
    | |   |   | }

... more to come 

Link to comment
Share on other sites

That's the USB 3.0 bus surely? I have an addon panel bringing the USB30 connector to the front and the devices connected there and on the back panel are on the USB3.0 bus, device 1e31:8086.

Yes it is. Since all ports there seems to be working for everyone it is a good place to start... damnit wished I still had a Yosemite installed somewhere to check what has changed in the kext

now where do this  (in bold) comes from ...it actually does not show at all in the graphical IOReg I stumbbled upon it by browsing the raw file...

 

XHC1@14000000 <class AppleUSBXHCIPPT, id 0x100000220, registered, matched, active, busy 0 (1655 ms), retain 67>

| | | | {

| | | | "IOClass" = "AppleUSBXHCIPPT"

| | | | "kUSBMuxEnabled" = Yes

| | | | "kUSBSleepPortCurrentLimit" = 2100

| | | | "IOPowerManagement" = {"ChildrenPowerState"=3,"DevicePowerState"=2,"CurrentPowerState"=3,"CapabilityFlags"=32768,"MaxPowerState"=3,"DriverPowerState"=0}

| | | | "IOProviderClass" = "IOPCIDevice"

| | | | "ports" = {"PRT6"={"UsbConnector"=3,"port"=<06000000>},"PRT3"={"UsbConnector"=3,"port"=<03000000>},"PRT7"={"UsbConnector"=3,"port"=<07000000>},"PRT4"={"UsbConnector"=3,"port"=<04000000>},"PRT1"={"UsbConnector"=3,"port"=<01000000>},"PRT8"={"UsbConnector"=3,"port"=<08000000>},"PRT5"={"UsbConnector"=3,"port"=<05000000>},"PRT2"={"UsbConnector"=3,"port"=<02000000>}}

| | | | "IOProbeScore" = 1000

| | | | "locationID" = 335544320

| | | | "name" = <"XHC1">

...

| | | | "IOMatchCategory" = "IODefaultMatchCategory"

| | | | "CFBundleIdentifier" = "com.apple.driver.usb.AppleUSBXHCIPCI"

| | | | "port-count" = <08000000>

....

| | | | }

 

This is not how the ports are named in DSDT they are named HS01,HS02,HS03,HS04,SSp1,SSP2,SSP3,SSP4 ... :wallbash:

 

Digging .. I have a USB thumb drive plugged into what i believe to be HS01 in the DSDT let,s see

 

| | | +-o PRT1@14100000 <class AppleUSB20XHCIPort, id 0x10000023a, registered, matched, active, busy 0 (1654 ms), retain 15>

| | | | | {

...

| | | | | "device-properties" = {"acpi-device"="IOACPIPlatformDevice is not serializable","acpi-path"="IOACPIPlane:/_SB/PCI0@0/XHC1@140000/RHUB@0/HS01@1"}

..

| | | | | "name" = "PRT1"

| | | | | "port" = <01000000>

| | | | | }

| | | | |

| | | | +-o USB Flash Drive@14100000 <class IOUSBHostDevice, id 0x1000006cc, registered, matched, active, busy 0 (1654 ms), retain 24>

 

Interesting ... PRT1 is actually HS01  .... 

 

I have an idea but it is not compatible with SIP since it requires to edit the kext in S/L/E  ...but it will make a good demonstration if this works .. will try it in my macOS Sierra PB partition. The other option would be to use a custom DSDT but that is more tricky when you don't have another comp to boot from if you mess up things. 

Link to comment
Share on other sites

I tested my idea .. and it did nothing.. not a thing ...more digging required.

 

Ugraded the test partiton to PB2 .. guess what they made changes to the USB kext ...


Installed macOS Sierra PB2, everything working after install of TheKing Quo Audio update and FakeSMC with the latest Kext Utility. :thumbsup_anim:

Does Kext Utility puts FakeSMC in /Library/Extensions ?

Link to comment
Share on other sites

I tested my idead .. and it did nothing.. not a thing ...more digging required.

 

Ugraded the test partiton to PB2 .. guess what they made changes to the USB kext ...

Does Kext Utility puts FakeSMC in /Library/Extensions ?

No, in System/Library/Extensions.

Link to comment
Share on other sites

No good. 

This is only temporal until the devs update the Quo ROM to the changes in macOS Sierra.... anyway, if I remember well, on El Capitan you can't install the kexts on S/L/E, now you can do it.

Link to comment
Share on other sites

You can because..

a ) You disabled SIP .. (applies to El Capitan and up )

b )  It is BETA software,..  /S/L/E is reserved for Apple, they are not going back on this

 

You should install your own kext into /L/E (not /S/L/E). It is a good habit to take.

  • Like 1
Link to comment
Share on other sites

What we must do is to find the best option for our board...in the past it made sense to use the MacPro 3,1 for backward compatibility, but, at this moment, we must think about more modern systems as El Capitan and macOS Sierra.

 

Tried iMac13,2?

Link to comment
Share on other sites

Here is what I have figured out so far ... on my iMac13,2 SysDef

 

BackPanel

 

Headers

 

Notice that nothing has been discovered yet on EHC1 except the hub itself i see in IOReg ... 

Also I am using the notation EHC2 1/4 which means Controller EHC2 Port 1 (which is actually a built-in hub connected to Port 1) Port 4 on that Hub.. so we have found 6 ports on that hub so far.. that matches what is in DSDT from the XMAS BIOS

 

Are we not allowed to post <images> anymore ? .. always says that that file extension is not permitted ...

Link to comment
Share on other sites

Here you go clean ROM 167X for El Capitan:

 

Thanks very much Crusher!!!! all went smooth, not crashes...  :drool: I flashed that bios and installed succefully "el capitan", imessage and facetime did not work, but i dont need it. Just installed all programs i need (Office, AdobePS etc).

 

The only thing i noticed after flashing is that i cant see the bios splash screen... even selecting 5 seconds in bios timer/timing (dont remember how to call it :rofl: sorry).  Even after reflashing.

 

 

I want to know which others things i must check...

For example... i installed a GTX 650 TI, and it is recognized in system preferences. But i dont know if it is necessary/better to install nvidia web drivers.

 

Any help is appreciated and excuse my english  :thumbsup_anim:

Link to comment
Share on other sites

I think I remember reading that the splashscreen was removed some time ago ...


Can someone point me to a crash course about nvidia injection. I want to know what it is , why should i use it, why should I disable it ... please don't refer me to articles that tells you how to enable/disable it is all you can find while Googlin'

Link to comment
Share on other sites

Tried iMac13,2?

Yes, and MacPro 5,1 & 6,1; in the iMac's I lost USB ports 1 and 2 (internals) and in the MacPro's I lost all 3 ports....the only one, so far, who has worked is the Mac mini Server (Late 2012).

Link to comment
Share on other sites

Don't have my USB plate yet but digging deep into the IOReg file.. I am onto something... can't explain why yet but ...

Under EHC1, there is a Hub on Port 1 and underneath that hub
IronManJFF -> Port 1,3,8 (iMac13,2)
ElvieJoe -> Port 5,6,7,8 (MacMini6,2)

Gonna go have a deeper look into the kext ...

I don't see any difference (btw the kext is from 10.11.5)... can you ?
 
Mac Mini6,2

		<key>Macmini6,2-EHC1</key>
		<dict>
			<key>CFBundleIdentifier</key>
			<string>com.apple.driver.AppleUSBMergeNub</string>
			<key>IOClass</key>
			<string>AppleUSBMergeNub</string>
			<key>IONameMatch</key>
			<string>EHC1</string>
			<key>IOProviderClass</key>
			<string>AppleUSBEHCIPCI</string>
			<key>IOProviderMergeProperties</key>
			<dict>
				<key>kUSBMuxEnabled</key>
				<true/>
				<key>port-count</key>
				<data>
				AQAAAA==
				</data>
				<key>ports</key>
				<dict>
					<key>PRT1</key>
					<dict>
						<key>UsbConnector</key>
						<integer>255</integer>
						<key>port</key>
						<data>
						AQAAAA==
						</data>
					</dict>
				</dict>
			</dict>
			<key>model</key>
			<string>Macmini6,2</string>
		</dict>

iMac 13,2

		<key>iMac13,2-EHC1</key>
		<dict>
			<key>CFBundleIdentifier</key>
			<string>com.apple.driver.AppleUSBMergeNub</string>
			<key>IOClass</key>
			<string>AppleUSBMergeNub</string>
			<key>IONameMatch</key>
			<string>EHC1</string>
			<key>IOProviderClass</key>
			<string>AppleUSBEHCIPCI</string>
			<key>IOProviderMergeProperties</key>
			<dict>
				<key>kUSBMuxEnabled</key>
				<true/>
				<key>port-count</key>
				<data>
				AQAAAA==
				</data>
				<key>ports</key>
				<dict>
					<key>PRT1</key>
					<dict>
						<key>UsbConnector</key>
						<integer>255</integer>
						<key>port</key>
						<data>
						AQAAAA==
						</data>
					</dict>
				</dict>
			</dict>
			<key>model</key>
			<string>iMac13,2</string>
		</dict>

Update #1 they tell me i should get my USB plate tomorrow...

Update #2 I think I found out what ... need to find out how ..

    | |   | +-o EHC1@1d000000  <class AppleUSBEHCIPCI, id 0x10000021b, registered, matched, active, busy 0 (38 ms), retain 84>
    | |   |   +-o PRT1@1d100000  <class AppleUSBEHCIPort, id 0x10000026f, registered, matched, active, busy 0 (1 ms), retain 13>
    | |   |     +-o IOUSBHostDevice@1d100000  <class IOUSBHostDevice, id 0x1000002c3, registered, matched, active, busy 0 (1 ms), retain 28>
    | |   |       +-o AppleUSBHostLegacyClient  <class AppleUSBHostLegacyClient, id 0x1000002ca, !registered, !matched, active, busy 0, retain 8>
    | |   |       +-o AppleUSB20InternalIntelHub@1d100000  <class AppleUSB20InternalIntelHub, id 0x1000002cd, registered, matched, active, busy 0 (0 ms), retain 20>
    | |   |       | | {
    | |   |       | |   "IOProbeScore" = 90100
    | |   |       | |   "CFBundleIdentifier" = "com.apple.driver.usb.AppleUSBHub"
    | |   |       | |   "IOProviderClass" = "IOUSBHostDevice"
    | |   |       | |   "IOClass" = "AppleUSB20InternalIntelHub"
    | |   |       | |   "USBPortType" = 2
    | |   |       | |   "idProductArray" = (32,36)
    | |   |       | |   "IOMatchCategory" = "IODefaultMatchCategory"
    | |   |       | |   "port-count" = <08000000>
    | |   |       | |   "ports" = {"PRT1"={"UsbMux"="XHCA","port"=<01000000>,"portType"=0},"PRT3"={"UsbMux"="XHCC","port"=<03000000>,"portType"=0},"PRT8"={"port"=<08000000>,"portType"=2}}  /* I think this limits the ports ... ElvieJoe has none of that */
    | |   |       | |   "idVendor" = 32903
    | |   |       | |   "locationID" = 487587840
    | |   |       | | }
    | |   |       | | 
    | |   |       | +-o PRT1@1d110000  <class AppleUSB20InternalIntelHubPort, id 0x1000002d3, registered, matched, active, busy 0 (0 ms), retain 11>
    | |   |       | +-o PRT3@1d130000  <class AppleUSB20InternalIntelHubPort, id 0x1000002d4, registered, matched, active, busy 0 (0 ms), retain 11>
    | |   |       | +-o PRT8@1d180000  <class AppleUSB20InternalIntelHubPort, id 0x1000002d5, registered, matched, active, busy 0 (0 ms), retain 11>

Digging ...

Link to comment
Share on other sites

×
×
  • Create New...