Contribute
Register

VoodooI2C Help and Support

Status
Not open for further replies.
You can find kernel panics in /Library/Logs/DiagnosticReports with a .panic extension.

I still don't see the KP in console
Screen Shot 2019-10-23 at 3.14.32 AM.png
 
Hello, i cant´t get my Touchpad (ELAN0626) to work on Lenovo L340. I have followed the GPIO Pinning Guide
and applied the Windows 10 and the GPI0 enable Patch for Skylake+ in my DSDT.aml. My APIC Pin is 53.


Thanks in Advance
 

Attachments

  • debug.zip
    2.6 MB · Views: 82
Last edited:
So display rotation after a sleep/wake cycle remains an issue altough not so important one. I barely need it. However occcasional KPs while starting up and during sleep kept bugging me until I changed the Clover option InjectKexts to Yes. I also removed the I2C kexts from /L/E. Now it's more stable I think.

The logs show kernel: (VoodooI2C) VoodooI2CControllerDriver::VoodooI2CDeviceNub Warning: Incompatible APIC interrupt pin (0x33 > 0x2f) and no GPIO interrupts found; if your chosen satellite implements polling then VoodooI2CDeviceNub will run in polling mode. which probably means I didn't pick the right interrupt. Will have to look into the DSDT again...

Is there a way to find the right interrupt without this try-and-error procedure without guarantee for success?
 
I still don't see the KP in consoleView attachment 432148
Do you have NVRAM working properly?

So display rotation after a sleep/wake cycle remains an issue altough not so important one. I barely need it. However occcasional KPs while starting up and during sleep kept bugging me until I changed the Clover option InjectKexts to Yes. I also removed the I2C kexts from /L/E. Now it's more stable I think.

The logs show kernel: (VoodooI2C) VoodooI2CControllerDriver::VoodooI2CDeviceNub Warning: Incompatible APIC interrupt pin (0x33 > 0x2f) and no GPIO interrupts found; if your chosen satellite implements polling then VoodooI2CDeviceNub will run in polling mode. which probably means I didn't pick the right interrupt. Will have to look into the DSDT again...

Is there a way to find the right interrupt without this try-and-error procedure without guarantee for success?
You should patch for GPIO interrupts
 
I believe so, if not how can I check?
Set an NVRAM variable, reboot and see if it's still there
Make sure it's not emulated NVRAM (i.e using EmuVariableUefi).

Are you sure it's a kernel panic? Are you seeing a panic log?
Boot verbose and set "Don't reboot on panic" in the Clover boot options, you'll see the log on your screen once it panics.
 
Hi , here's my device list,and I uncertain whether it can be support.
CPU: i5-6300HQ
I2CHID device:
bios device name
\_SB.PCI0.I2C0.TPD1
hardware id
ACPI\VEN_ELAN&DEV_1010
PCI\VEN_8086&DEV_A160&SUBSYS_07061028&REV_31\3&11583659&0&A8

I just read the Installation note, as it said:
'pci8086,9d60', 'pci8086,9d61', 'pci8086,9d62' and 'pci8086,9d63' - Skylake era
does it mean's I can not get it work by voodooi2c control?
Many thanks.
 

Attachments

  • device.pdf
    244.9 KB · Views: 143
Last edited:
You should patch for GPIO interrupts
Yes I tried to follow that guide and from the log I see my devices run in the polling mode which actually works good enough but on the other hand I'm not quite sure if that may be causing those casual kernel panics. Sometimes the boot process stalls at initializing the SHUB device. So it's I2C making my system unstable.

Bottom line, my efforts were only partly successful.

Also I missed to consider that my Yoga has three I2C devices: the touchscreen, trackpad and the positions sensor. Are they all using the same interrupt? Is there anything that needs to be done with that regard or how is that? I'm afraid I didn't understand all the details yet...:confused:

Cheers
 
Set an NVRAM variable, reboot and see if it's still there
Make sure it's not emulated NVRAM (i.e using EmuVariableUefi).

Are you sure it's a kernel panic? Are you seeing a panic log?
Boot verbose and set "Don't reboot on panic" in the Clover boot options, you'll see the log on your screen once it panics.


I didn't do any of those commands, but somehow I got the KP now...

Code:
Anonymous UUID:       83516CD8-45F3-9248-403D-D7671471815A

Sun Oct 27 04:16:27 2019

*** Panic Report ***
panic(cpu 0 caller 0xffffff800c8dbadd): Kernel trap at 0xffffff7f900335cd, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000001a2fcda133, CR3: 0x0000000023135000, CR4: 0x00000000003626e0
RAX: 0xffffff8031c97518, RBX: 0x0000000000000001, RCX: 0x0000001a2fcda133, RDX: 0x0000000000000001
RSP: 0xffffff8129053e50, RBP: 0xffffff8129053ea0, RSI: 0x0000000000000400, RDI: 0xffffff80348e8360
R8:  0xffffff8120b6bd60, R9:  0x0000000000989680, R10: 0x0000000000000000, R11: 0xffffff800d1f2cc0
R12: 0x000000000000001f, R13: 0x0000000000000020, R14: 0x00000000000033b2, R15: 0xffffff8031c97480
RFL: 0x0000000000010246, RIP: 0xffffff7f900335cd, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0x0000001a2fcda133, Error code: 0x0000000000000000, Fault CPU: 0x0, PL: 0, VF: 1

