Help - Search - Members - Calendar
Full Version: need your great work on it
InsanelyMac Forum > InsanelyMac Lounge > The X Labs > AppleHDA
ugokind
i'm asking help to the forum
we are a dozen person (from greece to italy) trying to solve the problem
after reading the king method,, taruga method.. and others.. no luck on it
we've codev verbs.. diagram.. photo map of node and good idea of what connect to
but using original applehda
of modified (the king or other alc888.. ) but only to use an already patched binary executable with our id!
but .. nothing


Name decimalni hex HexEdit
alc888 283904136 0x10ec0888 8808ec10


Codec: Realtek ALC888
Address: 0
Vendor Id: 0x10ec0888
Subsystem Id: 0x1025013f
Revision Id: 0x100202



01171cf0 01171d11 01171e11 01171f41
01271c40 01271d09 01271ea3 01271f99
01471c10 01471d01 01471e13 01471f99
01571c1f 01571d10 01571e21 01571f02
01671cf0 01671d11 01671e11 01671f41
01771cf0 01771d11 01771e11 01771f41
01871c30 01871d9c 01871ea1 01871f02
01971cf0 01971d11 01971e11 01971f41
01a71c3f 01a71d34 01a71e81 01a71f02
01b71cf0 01b71d11 01b71e11 01b71f41
01c71cf0 01c71d11 01c71e11 01c71f41
01d71c2d 01d71d85 01d71e16 01d71f40
01e71c20 01e71d11 01e71e45 01e71f02
01f71cf0 01f71d11 01f71e11 01f71f41


and this is
TARUGA OUTPUT:
AppleHDA Patcher - 2006/2007 by Taruga v1.20


* Patching AppleHDA.kext to 0x10ec0888 Done
* Checking AppleHDA for patch Done
0001f4a0 cmpl $0x10ec0888,%eax
00020584 cmpl $0x10ec0888,%eax
* Checking for SPDIF Out Detected
* Checking for SPDIF In Not Detected
* Using the following nodes in pathmap

Back Mic : 9 34 24 (9 34 26)
Line In : 8 35 26 (8 35 12)
Speaker : 20 12 2 (20 12 2)
(21 13 3)
Headphone: 27 38 37 (27 38 37)
(22 14 4)
Spdif Out: 30 6 (30 6)

* Copying new config to destination Done
* AppleAzalliaAudio detected
* Removed Done
* Repairing Permissions Done
* Deleting Extensions Cache Done

** Done patching - You can reboot now **







__________________________
but: the second audio card we have is that.. we're asking how we are the only person in the net with that compmex cards??
is important to put or kext load or is .. for example.. a codec audio for modem??

LA SCHEDA SECONDARIA HDMI AUDIO
Codec: Generic 10de ID 6
Address: 2
Vendor Id: 0x10de0006
Subsystem Id: 0x10de0101
Revision Id: 0x100000
No Modem Function Group found

00571c10 00571d01 00571e56 00571f18
00771c21 00771d01 00771e56 00771f58
00971c22 00971d01 00971e56 00971f58
00b71c23 00b71d01 00b71e56 00b71f58
00d71c24 00d71d01 00d71e56 00d71f58





thanks.. and bye

hugo
XIIIn80
You are not single! I have Acer 5930G too and i don't have a sound
9a6paf
I have Acer 5920G running vanilla 10.5.6, with ALC888ST sound that is fully working (all of the I/O capabilites) with this driver (using kext and dsdt.aml with vanilla AplleHDA): http://www.insanelymac.com/forum/index.php...st&id=49418 . Try it on yours 5930G, maybe it will work. If not, try to make yours dsdt.aml or post dsdt.dsl here so I can try to enter codec info in your dsdt.dsl.
ugokind
woa!!
thanks
the situation now is :
- the king helped me so much he provided 2 versions kext that is only a plist.. and must chained with applehda retail and hdaenabler (these are not working fine.. only front speaker pin 12 obviously.. mic internal not working but hp is autoswitch and ok mic ext)
- taruga patcher not working..
- the nobb1x is a modded version of that plist and works.. but the applehda is different.. and an EFI string bust added on the boot.plist but no hp autoswitch!
- the voodoohda newer :
a) the svn is rev.8 .. is hp autoswitch, no mic int, yes mic ext and only front speaker pin 12 obviously
cool.gif voodoohda 0.2.2 is not working
c) voodoohda 0.2.2 by thireus is not working

i give you the nobb1x zip and this evening my dsdt.aml

thanks!!
9a6paf
Ok then, just send me ioreg-full.txt by executing ioreg -lw0 > ./ioreg-full.txt in shell. I will try to correct your dsdt table during this evening or tomorrow in the morning wink.gif
ugokind
in attach dsdt.aml and ioregfull

in these last 4 month i've created a lot of dsdt
with dsdt patcher it was a disaster.. more than 60 errors on compile (with or not -f or hpet etc..)
for a month I used the UBUNTU one..
then I used the override dsdt patched version.. the one created with a binary (SSDT override post!)

I tried to mod the dsl.. replacing some parts.. but I confess.. I'm not able. I'd like to put my video and audio.. to use lpc.. to use hpet without a disabler.. but I take is as it comes.. smile.gif smile.gif

thanks
ugo
9a6paf
Click to view attachment
Here, try this DSDT.aml inside zip file. I used your ioreg dump as dsdt table source and included fassl HPET&RTC patch with modified DSDT Patcher v1.0.1e (using ioreg-full.txt as input file instead local ioreg dump). Also, there are dsdt-fixed.txt files with and without hdef patch so you can see the difference. wink.gif
ugokind
QUOTE (9a6paf @ May 5 2009, 10:52 PM) *
Click to view attachment
Here, try this DSDT.aml inside zip file. I used your ioreg dump as dsdt table source and included fassl HPET&RTC patch with modified DSDT Patcher v1.0.1e (using ioreg-full.txt as input file instead local ioreg dump). Also, there are dsdt-fixed.txt files with and without hdef patch so you can see the difference. wink.gif


thanks.
ok, i test it now.
shall I remove some kexts in extra/extensions to enable something new?

then.. it's obvoius.. reboot with only original applehda produce nothing..
then i have to create my plist.. and noefi.. because you put it into dsdt.. right?
9a6paf
QUOTE (ugokind @ May 6 2009, 06:13 AM) *
thanks.
ok, i test it now.
shall I remove some kexts in extra/extensions to enable something new?

then.. it's obvoius.. reboot with only original applehda produce nothing..
then i have to create my plist.. and noefi.. because you put it into dsdt.. right?

Try booting without efi code (which is included in zip in apple.com.Boot.plist). Just put this DSDT.aml in root and install Acer5920GHDA.kext with Kext Helper. Be sure to remove any ALCInject.kext, AppleAzalia.kext or HDAEnabler.kext (also check inside AppleHDA.kext/Contents/Plugins folder for any of these) from /S/L/E. Remove and VoodooHDA.kext driver if it is still there. Just to be shure that you are really using vanilla AppleHDA, extract it from Apple's 10.5.6 Combo Update with Pacifist and install it with Kext Helper.
Boot with -v option and check if it says anything about AppleHDA. You can check it later with sudo dmesg in Terminal. If it does, and if it says something like "Sound assertion error", maybe Pinconfig is wrong. If sound is still not working after reboot, I will try to make some other PinConfig tonight.
Also make shure that you are using system capable for DSDT patching (Chameleon 1.0.11, 1.0.12, 2.0RC1, PCEFI v9 or something like that).
ugokind
Try booting without efi code (which is included in zip in apple.com.Boot.plist).
--> I started without efi since the 1st try... now I boot w/o efi too
Just put this DSDT.aml in root and install Acer5920GHDA.kext with Kext Helper.
--> dsdt newer ok, i'll put thte acerkext this evening
Be sure to remove any ALCInject.kext, AppleAzalia.kext or HDAEnabler.kext (also check inside AppleHDA.kext/Contents/Plugins folder for any of these)
--> ok.. i never used those kext.. but i'll check!!
from /S/L/E. Remove and VoodooHDA.kext driver if it is still there.
--> ok
Just to be shure that you are really using vanilla AppleHDA, extract it from Apple's 10.5.6 Combo Update with Pacifist and install it with Kext Helper.
--> i've a copy of the retail extensions.. and since yesterday I used the retail one smile.gif
Boot with -v option and check if it says anything about AppleHDA. You can check it later with sudo dmesg in Terminal. If it does, and if it says something like "Sound assertion error", maybe Pinconfig is wrong.
--> i'll give you the log
If sound is still not working after reboot, I will try to make some other PinConfig tonight.
--> perfect thanks
Also make shure that you are using system capable for DSDT patching (Chameleon 1.0.11, 1.0.12, 2.0RC1, PCEFI v9 or something like that).
--> used chama 1.0.12 and now 2.0 rc1 that support dsdt and ssdt as well

ok let's write tonight

ciao
ugokind
i'l like to ask you a question (i'm at office and i didn't try it yet)

i see comparing 2 files that you manage a portion ok.


before
CODE
                 Name (_ADR, 0x001B0000)
                 OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
                 Field (HDAR, WordAcc, NoLock, Preserve)
                 {
                     DCKA,   1,
                             Offset (0x01),
                     DCKM,   1,
                         ,   6,
                     DCKS,   1,
                             Offset (0x08),
                         ,   15,
                     PMES,   1
                 }

                 Name (_PRW, Package (0x02)
                 {
                     0x0D,
                     0x03
                 })
                 Name (HDWA, 0x00)
                 Method (_PS0, 0, Serialized)
                 {
                     If (LEqual (HDWA, 0x00))
                     {
                         Store (0x01, HDWA)
                         HKEY (0x8F)
                     }
                 }

                 Method (_PS3, 0, Serialized)
                 {
                     Store (0x00, HDWA)
                 }
             }



after:
CODE
           Method (_PRW, 0, NotSerialized)
           {
                 Return (Package (0x02)
                 {
                    0x0D,
                    0x05
                 })
           }

            Method (_DSM, 4, NotSerialized)
             {            
              Store (Package (0x08)
                 {
                    "codec-id",
                    Buffer (0x04)
                    {
                       0x85, 0x08, 0xec, 0x10
                    },
                    
                    "layout-id",
                    Buffer (0x04)
                    {
                      
                       0x0C, 0x00, 0x00, 0x00
                    },
                    
                    "device-type",
                    Buffer (0x011)
                    {
                       "[b]ALC885[/b]"
                    },
                    
                             "PinConfigurations",
                             Buffer (0x18)
                             {
                       /* 0000 */    0x40, 0x10, 0x21, 0x01, 0x20, 0x11, 0x10, 0x90,
                       /* 0008 */    0x60, 0x11, 0x45, 0x01, 0x50, 0x90, 0x81, 0x01,
                       /* 0010 */    0x10, 0x01, 0xa0, 0x90, 0x30, 0x10, 0x81, 0x01
                             }
                    
                 }, Local0)
              DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))  
              Return (Local0)      
           }  
          
           Method (DTGP, 5, NotSerialized)
           {
               If (LEqual (Arg0, Buffer (0x10)
                           {
                               /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44,
                               /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
                           }))
                   {
                       If (LEqual (Arg1, One))
                       {
                           If (LEqual (Arg2, Zero))
                           {
                               Store (Buffer (One)
                                   {
                                       0x03
                                   }, Arg4)
                               Return (One)
                           }

                           If (LEqual (Arg2, One))
                           {
                               Return (One)
                           }
                       }
                   }

                   Store (Buffer (One)
                       {
                           0x00
                       }, Arg4)
                   Return (Zero)
               }
        }



