Jump to content

USB keyboard randomly stops working after wake


Alex740il
 Share

35 posts in this topic

Recommended Posts

Hello all. Hoping someone can help. After waking from deep sleep (several hours), keyboard doesn't work, only way to get it to work is to unplug and plug it back in. Attached debug files.

 

Intel Core i7-8700 3.2GHz 6-Core Processor
ASRock Fatal1ty Z370 Gaming-ITX/ac Mini ITX LGA1151 Motherboard
Corsair Force MP500 240GB M.2-2280 Solid State Drive
MSI Radeon RX 560 - 1024 4GB AERO ITX Video Card
Hobbypower BCM94360CS2/BCM943224PCIEBT2 Card To NGFF(M.2) Key A/E Adapter For Mac OS
Bestcompu New Airport WIFI Bluetooth Card Apple MacBook Air 13”A1466 Mid 2013/Early 2015

 

 

debug_32608.zip

  • Like 1
Link to comment
Share on other sites

Try

attachicon.gifCLOVER.zip

use uia_exclude=xxx with usbinjectall + xhci200series injector, 200/300 have a same id

dont need ssdt

u dont have power management, check if work now

send me new ioreg after reboot

 

I already have usbinjectalll and fakesmc in /S/L/E. Added xhci200series kext to /kext/Other in clover though. Attached is new IOreg. 

Alex’s iMac.ioreg.zip

Link to comment
Share on other sites

u can use all in clover/kexts/other, check here, i put all there

 

ill check ioreg


EDIT

u need use my full clover folder, have a correct patches, DSDT full edited, etc

 

use kexts in Clover/Kexts/Other or L/E or S/L/E, use only in one folder

Link to comment
Share on other sites

u can use all in clover/kexts/other, check here, i put all there

 

ill check ioreg

EDIT

u need use my full clover folder, have a correct patches, DSDT full edited, etc

 

use kexts in Clover/Kexts/Other or L/E or S/L/E, use only in one folder

 

Replaced my SSDT with your DSDT. New IOreg attached. I wasnt able to open your DSDT with maciASL, could you tell me what was changed and how to open it? Thanks!

Alex’s iMac.ioreg.zip

Link to comment
Share on other sites

use some patches in config.plist to avoid problem

GFX0 to IGPU
47465830 
49475055 

HDAS to HDEF
48444153 
48444546 

HECI to IMEI
48454349 
494d4549 

SAT0 to SATA
53415430 
53415441 

to open dsdt, use it, last version and acpi6,1

https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-MaciASL-2017-0117.zip

 

PM is working now

 

test sleep

Link to comment
Share on other sites

use some patches in config.plist to avoid problem

GFX0 to IGPU
47465830 
49475055 

HDAS to HDEF
48444153 
48444546 

HECI to IMEI
48454349 
494d4549 

SAT0 to SATA
53415430 
53415441 

to open dsdt, use it, last version and acpi6,1

https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-MaciASL-2017-0117.zip

 

PM is working now

 

test sleep

 

Thanks! Will test and let you know how it goes.. Need to work now.. heh. 

Link to comment
Share on other sites

use some patches in config.plist to avoid problem

GFX0 to IGPU
47465830 
49475055 

HDAS to HDEF
48444153 
48444546 

HECI to IMEI
48454349 
494d4549 

SAT0 to SATA
53415430 
53415441 

to open dsdt, use it, last version and acpi6,1

https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-MaciASL-2017-0117.zip

 

PM is working now

 

test sleep

Looks like I don't have any USB3 ports anymore. All are USB2. Do I still need to use my original SSDT?

Link to comment
Share on other sites

-go to System/Library/Extensions and remove 

FakeSMC
FakeSMC_CPUSensors
FakePCIID.kext
FakePCIID_Broadcom_WiFi
FakeSMC_GPUSensors
USBInjectAll.kext
FakePCIID_XHCIMux
FakeSMC_LPCSensors
FakePCIID_Intel_HD_Graphics
-run KextUtility after remove kexts
-replace folder(the folder have all kexts, etc, u dont need add nothing)
-Generate SSDT for PM, put in Clover/Acpi/Patched
 
i think all kexts work good in Clover/Kexts/Other, u dont need s/l/e, if u need use in Library/Extensions instead System/Library/Extensions
 
before it, u dont have native PM, x86 platform dont load, u need it ;)
 
btw, How did you extract the files above? nice extract :D
Link to comment
Share on other sites

 

-go to System/Library/Extensions and remove 

FakeSMC
FakeSMC_CPUSensors
FakePCIID.kext
FakePCIID_Broadcom_WiFi
FakeSMC_GPUSensors
USBInjectAll.kext
FakePCIID_XHCIMux
FakeSMC_LPCSensors
FakePCIID_Intel_HD_Graphics
-run KextUtility after remove kexts
-replace folder(the folder have all kexts, etc, u dont need add nothing)
-Generate SSDT for PM, put in Clover/Acpi/Patched
 
i think all kexts work good in Clover/Kexts/Other, u dont need s/l/e, if u need use in Library/Extensions instead System/Library/Extensions
 
before it, u dont have native PM, x86 platform dont load, u need it ;)
 
btw, How did you extract the files above? nice extract :D

 

 

Used this to create attached debug (https://github.com/black-dragon74/OSX-Debug).

 

Followed your steps to delete kexts from /S/L/E and replaced with your clover folder. Not able to generate SSDT because its an unknown CPU (Coffee Lake), its not supported by that script. 

Link to comment
Share on other sites

Oh

Use ipg ever

BT work good?

Yes it does actually. and I removed all the old kexts for the old DW1380 card, since I put in original (BCM94360CS2) using an m.2 adapter.. I had IPG, but forgot to look at it before making the post and before you mentioned it.. hah.. Will see how things go tonight/tomorrow morning with keyboard. 

 

On another topic, do you know if I can make display connection hot-plug? Right now if I disconnect or turn of display, I have reboot, image wont come back.. Or at least thats what it was before your edits, haven't tested since.. 

Link to comment
Share on other sites

Oh

Use ipg ever

BT work good?

 

Unfortunately, this morning KB was not working again, had to unplug USB and plug it back in. Also it looks like the computer crashed. Here is the error report.

Anonymous UUID:       F0EB599F-5DAF-378D-29A6-D452645695AF

Wed Jan 24 02:22:43 2018

*** Panic Report ***
panic(cpu 0 caller 0xffffff800df6f2e9): Kernel trap at 0xffffff7f948bd8c9, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0xffffff82010a6008, CR3: 0x0000000026e1b000, CR4: 0x00000000003627e0
RAX: 0x0000000000000000, RBX: 0xffffff81c084e000, RCX: 0x0000000000000000, RDX: 0x0000000000000100
RSP: 0xffffff9213153cc0, RBP: 0xffffff9213153d40, RSI: 0xffffff80442a0000, RDI: 0xffffff82010a6000
R8:  0x0000000000000000, R9:  0x0000000000000000, R10: 0x000010228349bcac, R11: 0x0000000000000000
R12: 0xffffff81c084e000, R13: 0x0000000000000000, R14: 0xffffff81c084e000, R15: 0x0000000000000000
RFL: 0x0000000000010246, RIP: 0xffffff7f948bd8c9, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0xffffff82010a6008, Error code: 0x0000000000000000, Fault CPU: 0x0, PL: 0, VF: 1

Backtrace (CPU 0), Frame : Return Address
0xffffff9213153770 : 0xffffff800de505f6 
0xffffff92131537c0 : 0xffffff800df7d604 
0xffffff9213153800 : 0xffffff800df6f0f9 
0xffffff9213153880 : 0xffffff800de02120 
0xffffff92131538a0 : 0xffffff800de5002c 
0xffffff92131539d0 : 0xffffff800de4fdac 
0xffffff9213153a30 : 0xffffff800df6f2e9 
0xffffff9213153bb0 : 0xffffff800de02120 
0xffffff9213153bd0 : 0xffffff7f948bd8c9 
0xffffff9213153d40 : 0xffffff7f948be26a 
0xffffff9213153d60 : 0xffffff7f8ea19662 
0xffffff9213153d90 : 0xffffff800e4929a8 
0xffffff9213153e00 : 0xffffff7f8ea196cc 
0xffffff9213153e60 : 0xffffff7f8ea1d940 
0xffffff9213153ee0 : 0xffffff800e0fc1d5 
0xffffff9213153fa0 : 0xffffff800de014f7 
      Kernel Extensions in backtrace:
         com.apple.iokit.IONetworkingFamily(3.4)[17D64D9A-AE76-391D-8C42-6DBC6686333B]@0xffffff7f8ea0f000->0xffffff7f8ea3efff
         com.insanelymac.IntelMausiEthernet(2.3)[7664CC46-C3FE-3D04-93EE-FC1E4EFBBFB7]@0xffffff7f948ba000->0xffffff7f948cdfff
            dependency: com.apple.iokit.IONetworkingFamily(3.4)[17D64D9A-AE76-391D-8C42-6DBC6686333B]@0xffffff7f8ea0f000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[C08F7FC1-78A4-3A1B-BFE2-C07080CF2048]@0xffffff7f8e694000

BSD process name corresponding to current thread: kernel_task
Boot args: -v dart=0 kext-dev-mode=1 -disablegfxfirmware shikigva=4

-rad4200 uia_exclude=HS01;HS02;HS07;HS12;HS13;SS01;SS02;SS09;SS10;USR1;USR2 

Mac OS version:
17C205

Kernel version:
Darwin Kernel Version 17.3.0: Thu Nov  9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64
Kernel UUID: 87641697-A3DD-30C4-B010-E65ECE57550B
Kernel slide:     0x000000000da00000
Kernel text base: 0xffffff800dc00000
__HIB  text base: 0xffffff800db00000
System model name: iMac18,2 (Mac-77F17D7DA9285301)

System uptime in nanoseconds: 17740417865862
last loaded kext at 11933888952741: com.apple.driver.AppleXsanScheme	3 (addr 0xffffff7f948f9000, size 32768)
last unloaded kext at 12251769759004: com.apple.driver.AppleXsanScheme	3 (addr 0xffffff7f948f9000, size 32768)
loaded kexts:
com.pikeralpha.driver.AppleIntelInfo	1
com.intel.driver.EnergyDriver	2.0
com.insanelymac.IntelMausiEthernet	2.3.0
as.vit9696.AppleALC	1.2.2
as.vit9696.WhateverGreen	1.1.4
org.netkas.driver.FakeSMC	1765
as.vit9696.Shiki	2.2.0
as.lvs1974.IntelGraphicsFixup	1.2.1
as.vit9696.Lilu	1.2.1
com.rehabman.driver.USBInjectAll	0.6.4
com.apple.filesystems.msdosfs	1.10
com.apple.filesystems.smbfs	3.2
com.apple.filesystems.autofs	3.0
com.apple.driver.AppleTopCaseHIDEventDriver	127
com.apple.driver.AppleMikeyHIDDriver	131
com.apple.driver.AppleUpstreamUserClient	3.6.4
com.apple.kext.AMDFramebuffer	1.6.0
com.apple.filesystems.ntfs	3.13
com.apple.driver.AppleMikeyDriver	280.12
com.apple.kext.AMDRadeonX4250	1.6.0
com.apple.driver.AppleGraphicsDevicePolicy	3.16.21
com.apple.AGDCPluginDisplayMetrics	3.16.2
com.apple.driver.X86PlatformShim	1.0.0
com.apple.driver.AGPM	110.23.24
com.apple.driver.ApplePlatformEnabler	2.7.0d0
com.apple.driver.AppleHDA	280.12
com.apple.driver.AppleHV	1
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.driver.eficheck	1
com.apple.iokit.IOBluetoothSerialManager	6.0.2f2
com.apple.driver.AppleLPC	3.1
com.apple.kext.AMD9500Controller	1.6.0
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.AppleOSXWatchdog	1
com.apple.driver.AppleSMCLMU	211
com.apple.driver.AudioAUUC	1.70
com.apple.driver.AppleIntelSlowAdaptiveClocking	4.0.0
com.apple.driver.AppleMCCSControl	1.5.3
com.apple.filesystems.apfs	748.31.8
com.apple.driver.AirPort.BrcmNIC	1220.28.1a3
com.apple.driver.AppleAHCIPort	329
com.apple.filesystems.hfs.kext	407.30.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless	1.0.0d1
com.apple.BootCache	40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0
com.apple.driver.AppleRTC	2.0
com.apple.driver.AppleHPET	1.8
com.apple.driver.AppleACPIButtons	6.1
com.apple.driver.AppleSMBIOS	2.1
com.apple.driver.AppleAPIC	1.7
com.apple.nke.applicationfirewall	183
com.apple.security.TMSafetyNet	8
com.apple.security.quarantine	3
com.apple.IOBufferCopyEngineTest	1
com.apple.kext.triggers	1.0
com.apple.driver.AppleActuatorDriver	1204.13
com.apple.driver.AppleMultitouchDriver	1204.13
com.apple.driver.AppleInputDeviceSupport	1201.8
com.apple.driver.AppleHSBluetoothDriver	127
com.apple.driver.IOBluetoothHIDDriver	6.0.2f2
com.apple.driver.AppleGraphicsControl	3.16.21
com.apple.driver.DspFuncLib	280.12
com.apple.kext.OSvKernDSPLib	526
com.apple.kext.AMDRadeonX4000HWLibs	1.0
com.apple.driver.AppleSSE	1.0
com.apple.iokit.IOAcceleratorFamily2	376.6
com.apple.iokit.IOSurface	209.2.2
com.apple.iokit.IONDRVSupport	517.22
com.apple.driver.X86PlatformPlugin	1.0.0
com.apple.driver.IOPlatformPluginFamily	6.0.0d8
com.apple.kext.AMDSupport	1.6.0
com.apple.iokit.IOSerialFamily	11
com.apple.driver.AppleHDAController	280.12
com.apple.iokit.IOHDAFamily	280.12
com.apple.driver.AppleSMBusPCI	1.0.14d1
com.apple.kext.AMDRadeonX4000HWServices	1.6.0
com.apple.AppleGPUWrangler	3.16.2
com.apple.AppleGraphicsDeviceControl	3.16.21
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.driver.AppleSMBusController	1.0.18d1
com.apple.iokit.IOGraphicsFamily	517.22
com.apple.iokit.IOAHCIBlockStorage	301.20.1
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport	6.0.2f2
com.apple.iokit.IOBluetoothHostControllerUSBTransport	6.0.2f2
com.apple.iokit.IOBluetoothHostControllerTransport	6.0.2f2
com.apple.iokit.IOBluetoothFamily	6.0.2f2
com.apple.driver.AppleUSBAudio	311.9
com.apple.iokit.IOAudioFamily	206.5
com.apple.vecLib.kext	1.2.0
com.apple.driver.usb.IOUSBHostHIDDevice	1.2
com.apple.driver.usb.networking	5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice	1.2
com.apple.driver.AppleUSBHostMergeProperties	1.2
com.apple.driver.usb.AppleUSBHub	1.2
com.apple.iokit.IONVMeFamily	2.1.0
com.apple.iokit.IO80211Family	1200.12.2
com.apple.driver.mDNSOffloadUserClient	1.0.1b8
com.apple.driver.corecapture	1.0.4
com.apple.iokit.IOAHCIFamily	288
com.apple.driver.usb.AppleUSBXHCIPCI	1.2
com.apple.driver.usb.AppleUSBXHCI	1.2
com.apple.filesystems.hfs.encodings.kext	1
com.apple.driver.AppleEFINVRAM	2.1
com.apple.driver.usb.AppleUSBHostPacketFilter	1.0
com.apple.iokit.IOUSBFamily	900.4.1
com.apple.iokit.IOSMBusFamily	1.1
com.apple.driver.AppleEFIRuntime	2.1
com.apple.iokit.IOHIDFamily	2.0.0
com.apple.security.sandbox	300.0
com.apple.kext.AppleMatch	1.0.0d1
com.apple.iokit.IOBufferCopyEngineFamily	1
com.apple.driver.DiskImages	480.30.2
com.apple.driver.AppleFDEKeyStore	28.30
com.apple.driver.AppleEffaceableStorage	1.0
com.apple.driver.AppleKeyStore	2
com.apple.driver.AppleUSBTDM	439.30.4
com.apple.driver.AppleMobileFileIntegrity	1.0.5
com.apple.iokit.IOUSBMassStorageDriver	140.30.1
com.apple.iokit.IOSCSIBlockCommandsDevice	404.30.2
com.apple.iokit.IOSCSIArchitectureModelFamily	404.30.2
com.apple.iokit.IOStorageFamily	2.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.IOReportFamily	31
com.apple.iokit.IOTimeSyncFamily	650.5
com.apple.iokit.IONetworkingFamily	3.4
com.apple.driver.AppleACPIPlatform	6.1
com.apple.driver.AppleSMCRTC	1.0
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.Libm	1
com.apple.kec.corecrypto	1.0

EOF
Model: iMac18,2, BootROM IM183.0151.B00, 6 processors, 3.19 GHz, 16 GB, SMC 2.40f0
Graphics: Radeon Pro 560, Radeon Pro 560, PCIe, 4 GB
Memory Module: BANK 0/DIMM0, 8 GB, DDR4, 2667 MHz, Corsair, CMK16GX4M2Z2666C16
Memory Module: BANK 1/DIMM0, 8 GB, DDR4, 2667 MHz, Corsair, CMK16GX4M2Z2666C16
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.77.37.5.1a3)
Bluetooth: Version 6.0.2f2, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
PCI Card: Intel Corporation, Series Chipset USB xHCI Host Controller, USB Controller, Built In
PCI Card: Intel Corporation, Series Chipset MEI Controller, IMEI Controller, Built In
PCI Card: Intel Corporation, Series Chipset SATA Controller, AHCI Controller, Built In
PCI Card: Radeon Pro 560, Display Controller, PCI Slot 0
PCI Card: Apple HDMI Audio Controller, HDMI Controller, Built In
PCI Card: Intel Corporation, Series Chipset PCHPMC Controller, PCHPMC Controller, Built In
PCI Card: Apple NVMe M2 Flash Drive, Storage Controller, Built In
PCI Card: Broadcom BCM43xx Wireless Network Adapter, AirPort Extreme, Built In
PCI Card: Apple High Definition Audio Controller, Audio Controller, Built In
PCI Card: Intel I219V2 PCI Express Gigabit Ethernet, Ethernet Controller, Built In
Serial ATA Device: Samsung SSD 850 EVO 500GB, 500.11 GB
USB Device: USB 3.0 Bus
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Microsoft® LifeCam HD-5000
USB Device: USB Keyboard
Thunderbolt Bus: 

Link to comment
Share on other sites

 Share

×
×
  • Create New...