___________________ Fabrício Nihues ---------- Forwarded message ---------- From: Fabrício Nihues <fabricio.nihues@xxxxxxxxx> Date: 2009/5/24 Subject: Re: USB audio adapters (CM6206 chip) To: Dan Allongo <gongo2k1@xxxxxxxxx> Hello, I've tried again on windows, and spdif passtrough is working with dts/ac3 files if you send it as 16 bit output, if sending as 24 bit or 32 bit I get noise, but the passtrough is working all the 5.1 channels, the receiver recognize dts and ac3 even if the analog out is set to 2 Ch on the driver control panel. The only thing that enable or disables the optical out is that switch in the cmedia control panel inside windows. If is there something I can do please tell, I'll try to do, I can only test tomorrow. ___________________ Fabrício Nihues 2009/5/24 Dan Allongo <gongo2k1@xxxxxxxxx>: > Okay, well, if SPDIF out didn't work with the settings I sent out, then I > really don't know what else to do for it since I'm only stabbing in the dark > here. > Besides, everything I'm reading seems to imply that the optical out is only > 2-channel stereo anyway on most of these "budget" chips and they only do > surround sound in analog. > > Surround 5.1 does indeed swap cen/lfe with rear outputs, but switching to > surround 4.0 properly down-mixes to rear channels (and being that I only > have a 4.0 system at home, this works for me). > Before I submit a patch for this, I'll need someone with a CM106 TurtleBeach > device to check that everything still works okay. > I'm setting the registers to default for a 7.1 card using the 48-pin chip as > per the datasheet with the only deviation of turning on the Line Out driver > as well (which was already there in the existing "quirk" for the CM106). > Once I get some feedback from CM106 users, I'll submit the patch. > > > --- usbaudio.c 2009-05-06 03:06:04.000000000 -0400 > +++ usbaudio.c 2009-05-24 11:07:44.000000000 -0400 > @@ -3273,10 +3273,17 @@ > static int snd_usb_cm106_boot_quirk(struct usb_device *dev) > { > /* > + * Set registers to defaults: > + * Clear SPDIF-out parameters > + * Enable DACx2, PLL binary, Soft Mute, and SPDIF-out > * Enable line-out driver mode, set headphone source to front > * channels, enable stereo mic. > + * Enable all channels and select 48-pin chipset > */ > - return snd_usb_cm106_write_int_reg(dev, 2, 0x8004); > + return snd_usb_cm106_write_int_reg(dev, 0, 0x0000) + > + snd_usb_cm106_write_int_reg(dev, 1, 0xb000) + > + snd_usb_cm106_write_int_reg(dev, 2, 0x8004) + > + snd_usb_cm106_write_int_reg(dev, 3, 0x007f); > } > > > @@ -3560,7 +3567,8 @@ > } > > /* C-Media CM106 / Turtle Beach Audio Advantage Roadie */ > - if (id == USB_ID(0x10f5, 0x0200)) { > + /* C-Media CM6206 / CM106-Like Sound Device */ > + if (id == USB_ID(0x10f5, 0x0200) || id == USB_ID(0x0d8c, 0x0102)) { > if (snd_usb_cm106_boot_quirk(dev) < 0) > goto __err_val; > } > > > > > On Sat, May 23, 2009 at 10:52 AM, Paolo Saggese <pmsa4-alsa@xxxxxxxx> wrote: >> >> On Saturday 23 May 2009, Fabrício Nihues wrote: >> >> > The light of optical is on now... but don't send sound again... I'm >> > sending to iec958:CARD=default,DEV=0 or spdif:CARD=default,DEV=0, on >> > both I don't hear sound. And, if I change the receiver to my analog >> >> try plughw:0,1 as the spdif out device. >> >> Also experiment with settings on alsamixer. >> >> Ciao, >> Paolo. >> >> -- >> Skype: Paolo.Saggese >> http://borex.lngs.infn.it/saggese >> You can still escape from the GATES of hell: Use Linux! >> >> >> ------------------------------------------------------------------------------ >> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >> is a gathering of tech-side developers & brand creativity professionals. >> Meet >> the minds behind Google Creative Lab, Visual Complexity, Processing, & >> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian >> Group, R/GA, & Big Spaceship. http://www.creativitycat.com >> _______________________________________________ >> Alsa-user mailing list >> Alsa-user@xxxxxxxxxxxxxxxxxxxxx >> https://lists.sourceforge.net/lists/listinfo/alsa-user > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Alsa-user mailing list > Alsa-user@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/alsa-user > > ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user