Cant get card fully working in Studio 13 XPS. (XPS 1340)

AppleHDA.kext will detect card, but it works sometimes and sometimes it just doesnt work, though after sleep-wake it always work (but i lose

VoodooHDA.kext also detects but audio is distortioned!

Any clues in AppleHDA one?? If i can get that working would be great!