Jump to content
arun94

skylake P-states not working [help]

24 posts in this topic

Recommended Posts

I am trying to enable low power states in my laptop cpu using ssdtPRgen script. I got 17 p-states in IOregexplorer and no igpu states.

only 9 p-states working and cpu rarely idles.

 

am I doing something wrong or should I use this instead?

CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 400 MHz
CPU Maximum non-Turbo Frequency....: 2000 MHz
CPU Maximum Turbo Frequency........: 2000 MHz

IGPU Info:
------------------------------------
IGPU Current Frequency.............:    0 MHz
IGPU Minimum Frequency.............:  300 MHz
IGPU Maximum Non-Turbo Frequency...:  300 MHz
IGPU Maximum Turbo Frequency.......:  900 MHz
IGPU Maximum limit.................: No Limit

CPU P-States [ (5) 19 20 ] iGPU P-States [ ]
CPU P-States [ (5) 14 19 20 ] iGPU P-States [ ]
CPU P-States [ (5) 14 16 19 20 ] iGPU P-States [ ]
CPU P-States [ (5) 12 14 16 19 20 ] iGPU P-States [ ]
CPU P-States [ (5) 12 13 14 16 19 20 ] iGPU P-States [ ]
CPU P-States [ (5) 12 13 14 16 18 19 20 ] iGPU P-States [ ]
CPU P-States [ (5) 10 12 13 14 16 18 19 20 ] iGPU P-States [ ]

power.jpg

edit1:this cpu always spends time at 400~500 Mhz at idle in linux.

ioreg.zip

CLOVER.zip

Share this post


Link to post
Share on other sites
Advertisement

I finally removed ssdt.aml generated by script and used HWP kext. now I got 17 states fully working fully with working IGPU states. 

CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 400 MHz
CPU Maximum non-Turbo Frequency....: 2000 MHz
CPU Maximum Turbo Frequency........: 2000 MHz

IGPU Info:
------------------------------------
IGPU Current Frequency.............:    0 MHz
IGPU Minimum Frequency.............:  300 MHz
IGPU Maximum Non-Turbo Frequency...:  300 MHz
IGPU Maximum Turbo Frequency.......:  900 MHz
IGPU Maximum limit.................: No Limit

CPU P-States [ (5) 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 (5) 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 (5) 9 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 (5) 7 9 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 18 (20) ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 17 18 (20) ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 17 18 19 (20) ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 17 18 19 (20) ] iGPU P-States [ (18) ]
CPU P-States [ 4 5 7 9 14 15 17 18 19 (20) ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 7 9 10 14 15 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 5 7 9 10 11 14 15 17 18 19 (20) ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 7 8 9 10 11 14 15 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 5 7 8 9 10 11 (13) 14 15 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 7 8 9 10 11 13 14 15 16 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 13 14 15 16 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ] iGPU P-States [ (18) ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 (20) ] iGPU P-States [ (6) 18 ]

post ur config.plist here

config.plist.zip

Share this post


Link to post
Share on other sites

ur system is sierra?

yes. after using HWP value 0x94001401. I got more GPU p-states.

CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 400 MHz
CPU Maximum non-Turbo Frequency....: 2000 MHz
CPU Maximum Turbo Frequency........: 2000 MHz

IGPU Info:
------------------------------------
IGPU Current Frequency.............:    0 MHz
IGPU Minimum Frequency.............:  300 MHz
IGPU Maximum Non-Turbo Frequency...:  300 MHz
IGPU Maximum Turbo Frequency.......:  900 MHz
IGPU Maximum limit.................: No Limit