1)but the alc885 (mine is 888) produce problems.. shall i change it and rebuild?
2)can i manage this mod? (in order to have hpet and no disabler?


CODE
Method (_STA, 0, NotSerialized)
                    {
                        If (LEqual (OSFL (), Zero))
                        {
                            If (LEqual (NVID, 0x10DE))
                            {
                                Return (0x0F)
                            }
                            Else
                            {
                                Return (Zero)
                            }
                        }
                        Else
                        {
                            Return (Zero)
                        }
                    }


and


before:
CODE
        If (_OSI ("Windows 2006")) {
            Store (0x15, Local0)
        }


after:

CODE
If (_OSI ("Windows 2006"))
        {
            Store (0x15, Local0)
        }

        If (_OSI ("Darwin"))
        {
            Store (0x15, Local0)
        }
9a6paf
Yes, you can make these changes. But also, when changing ALC885 to ALC888, more important is to change codec-id from 0x85 to 0x88.

this:
CODE
                    "codec-id",
                    Buffer (0x04)
                    {
                       0x85, 0x08, 0xec, 0x10
                    },


to that:
CODE
                    "codec-id",
                    Buffer (0x04)
                    {
                       0x88, 0x08, 0xec, 0x10
                    },


You can make new dsdt.aml and for testing rename it to something like dsdt-newalc.aml and copy it to root. Then boot with parameter DSDT=/dsdt-newalc.aml to override built in dsdt.aml lookup.
ugokind
very good
mod your dsdt fixed
compiled.. compliments.. it's the 1st time I build w/out errors!

ASL Input: dsdt_test.txt - 10449 lines, 402299 bytes, 4176 keywords
AML Output: ./DSDT.aml - 41152 bytes, 894 named objects, 3282 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 1113 Optimizations

i changed only the darwin entry.. because i found the hpet section.. that report: if os code GreatorEq to a number.. return 0x0f (hpet ON)
and copied hex code of windows 2006 section it works fine, because the if clause check a number that is a bit lower thant w2006

perfect!

put acer5920gkext.. now reboot


rebooted
only 1 error of sound assertion in log but the prefpane is all grey

i paste the portion of system.log during the boot

May 6 18:16:34 pc kernel[0]: Sound assertion "0 == layoutIDOSData" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDAController/AppleHDAController.cpp" at line 323 goto Exit
ugokind
ok read this not the prev
th syslog has more sound assertion errors but the panel is not grey
is did a miss.. kexthelper did not copy the acerkext.. ok now i'm strict with your scenario
i have no soud in no out

the log report:
CODE
May  6 18:55:35 Medardo kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 1327 goto Exit
May  6 18:55:35 Medardo kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 127 goto ExitVGA: family specific matching fails
May  6 18:55:35 Medardo kernel[0]: AppleDecrypt: page_transform: in_blk = 0x4167c000, out_blk = 0x4167d000
May  6 18:55:35 Medardo kernel[0]: Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-162.1.37/AppleHDA/AppleHDADriver.cpp" at line 1327 goto ExitAppleDecrypt: page_transform: in_blk = 0x4167c000, out_blk = 0x4167d000


but i can select and view the entry.. is a good way to start..
then.. what can I do?

i'm happy because it's the first time i compile dsdt w/o errors.. and now I have the system pure.. w/out disabler.. now I'm power mgm intel.. uaaa
i removed voodoopower..

but the utility genericcpupmcontrol now doesn't see anything.. do you know a way to look at the cpu.. like in windows when i see cpu loading?
(except the command line tools (top etc..))

ah, the only big issue is the cmmon of who has acer5930g.. (i spoke with greek, russian, spanish people recently)
in the boot, between the
waiting for uuid..
and
got boot device

3 times on 10 (is random.. sometimes 1 sometimes 5)
the system stops.. and want go on. else it continue with the 'got boot device blablabla'
and you hear the sound of the dvd.. (I think in vista, 7, kinux too.. is the acpi that call every part of the system.. also the dvd) when the boot starts.

you have the same problem in acer 5920?
ugokind
it's the 3rd boot
I confirm.. and the good boot are less than before
i think the dsdt have changes something.. because i can boot only in -v and in -v sometimes it hang before got boot device.. uff!!
9a6paf
I'm now in the middle of something... I had the same problem with booting, try UHCIreset=Yes or USBBusFix=Yes with Chameleon 2.0RC1. That should solve the boot problem.
Contact you later, when I will have more time.
ugokind
QUOTE (9a6paf @ May 6 2009, 06:22 PM) *
I'm now in the middle of something... I had the same problem with booting, try UHCIreset=Yes or USBBusFix=Yes with Chameleon 2.0RC1. That should solve the boot problem.
Contact you later, when I will have more time.


ok
i'll try 1st and 2nd and both
but i must try 30times.. before thinking it's scientific try!! smile.gif

thanks
(ps i use voodoousbehci) .. without it my lappie doesn't stop/sleep
then.. the only dubious kext is openhaltrestart.. is 4 monts that i use it but i'm not sure..
i'm sure that is due to acpi.. in other 2 mobo (mcp79 invidia) i never have hang on waiting for uuid and got boot device.
I feel (is only a feeling) that is a moment when (i compare to xp/vista) the mach_kernel is already started, and most vital kext are still running. then: one of the forst thing in modern boot process it to manage the Hardware Abstraction Layer through the acpi. is delicate, I think.. and the magic of override the bios by modding dsdt is a good but delicate way to achieve the best effort.. or to have strange behaviour.
ugokind
little update
with the last dsdt (your fixes and 888 hex update and hpet)
and the nobb1x (plist and applehda .. not applehda original) i returned to 2days ago situation..
then.. how works the pinconfig into dsdt? or the plist ovverride it during boot process?
9a6paf
QUOTE (ugokind @ May 6 2009, 08:09 PM) *
ok
i'll try 1st and 2nd and both
but i must try 30times.. before thinking it's scientific try!! smile.gif

No need for using USBBusFix and UHCIreset together. USBBusFix=Yes contains both UHCIReset=Yes and EHCIacquire=Yes fixes.
So...is it working?
QUOTE (ugokind @ May 6 2009, 08:09 PM) *
thanks
(ps i use voodoousbehci) .. without it my lappie doesn't stop/sleep
then.. the only dubious kext is openhaltrestart.. is 4 monts that i use it but i'm not sure..
i'm sure that is due to acpi.. in other 2 mobo (mcp79 invidia) i never have hang on waiting for uuid and got boot device.
I feel (is only a feeling) that is a moment when (i compare to xp/vista) the mach_kernel is already started, and most vital kext are still running. then: one of the forst thing in modern boot process it to manage the Hardware Abstraction Layer through the acpi. is delicate, I think.. and the magic of override the bios by modding dsdt is a good but delicate way to achieve the best effort.. or to have strange behaviour.

Well, I decided not to enable sleep yet, so I'm using vanilla USB kext's. wink.gif It seems that webcam is making problems during boot, it's connected on USB port and apparently is not waking properly during initialization process. I saw that somewhere on forum, but can't find that topic anymore.

QUOTE (ugokind @ May 7 2009, 08:15 AM) *
little update
with the last dsdt (your fixes and 888 hex update and hpet)
and the nobb1x (plist and applehda .. not applehda original) i returned to 2days ago situation..
then.. how works the pinconfig into dsdt? or the plist ovverride it during boot process?


Injecting pinconfig and codec info inside dsdt table should enable using vanilla AppleHDA without using EFI strings inside com.apple.Boot.plist and injectors like HDAEnabler. Only thing that is needeed is plist only driver that gives info about correct routes from mixer to jacks. And also you have pinconfig inside that plist if there is need to make some correction....so, yes, plist overrides dsdt's pinconfig. As you can see, pinconfig inside dsdt are using only last two numbers from full pingconfig verbs.
Last two days I'm having some problems with osx installation on i7(920)+EX58-UD5, and it's really time consuming process...so I will check your codec verbs as soon as I find a little bit more time wink.gif
ugokind
take is at it comes.
one day is fine.. other is black
then on pc (win or mac) is the same.. but is like a wife.. one day all os perfect and fine.. other is a crash.. you are not able to solve.. and wait.. wait.. tomorrow will be fine itself
blade5502
A friend of me also have a 5930G - all working (replaced Wifi, USB Ethernet Adapter) - but not this crappy Sound! Is there any working sollution yet?

Thanks and sorry for my bad English smile.gif
ugokind
QUOTE (blade5502 @ Jun 15 2009, 04:08 PM) *
A friend of me also have a 5930G - all working (replaced Wifi, USB Ethernet Adapter) - but not this crappy Sound! Is there any working sollution yet?

Thanks and sorry for my bad English smile.gif


I don't know
sorry for late answer but I haven't read that there's a newer post 'til .. now! ohmy.gif

so, my kext or the kext of the other posts.. are not able to run sound?

because is the best possible. maybe.. may I think there's another problem over there?

be quite.. me too.. I'm not british.. I'm italian and australian too.
blade5502
QUOTE (ugokind @ Jun 17 2009, 06:51 PM) *
I don't know
sorry for late answer but I haven't read that there's a newer post 'til .. now! ohmy.gif

so, my kext or the kext of the other posts.. are not able to run sound?

because is the best possible. maybe.. may I think there's another problem over there?

be quite.. me too.. I'm not british.. I'm italian and australian too.


Sound works, but not with internal speakers - only with extern speakers on LineOut. It's also very very silent! Used a patched AppleHDA kext.

Do you have a better solution?
ugokind
sorry for late answewr.. i'm reading all past post (pastpost ua ua uahh) and I saw yours. I suggest you to read and apply acer 5930 v3.0 . .is the best at the moment.

http://www.insanelymac.com/forum/index.php...=0#entry1199987
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.