Contribute
Register

Dell 5378 idle freq at 0.8GHz only after sleep, or KP after sleep

Status
Not open for further replies.
Joined
Apr 6, 2014
Messages
13
Motherboard
Dell Inspiron 13" 5378-B40C/Clover
CPU
i7-7500U
Graphics
HD 620 @ 1920x1080
Mobile Phone
  1. Android
I have Mojave 10.14.4 on my Dell 13" 5378-B40C laptop (i7 7500U, Intel HD 620).

Almost everything works, except a few things:

1. I can't get idle frequency at 0.8GHz. It stays at 1.10GHz when I use ssdt.aml. It stays at 1.30GHz when I don't. It stays at 0.80GHz only after waking up from sleep - when sleep works.

2. Sleep is unstable. Sometimes it works, sometimes it doesn't. When it doesn't, computer turns off. When I turn it on, it shows a kernel panic message.

Could you please help me getting idle frequency at 0.80GHz for battery life purposes, and sleep to always work?
 

Attachments

  • ioReg.zip
    609.7 KB · Views: 59
  • kernel panic log.zip
    4.1 KB · Views: 66
  • kextcache.zip
    1.5 KB · Views: 71
  • patchmatic extracted files.zip
    52.1 KB · Views: 58
  • sleep 0.80.png
    sleep 0.80.png
    82.6 KB · Views: 55
  • sleep 1.10.png
    sleep 1.10.png
    126 KB · Views: 57
  • L E.zip
    2.6 MB · Views: 75
  • CLOVER.zip
    6 MB · Views: 100
I have Mojave 10.14.4 on my Dell 13" 5378-B40C laptop (i7 7500U, Intel HD 620).

Almost everything works, except a few things:

1. I can't get idle frequency at 0.8GHz. It stays at 1.10GHz when I use ssdt.aml. It stays at 1.30GHz when I don't. It stays at 0.80GHz only after waking up from sleep - when sleep works.

2. Sleep is unstable. Sometimes it works, sometimes it doesn't. When it doesn't, computer turns off. When I turn it on, it shows a kernel panic message.

Could you please help me getting idle frequency at 0.80GHz for battery life purposes, and sleep to always work?
you have PluginType in config.plist which is good

remove SSDT-PluginType1.aml and ssdt.aml

config.plist InjectKexts should be set to Detect

FakeSMC seems to be missing from /Library/Extensions

all kexts should be installed there

read up on the laptop guide, post 2 on installing kexts

next time use this tool and upload your problem reporting file
 
@Feartech

Thank you very much for your prompt reply!!!

I'll modify my system accordingly and will advise here after testing it.

------------------
EDIT: FakeSMC is not missing in /Library/Extensions, it is there.
 
@Feartech

I deleted the two .aml files you recommended. I changed config.plist InjectKexts to Detect. And I'm sure FakeSMC is correctly installed in /L/E.

But now, after rebooting, the keyboard, magic mouse and trackpad, none of them works. Although bluetooth is working, as well as wi-fi. I had to plug a USB keyboard/trackpad.

Could you please give me new directions from here?

Thanks!!!
 
@Feartech

I deleted the two .aml files you recommended. I changed config.plist InjectKexts to Detect. And I'm sure FakeSMC is correctly installed in /L/E.

But now, after rebooting, the keyboard, magic mouse and trackpad, none of them works. Although bluetooth is working, as well as wi-fi. I had to plug a USB keyboard/trackpad.

Could you please give me new directions from here?

Thanks!!!

sorry, just seen FakeSMC in /Library/Extensions
all the kexts you need should be installed to /library/Extensions
 
I installed all kexts to /L/E according to your instructions!

And used the recommended tool to generate the attached report file.

As per the attached screen capture, the idle frequency stays at 1.2GHz.

Now, 0.92GHz-0.97GHz idle freq can only be achieved after system sleep.

I already have injected X86PlatformPluginInjector.kext with edited parameter to achieve 0.8GHz, but for some reason it seems it makes no difference.
 