CPU P-States [ (5) 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 (5) 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 (5) 9 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 (5) 7 9 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 18 (20) ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 17 18 (20) ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 17 18 19 (20) ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 17 18 19 (20) ] iGPU P-States [ (18) ]
CPU P-States [ 4 5 7 9 14 15 17 18 19 (20) ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 7 9 10 14 15 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 5 7 9 10 11 14 15 17 18 19 (20) ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 7 8 9 10 11 14 15 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 5 7 8 9 10 11 (13) 14 15 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 7 8 9 10 11 13 14 15 16 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 13 14 15 16 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ] iGPU P-States [ (18) ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 (20) ] iGPU P-States [ (6) 18 ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 (20) ] iGPU P-States [ 6 18 (21) ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 (18) 19 20 ] iGPU P-States [ 6 18 21 ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 (16) 17 18 19 20 ] iGPU P-States [ 6 18 21 (30) ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 (19) 20 ] iGPU P-States [ 6 18 21 (24) 30 ]

Thanks Mald0n.

Share this post


Link to post
Share on other sites

try with config.plist with correct smbios MacBookPro13,x

removed HWP, removed ssdt and added smbios MacBook Pro 13,1

got no c states and only few p states.

 

CPU P-States [ (4) 9 10 11 12 13 14 15 16 17 18 19 20 ] iGPU P-States [ 18 21 ]

 

config.plist.zip

ioreg.zip

Share this post


Link to post
Share on other sites

u need smbios macbookpro13,1 + SSDT or HWP

 

i use SSDT and work great, but fot notebook i think the best is HWP, power saving is amazin'


post ur full clover folder with ssdt here, ill check

Share this post


Link to post
Share on other sites

u need smbios macbookpro13,1 + SSDT or HWP

 

i use SSDT and work great, but fot notebook i think the best is HWP, power saving is amazin'

post ur full clover folder with ssdt here, ill check

 

added ssdt-pr.aml tiny SSDT, installed com.apple.driver.X86PlatformPlugin. copied Mac-66E35819EE2D0D05.plist to /S/L/E/X86platformplugin/Contents/Resources/.

 

still I don't have C states.


CPU Ratio Info:

------------------------------------

CPU Low Frequency Mode.............: 400 MHz

CPU Maximum non-Turbo Frequency....: 2000 MHz

CPU Maximum Turbo Frequency........: 2000 MHz

 

IGPU Info:

------------------------------------

IGPU Current Frequency.............:    0 MHz

IGPU Minimum Frequency.............:  300 MHz

IGPU Maximum Non-Turbo Frequency...:  300 MHz

IGPU Maximum Turbo Frequency.......:  900 MHz

IGPU Maximum limit.................: No Limit

 

CPU P-States [ 17 (20) ] iGPU P-States [ ]

CPU P-States [ (5) 17 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 9 17 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 9 15 17 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 9 13 15 17 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 6 9 13 15 17 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 6 7 9 13 15 17 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 6 7 9 13 15 17 18 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 6 7 9 10 13 15 17 18 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 6 7 9 10 13 15 16 17 18 19 20 ] iGPU P-States [ ]

CPU P-States [ 5 6 7 (8) 9 10 13 14 15 16 17 18 19 20 ] iGPU P-States [ ]

CPU P-States [ 4 (5) 6 7 8 9 10 13 14 15 16 17 18 19 20 ] iGPU P-States [ ]

CPU P-States [ 4 (5) 6 7 8 9 10 12 13 14 15 16 17 18 19 20 ] iGPU P-States [ ]

CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 (20) ] iGPU P-States [ ]

CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 (20) ] iGPU P-States [ (18) ]

CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 (20) ] iGPU P-States [ 18 (21) ]

CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 (20) ] iGPU P-States [ 18 21 ]

Mac-66E35819EE2D0D05.plist.zip

CLOVER.zip

ioreg.zip

Share this post


Link to post
Share on other sites

i think all HPs needs Lapic fix, the Clover have Patch, just check

Check

config.plist.zip

Removed CPUs=1 and applied kernel lapic.

CPU P-States [ (5) 6 14 ] iGPU P-States [ ]
CPU C3-Cores [ 1 2 3 ]
CPU P-States [ 5 6 10 14 (15) ] iGPU P-States [ ]
CPU C3-Cores [ 0 1 2 3 ]
CPU P-States [ (5) 6 7 10 14 15 ] iGPU P-States [ (18) ]
CPU P-States [ 5 6 7 10 14 15 (20) ] iGPU P-States [ 18 ]
CPU P-States [ 5 6 7 10 (13) 14 15 20 ] iGPU P-States [ 18 ]
CPU P-States [ 5 6 7 (8) 10 13 14 15 20 ] iGPU P-States [ 18 ]
CPU P-States [ (5) 6 7 8 9 10 13 14 15 20 ] iGPU P-States [ 18 ]
CPU P-States [ 5 6 7 8 9 10 (11) 13 14 15 20 ] iGPU P-States [ 18 ]
CPU P-States [ 5 6 7 8 9 10 11 13 14 15 (17) 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 13 14 15 17 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 12 13 14 15 17 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 17 (18) 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 5 6 7 (8) 9 10 11 12 13 14 15 17 18 20 ] iGPU P-States [ (6) 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 12 13 14 15 17 18 20 ] iGPU P-States [ 6 18 (21) ]
CPU P-States [ 4 5 6 7 (8) 9 10 11 12 13 14 15 17 18 20 ] iGPU P-States [ 6 18 21 (24) ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 12 13 14 15 17 18 20 ] iGPU P-States [ 6 18 21 24 ]

Share this post


Link to post
Share on other sites

 

Removed CPUs=1 and applied kernel lapic.

CPU P-States [ (5) 6 14 ] iGPU P-States [ ]
CPU C3-Cores [ 1 2 3 ]
CPU P-States [ 5 6 10 14 (15) ] iGPU P-States [ ]
CPU C3-Cores [ 0 1 2 3 ]
CPU P-States [ (5) 6 7 10 14 15 ] iGPU P-States [ (18) ]
CPU P-States [ 5 6 7 10 14 15 (20) ] iGPU P-States [ 18 ]
CPU P-States [ 5 6 7 10 (13) 14 15 20 ] iGPU P-States [ 18 ]
CPU P-States [ 5 6 7 (8) 10 13 14 15 20 ] iGPU P-States [ 18 ]
CPU P-States [ (5) 6 7 8 9 10 13 14 15 20 ] iGPU P-States [ 18 ]
CPU P-States [ 5 6 7 8 9 10 (11) 13 14 15 20 ] iGPU P-States [ 18 ]
CPU P-States [ 5 6 7 8 9 10 11 13 14 15 (17) 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 13 14 15 17 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 12 13 14 15 17 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 17 (18) 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 5 6 7 (8) 9 10 11 12 13 14 15 17 18 20 ] iGPU P-States [ (6) 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 12 13 14 15 17 18 20 ] iGPU P-States [ 6 18 (21) ]
CPU P-States [ 4 5 6 7 (8) 9 10 11 12 13 14 15 17 18 20 ] iGPU P-States [ 6 18 21 (24) ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 12 13 14 15 17 18 20 ] iGPU P-States [ 6 18 21 24 ]

take a test with Pike SSDT and HWP, compare both methods.

U use the last version of AppleIntelInfo.kext?

i think the last version is 2.5

