Contribute
Register

Hp pavilion dv6-6c65sx

Status
Not open for further replies.
I think I got it working now. but there is problem when I remove -uia_ignore_rmcf, I can't see my system driver in desktop. Is that ok? or should I change UsbConnectors to 0 in PR11 and PR21?

Attached the code and the resulting Ioreg file.
Please check.

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "UIAC-ALL", 0)
{
    Device(UIAC)
    {
        Name(_HID, "UIA00000")

        Name(RMCF, Package()
        {
            "HUB1", Package()
            {
                "port-count", Buffer() { 8, 0, 0, 0 },
                "ports", Package()
                {
                    "HP11", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HP12", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                    "HP15", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 5, 0, 0, 0 },
                    },
                },
            },
            "HUB2", Package()
            {
                "port-count", Buffer() { 6, 0, 0, 0 },
                "ports", Package()
                {
                    "HP21", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HP22", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                },
            },
            "EH01", Package()
            {
                "port-count", Buffer() { 8, 0, 0, 0 },
                "ports", Package()
                {
                    "PR11", Package()
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                },
            },
            "EH02", Package()
            {
                "port-count", Buffer() { 6, 0, 0, 0 },
                "ports", Package()
                {
                    "PR21", Package()
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },

                },
            },
        })
    }
}
//EOF
 

Attachments

  • Screen Shot 2018-01-19 at 5.57.51 AM.png
    Screen Shot 2018-01-19 at 5.57.51 AM.png
    79.7 KB · Views: 67
  • SSDT-UIAC.dsl
    3 KB · Views: 93
  • boom’s MacBook Pro.zip
    450.5 KB · Views: 52
Last edited:
I think I got it working now. but there is problem when I remove -uia_ignore_rmcf, I can't see my system driver in desktop. Is that ok? or should I change UsbConnectors to 0 in PR11 and PR21?

Attached the code and the resulting Ioreg file.
Please check.

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "UIAC-ALL", 0)
{
    Device(UIAC)
    {
        Name(_HID, "UIA00000")

        Name(RMCF, Package()
        {
            "HUB1", Package()
            {
                "port-count", Buffer() { 8, 0, 0, 0 },
                "ports", Package()
                {
                    "HP11", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HP12", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                    "HP15", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 5, 0, 0, 0 },
                    },
                },
            },
            "HUB2", Package()
            {
                "port-count", Buffer() { 6, 0, 0, 0 },
                "ports", Package()
                {
                    "HP21", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HP22", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                },
            },
            "EH01", Package()
            {
                "port-count", Buffer() { 8, 0, 0, 0 },
                "ports", Package()
                {
                    "PR11", Package()
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                },
            },
            "EH02", Package()
            {
                "port-count", Buffer() { 6, 0, 0, 0 },
                "ports", Package()
                {
                    "PR21", Package()
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },

                },
            },
        })
    }
}
//EOF

I don't know what you mean by "system driver in desktop".

UsbConnector=255 is the correct value for PR11/PR21
(those ports are connected to an internal hub... all internally connected ports use UsbConnector=255).

Note: On hub ports, portType=2 should be used only for hub ports that are connected to internal devices (typical internal devices are webcam, BT controller, etc). portType=0 should be used for normal USB2 ports.
 
I don't know what you mean by "system driver in desktop".
I meant when I remove -uia_ignore_rmcf and restart, I don't see the system drive/volume on desktop.


This must be correct but I still don't see the system drive/volume on desktop when I remove -uia_ignore_rmc.
Code:
DefinitionBlock ("", "SSDT", 2, "hack", "UIAC-ALL", 0)
{
    Device(UIAC)
    {
        Name(_HID, "UIA00000")

        Name(RMCF, Package()
        {
            "HUB1", Package()
            {
                "port-count", Buffer() { 8, 0, 0, 0 },
                "ports", Package()
                {
                    "HP11", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 0,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HP12", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 0,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                    "HP15", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 5, 0, 0, 0 },
                    },
                },
            },
            "HUB2", Package()
            {
                "port-count", Buffer() { 6, 0, 0, 0 },
                "ports", Package()
                {
                    "HP21", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HP22", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                },
            },
            "EH01", Package()
            {
                "port-count", Buffer() { 8, 0, 0, 0 },
                "ports", Package()
                {
                    "PR11", Package()
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                },
            },
            "EH02", Package()
            {
                "port-count", Buffer() { 6, 0, 0, 0 },
                "ports", Package()
                {
                    "PR21", Package()
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },

                },
            },
        })
    }
}
//EOF
 

Attachments

  • tt.zip
    2.2 MB · Views: 62
I meant when I remove -uia_ignore_rmcf and restart, I don't see the system drive/volume on desktop.