Attachments

  • debug_16010.zip
    1.6 MB · Views: 55
  • Captura de Tela 2019-03-31 às 11.02.04.png
    Captura de Tela 2019-03-31 às 11.02.04.png
    134.1 KB · Views: 46
Last edited:
and this is the kernel panic log just generated, after an unsuccessful wake up from sleep.

Code:
Anonymous UUID:       7A447AEE-1996-9BAD-ECCF-C458F327DF98

Sun Mar 31 11:49:05 2019

*** Panic Report ***
panic(cpu 2 caller 0xffffff80106dd16d): Kernel trap at 0xffffff7f93da2ddb, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x000000000000002c, CR3: 0x00000000260cf000, CR4: 0x00000000003626e0
RAX: 0xffffff820ee03d30, RBX: 0x0000000000000000, RCX: 0xffffff820ee03d30, RDX: 0x0000000000000000
RSP: 0xffffff820ee03c90, RBP: 0xffffff820ee03cf0, RSI: 0x0000000000000000, RDI: 0xffffff81be3f7000
R8:  0x0000000000000004, R9:  0x0000000000000000, R10: 0xffffff81de3c27a0, R11: 0x0000000000000000
R12: 0x0000000000000000, R13: 0xffffff81be3f7000, R14: 0x0000000000000004, R15: 0x0000000000000000
RFL: 0x0000000000010206, RIP: 0xffffff7f93da2ddb, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0x000000000000002c, Error code: 0x0000000000000000, Fault CPU: 0x2, PL: 0, VF: 1

Backtrace (CPU 2), Frame : Return Address
0xffffff820ee03760 : 0xffffff80105af82d mach_kernel : _handle_debugger_trap + 0x47d
0xffffff820ee037b0 : 0xffffff80106eb795 mach_kernel : _kdp_i386_trap + 0x155
0xffffff820ee037f0 : 0xffffff80106dcf4a mach_kernel : _kernel_trap + 0x50a
0xffffff820ee03860 : 0xffffff801055cae0 mach_kernel : _return_from_trap + 0xe0
0xffffff820ee03880 : 0xffffff80105af247 mach_kernel : _panic_trap_to_debugger + 0x197
0xffffff820ee039a0 : 0xffffff80105af093 mach_kernel : _panic + 0x63
0xffffff820ee03a10 : 0xffffff80106dd16d mach_kernel : _kernel_trap + 0x72d
0xffffff820ee03b80 : 0xffffff801055cae0 mach_kernel : _return_from_trap + 0xe0
0xffffff820ee03ba0 : 0xffffff7f93da2ddb com.apple.driver.AppleIntelKBLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController13RunAUXCommandEP21AppleIntelFramebufferP21AppleIntelDisplayPathPjtbhb + 0x2b
0xffffff820ee03cf0 : 0xffffff7f93da330e com.apple.driver.AppleIntelKBLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController7ReadAUXEP21AppleIntelFramebufferjtPvP21AppleIntelDisplayPath + 0xa6
0xffffff820ee03d80 : 0xffffff7f93da64fa com.apple.driver.AppleIntelKBLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController15logToAGDCGtraceE16FB_GTRACE_METHODP21AppleIntelFramebufferP21AppleIntelDisplayPathjjjjj + 0xa0
0xffffff820ee03e10 : 0xffffff7f93df1f98 com.apple.driver.AppleIntelKBLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController20invokeHotplugHandlerEj + 0x672
0xffffff820ee03e90 : 0xffffff7f93dcffb4 com.apple.driver.AppleIntelKBLGraphicsFramebuffer : __ZN31AppleIntelFramebufferController18SWInterruptHandlerEP8OSObjectP22IOInterruptEventSourcei + 0x198
0xffffff820ee03ed0 : 0xffffff8010c5947c mach_kernel : __ZN22IOInterruptEventSource12checkForWorkEv + 0x13c
0xffffff820ee03f30 : 0xffffff8010c57562 mach_kernel : __ZN10IOWorkLoop15runEventSourcesEv + 0x1e2
0xffffff820ee03f70 : 0xffffff8010c56abc mach_kernel : __ZN10IOWorkLoop10threadMainEv + 0x2c
0xffffff820ee03fa0 : 0xffffff801055c0ce mach_kernel : _call_continuation + 0x2e
      Kernel Extensions in backtrace:
         com.apple.driver.AppleIntelKBLGraphicsFramebuffer(12.0.8)[30DDA59F-0FAB-336E-86ED-6CCD113000BA]@0xffffff7f93d9f000->0xffffff7f93feffff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[54C3F778-4B95-3093-A51D-D761607C96CB]@0xffffff7f910ba000
            dependency: com.apple.iokit.IOACPIFamily(1.4)[7706F483-87AE-3F44-BCCA-09C156F4E031]@0xffffff7f910b1000
            dependency: com.apple.iokit.IOAcceleratorFamily2(404.8)[2B970BDA-3F88-31F1-9A04-D52B72F2D784]@0xffffff7f934cc000
            dependency: com.apple.iokit.IOReportFamily(47)[86DDD149-2800-3D3E-9914-3556918455F1]@0xffffff7f912f9000
            dependency: com.apple.AppleGraphicsDeviceControl(3.30.14)[61BA5741-B8B8-32F6-A4D1-051861B0294D]@0xffffff7f920d3000
            dependency: com.apple.iokit.IOGraphicsFamily(530.60)[9E233908-09E1-332E-AE9B-CB27D514707B]@0xffffff7f91d8d000

