Jump to content

AppleALC — dynamic AppleHDA patching


  • Please log in to reply
1851 replies to this topic

#21
FredWst

FredWst

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 584 posts
  • Gender:Male
  • Location:France

I added controller patching code to trunk with x99/hd4600 examples. HDMI audio should be addible now.

Any other (even non-audio) kext patching can be done as well, the platform allows it, just edit the plists.

 

Rockey12, pretty much no one here will write anything for you, and me in particular. There is a decent instruction, follow it and make the codec supported if it is not already. Why do people think I am the one going to set their audio up after creating a platform and even writing the docs on how to use it.

 

pmcnano, I use nvidia web drivers here, and the system boots at least. No idea what fails for you, be more descriptive if you want to get a decent reply.

 

 

Hello,

 

AppleALC does not work for me.

 

Attached File  debug.log.zip   2.79KB   17 downloads

 

Fred



#22
WinstonAce

WinstonAce

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 621 posts

Working great here with ALC1150 (Z97) and ozmosis

Thanks!



#23
cecekpawon

cecekpawon

    InsanelyMac Legend

  • Developers
  • 892 posts
  • Gender:Male
AppleALC does not work for me.

 

Fred

 

Same alc892 & log here. Got it working with latest Andrey1970s compiled kext from applelife. Looks like applealc always failed to patch the target binary (only working with clover patch) when i compile it myself. And now receiving error when compiling with latest commit from repo. Could anyone share your "working" full project source here please



#24
vit9696

vit9696

    InsanelyMac Geek

  • Developers
  • 249 posts
  • Gender:Male

Please update to the latest github revision. Most of the issues were fixed, and it will surely compile.



#25
cecekpawon

cecekpawon

    InsanelyMac Legend

  • Developers
  • 892 posts
  • Gender:Male

Same error :(

 

-- remove attachment


Edited by cecekpawon, 13 March 2016 - 11:35 AM.


#26
vit9696

vit9696

    InsanelyMac Geek

  • Developers
  • 249 posts
  • Gender:Male

You have an invalid resource plist somewhere. Check the most recent guidelines.



#27
cecekpawon

cecekpawon

    InsanelyMac Legend

  • Developers
  • 892 posts
  • Gender:Male

I didnt touch any file & directory, source remain untouched @vit9696 to make sure im not doing wrong / modification. Just direct clone & compile. Never receive error with this commit & below.



#28
vit9696

vit9696

    InsanelyMac Geek

  • Developers
  • 249 posts
  • Gender:Male

Eh… I really don't know what's going on. I have just tried a standard svn co https://github…and it built for me with Xcode 7.



#29
JorgeMax

JorgeMax

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 472 posts
  • Gender:Male
  • Location:Brasil-Piauí-Teresina

vit9696. Friend do not know how to create the kext in xcode, you could do this? That's my file:  Attached File  AppleALC-master (Jorge).zip   3.58MB   44 downloads

 

I had to modify the properties for my codec "ALC887", because it enables the front headphones.

 

Thank you.



#30
Rockey12

Rockey12

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 666 posts
  • Gender:Male
  • Location:Earth
  • Interests:no comi

I added controller patching code to trunk with x99/hd4600 examples. HDMI audio should be addible now.

Any other (even non-audio) kext patching can be done as well, the platform allows it, just edit the plists.

 

Rockey12, pretty much no one here will write anything for you, and me in particular. There is a decent instruction, follow it and make the codec supported if it is not already. Why do people think I am the one going to set their audio up after creating a platform and even writing the docs on how to use it.

 

pmcnano, I use nvidia web drivers here, and the system boots at least. No idea what fails for you, be more descriptive if you want to get a decent reply.

thank you for your quick reply i really appreciate it i well do it as you sad



#31
chris1111

chris1111

    Packager

  • Donators
  • 4,432 posts
  • Gender:Male
  • Location:Montreal Canada
  • Interests:Mac OS X Packaging / scripts

Great Project !



#32
pmcnano

pmcnano

    Preguntaaame caom!

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,240 posts
  • Gender:Male
  • Location:Merida, Mexico
Sorry if I wasn't clear enough.

My first boot with the kext loaded was after updating to 10.11.3, sound was working but I didn't have GPU acceleration because system was using OSX Stock drivers (have a 970).

Updated nvidia web drivers and it booted fine, GPU acceleration but no more audio devices (except for HDMI monitors)

Using ALC1150.

Thanks

#33
vit9696

vit9696

    InsanelyMac Geek

  • Developers
  • 249 posts
  • Gender:Male
JorgeMax, that much I can hint of course.
Installing Xcode is as simple as pressing a Download button in App Store :)
And to build a project in Xcode one needs to press that big play button to the left of the configuration name or use cmd+b (cmd+r) shortcut or go to Product → Build / Product → Run menu.
The compilation will start producing a kext file in seconds in the Products section on the left pane. You can right-click the kext and pick "Show in Finder" option to get to a resulting file.

pmcnano, I think you were using a bugged version. Sorry for that :) I have recently fixed a bug with very simlar symptoms. Try the latest version in the repository, if it does not work work for you, we will need a debug log.

#34
FredWst

FredWst

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 584 posts
  • Gender:Male
  • Location:France

Same alc892 & log here. Got it working with latest Andrey1970s compiled kext from applelife. Looks like applealc always failed to patch the target binary (only working with clover patch) when i compile it myself. And now receiving error when compiling with latest commit from repo. Could anyone share your "working" full project source here please

 

Thank,

 

Vit9696 debug this morning.

HDAU also works fine.

 

Vit9696, i did not find kext to add in info.plist to make load AppleALC earlier.

So patch USB limit as you see is in, but does not load.

 

Fred



#35
pmcnano

pmcnano

    Preguntaaame caom!

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,240 posts
  • Gender:Male
  • Location:Merida, Mexico

@vit9696 cool man, thanks! I will try for sure!

 

http://pastebin.com/9bxMMsLA



#36
JorgeMax

JorgeMax

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 472 posts
  • Gender:Male
  • Location:Brasil-Piauí-Teresina

JorgeMax, that much I can hint of course.
Installing Xcode is as simple as pressing a Download button in App Store :)
And to build a project in Xcode one needs to press that big play button to the left of the configuration name or use cmd+b (cmd+r) shortcut or go to Product → Build / Product → Run menu.
The compilation will start producing a kext file in seconds in the Products section on the left pane. You can right-click the kext and pick "Show in Finder" option to get to a resulting file.

pmcnano, I think you were using a bugged version. Sorry for that :) I have recently fixed a bug with very simlar symptoms. Try the latest version in the repository, if it does not work work for you, we will need a debug log.

 

Friend. I do not know what happens, but it appears these two errors:

 

Attached File  Captura de Tela 2016-03-12 às 15.06.41.png   145.49KB   10 downloads              Attached File  Captura de Tela 2016-03-12 às 15.06.54.png   289.43KB   8 downloads



#37
pmcnano

pmcnano

    Preguntaaame caom!

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,240 posts
  • Gender:Male
  • Location:Merida, Mexico

Lol I can't make it work anymore, not with Nvidia or without Nvidia:

 

http://pastebin.com/YnupikMJ

 

There's the log.



#38
Riley Freeman

Riley Freeman

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,630 posts
  • Gender:Male
  • Location:The Streets

Working fine with ALC898 and ALC892 on my two Asus boards. Didn't have to make any changes to the project, just compiled and rebooted. It does write an entry into the system log about being unable to find HDAU, but I don't use HDMI so I'm not bothered about that yet.

 

I tried it first on my laptop. Don't know if it's the ALC269 or El Capitan (the desktops are both on Yosemite) but it's not working there. I'll do some more digging later. Just wanted to report the success with the two desktops.



#39
crusher.

crusher.

    Ozmosis

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,560 posts
  • Gender:Male

I maked AppleALC and I wait new relase of OS X and test. I on Oz use vHDA.



#40
vit9696

vit9696

    InsanelyMac Geek

  • Developers
  • 249 posts
  • Gender:Male

Friend. I do not know what happens, but it appears these two errors

These are not errors but warnings caused by Apple's laziness. https://forums.devel...om/thread/20024
I am surprised they are not fixed after half a year, but we have what we have. Result-wise they are harmless.
 
 

http://pastebin.com/YnupikMJ

This log runs something ancient, probably the release version. Download ZIP Use this big button on github project if you fail to use git/svn to obtain the recent source code.

 

Riley Freeman, nice to hear it works. As for ALC269 and laptops you are likely to need your own configuration.

 

Currently the added ALC269 configurations are:

ALC269 - revision 0x100100, layout 27, layout 3

ALC269VC - revision 0x100202, layout 28


and we are yet to update the wiki page regarding codec compatibility.







2 user(s) are reading this topic

2 members, 0 guests, 0 anonymous users


© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy