Jump to content

X360 Pavilion USBInjectAll SSDT


stat_rosa
 Share

3 posts in this topic

Recommended Posts

Hi Guys,

 

I have installed El Capitan on a HP Pavilion X360 13inch (i3) successfully, almost all works except Touchscreen.

This is most likely because, from what I understand I have to lift the limitations of the USB by patching the USBinjectAll kext.

 

Rehabman adviced me to patch ssdt for the USBinjectall kext.

 

I have no idea how to do this and after one week of reading tutorials and watching videos I still have absolutely no idea what I'm doing.

 

If someone can help me with patching my USBinjectAll/ssdt or can share their patched ones if they also have the same x360 I will make a nice donation to this website.

Archive.zip

RehabMan-USBInjectAll-2017-0112(2).zip

Link to comment
Share on other sites

Hi Guys,

 

I have installed El Capitan on a HP Pavilion X360 13inch (i3) successfully, almost all works except Touchscreen.

This is most likely because, from what I understand I have to lift the limitations of the USB by patching the USBinjectAll kext.

 

Rehabman adviced me to patch ssdt for the USBinjectall kext.

 

I have no idea how to do this and after one week of reading tutorials and watching videos I still have absolutely no idea what I'm doing.

 

If someone can help me with patching my USBinjectAll/ssdt or can share their patched ones if they also have the same x360 I will make a nice donation to this website.

Follow my guide: Using UsbInjectAll.kext with a Custom SSDT-UIAC.aml 

 

For your particular layout, you do not need the XHCI/XHC1 config.plist DSDT patch since your device is already named XHC and you do not need the EHC1/ECH2 DSDT patches, since you don't have those devices

 

For your particular layout, you'll need to include the AppleUSBXHCIPCI "Change 15 Port Limit To 27 in XHCI 10.12" in your config.plist under "KextsToPatch" (this patch may only work in Sierra, so you may need to find the El Capitan alternative):

Name: AppleUSBXHCIPCI 
Find: 83BD74FFFFFF10 
Replace: 83BD74FFFFFF1B 
Comment: Change 15 Port Limit To 27 in XHCI 10.12 

I figured out which patch you'll need by opening your dropped DSDT.aml, searching for "RHUB" and seeing how many ports were listed in there (this screenshot is of your layout), then add 1 extra port since port "0x0F | (15)" is not used -- therefore you have 26 ports + 1 port = 27 ports in decimal or 1B in hex -- in the SSDT, you'll be using HEX (not decimal) for port addresses, see below for your particular conversion table):

Port  |  Hex  | Decimal
----------------------
HS01 === 0x01 | (1)
HS02 === 0x02 | (2)
HS03 === 0x03 | (3)
HS04 === 0x04 | (4)
HS05 === 0x05 | (5)
HS06 === 0x06 | (6)
HS07 === 0x07 | (7)
HS08 === 0x08 | (8)
HS09 === 0x09 | (9)
HS10 === 0x0A | (10)
HS11 === 0x0B | (11)
HS12 === 0x0C | (12)
HS13 === 0x0D | (13)
HS14 === 0x0E | (14)
XXXX === 0x0F | (15) -- NOT USED
USR1 === 0x10 | (16)
USR2 === 0x11 | (17)
SS01 === 0x12 | (18)
SS02 === 0x13 | (19)
SS03 === 0x14 | (20)
​SS04 === 0x15 | (21)
​SS05 === 0x16 | (22)
​SS06 === 0x17 | (23)
SS07 === 0x18 | (24)
​SS08 === 0x19 | (25)
​SS09 === 0x1A | (26)
​SS10 === 0x1B | (27)

Follow the guide to determine which ports are being used. Include those mapped ports in the SSDT-UIAC.aml with their connector values and port addresses.

 

And lastly, don't forget to create a SSDT-XHC.aml for USB power options. For your particular layout, simply copy and paste the code I've provided in the guide into a new document using MaciASL (File->NEW->Paste entire code), compile and save it:

Save as: SSDT-XHC.aml

Where: Desktop

File Format: ACPI Machine Language Binary

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
 Share

×
×
  • Create New...