Jump to content

AppleHDA.kext and Laptop Subwoofer. AKA 2.1 audio.


  • Please log in to reply
95 replies to this topic

#81
Zackptg5

Zackptg5

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 140 posts

That means that you didn't install the getdump command. First of all, do you have an admin account? You shouldn't need sudo for this command.

Second, to verify that it's not installed, type 

ls /usr/local/bin

If you don't see getdump in the resulting list, then it's not installed. 



#82
sandro_desktop

sandro_desktop

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts
  • Gender:Male
  • Location:Italy

I've finally managed to have the getdump ... after typing in terminal:

 

/usr/local/bin/getdump

 

Here attached the file

 

Thx!

Attached Files



#83
Zackptg5

Zackptg5

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 140 posts

How does the sound work with voodoohda? Do all of the devices work properly? Which ones are disabled when others are plugged in?

 

Also, after that, try deleting voodoohda and installing the AppleHDA from post #73 with kext wizard (repair cache and such after install and then reboot).

 

Does everything work with it? There are some slight differences between how voodoo is tracing the nodes and how I am



#84
sandro_desktop

sandro_desktop

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts
  • Gender:Male
  • Location:Italy

with VoodooHDA everything works fine;

 

when I install your AppleHDA.kext I have only internal speakers working, or only subwoofer working (when I plug into the laptop its mini-jack), and the headphones don't work, there is a lot of noise ...



#85
Zackptg5

Zackptg5

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 140 posts

If voodoo works then great! If you still want to AppleHDA though, try this one. 

Attached Files



#86
sandro_desktop

sandro_desktop

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts
  • Gender:Male
  • Location:Italy

with this AppleHDA.kext I have no audio device detected ... thank you anyway



#87
TheRacerMaster

TheRacerMaster

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 646 posts
  • Gender:Male

Post your codec dumps and I can take a look at it later

 

Sorry for not responding earlier, here's the dump. Codec is an IDT 92HD81B1X5.

Attached Files



#88
Zackptg5

Zackptg5

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 140 posts

Sorry for not responding earlier, here's the dump. Codec is an IDT 92HD81B1X5.

 

So the first zip attached is the patched 10.10.4 AppleHDA from Mirone's github page (https://github.com/M...ppleHDA_10.10.4). I think it'll still work in 10.10.5 but don't take my word for it. 

It doesn't appear that you're external mic/line in is enabled in it though so I took the 10.10.5 AppleHDA, implemented Mirone's config to it, and made a few changes to enable it (2nd attachment). 

 

You should have 4 devices: internal speakers, headphones, internal microphone, and external microphone (line in). 

 

All of those devices except the internal mic are EAPD devices so you'll probably need to use EAPDFix or CodecCommander in addition to this patched AppleHDA to get those to work properly.

 

Try them both and let me know how they work. I believe that all but the ext mic should work with mirone's assuming 10.10.4 AppleHDA will work in the 5th update and hopefully all 4 will work with mine

 

Btw, layout id = 3 in both kexts for any hdaenablers you're using (or dsdt or boot loader)

Attached Files



#89
TheRacerMaster

TheRacerMaster

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 646 posts
  • Gender:Male

I've been using Mirone's kext, but unfortunately it doesn't seem to get the subwoofer on the bottom of the laptop working (I put my ear next to it and no output). I think it will require extra patching; in Arch Linux I had to edit the alsa config to set snd-hda-intel model=hp-dv7-4000 to get the subwoofer properly working.



#90
Zackptg5

Zackptg5

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 140 posts

I've been using Mirone's kext, but unfortunately it doesn't seem to get the subwoofer on the bottom of the laptop working (I put my ear next to it and no output). I think it will require extra patching; in Arch Linux I had to edit the alsa config to set snd-hda-intel model=hp-dv7-4000 to get the subwoofer properly working.

That's exactly what I said I'm my previous post. Try the one I patched (see last post)

#91
TheRacerMaster

TheRacerMaster

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 646 posts
  • Gender:Male

I tried your kext, but I get no output. Are you sure it's patched? The MD5 of the AppleHDA binary & the layout3.xml.zlib are identical to the stock kext. I think you may have accidentally uploaded the wrong one.



#92
Zackptg5

Zackptg5

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 140 posts

Ok, I'm thinking the  binary patching or something isn't working right. Try this one. 

 

If it doesn't work, I've attached the codec config, modified layout3 and Platforms (all patched already) if you want to give it a shot with the compiling and stuff.

 

Here's a good guide: http://www.insanelym...for-your-codec/

Attached Files



#93
TheRacerMaster

TheRacerMaster

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 646 posts
  • Gender:Male

Unfortunately seems to be the same result, it's properly patched, but the subwoofer doesn't work still.



#94
Zackptg5

Zackptg5

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 140 posts

Unfortunately seems to be the same result, it's properly patched, but the subwoofer doesn't work still.

Is this with the applehda from the previous post or patching applehda yourself with the other files from the last post?

If it still isn't working, voodoohda is always an option

#95
Rodion2010

Rodion2010

    InsanelyMac Protégé

  • Members
  • PipPip
  • 50 posts

AFAIK separate channel in OSX is impossible. Any audio player produces only 2 channel stream: left and right. I mean analog sound say nothing about digital.

 

It is possible and it is used at real MacBook

they use DSP functions from DSP Kernel Lib to produce additional channels from stereo

Russian topic https://applelife.ru...b-kext.1194341/

ioclasscount | grep DspFunc

DspFunc = 3
DspFunc2To4Splitter = 2
DspFunc6ChOutput = 1

etc

but still no idea how to use it and create working kext ((


and here is the 6 channel output

http://www.insanelym...hda-for-alc889/


Subwoofer in Platforms Path Map

<key>Channels</key>

<array>
<dict>
<key>Channel</key>
<integer>4</integer> // 1 2 - are stereo or front , 4 - Sub! , 5 6 - Surround Channels if present ( 3 is Center channel in theory but never seen it in Apple's files)
<key>Bind</key>
<integer>0</integer>
</dict>
</array>


more DSPs used for SubWoofer:

DspFunc2Dot1Crossover 

DspFunc2Dot2Crossover 
DspFunc2To4Splitter 
DspFunc2To6Splitter 
DspFunc2WayCrossover 
DspFunc3ChOutput 



#96
wern apfel

wern apfel

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 309 posts
  • Gender:Male
  • Location:Earth

I've also tried to make a 6 channel kext, but there is no discrete 6 channel only 2 channels on all outputs something like fake surround, you can control the volume from all channels but no discrete 6 channel. I've tried VLC and the Apple DVD player. It seems that this patch is only good for 2.1 Laptops or MP3 file at 5.1 systems







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2016 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy