kecinzer / hpelitebook850g5-opencore

Opencore for HP EliteBook 850 G5
45 stars 14 forks source link

How to add touchscreen #27

Closed Joaotcs closed 4 years ago

Joaotcs commented 4 years ago

Hi! I wanted to try your EFI, but it seems that I can't make it work now... How to add Touchscreen? I tried to make one for my touchscreen according to your new .aml files, but wasn't capable :/ My device: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/I2C0@15/VoodooI2CPCIController/VoodooI2CControllerNub/VoodooI2CControllerDriver/TPL0

Captura de ecrã 2020-10-02, às 21 47 08
Joaotcs commented 4 years ago

fixed! Close topic

kecinzer commented 4 years ago

Wow, that was fast. Can you please share some results? If anyone else need touchscreen?

Joaotcs commented 4 years ago

Sure ;) I have tested on another laptop and it also worked.

Joaotcs commented 4 years ago

So you need to add this TPL0.aml to config.plist:

        <dict>
            <key>Comment</key>
            <string>I2C Touchscreen</string>
            <key>Enabled</key>
            <true/>
            <key>Path</key>
            <string>SSDT-TPL0.aml</string>
        </dict>

and replace rename

Comment Change _INI to XINI of CPD0 and TPL0 device Count 2 Enabled Find X0lOSQCgEpVPU1lT Limit 0 Mask OemTableId Replace WElOSQCgEpVPU1lT ReplaceMask Skip 2 TableLength 0 TableSignature Comment Change _CRS to XCRS of CPD0 and TPL0 device Count 2 Enabled Find X0NSUwCgDpVPU1lT Limit 0 Mask OemTableId Replace WENSUwCgDpVPU1lT ReplaceMask Skip 2 TableLength 0 TableSignature
Joaotcs commented 4 years ago

Here is TLP0.aml:

/*