Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UX430 (kabylake refresh) and realtek alc-294 #67

Open
xseignard opened this issue Mar 16, 2020 · 13 comments
Open

UX430 (kabylake refresh) and realtek alc-294 #67

xseignard opened this issue Mar 16, 2020 · 13 comments

Comments

@xseignard
Copy link

Hello,
I have an Asus UX430 (kabylake refresh) and it seems that I have a realtek alc-294 instead of realtek alc-295 mentionned in this repository.

I had troubles getting the jack output working (but it was recognized when I plug my earphones).

I updated AppleALC.kext from here (https://github.com/acidanthera/AppleALC). And started fiddling to find the right layout-id.

At the end, layout-id 21 is the one working for me.

So I created a file (layout21_HDEF.asl ) with the follwing (in src/hotpatch/include):

    // inject properties for audio

    External(_SB.PCI0.HDEF, DeviceObj)
    Method(_SB.PCI0.HDEF._DSM, 4)
    {
        If (!Arg2) { Return (Buffer() { 0x03 } ) }
        Return(Package()
        {
            "layout-id", Buffer(4) { 21, 0, 0, 0 },
            "hda-gfx", Buffer() { "onboard-1" },
            "PinConfigurations", Buffer() { },
        })
    }

And changed the src/hotpatch/SSDT-UX430-KabyLakeR.dsl to include the right layout (on line 9):

    #include "include/layout21_HDEF.asl"

Now I have working audio (jack + speakers)

I hope this help other people.
I can make a PR, but since it seems there are UX430 kabylake refresh with alc-295, I wouldn't mess with it.

Regards

@Vmonheros
Copy link

Hi.

I have an UX430 UAR with all-294 as you. And I also use layout 21 from the beginning without any issue (outside of the fact that there is no microphone with jack).

I inject Device Properties for codec configuration, one SSDT less :p.

PciRoot(0)/Pci(0x1f,3)

#no-controller-patch
1
hda-gfx
onboard-1
layout-id
21

@akaditya13
Copy link

Hello. I have UX430UNR with ALC294. To make my audio working, I updated AppleALC. Then on clover configurator I disabled patch that say rename HDAS to HDEF and change layout-id to 21. With this, I have jack audio. the microphone with jack is working too.

@Vmonheros
Copy link

Hi.

You have the microphone for your jack headset working ? Internal microphone works, but external headset one not in my case.

@akaditya13
Copy link

Yes, microphone on my headset is works too. i confirm it with trying alternately build in and the headset. But, my headset only working system preferences-sound-input window is active. so wierd.

@xseignard
Copy link
Author

Hi @Vmonheros and @akaditya13
Does the jack output work after sleep/wake ?

@bliss95
Copy link

bliss95 commented May 1, 2020

Hi @xseignard
The headset works properly for mic/out after sleep/wake.

I am using Multi system, Windows 10 and Hackintosh
My problem, no sound after restart Windows 10. To fix this, is to shutdown the Windows 10.

@xseignard
Copy link
Author

xseignard commented May 2, 2020

Thanks @bliss95 but what's your asus model, realtek model, and your configuration ?

@bliss95
Copy link

bliss95 commented May 2, 2020

https://www.asus.com/Laptops/ASUS-ZenBook-UX430UN/
i7 8550U, 16GB, 850GB Nvme, MX150 etc.

@xseignard
Copy link
Author

Thanks, what about the realtek chip ?
Is it ALC294?
What layout id are you using? Do you also have codeccommander ?

@bliss95
Copy link

bliss95 commented May 2, 2020

Realtek ALC294, Layout Id is 21, other layouts don't work, New Layout Id 22 is coming to test in AppleALC 1.4.9.
I have used CodecCommander before Catalina. Fixed the microphone issue.
I don't know if there is still a need now. It just stands in the EFI folder.

@xseignard
Copy link
Author

Thanks a lot!

@bliss95
Copy link

bliss95 commented May 4, 2020

AppleALC 1.4.9 is out.
Layout ID 22 is the same 21. No difference except Codec Name in plist

@Yeboster
Copy link

Yeboster commented May 14, 2020

Hello,

First of all thanks for this awesome work, I've got an Asus ux430unr and I've setup MacOs Mojave with little effort. What an experience MacOs!

How can I find what ALC I'm running ? And then, how can I update the correct layout ? I've read the instructions of AppleALC and updated the kext but still the headphones don't work.

Thank you ahead.


EDIT: I've found I have the ALC294 as you. I've followed your instructions and now I'm a happy user of a fully functional mac :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants