overdue-scratch

Author Topic: VoodooHDA and ASUS AT3N7A-I (VIA VT1708S Codec) sound crackles randomly  (Read 13447 times)

0 Members and 1 Guest are viewing this topic.

loribee

  • Entrant
  • Posts: 3
Hi - apologies if this is covered by another bug, but i have been trying to get VoodooHDA working on my snow leopard install on this mobo.

after patching my dsdt i am able to detect the card, but i get crackles when playing audio. I did find if I move the mouse quickly about the screen though, the crackles stop, which is a bit wierd !!

i get the same behaviour on SPDF and also analog audio out. not sure if I can use the HDMI or not for this driver.

attached is a getdump from the system if you need it. if you need any more information from me, or need me to try anything else, then please let me know. i'm happy to do so

thanks in advance

-Lori

Z3r0

  • Observer
  • Posts: 15
Re: VoodooHDA and ASUS AT3N7A-I (VIA VT1708S Codec) sound crackles randomly
« Reply #1 on: December 20, 2009, 07:01:21 PM »
Hi! I'm working on a new install of Snow Leopard 10.6.2 on a Toshiba X200-20F laptop.
Everything is working well, except the sound (my codec is an ALC268, detected without any patch)

I get crackles too, and of course, it stops when I move the mouse quickly.
I use the 0.2.2 64bits build.

Also tested on Leopard 10.5.7 :
   - 0.2.1 - Sound is clear, everything OK
   - 0.2.2 - Crackles

Thanks too !

loribee

  • Entrant
  • Posts: 3
Re: VoodooHDA and ASUS AT3N7A-I (VIA VT1708S Codec) sound crackles randomly
« Reply #2 on: February 13, 2010, 08:47:00 AM »
hi .. did anyone figure out what is causing this? its the only thing left to get working on my laptop?

ive tried lots of versions of VoodooHDA and i still get the issue .. it is usb/interrupt based? it works if i move the mouse about but not when its still...

:((

Z3r0

  • Observer
  • Posts: 15
Re: VoodooHDA and ASUS AT3N7A-I (VIA VT1708S Codec) sound crackles randomly
« Reply #3 on: February 13, 2010, 12:48:52 PM »
Not solved yet...:(
I found a trick that can help waiting for the solution (only for laptop):

Because the sound gets clear when you move the mouse, it gets clear too when you put a finger on the trackpad.
So just put a metallic object (like a washer) on the trackpad, and the sound will be clear without your intervention. :)

It just works for me for 3 month now!

Tell me if it works on yours!
 ;)

Jaykob

  • Entrant
  • Posts: 1
Hi!
I searched the web for guides installing SL on the AT3N7A-I but I wasn't successful yet.  :(
Would you care to share your install method (required kexts, DSDT, ...)?
That would help me a lot.

Thanks in advance!

Rainbow

  • Entrant
  • Posts: 1
Just wanted to add I have the same issue, I've not tried perhaps enough versions of VoodooHDA, are there even earlier versions I should try?  I noticed someone mentioned 0.2.1, perhaps I should look at that? or is it not 64-bit compatible? (I'm on SL 10.6.0 at the moment)

