Re: USB audio adapters (CM6206 chip)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Interesting to hear that it works straight out of the box on 64-bit.
Unfortunately I have no way to test that since I don't have any 64-bit capable hardware in the house (I know it's hard to believe!).
I've only got a Northwood, a Banias, a Dothan, two Yonahs, and two dual Sossamans - I guess I'm still in 32-bit land here.
If I do get my hands on some 64-bit hardware (maybe at work) I'll test out my change, but in the meantime, would someone else be kind enough to verify that this is indeed not necessary on 64-bit Linux and that my change doesn't break anything?

Thanks,
---Dan


On Fri, May 22, 2009 at 1:18 AM, gary <lists@xxxxxxxxxxxxxx> wrote:
FWIW, mine worked fine under XP64. That is, I didn't load any drivers. The last time I messed with this on Suse 11.1 (also 64 bit), I managed to get some distorted audio.

I'd like to get this USB card working eventually, but for expediency, I used several Diamond XS71 PCI cards in a PCI expander. For one application, I need to get the sound card in 8 bit mode, which I'm not sure can be done with the USB device.


Dan Allongo wrote:
Hi all.

I just got this chip off of e-bay like the rest of you and was disappointed to find that it's not working.
Well, it's now been a couple hours of reading the ALSA wiki and figuring out where to look in the source code, but I've finally got this chip working in .20 under Debian.

After sniffing USB data with Wireshark on a VirtualBox instance of WinXP, I noticed that config data was being sent from the host shortly after device enumeration.
This makes sense since it didn't work in Windows either until I installed the driver (so much for following USB audio standards?).
I can only assume that the drivers contain the default settings for the device to be usable.
Why the registers don't look like this on reset is beyond me, but whatever.

In usbaudio.c in the snd_usb_audio_probe function (somewhere in the vicinity of line 3500) you need to enable the "boot quirk" for this chip:
   /* C-Media CM6206 / CM106-Like Sound Device */
   if (id == USB_ID(0x0d8c, 0x0102)) {
       if (snd_usb_cm106_boot_quirk(dev) < 0)
           goto __err_val;
   }


Looks like the chip needs some config parameters sent to it via HID which are already there courtesy of the Turtle Beach hack.
The register setup is outlined in the datasheet (I found it here: http://pdf1.alldatasheet.net/datasheet-pdf/view/158787/CMEDIA/CM106-L+.html) on page 21.
The key is to set b15 in register 0x02 so that we can get the output.

Hope that helps,
---Dan


------------------------------------------------------------------------

------------------------------------------------------------------------------
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


------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.0.339 / Virus Database: 270.12.36/2126 - Release Date: 05/21/09 06:22:00


No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.0.339 / Virus Database: 270.12.36/2126 - Release Date: 05/21/09 06:22:00


------------------------------------------------------------------------------
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

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux