Contribute
Register

VoodooI2C Help and Support

Status
Not open for further replies.
You need to hotpatch the dsdt in config.plist or remove from system the two lpss kexts

I removed from system the two lpss kexts and I have another problem now :
VoodooI2C: Found I2C device pci8086,a160
Set PCI Power State D8
VoodooI2C::pci8086,a160::Failed to read ACPI config
VoodooI2C::pci8086,a160::Loading hardcoded settings for HSW/BDW/SKL
VoodooI2C::pci8086,a160::Unknown Synopsys component type: 0xffffffff
VoodooI2C::pci8086,a160::Failed to initialize I2C Bus
VoodooI2C::stop

So... Unknown Synopsys component type: 0xffffffff means that the I2C controller patch has not been applied..
but when I try to patch the DSDT an error appears
 

Attachments

  • Screen Shot 2018-10-21 at 12.06.17.png
    Screen Shot 2018-10-21 at 12.06.17.png
    156.3 KB · Views: 86
Last edited:
Anyone Plese Help This happens after Using @RehabMan 's VodooPS2 With Vodooi2c Instant Kernel Panic. While after 2-3 KP it Boot and work Perfectly every gesture and input works

Code:
Wed Oct 24 14:42:01 2018

*** Panic Report ***
panic(cpu 2 caller 0xffffff80026d87bd): Kernel trap at 0xffffff7f85427937, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000000, CR3: 0x0000000017844000, CR4: 0x00000000003626e0
RAX: 0xffffff8002e0da00, RBX: 0xffffff80259d3f00, RCX: 0xffffff8026bfed80, RDX: 0xffffff8026f4e000
RSP: 0xffffff81161d3eb0, RBP: 0xffffff81161d3eb0, RSI: 0x0000000000000000, RDI: 0x0000000000000000
R8:  0xffffff8026ff3328, R9:  0xffffff80e47e4000, R10: 0xffffff8002e9da10, R11: 0x0000000000000000
R12: 0xffffff8026bfedd0, R13: 0xffffff8026bfedd8, R14: 0xffffff8026f4e000, R15: 0xffffff8026bfed80
RFL: 0x0000000000010246, RIP: 0xffffff7f85427937, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x2, PL: 0, VF: 1

Backtrace (CPU 2), Frame : Return Address
0xffffff81161d3980 : 0xffffff80025aca1d
0xffffff81161d39d0 : 0xffffff80026e6b13
0xffffff81161d3a10 : 0xffffff80026d859a
0xffffff81161d3a80 : 0xffffff8002559ca0
0xffffff81161d3aa0 : 0xffffff80025ac437
0xffffff81161d3bc0 : 0xffffff80025ac283
0xffffff81161d3c30 : 0xffffff80026d87bd
0xffffff81161d3da0 : 0xffffff8002559ca0
0xffffff81161d3dc0 : 0xffffff7f85427937
0xffffff81161d3eb0 : 0xffffff8002c2871a
0xffffff81161d3f00 : 0xffffff8002c2b4db
0xffffff81161d3f50 : 0xffffff8002c2d066
0xffffff81161d3fa0 : 0xffffff80025590ce
      Kernel Extensions in backtrace:
         org.rehabman.voodoo.driver.PS2Controller(1.9.2)[E11711CB-AFEA-384E-97B8-B8EECB515995]@0xffffff7f85425000->0xffffff7f8542ffff
            dependency: com.apple.iokit.IOACPIFamily(1.4)[8A2C5602-298A-3199-AED0-979018ECBE16]@0xffffff7f831be000

BSD process name corresponding to current thread: Unknown
Boot args: nv_disable=1 dart=0 -cdfon -disablegfxfirmware -igfxnohdmi

Mac OS version:
Not yet set

Kernel version:
Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64
Kernel UUID: DF83AD37-501E-3B4F-B1F0-04F3AC90FE35
Kernel slide:     0x0000000002200000
Kernel text base: 0xffffff8002400000
__HIB  text base: 0xffffff8002300000
System model name: MacBookPro14, (Mac-B4831CEBD52A0C4C)

System uptime in nanoseconds: 1834424822
last loaded kext at 1827987126: com.apple.driver.AppleTopCaseHIDEventDriver    138 (addr 0xffffff7f84aae000, size 61440)
loaded kexts:
(none)

EOF

And This Is My DSDT/Patched