AppleIntelInfo.kext.zip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By MaLd0n
      Nehalem, SandyBridge, IvyBridge, Haswell, Broadwell     Skylake, Kabylake and Coffeelake is here http://www.insanelymac.com/forum/topic/321872-guide-sierra-on-gigabyte-mobos-serie-200-kabylake-dsdt/   Mojave Full DSDT patch http://olarila.com/forum/viewtopic.php?f=59&t=6428   First...   ***Update bios to last available version!***   If you need a full patched DSDT...  -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation   --Create a bootable copy of macOS Sierra / High Sierra / Mojave   https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick   https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder https://olarila.com/files/Clover.Folder/CLOVER.SERIES.CHIPSET.zip   --Install Sierra/High Sierra and boot into system!   Post Installation --Install Clover and replace with my folder   https://olarila.com/files/Clover.Folder/CLOVER.SERIES.CHIPSET.zip   --Reboot and activate video!   Bingo!   Now you need a fine tune! DSDT time!   --DSDT   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -XXXX to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI
       
      --Power Management
      - 1 Generation Intel Processors, use Generate P and C States in config.plist
      - 2 and 3 Generations Intel Processors, Generate SSDT with Piker script and drop CpuPm and Cpu0Ist SSDTs
      ssdtPRGen.command.zip
      Credits-https://github.com/Piker-Alpha/ssdtPRGen.sh
      - 4 Generation+ Intel Processors, use PluginType=1 in DSDT, SSDT or Clover config.plist
       
      for check Power, Frequency, Temperature and Utilization, use it
       
      Install Intel Power Gadget.pkg.zip
       
      --Brightness
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
       
      --Clover
       
      https://sourceforge.net/projects/cloverefiboot/files/Installer/
       
      --AUDIO
       
      Use DSDT + AppleAlc
       
      --install Lan driver by Mieze
        -Atheros   http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel   http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek   http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   --Links   -FakeSMC   https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio   https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/314406-voodoohda-289/   -USB   https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads   It's time to Rock   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Apple, Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!  
    • By MaLd0n
      First... If you need DSDT edits... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Run it, post files generated in your desktop RunMe.app  Installation   --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder  CLOVER.zip   --Install Sierra/High Sierra and boot into system!   Post Installation   --Install Clover in HDD/SSD and replace with my folder CLOVER.zip   --Reboot and activate video!   -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/ -Nvidia WebDriver High Sierra http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/ -Cuda http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   -DSDT My DSDT DSDT.GA H97M-DS3P MaLd0n.zip   -Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -HDEF -RTC -IRQs -SBUS -MIKEY -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -EC -PNLF -HDMI





      -FakeSMC
      https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek -Audio https://github.com/vit9696/AppleALC -LAN https://github.com/Mieze/IntelMausiEthernet   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
    • By tluck
      Lenovo T460 macOS with Clover Guide
      Release v2018.06.05 on GitHub Updated to Clover r4513 Updated Lilu.kext - supports both Sierra and High Sierra Updated AppleALC.kext - supports both Sierra and High Sierra + added back DVMT patch for 10.13.2+ Updated VoodooPS2Controller.kext (RehabMan version) + SSDT updates for T460 Added Frank's T470p DSDT files
        Various Tweaks over Last months The zip file is a complete Clover ESP (/EFI) bundle and kext pack for the Lenovo T460. The current file bundle is tested on Sierra. 
      Note: I never got the GFX fully working on El Capitan. 
      Full Clover file set - config.plist etc. Includes all custom kexts Includes custom DSDT/SSDT scripts and patches Utility scripts The zip bundles are posted to GitHub: https://github.com/tluck/Lenovo-T460-Clover/releases
      Caveat: The T460 systems used here was configured with: i5-6300U, Intel HD Graphics 520, 1920x1080 touch screen. If you have a different system model, then extract the ACPI files and use the included scripts to create a set of files consistent with your system type and BIOS version. See below for details.
      Credits: RehabMan, Shmilee, vusun123, TimeWalker, Mieze from which, much of their work and help is/was was used to get the T460 to this point.
      Devices and aspects working:
      Ethernet -  Intel I219LM is enabled via IntelMausiEthernext.kext WiFi/BT - substitute the Intel WiFi/BT with a compatible Broadcom or Atheros chip Audio - ALC293 codec implemented via AppleALC.kext (old AppleHDA_ALC293 and CodecCommander kexts are not needed) PS2 - ClickPad + TrackPoint + all 3 buttons - using a modified VoodooPS2Controller to support new layouts - and added some custom Fn key maps based on 440/450 dsdt USB - implemented via custom SSDT + USBInjectAll kext. All USB3/USB2 ports are intel-based and work -  3 external USB and internal Camera, BT, etc  Sleep/Wake - the sleepwatcher package and custom sleep/wake scripts are used to help with sleep/wake for BT and PS2 devices. Note: have not tried to implement the SD card reader - no driver found.
      ACPI Files
      New Installation - Steps and Details
      Part 1 - OS Installation
      Part 2- Post OS Installation and Setup
      Notes on Custom Kexts
       
    • By rio2
      I recently installed High Sierra on my Ryzen system, just to find out how crappy the USB situation really is on AMD systems. The only choice is basically most of your ports flat out not working or GenericUSBXHCI crashing every time you pull out a thumbdrive. So after some trial and error here are my findings.
      The USB ports controlled by the XHCI controller on the SoC worked fine, but the ones attached to the chipset XHCI controller didn't.
      That's when I looked at the log and saw these lines:
      PTXH@00000000: AppleUSBXHCIPCI::createPorts: port 1 unsupported protocol USB 03.10 PTXH@00000000: AppleUSBXHCIPCI::createPorts: failed to allocate port 1 It turns out that for some reason the AppleXHCIPCI driver doesn't support the first two ports on the B350 chipset (made by ASMedia) USB controller. And after the driver fails to allocate port 1 it just stops and doesn't even look at the rest of the ports. So I first tried commenting out the first two ports from the DSDT and that worked and made all the other ports show app in the IOService tree. Than I quickly tested all the USB ports and it turns out that the 2 problematic ports aren't even wired to anything. But instead of editing the DSDT I wanted a cleaner solution, because I don't want to re-edit my DSDT every time I update the BIOS or change some BIOS settings.
       
      So here is my small SSDT that disables the stock PTXH device and adds a new device XHCI, that has all the ports needed for my board (ASUS PRIME B350-PLUS).
      DefinitionBlock ("SSDT-PRIME-B350-PLUS.aml", "SSDT", 1, "APPLE", "tinySSDT", 0x00000006) { External (\_SB_.PCI0.GPP2, DeviceObj) External (\_SB_.PCI0.GPP2.PTXH, DeviceObj) Scope (\_SB_.PCI0.GPP2.PTXH) { Name (_STA, Zero) } Scope (\_SB_.PCI0.GPP2) { Device (XHCI) { Name (_ADR, Zero) Device (RHUB) { Name (_ADR, Zero) // USB3.1 back panel Device (PRT1) { Name (_ADR, 0x5) Name (_UPC, Package (0x04) { 0xFF, 0x03, Zero, Zero }) } Device (PRT2) { Name (_ADR, 0x6) Name (_UPC, Package (0x04) { 0xFF, 0x03, Zero, Zero }) } // USB3.0 front panel Device (PRT3) { Name (_ADR, 0x7) Name (_UPC, Package (0x04) { 0xFF, 0x03, Zero, Zero }) } Device (PRT4) { Name (_ADR, 0x8) Name (_UPC, Package (0x04) { 0xFF, 0x03, Zero, Zero }) } // USB2.0 Device (PRT5) { Name (_ADR, 0x9) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRT6) { Name (_ADR, 0xa) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRT7) { Name (_ADR, 0xb) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRT8) { Name (_ADR, 0xc) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRT9) { Name (_ADR, 0xd) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } Device (PRTA) { Name (_ADR, 0xe) Name (_UPC, Package (0x04) { 0xFF, Zero, Zero, Zero }) } } } } } Please note that this is just an example and it most likely needs to be changed for your board.
    • By prince537
      Hello, I have set up a new desktop Mac and I have this problem. One of my fans is not working but in this picture is showing that you have two fans. could someone help me with this? I'm totally newb.

×