BSD process name corresponding to current thread: kernel_task
Boot args: dart=0 keepsyms=1 shikivga=40 kext-dev-mode=1

Mac OS version:
18E226

Kernel version:
Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64
Kernel UUID: 4170BF94-38B6-364F-A1B0-2F7C2C30F9A9
Kernel slide:     0x0000000010200000
Kernel text base: 0xffffff8010400000
__HIB  text base: 0xffffff8010300000
System model name: MacBookPro14,1 (Mac-B4831CEBD52A0C4C)

System uptime in nanoseconds: 2978534101188
last loaded kext at 1536964627324: com.apple.driver.AppleUSBAudio    315.6 (addr 0xffffff7f94117000, size 413696)
last unloaded kext at 1599457493821: com.apple.driver.usb.cdc    5.0.0 (addr 0xffffff7f94102000, size 28672)
loaded kexts:
com.paragon-software.filesystems.ntfs    59.4.15
com.no-one.BrcmPatchRAM2    2.2.7
com.no-one.BrcmFirmwareStore    2.2.7
com.intel.driver.EnergyDriver    3.5.5
org.rehabman.voodoo.driver.PS2Trackpad    1.9.2
org.rehabman.voodoo.driver.PS2Keyboard    1.9.2
at.obdev.nke.LittleSnitch    5267
org.rehabman.driver.FakePCIID    1.3.15
com.rehabman.driver.ACPIPoller    0.8.1
org.rehabman.voodoo.driver.PS2Controller    1.9.2
org.rehabman.driver.VoodooTSCSync    1.5.0
org.rehabman.driver.AppleSmartBatteryManager    1.81.3
as.vit9696.AppleALC    1.3.6
as.vit9696.WhateverGreen    1.2.7
as.vit9696.Lilu    1.3.5
com.rehabman.driver.USBInjectAll    0.7.1
org.netkas.driver.FakeSMC    1800
com.apple.fileutil    20.036.15
com.apple.driver.AudioAUUC    1.70
com.apple.driver.AppleBluetoothMultitouch    96
com.apple.filesystems.autofs    3.0
com.apple.driver.AGPM    110.25.2
com.apple.driver.ApplePlatformEnabler    2.7.0d0
com.apple.driver.X86PlatformShim    1.0.0
com.apple.driver.AppleHDA    282.54
com.apple.driver.AppleUpstreamUserClient    3.6.5
com.apple.driver.AppleMCCSControl    1.5.6
com.apple.driver.AppleGraphicsDevicePolicy    3.30.14
com.apple.AGDCPluginDisplayMetrics    3.30.14
com.apple.driver.AppleHV    1
com.apple.iokit.IOUserEthernet    1.0.1
com.apple.driver.AppleIntelKBLGraphics    12.0.8
com.apple.iokit.IOBluetoothSerialManager    6.0.11f4
com.apple.driver.AppleIntelKBLGraphicsFramebuffer    12.0.8
com.apple.driver.AppleOSXWatchdog    1
com.apple.driver.pmtelemetry    1
com.apple.Dont_Steal_Mac_OS_X    7.0.0
com.apple.driver.AppleIntelPCHPMC    2.0.1
com.apple.driver.AppleSMCLMU    212
com.apple.driver.AppleIntelSlowAdaptiveClocking    4.0.0
com.apple.filesystems.apfs    945.250.134
com.apple.driver.AppleVirtIO    2.1.3
com.apple.filesystems.hfs.kext    407.200.4
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
com.apple.BootCache    40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0
com.apple.AppleSystemPolicy    1.0
com.apple.driver.AirPort.Brcm4360    1400.1.1
com.apple.driver.AppleAHCIPort    329.200.2
com.apple.private.KextAudit    1.0
com.apple.driver.AppleACPIEC    6.1
com.apple.driver.AppleACPIButtons    6.1
com.apple.driver.AppleRTC    2.0
com.apple.driver.AppleHPET    1.8
com.apple.driver.AppleBacklight    170.12.11
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleAPIC    1.7
com.apple.nke.applicationfirewall    190
com.apple.security.TMSafetyNet    8
com.apple.driver.IOBluetoothHIDDriver    6.0.11f4
com.apple.driver.AppleMultitouchDriver    2440.7
com.apple.driver.AppleInputDeviceSupport    2440.2
com.apple.kext.triggers    1.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport    6.0.11f4
com.apple.iokit.IOBluetoothHostControllerUSBTransport    6.0.11f4
com.apple.iokit.IOBluetoothHostControllerTransport    6.0.11f4
com.apple.driver.DspFuncLib    282.54
com.apple.kext.OSvKernDSPLib    528
com.apple.driver.AppleSMBusController    1.0.18d1
com.apple.driver.AppleGraphicsControl    3.30.14
com.apple.iokit.IOAVBFamily    740.1
com.apple.plugin.IOgPTPPlugin    740.2
com.apple.iokit.IOEthernetAVBController    1.1.0
com.apple.iokit.IOSkywalkFamily    1
com.apple.driver.AppleSSE    1.0
com.apple.driver.AppleHDAController    282.54
com.apple.iokit.IOHDAFamily    282.54
com.apple.iokit.IOAcceleratorFamily2    404.8
com.apple.iokit.IOSurface    255.4.2
com.apple.iokit.IOBluetoothFamily    6.0.11f4
com.apple.driver.X86PlatformPlugin    9.9.9
com.apple.driver.IOPlatformPluginFamily    6.0.0d8
com.apple.AppleGPUWrangler    3.30.14
com.apple.AppleGraphicsDeviceControl    3.30.14
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.iokit.IOAudioFamily    206.5
com.apple.vecLib.kext    1.2.0
com.apple.driver.usb.networking    5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice    1.2
com.apple.iokit.IOSerialFamily    11
com.apple.filesystems.hfs.encodings.kext    1
com.apple.iokit.IOAHCIBlockStorage    301.250.5
com.apple.iokit.IO80211Family    1200.12.2
com.apple.driver.mDNSOffloadUserClient    1.0.1b8
com.apple.driver.corecapture    1.0.4
com.apple.driver.AppleIntelLpssI2CController    3.0.60
com.apple.driver.AppleIntelLpssDmac    3.0.60
com.apple.iokit.IOAHCIFamily    288
com.apple.driver.usb.AppleUSBXHCIPCI    1.2
com.apple.driver.usb.AppleUSBXHCI    1.2
com.apple.driver.AppleIntelLpssI2C    3.0.60
com.apple.driver.usb.AppleUSBHostPacketFilter    1.0
com.apple.iokit.IOUSBFamily    900.4.2
com.apple.driver.AppleEFINVRAM    2.1
com.apple.driver.AppleEFIRuntime    2.1
com.apple.iokit.IOSMBusFamily    1.1
com.apple.iokit.IOHIDFamily    2.0.0
com.apple.driver.AppleBacklightExpert    1.1.0
com.apple.iokit.IONDRVSupport    530.51
com.apple.iokit.IOGraphicsFamily    530.60
com.apple.security.quarantine    3
com.apple.security.sandbox    300.0
com.apple.kext.AppleMatch    1.0.0d1
com.apple.driver.DiskImages    493.0.0
com.apple.driver.AppleFDEKeyStore    28.30
com.apple.driver.AppleEffaceableStorage    1.0
com.apple.driver.AppleKeyStore    2
com.apple.driver.AppleUSBTDM    456.250.6
com.apple.driver.AppleMobileFileIntegrity    1.0.5
com.apple.iokit.IOUSBMassStorageDriver    145.200.2
com.apple.iokit.IOSCSIBlockCommandsDevice    408.250.3
com.apple.iokit.IOSCSIArchitectureModelFamily    408.250.3
com.apple.iokit.IOStorageFamily    2.1
com.apple.kext.CoreTrust    1
com.apple.driver.AppleCredentialManager    1.0
com.apple.driver.KernelRelayHost    1
com.apple.iokit.IOUSBHostFamily    1.2
com.apple.driver.usb.AppleUSBCommon    1.0
com.apple.driver.AppleBusPowerController    1.0
com.apple.driver.AppleSEPManager    1.0.1
com.apple.driver.IOSlaveProcessor    1
com.apple.iokit.IOTimeSyncFamily    740.2
com.apple.iokit.IONetworkingFamily    3.4
com.apple.iokit.IOReportFamily    47
com.apple.driver.AppleACPIPlatform    6.1
com.apple.driver.AppleSMC    3.1.9
com.apple.iokit.IOPCIFamily    2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.pthread    1
com.apple.kec.corecrypto    1.0
com.apple.kec.Libm    1