Code:
Scope (_SB.PCI0.I2C0)
    {
        Device (TPD0)
        {
            Name (HID2, Zero)
            Name (SBFB, ResourceTemplate ()
            {
                I2cSerialBusV2 (0x002C, ControllerInitiated, 0x00061A80,
                    AddressingMode7Bit, "\\_SB.PCI0.I2C0",
                    0x00, ResourceConsumer, _Y24, Exclusive,
                    )
            })
            Name (SBFI, ResourceTemplate ()
            {
                Interrupt (ResourceConsumer, Level, ActiveLow, ExclusiveAndWake, ,, _Y25)
                {
                    0x00000021,
                }
            })
            Name (SBFG, ResourceTemplate ()
            {
                GpioInt (Level, ActiveLow, ExclusiveAndWake, PullDefault, 0x0000,
                    "\\_SB.PCI0.GPI0", 0x00, ResourceConsumer, ,
                    )
                    {   // Pin list
                        0x001B
                    }
            })
            CreateWordField (SBFB, \_SB.PCI0.I2C0.TPD0._Y24._ADR, BADR)  // _ADR: Address
            CreateDWordField (SBFB, \_SB.PCI0.I2C0.TPD0._Y24._SPE, SPED)  // _SPE: Speed
            CreateWordField (SBFG, 0x17, INT1)
            CreateDWordField (SBFI, \_SB.PCI0.I2C0.TPD0._Y25._INT, INT2)  // _INT: Interrupts
            Method (_INI, 0, NotSerialized)  // _INI: Initialize
            {
                If (LLess (OSYS, 0x07DC))
                {
                    SRXO (GPDI, One)
                }

                Store (GNUM (GPDI), INT1)
                Store (INUM (GPDI), INT2)
                If (LEqual (SDM0, Zero))
                {
                    SHPO (GPDI, One)
                }

                If (LEqual (SDS0, One))
                {
                    Store ("DELL0767", _HID)
                    If (LEqual (PLFG, 0x02))
                    {
                        Store ("DELL0767", _HID)
                    }
                    ElseIf (LEqual (PLFG, 0x03))
                    {
                        Store ("DELL0768", _HID)
                    }
                    ElseIf (LEqual (PLFG, 0x04))
                    {
                        Store ("DELL077D", _HID)
                    }
                    ElseIf (LEqual (PLFG, 0x05))
                    {
                        Store ("DELL077E", _HID)
                    }

                    Store (0x20, HID2)
                    Return (Zero)
                }

                If (LEqual (SDS0, 0x02))
                {
                    Store ("06CB2846", _HID)
                    Store (0x20, HID2)
                    Return (Zero)
                }

                If (LEqual (SDS0, 0x05))
                {
                    Store ("CUST0001", _HID)
                    Store (TPDH, HID2)
                    Store (TPDB, BADR)
                    If (LEqual (TPDS, Zero))
                    {
                        Store (0x000186A0, SPED)
                    }

                    If (LEqual (TPDS, One))
                    {
                        Store (0x00061A80, SPED)
                    }

                    If (LEqual (TPDS, 0x02))
                    {
                        Store (0x000F4240, SPED)
                    }

                    Return (Zero)
                }
            }

            Name (_HID, "DELL0767")  // _HID: Hardware ID
            Name (_CID, "PNP0C50")  // _CID: Compatible ID
            Name (_S0W, 0x03)  // _S0W: S0 Device Wake State
            Method (_DSM, 4, Serialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg0, HIDG))
                {
                    Return (HIDD (Arg0, Arg1, Arg2, Arg3, HID2))
                }

                If (LEqual (Arg0, TP7G))
                {
                    Return (TP7D (Arg0, Arg1, Arg2, Arg3, SBFB, SBFG))
                }

                Return (Buffer (One)
                {
                     0x00                                           
                })
            }

            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                Return (0x0F)
            }

            Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
            {
                If (LLess (OSYS, 0x07DC))
                {
                    Return (SBFI)
                }

                If (LEqual (SDM0, Zero))
                {
                    Return (ConcatenateResTemplate (SBFB, SBFG))
                }

                Return (ConcatenateResTemplate (SBFB, SBFI))
            }
        }
 
Last edited:
Anyone Plese Help This happens after Using VodooPS2

Code:
Wed Oct 24 14:42:01 2018
The compiling error is the same of mine, but the panic is new to me, you should ask to others... i originally was here to get help not to guide you lol (fun fact)

*** Panic Report ***
panic(cpu 2 caller 0xffffff80026d87bd): Kernel trap at 0xffffff7f85427937, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000000, CR3: 0x0000000017844000, CR4: 0x00000000003626e0
RAX: 0xffffff8002e0da00, RBX: 0xffffff80259d3f00, RCX: 0xffffff8026bfed80, RDX: 0xffffff8026f4e000
RSP: 0xffffff81161d3eb0, RBP: 0xffffff81161d3eb0, RSI: 0x0000000000000000, RDI: 0x0000000000000000
R8:  0xffffff8026ff3328, R9:  0xffffff80e47e4000, R10: 0xffffff8002e9da10, R11: 0x0000000000000000
R12: 0xffffff8026bfedd0, R13: 0xffffff8026bfedd8, R14: 0xffffff8026f4e000, R15: 0xffffff8026bfed80
RFL: 0x0000000000010246, RIP: 0xffffff7f85427937, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x2, PL: 0, VF: 1

Backtrace (CPU 2), Frame : Return Address
0xffffff81161d3980 : 0xffffff80025aca1d
0xffffff81161d39d0 : 0xffffff80026e6b13
0xffffff81161d3a10 : 0xffffff80026d859a
0xffffff81161d3a80 : 0xffffff8002559ca0
0xffffff81161d3aa0 : 0xffffff80025ac437
0xffffff81161d3bc0 : 0xffffff80025ac283
0xffffff81161d3c30 : 0xffffff80026d87bd
0xffffff81161d3da0 : 0xffffff8002559ca0
0xffffff81161d3dc0 : 0xffffff7f85427937
0xffffff81161d3eb0 : 0xffffff8002c2871a
0xffffff81161d3f00 : 0xffffff8002c2b4db
0xffffff81161d3f50 : 0xffffff8002c2d066
0xffffff81161d3fa0 : 0xffffff80025590ce
      Kernel Extensions in backtrace:
         org.rehabman.voodoo.driver.PS2Controller(1.9.2)[E11711CB-AFEA-384E-97B8-B8EECB515995]@0xffffff7f85425000->0xffffff7f8542ffff
            dependency: com.apple.iokit.IOACPIFamily(1.4)[8A2C5602-298A-3199-AED0-979018ECBE16]@0xffffff7f831be000

BSD process name corresponding to current thread: Unknown
Boot args: nv_disable=1 dart=0 -cdfon -disablegfxfirmware -igfxnohdmi

Mac OS version:
Not yet set

Kernel version:
Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64
Kernel UUID: DF83AD37-501E-3B4F-B1F0-04F3AC90FE35
Kernel slide:     0x0000000002200000
Kernel text base: 0xffffff8002400000
__HIB  text base: 0xffffff8002300000
System model name: MacBookPro14, (Mac-B4831CEBD52A0C4C)

System uptime in nanoseconds: 1834424822
last loaded kext at 1827987126: com.apple.driver.AppleTopCaseHIDEventDriver    138 (addr 0xffffff7f84aae000, size 61440)
loaded kexts:
(none)

EOF
 
Hello Alex.daoud,

I have a Asus UX430, i7 8500u. I've been reading about the whole process and tried to follow the guide as closely as I can. I have a patched DSDT but I still see "Can't load kext com.alexandred.VoodooI2C - requests to user space are disabled" and
Couldn't alloc class "VoodooI2CNativeEngine". I installed the kext on S/L/E, I rebuilt cache afterwards.

The user starcentral got this to work, I compared my DSDT to his and there's just a difference in _STA where he erased everything but 'Return (0x0F)'.
I tried setting the DSDT to polling mode and no success. I do really appreciate if you could take a look at my files, if there's anything missing please let me know.

Thank you!
 

Attachments

  • ASUSux430Trackpad.zip
    778.5 KB · Views: 61
I removed from system the two lpss kexts and I have another problem now :
VoodooI2C: Found I2C device pci8086,a160
Set PCI Power State D8
VoodooI2C::pci8086,a160::Failed to read ACPI config
VoodooI2C::pci8086,a160::Loading hardcoded settings for HSW/BDW/SKL
VoodooI2C::pci8086,a160::Unknown Synopsys component type: 0xffffffff
VoodooI2C::pci8086,a160::Failed to initialize I2C Bus
VoodooI2C::stop

So... Unknown Synopsys component type: 0xffffffff means that the I2C controller patch has not been applied..
but when I try to patch the DSDT an error appears
The common errors page doesn't solve it.
Im stuck on the same problem
 
This thread is intended for users of VoodooI2C to get support for using the kext on their system.

What is VoodooI2C?

VoodooI2C is a project consisting of macOS kernel extensions that add support for I2C bus devices. The project is split into two main components: the core extension and various other satellite extensions.

The Core
The core is the VoodooI2C.kext kernel extension. This kext is intended to be installed by anyone whose computer requires some form of I2C support. It consists of I2C controller drivers and is responsible for publishing device nubs to the IOService plane.

The Satellites
The satellites are a collection of various kernel extensions that implement support for a specific type of I2C device. An example of a satellite kext is VoodooI2CHID.kext which adds support for I2C-HID devices. Usually a user will install one satellite kext per class of I2C device.

What can I use VoodooI2C for?

The most common devices that are compatible with VoodooI2C are I2C-HID devices such as Precision Trackpads and Touchscreens. If you have an I2C trackpad or touchscreen, chances are it will work with this driver. It is also possible to use VoodooI2C to get multitouch on USB devices but this is experimental.

How do I install VoodooI2C?

All installation instructions can be found here: https://voodooi2c.github.io/#Installation/Installation

Help! It doesn't work

Follow carefully the instructions here: https://voodooi2c.github.io/#Troubleshooting/Troubleshooting

Where is the source code?

The main Github repository can be found here: https://github.com/alexandred/VoodooI2C

Upload all requested files in an archive to this thread. Note that if you are on 10.12+ then the system log has been moved. Instructions for how to obtain it can be found on the following page: https://voodooi2c.github.io/#Common Errors/Common Errors
I Am asking For help for the 3rd time Now Please Help Me Out
#663 #654
 
The touch screen goes into click mode as soon as I touch it and drag it, but yes, some gestures works - or I cannot do them all properly.



Like so? ;) It takes a while to show up, keeps on detecting for an hour or so, but eventually pops up.
View attachment 359989
It's showing because of the touchscreen, not the trackpad :(

I guess a new satellite for Alps will be necessary. You may try developing one if you have the knowledge.
 
Status
Not open for further replies.
Back
Top