Contribute
Register

[solved] Asus UX430UA - fingerprint, trackpad, Touch ID

Status
Not open for further replies.
Yes, HS09 is gone due to USBInjectAll.kext and kernel flag uia_exclude=HS09.
But your USB configuration is still wrong (wrong UsbConnector values and exceeding the 15-port limit).

ok, last question
My all usb2/3/c ports works fine(checked via connected devices) so can you write what is wrong with that?
I don't have any problems with sleep, connected devices etc
How can i fix them or check whats wrong with configuration?
(i know read the guide but maybe you can point what exactly is wrong and i should fix)

Thank you
 
ok, last question
My all usb2/3/c ports works fine(checked via connected devices) so can you write what is wrong with that?
I don't have any problems with sleep, connected devices etc
How can i fix them or check whats wrong with configuration?
(i know read the guide but maybe you can point what exactly is wrong and i should fix)

Thank you

Your UsbConnector values are wrong.
The guide has information on the correct values.
 
Your UsbConnector values are wrong.
The guide has information on the correct values.

ok i red guide and generate SSDT-UIAC.dsl

Code:
// https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/
// Common port connector types are USB2 = 0, USB3 = 3, internal = 255.
// SSDT-UIAC-ALL.dsl
//
// This SSDT can be used as a template to build your own
// customization for USBInjectAll.kext.
//
// This SSDT contains all ports, so using it is the same as without
// a custom SSDT.  Delete ports that are not connected or ports you
// do not need.
//
// Change the UsbConnector or portType as needed to match your
// actual USB configuration.
//
// Note:
// portType=0 seems to indicate normal external USB2 port (as seen in MacBookPro8,1)
// portType=2 seems to indicate "internal device" (as seen in MacBookPro8,1)
// portType=4 is used by MacBookPro8,3 (reason/purpose unknown)
//
// ASUS UX430UA
// USB ports:

// USB-C(left side):
//    HS04 -> pendrive USB2
//    SS04 -> pendrive USB3
//    HS04 -> logitech 2.4G reciver
//    HS04 -> monitor hdmi->usb-c
//   
// USB3(left side):
//    HS01 -> pendrive USB2
//    SS01 -> pendrive USB3
//    HS01 -> logitech 2.4G reciver
//   
// USB2(right side):
//    HS02 -> pendrive USB2
//    HS02 -> pendrive USB3
//    HS02 -> logitech 2.4G reciver
// 
// CARD READER 
//    HS05 -> cards
//   
// Internal devices:   
// HS08: 
//    Broadcom wifi+bt
// HS06: 
//    USB2.0 HD UVC WebCam
// HS09:
//    ELAN:Fingerprint
// 
// so it uses: 
//    HS01, HS02, HS04, HS05, HS06, HS08, HS09
//    SS01, SS04
//
// !!! HS09 is for ELAN:fingerprint It doesn;t work so we want to disable it


DefinitionBlock ("", "SSDT", 2, "hack", "UIAC-ALL", 0)
{
    Device(UIAC)
    {
        Name(_HID, "UIA00000")
        Name(RMCF, Package()
        {
           
           
            "8086_9d2f", Package()
            {
                "port-count", Buffer() { 18, 0, 0, 0 },
                "ports", Package()
                {
                    "HS01", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HS02", Package()
                    {
                        "UsbConnector", 0,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                    "HS04", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 4, 0, 0, 0 },
                    },
                    "HS05", Package()
                    {
                        "UsbConnector", 0,
                        "port", Buffer() { 5, 0, 0, 0 },
                    },
                    "HS06", Package()
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 6, 0, 0, 0 },
                    },
                    "HS08", Package()
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 8, 0, 0, 0 },
                    },
                    "SS01", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 13, 0, 0, 0 },
                    },
                    "SS04", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 16, 0, 0, 0 },
                    },
                },
            },
        })
    }
}


I think it works fine now(disabled fingerprint on HS09).
Checked all ports USB2/3/C+card_reader and it looks ok

Can you check it ?

btw... i found that in template you have
// portType=0 seems to indicate normal external USB2 port (as seen in MacBookPro8,1)
// portType=2 seems to indicate "internal device" (as seen in MacBookPro8,1)
// portType=4 is used by MacBookPro8,3 (reason/purpose unknown)

but in guide:
Common port connector types are USB2 = 0, USB3 = 3, internal = 255.

so i don't know that i choose correct values for ports

Thank you
 

Attachments

  • ASUSUX430UA.zip
    10.7 MB · Views: 210
ok i red guide and generate SSDT-UIAC.dsl

Code:
// https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/
// Common port connector types are USB2 = 0, USB3 = 3, internal = 255.
// SSDT-UIAC-ALL.dsl
//
// This SSDT can be used as a template to build your own
// customization for USBInjectAll.kext.
//
// This SSDT contains all ports, so using it is the same as without
// a custom SSDT.  Delete ports that are not connected or ports you
// do not need.
//
// Change the UsbConnector or portType as needed to match your
// actual USB configuration.
//
// Note:
// portType=0 seems to indicate normal external USB2 port (as seen in MacBookPro8,1)
// portType=2 seems to indicate "internal device" (as seen in MacBookPro8,1)
// portType=4 is used by MacBookPro8,3 (reason/purpose unknown)
//
// ASUS UX430UA
// USB ports:

// USB-C(left side):
//    HS04 -> pendrive USB2
//    SS04 -> pendrive USB3
//    HS04 -> logitech 2.4G reciver
//    HS04 -> monitor hdmi->usb-c
//  
// USB3(left side):
//    HS01 -> pendrive USB2
//    SS01 -> pendrive USB3
//    HS01 -> logitech 2.4G reciver
//  
// USB2(right side):
//    HS02 -> pendrive USB2
//    HS02 -> pendrive USB3
//    HS02 -> logitech 2.4G reciver
//
// CARD READER
//    HS05 -> cards
//  
// Internal devices:  
// HS08:
//    Broadcom wifi+bt
// HS06:
//    USB2.0 HD UVC WebCam
// HS09:
//    ELAN:Fingerprint
//
// so it uses:
//    HS01, HS02, HS04, HS05, HS06, HS08, HS09
//    SS01, SS04
//
// !!! HS09 is for ELAN:fingerprint It doesn;t work so we want to disable it


DefinitionBlock ("", "SSDT", 2, "hack", "UIAC-ALL", 0)
{
    Device(UIAC)
    {
        Name(_HID, "UIA00000")
        Name(RMCF, Package()
        {
          
          
            "8086_9d2f", Package()
            {
                "port-count", Buffer() { 18, 0, 0, 0 },
                "ports", Package()
                {
                    "HS01", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 1, 0, 0, 0 },
                    },
                    "HS02", Package()
                    {
                        "UsbConnector", 0,
                        "port", Buffer() { 2, 0, 0, 0 },
                    },
                    "HS04", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 4, 0, 0, 0 },
                    },
                    "HS05", Package()
                    {
                        "UsbConnector", 0,
                        "port", Buffer() { 5, 0, 0, 0 },
                    },
                    "HS06", Package()
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 6, 0, 0, 0 },
                    },
                    "HS08", Package()
                    {
                        "UsbConnector", 255,
                        "port", Buffer() { 8, 0, 0, 0 },
                    },
                    "SS01", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 13, 0, 0, 0 },
                    },
                    "SS04", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 16, 0, 0, 0 },
                    },
                },
            },
        })
    }
}


I think it works fine now(disabled fingerprint on HS09).
Checked all ports USB2/3/C+card_reader and it looks ok

Can you check it ?

According to your ioreg (UsbConnector values), you don't have any USB type C on your XHC. Is that true? (I ask because you mention USB/C aboee).

btw... i found that in template you have
// portType=0 seems to indicate normal external USB2 port (as seen in MacBookPro8,1)
// portType=2 seems to indicate "internal device" (as seen in MacBookPro8,1)
// portType=4 is used by MacBookPro8,3 (reason/purpose unknown)

but in guide:
Common port connector types are USB2 = 0, USB3 = 3, internal = 255.

so i don't know that i choose correct values for ports

You are confusing UsbConnector values (used with controller ports) with portType values (used with hub ports).
 
According to your ioreg (UsbConnector values), you don't have any USB type C on your XHC. Is that true? (I ask because you mention USB/C aboee).


in ioreg i don;t see that port but physically i have that port on the left side.

// USB-C(left side):
// HS04 -> pendrive USB2
// SS04 -> pendrive USB3
// HS04 -> logitech 2.4G reciver
// HS04 -> monitor hdmi->usb-c

i don't have typical USB-C pendrive so maybe thats why it shows as only USB3.0 ? i can't check it without usb-c device, right?

What about UsbConnector values? is it correct now?
 

Attachments

  • usb.png
    usb.png
    129.3 KB · Views: 265
in ioreg i don;t see that port but physically i have that port on the left side.

// USB-C(left side):
// HS04 -> pendrive USB2
// SS04 -> pendrive USB3
// HS04 -> logitech 2.4G reciver
// HS04 -> monitor hdmi->usb-c

i don't have typical USB-C pendrive so maybe thats why it shows as only USB3.0 ? i can't check it without usb-c device, right?

What about UsbConnector values? is it correct now?

HS04 has nothing to do with external monitors (unless you're using an active USB->HDMI converter, not a passthrough cable).
To test your USB-C port, you would need a USB-C->USB3 cable and a device plugged into it (or a USB-C device).

Keep in mind a USB-C port can use up to two SSxx nodes + HSxx node.
Because if it is the type that has no built-in switch (UsbConnector=10), it will have two SSxx ports (one for each orientation) and an HSxx port (for USB2).
But more typical is USB-C with a switch (UsbConnector=9) in which case it has an internal switch to handle the two possible orientations within the port hardware itself. In that case, you get just SSxx+HSxx.
Also, possible, but probably extremely rare is USB-C that is USB2 only (UsbConnector=8) which would just have HSxx.

You can read about it in the ACPI spec (_UPC).

Not possible to tell anything from the images you attached.
 
HS04 has nothing to do with external monitors (unless you're using an active USB->HDMI converter, not a passthrough cable).
To test your USB-C port, you would need a USB-C->USB3 cable and a device plugged into it (or a USB-C device).

Keep in mind a USB-C port can use up to two SSxx nodes + HSxx node.
Because if it is the type that has no built-in switch (UsbConnector=10), it will have two SSxx ports (one for each orientation) and an HSxx port (for USB2).
But more typical is USB-C with a switch (UsbConnector=9) in which case it has an internal switch to handle the two possible orientations within the port hardware itself. In that case, you get just SSxx+HSxx.
Also, possible, but probably extremely rare is USB-C that is USB2 only (UsbConnector=8) which would just have HSxx.

You can read about it in the ACPI spec (_UPC).

Not possible to tell anything from the images you attached.


I know that monitor doesn't matters;) just paste devices i checked and tested on USB-C port via "USB-C to USB Adapter"
i've checked USB-C port and tested USB2 and USB3 pendrive(and monitor via USB-C to HDMI Adapter) and it showed on HS04.

If i get some USB-C pendrive i'll check it again directly to port without any converter


My goal in that thread was ask about fingerprint device.
Next i removed this device(HS09) via clover and next i generated SSDT-UIAC with ports map.
I see it works fine now. I've removed "port limit" patch from clover because now i'm using only 8 (ioreg).


So UsbConnector values are correct, right?

If yes, we can mark it as SOLVED because now i'm not able to test USB-C directly.

Thank you
 
tested ... USB3 pendrive ... and it showed on HS04.

It means you made a mistake.
With a USB3 device connected to the USB-C it should be SSxx.
Make sure you test both orientations (and you need to have all ports enabled when you test, as per guide).

So UsbConnector values are correct, right?

Probably not until you sort out your USB-C mistake.
 
It means you made a mistake.
With a USB3 device connected to the USB-C it should be SSxx.
Make sure you test both orientations (and you need to have all ports enabled when you test, as per guide).


Probably not until you sort out your USB-C mistake.

i checked it twice and see that everything is ok as i pasted before

Code:
// USB-C(left side):
//    HS04 -> pendrive USB2
//    SS04 -> pendrive USB3
//    HS04 -> logitech 2.4G reciver
//    HS04 -> monitor hdmi->usb-c

there is // SS04 -> pendrive USB3 when i connect USB3 device via "USB-C to USB Adapter" to USB-C port and i have in map

Code:
"SS04", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 16, 0, 0, 0 },
                    },
 
i checked it twice and see that everything is ok as i pasted before

Code:
// USB-C(left side):
//    HS04 -> pendrive USB2
//    SS04 -> pendrive USB3
//    HS04 -> logitech 2.4G reciver
//    HS04 -> monitor hdmi->usb-c

there is // SS04 -> pendrive USB3 when i connect USB3 device via "USB-C to USB Adapter" to USB-C port and i have in map

Code:
"SS04", Package()
                    {
                        "UsbConnector", 3,
                        "port", Buffer() { 16, 0, 0, 0 },
                    },

If SS04 is your USB-C and it is the same regardless of USB-C cable orientation, then it is a USB-C with switch, and therefore should be UsbConnector=9.
And any HSxx port that is associated with that port should also be UsbConnector=9.
 
Status
Not open for further replies.
Back
Top