I'm also using the AT3N7A-I board, but didn't have to do any specific dsdt patching or anything (though on this board I do have to disable legacy USB support to get the EHCI driver to behave sanely, meaning I can't interact with the bootloader, is there another option here?)

Z3r0

  • Observer
  • Posts: 15
Oye Ladies and Gentlemen !  :D

Proud to announce I've finally got the solution!
(thanks to sonotone, french from http://darwinx86.net;D (Cocorico!)

These crackles can be removed by patching your DSDT:
 - Some people reported by removing IRQ entries in TIMR and PIC Devices section
 - And (like me) by addinq these 2 IRQ entries in HPET Device section: http://pastie.org/915792

Don't ask why patching your DSDT, there is many and many tutos about that.

Cheers!  :-*

piyokos

  • Entrant
  • Posts: 5
Not my board - I'm trying to get the ALC272 working in Aspire 5517/eMachines E627 laptops, my cracking problem only gets slightly better when I move the mouse and occasionally it magically fixes itself for one bootup but reverts to broken on the next, I'm working on the DSDT but no dice yet. Can you direct me to the devs working on the DSDT solution, or maybe pass them this sound dump if it helps?

Thanks

Z3r0

  • Observer
  • Posts: 15
There isn't any topic or place working on that problem. I was looking for a solution for a long time before I find it "by chance".

Apparently, it's not the same "symptoms" as me. So I imagine it can change depending on every type of computer.

You can look for others IRQs in your DSDT, it might be a problem about that.

loribee

  • Entrant
  • Posts: 3
Hi - i tried to put the dsdt fixes in place but it does not compile

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090730 [Aug 12 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 4.0

/Library/DSDT/DSDTFiles/dsdt.dsl  2285:                 Method (RRIO, 4, NotSerialized)
Error    4095 -      syntax error, unexpected PARSEOP_METHOD ^

ASL Input:  /Library/DSDT/DSDTFiles/dsdt.dsl - 10087 lines, 303890 bytes, 683 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

also whenever i try to remove the irq from TMR it does not take - i re-read the aml into DSDTSE and its back again
Code: [Select]
                Device (HPET)
{
                    Name (_HID, EisaId ("PNP0103"))
                    Name (CRS, ResourceTemplate ()
                    {
                        IRQNoFlags ()
                            {0}
                        IRQNoFlags ()
                            {8}
                        Memory32Fixed (ReadOnly,
                            0xFED00000,         // Address Base
                            0x00000400,         // Address Length
                            _Y0F)
                    })
                    OperationRegion (^LPCR, SystemMemory, 0xFED1F404, 0x04)
                    Field (LPCR, AnyAcc, NoLock, Preserve)
                    {
                        HPTS,   2,
                            ,   5,
                        HPTE,   1,
                                Offset (0x04)
                    }

                    Method (_STA, 0, NotSerialized)
                    {
                        If (LEqual (OSFL (), Zero))
                        {
                            If (HPTE)
                            {
                                Return (0x0F)
                            }
                        }
                        Else
                        {
                            If (HPTE)
                            {
                                Return (0x0B)
                            }
                        }

                        Return (Zero)
                    }

                Method (_CRS, 0, NotSerialized)
                    {
                        CreateDWordField (CRS, \_SB.PCI0.SBRG.HPET._Y0F._BAS, HPT)
                        Multiply (HPTS, 0x1000, Local0)
                        Add (Local0, 0xFED00000, HPT)
                        Return (CRS)
                    }
                 
                Method (RRIO, 4, NotSerialized)
                {
                    If (LOr (LEqual (Arg0, Zero), LEqual (Arg0, One)))
                    {
                        If (LEqual (Arg2, 0x03F8))
                        {
                            Store (Arg1, S3F8)
                        }

                        If (LEqual (Arg2, 0x02F8))
                        {
                            Store (Arg1, S2F8)
                        }

                        If (LEqual (Arg2, 0x03E8))
                        {
                            Store (Arg1, S3E8)
                        }

                        If (LEqual (Arg2, 0x02E8))
                        {
                            Store (Arg1, S2E8)
                        }
                    }

                    If (LEqual (Arg0, 0x02))
                    {
                        If (LEqual (Arg2, 0x0378))
                        {
                            Store (Arg1, P378)
                        }

                        If (LEqual (Arg2, 0x0278))
                        {
                            Store (Arg1, P278)
                        }

                        If (LEqual (Arg2, 0x03BC))
                        {
                            Store (Arg1, P3BC)
                        }
                    }

                    If (LEqual (Arg0, 0x03))
                    {
                        Store (Arg1, FDC0)
                    }

                    If (LEqual (Arg0, 0x05))
                    {
                        If (LEqual (Arg2, 0x0330))
                        {
                            Store (Arg1, M330)
                        }

                        If (LEqual (Arg2, 0x0300))
                        {
                            Store (Arg1, M300)
                        }
                    }

                    If (LEqual (Arg0, 0x08))
                    {
                        Store (Zero, Local0)
                        If (Arg1)
                        {
                            Store (0xFF, Local0)
                        }

                        If (LEqual (Arg2, 0x0200))
                        {
                            Store (Local0, G200)
                        }

                        If (LEqual (Arg2, 0x0208))
                        {
                            Store (Local0, G208)
                        }
                    }
                }
                Method (RDMA, 3, NotSerialized)
                {
                }

                Device (TMR)
                {
                    Name (_HID, EisaId ("PNP0100"))
                    Name (CRS0, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0040,             // Range Minimum
                            0x0040,             // Range Maximum
                            0x00,               // Alignment
                            0x04,               // Length
                            )
                        IRQNoFlags ()
                            {0}
                    })
any chance of a patched DSDT for this mobo?  or telling me where the syntax errors are in the dsdt?

thanks


Moderator Edit: Please WRAP ALL computer OUTPUT/DUMPs within the CODE tags, and this comment will be removed. Thanks
« Last Edit: April 30, 2010, 07:38:54 PM by loribee »