Backtrace (CPU 0), Frame : Return Address
0xffffff8129053920 : 0xffffff800c7ae6ed mach_kernel : _handle_debugger_trap + 0x47d
0xffffff8129053970 : 0xffffff800c8ea185 mach_kernel : _kdp_i386_trap + 0x155
0xffffff81290539b0 : 0xffffff800c8db8ba mach_kernel : _kernel_trap + 0x50a
0xffffff8129053a20 : 0xffffff800c75bb40 mach_kernel : _return_from_trap + 0xe0
0xffffff8129053a40 : 0xffffff800c7ae107 mach_kernel : _panic_trap_to_debugger + 0x197
0xffffff8129053b60 : 0xffffff800c7adf53 mach_kernel : _panic + 0x63
0xffffff8129053bd0 : 0xffffff800c8dbadd mach_kernel : _kernel_trap + 0x72d
0xffffff8129053d40 : 0xffffff800c75bb40 mach_kernel : _return_from_trap + 0xe0
0xffffff8129053d60 : 0xffffff7f900335cd com.alexandred.VoodooI2C : __ZN25VoodooI2CControllerDriver20transferMessageToBusEv + 0x14d
0xffffff8129053ea0 : 0xffffff7f900331f3 com.alexandred.VoodooI2C : __ZN25VoodooI2CControllerDriver15handleInterruptEP8OSObjectP22IOInterruptEventSourcei + 0x71
0xffffff8129053ed0 : 0xffffff800ce58d8c mach_kernel : __ZN22IOInterruptEventSource12checkForWorkEv + 0x13c
0xffffff8129053f30 : 0xffffff800ce56e72 mach_kernel : __ZN10IOWorkLoop15runEventSourcesEv + 0x1e2
0xffffff8129053f70 : 0xffffff800ce563cc mach_kernel : __ZN10IOWorkLoop10threadMainEv + 0x2c
0xffffff8129053fa0 : 0xffffff800c75b0ce mach_kernel : _call_continuation + 0x2e
      Kernel Extensions in backtrace:
         com.alexandred.VoodooI2C(2.2)[C4D440B9-4E95-3D3C-8A6F-ACCF068F771E]@0xffffff7f9002c000->0xffffff7f90059fff
            dependency: com.apple.iokit.IOACPIFamily(1.4)[3E8E9870-2E41-33F6-ACBF-35DDC08F22B5]@0xffffff7f8d04f000
            dependency: com.alexandred.VoodooI2CServices(1)[8D02CFDB-E378-3061-8591-7E199076722D]@0xffffff7f8d030000
            dependency: com.apple.iokit.IOHIDFamily(2.0.0)[4D861DA4-FE3A-3D9D-8123-038E9FBFE182]@0xffffff7f8d204000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[BFDEB8D4-50FE-3DDB-87B7-F6A504393830]@0xffffff7f8d083000
            dependency: org.coolstar.VoodooGPIO(1.1)[F56452A5-3644-3927-832D-74D30E0617B6]@0xffffff7f8d058000

BSD process name corresponding to current thread: kernel_task
Boot args: dart=0 -cdfon -igfxnohdmi lilucpu=9 keepsyms=1

Mac OS version:
18G103

Kernel version:
Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64
Kernel UUID: C41337A1-0EC3-3896-A954-A1F85E849D53
Kernel slide:     0x000000000c400000
Kernel text base: 0xffffff800c600000
__HIB  text base: 0xffffff800c500000
System model name: MacBookPro14,1 (Mac-B4831CEBD52A0C4C)

System uptime in nanoseconds: 102484323163623
last loaded kext at 67983072878499: com.apple.driver.AppleUSBAudio    315.6 (addr 0xffffff7f900c6000, size 413696)
last unloaded kext at 56086960751809: com.apple.driver.usb.cdc    5.0.0 (addr 0xffffff7f900b1000, size 28672)
loaded kexts:
com.intel.kext.intelhaxm    7.5.1
com.alexandred.VoodooI2CHID    1
com.alexandred.VoodooI2C    2.2
com.alexandred.VoodooI2CServices    1
org.tw.CodecCommander    2.7.1
com.no-one.BrcmPatchRAM2    2.2.10
com.no-one.BrcmFirmwareStore    2.2.10
org.coolstar.VoodooGPIO    1.1
org.rehabman.voodoo.driver.PS2Keyboard    1.9.2
org.rehabman.driver.FakePCIID    1.3.15
org.rehabman.voodoo.driver.PS2Controller    1.9.2
as.vit9696.SMCProcessor    1.0.8
as.vit9696.AppleALC    1.4.2
as.vit9696.WhateverGreen    1.3.3
ru.usrsse2.SMCBatteryManager    1
as.vit9696.VirtualSMC    1.0.8
as.vit9696.Lilu    1.3.8
com.apple.filesystems.smbfs    3.3.2
com.apple.driver.AudioAUUC    1.70
com.apple.fileutil    20.036.15
com.apple.filesystems.autofs    3.0
com.apple.filesystems.ntfs    3.13
com.apple.driver.AppleTopCaseHIDEventDriver    138.4
com.apple.driver.ApplePlatformEnabler    2.7.0d0
com.apple.driver.AGPM    110.25.11
com.apple.driver.X86PlatformShim    1.0.0
com.apple.driver.AppleUpstreamUserClient    3.6.5
com.apple.driver.AppleHDA    282.54
com.apple.driver.AppleGraphicsDevicePolicy    3.50.12
com.apple.AGDCPluginDisplayMetrics    3.50.12
com.apple.driver.AppleHV    1
com.apple.iokit.IOUserEthernet    1.0.1
com.apple.private.KextAudit    1.0
com.apple.iokit.IOBluetoothSerialManager    6.0.14d3
com.apple.driver.AppleOSXWatchdog    1
com.apple.driver.AppleIntelPCHPMC    2.0.1
com.apple.driver.AppleIntelKBLGraphics    12.1.0
com.apple.driver.pmtelemetry    1
com.apple.Dont_Steal_Mac_OS_X    7.0.0
com.apple.driver.eficheck    1
com.apple.driver.AppleBacklight    170.12.12
com.apple.driver.AppleIntelKBLGraphicsFramebuffer    12.1.0
com.apple.driver.AppleIntelSlowAdaptiveClocking    4.0.0
com.apple.driver.AppleMCCSControl    1.5.9
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.filesystems.apfs    945.275.7
com.apple.driver.AirPort.Brcm4360    1400.1.1
com.apple.driver.AppleAHCIPort    329.260.5
com.apple.driver.AppleSmartBatteryManager    161.0.0
com.apple.driver.AppleACPIButtons    6.1
com.apple.driver.AppleACPIEC    6.1
com.apple.driver.AppleRTC    2.0
com.apple.driver.AppleHPET    1.8
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleAPIC    1.7
com.apple.nke.applicationfirewall    201
com.apple.security.TMSafetyNet    8
com.apple.driver.AppleUSBAudio    315.6
com.apple.driver.usb.IOUSBHostHIDDevice    1.2
com.apple.driver.AppleUSBHostMergeProperties    1.2
com.apple.driver.usb.cdc    5.0.0
com.apple.iokit.IOUSBHIDDriver    900.4.2
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport    6.0.14d3
com.apple.iokit.IOBluetoothHostControllerUSBTransport    6.0.14d3
com.apple.iokit.IOBluetoothHostControllerTransport    6.0.14d3
com.apple.kext.triggers    1.0
com.apple.driver.AppleHSBluetoothDriver    138.4
com.apple.driver.IOBluetoothHIDDriver    6.0.14d3
com.apple.driver.AppleActuatorDriver    2450.1
com.apple.driver.AppleMultitouchDriver    2450.1
com.apple.driver.AppleInputDeviceSupport    2440.2
com.apple.driver.DspFuncLib    282.54
com.apple.kext.OSvKernDSPLib    528
com.apple.driver.AppleGraphicsControl    3.50.12
com.apple.iokit.IOAVBFamily    760.6
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.iokit.IOBluetoothFamily    6.0.14d3
com.apple.driver.AppleHDAController    282.54
com.apple.iokit.IOHDAFamily    282.54
com.apple.driver.AppleBacklightExpert    1.1.0
com.apple.iokit.IONDRVSupport    530.51
com.apple.iokit.IOAcceleratorFamily2    404.14
com.apple.iokit.IOSurface    255.6.1
com.apple.driver.X86PlatformPlugin    1.0.0
com.apple.driver.IOPlatformPluginFamily    6.0.0d8
com.apple.AppleGPUWrangler    3.50.12
com.apple.AppleGraphicsDeviceControl    3.50.12
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.driver.AppleSMBusController    1.0.18d1
com.apple.iokit.IOGraphicsFamily    530.66
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.driver.usb.AppleUSBHostPacketFilter    1.0
com.apple.iokit.IOUSBFamily    900.4.2
com.apple.iokit.IOAHCIBlockStorage    301.270.1
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.driver.AppleEFINVRAM    2.1
com.apple.driver.AppleEFIRuntime    2.1
com.apple.iokit.IOHIDFamily    2.0.0
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.260.3
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.IOSMBusFamily    1.1
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
 
Status
Not open for further replies.
Back
Top