From: James Courtier-D. <Ja...@su...> - 2003-08-29 13:10:54
|
hi, These patches are now in the alsa cvs, but will take some time to be publically accessable, so I enclose the patches here for those who need it. I enclose a copy of the email I sent to the alsa-devel list, together with all the patch files you need, and instructions on what to do with them. They have been tested by several people now, so should work. I have an Audigy2, so, for the Audify you probably don't need my patches, only p z oooo's patches. p z oooo wrote: > Hi, > > This is taken from oss driver. It is not tested (I don't own > receiver). Can someone try it, maybe this works, I don't know. > > Audigy.conf - copy this to /usr/share/alsa/cards/ and overwrite old > one (make backup). > > emu10k1.h.patch - patch for file alsa-driver/alsa- > kernel/include/emu10k1.h > > emufx.c.patch - patch for file alsa-driver/alsa- > kernel/pci/emu10k1/emufx.c > Do NOT comment out the following lines. > If this doesn't work try to comment out lines > A_OP(icode, &ptr, iSKIP, A_GPR_COND, A_GPR_COND, A_GPR(gpr - 2), > A_C_00000001); > A_OP(icode, &ptr, iACC3, A_GPR(tmp + 2), A_C_00000000, A_C_00010000, > A_GPR(tmp + 2)); > > And if this doesn't work too, then delete this mail. > > Peter Zubaj > Your patch works up to a point. It will only work on the Audigy, and not the Audigy2. The Audigy and Audigy2 do things slighly differently. The L and R channels are reversed on the Audigy2, so I have compensated for this by using a different routing in Audigy2.conf. If you add my patches, this will work with both the Audigy and Audigy2. :-) emu10k1.c.patch - patch for file alsa-driver/alsa-kernel/pci/emu10k1/emu10k1.c (So that is looks for Audigy2.conf) Audigy2.conf - copy this to /usr/share/alsa/cards/ (It is a new file) Summary: - If one combines pzad's patch with my own, we have AC3 passthru working on all SB cards. SB Live (Worked before), SB Audigy (with pzas's patch) and SB Audigy2 (with my patch). Please check these into the alsa-kernel cvs. Cheers James |