This must be correct but I still don't see the system drive/volume on desktop when I remove -uia_ignore_rmc.
Code:
DefinitionBlock ("", "SSDT", 2, "hack", "UIAC-ALL", 0)
{
    Device(UIAC)
    {
        Name(_HID, "UIA00000")

        Name(RMCF, Package()
        {
            "HUB1", Package()
            {
                "port-count", Buffer() { 8, 0, 0, 0 },
                "ports", Package()
                {
                    "HP11", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 0,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HP12", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 0,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                    "HP15", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 5, 0, 0, 0 },
                    },
                },
            },
            "HUB2", Package()
            {
                "port-count", Buffer() { 6, 0, 0, 0 },
                "ports", Package()
                {
                    "HP21", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HP22", Package()
                    {
                        //"UsbConnector", 0,
                        "portType", 2,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                },
            },
            "EH01", Package()
            {
                "port-count", Buffer() { 8, 0, 0, 0 },
                "ports", Package()
                {
                    "PR11", Package()
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                },
            },
            "EH02", Package()
            {
                "port-count", Buffer() { 6, 0, 0, 0 },
                "ports", Package()
                {
                    "PR21", Package()
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },

                },
            },
        })
    }
}
//EOF

Your system drive is on a USB?
Your ioreg still shows incorrect portType=2 on HP11.
 
Your system drive is on a USB?
Actually yes.


For somehow I saw it in SSDT-UIAC.aml it was showing portType=2.
I made it again this time and it shows portType=0 now and system drive is showing on desktop.
Thanks for your support.

For disabling my radeon gpu:
_OFF and _INI are found in SSDT-5.dsl
When I search for Method (_INI
Code:
Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.PEG0.PEGP._ADR)
        }
And When I search for Method (_OFF
Code:
Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
            Store (LCTL, ELCT)
            Store (SVID, HVID)
            Store (SDID, HDID)
            Store (VGAR, VGAB)
            Store (One, LNKD)
            While (LNotEqual (LNKS, Zero))
            {
                Sleep (One)
            }

            GLSC ()
            SGPO (HLRS, One)
            SGPO (PWEN, Zero)
            GLSR ()
            Notify (\_SB.PCI0.PEG0, Zero)
            Return (Zero)
        }

I am wondering if this is the right patch to disable it.
Code:
into method label _INI parent_label \_SB.PCI0.PEG0.PEGP insert
begin
//added to turn nvidia/radeon off\n
External(\_SB.PCI0.PEG0.PEGP._OFF, MethodObj)\n
_OFF()\n
end;
 

Attachments

  • boom’s MacBook Pro.zip
    447.3 KB · Views: 55
I made it again this time and it shows portType=0 now and system drive is showing on desktop.
Thanks for your support.

For disabling my radeon gpu:
_OFF and _INI are found in SSDT-5.dsl
When I search for Method (_INI
Code:
Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.PEG0.PEGP._ADR)
        }
And When I search for Method (_OFF
Code:
Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
            Store (LCTL, ELCT)
            Store (SVID, HVID)
            Store (SDID, HDID)
            Store (VGAR, VGAB)
            Store (One, LNKD)
            While (LNotEqual (LNKS, Zero))
            {
                Sleep (One)
            }

            GLSC ()
            SGPO (HLRS, One)
            SGPO (PWEN, Zero)
            GLSR ()
            Notify (\_SB.PCI0.PEG0, Zero)
            Return (Zero)
        }

I am wondering if this is the right patch to disable it.
Code:
into method label _INI parent_label \_SB.PCI0.PEG0.PEGP insert
begin
//added to turn nvidia/radeon off\n
External(\_SB.PCI0.PEG0.PEGP._OFF, MethodObj)\n
_OFF()\n
end;

As per guide, patch _INI so it calls _OFF.
 
I read it many times but I don't understand. Just wondering if this is the right patch. I changed the path.
Code:
into method label _INI parent_label \_SB.PCI0.PEG0.PEGP insert
begin
//added to turn nvidia/radeon off\n
External(\_SB.PCI0.PEG0.PEGP._OFF, MethodObj)\n
_OFF()\n
end;
 
I read it many times but I don't understand. Just wondering if this is the right patch. I changed the path.
Code:
into method label _INI parent_label \_SB.PCI0.PEG0.PEGP insert
begin
//added to turn nvidia/radeon off\n
External(\_SB.PCI0.PEG0.PEGP._OFF, MethodObj)\n
_OFF()\n
end;

The path appears to match the code you provided in post #155 and it also matches the data seen in ioreg.
 
The path appears to match the code you provided in post #155 and it also matches the data seen in ioreg.
what do you mean by ''it also matches the data seen in ioreg''?
I didn't patch it yet. just asking if it is correct.

And before patching. How can I solve this error at Arg1? deleting that line or the whole contents inside if make a lot of errors.
Attached screenshot and SSDT-5.dsl
 

Attachments

  • SSDT-5.dsl
    50.5 KB · Views: 95
  • 1.png
    1.png
    270.6 KB · Views: 87
Last edited:
what do you mean by ''it also matches the data seen in ioreg''?
I didn't patch it yet. just asking if it is correct.

Easy to see which path your discrete device is at in ioreg.

And before patching. How can I solve this error at Arg1? deleting that line or the whole contents inside if make a lot of errors.
Attached screenshot and SSDT-5.dsl

Maybe you disassembled incorrectly.
No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Status
Not open for further replies.
Back
Top