EOF
Model: MacBookPro14,1, BootROM 184.0.0.0.0, 2 processors, Intel Core i7, 2,90 GHz, 16 GB, SMC 2.43f6
Graphics: Intel HD Graphics 620, Intel HD Graphics 620, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 8 GB, DDR4, 2133 MHz, TEIKON, TMA81GS6AFR8N-UHSC
Memory Module: BANK 1/DIMM0, 8 GB, DDR4, 2133 MHz, TEIKON, TMA81GS6AFR8N-UHSC
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x19), Broadcom BCM43xx 1.0 (7.21.190.33 AirPortDriverBrcm4360-1325.2)
Bluetooth: Version 6.0.11f4, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: KINGSTON SA400S37240G, 240,06 GB
USB Device: USB 3.0 Bus
USB Device: BCM20702A0
USB Device: Integrated_Webcam_HD
Thunderbolt Bus:
 
Maybe you can also try CPUFriendDataProvider.kext providing the idle value to CPUFriend.kext (Lilu plugins)
With that kexts i went from 1.3 to 0.9
CPUFriendDataProvider.kext depends on CPU, there is a ResourceConverter.sh script for making so that you can experiment different values
Informations here :

and exemple here (post 2917 and after) :
 
thank you very much, @favoriti !

I will try that and report here my results.
 
@favoriti

I tried cpufriend and cpufrienddataprovider kexts. I tried the ones given on the example link you provided, and also tried the ones created by the script on this link:


no matter what I do, I can only achieve idle frequencies below 1.1GHz AFTER waking up from sleep.

do you know what would be the cause of that?
 
Status
Not open for further replies.
Back
Top