All of lore.kernel.org
 help / color / mirror / Atom feed
* Specs available for Sweex External 5.1 with digital in/out USB 2.0 / C-Media CM6207
@ 2008-06-03 20:05 Erik Slagter
  2008-06-03 20:53 ` Rene Herman
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Erik Slagter @ 2008-06-03 20:05 UTC (permalink / raw)
  To: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 1679 bytes --]

Hi there,

Today I bought this sound device, I was hoping it had the C-Media CM650? 
USB chip which is already supported by alsa (according to the list).

Instead it has a CM6207 inside.

The good news is that it supports USB audio "class" and it's more or 
less usable, some mixer outputs are available (although they're all 
called "speaker") and with some trickery the various outputs can be used.

The other good news is that Sweex supplies the "official" datasheet from 
C-media which I think is quite interesting and may very well be useful 
to resolve the last few issues.

These are the actual issues (so far, I didn't yet test it exhaustively):

  - using 2 channel output the sound is garbled; it looks like the 
"wrong" 2 channel alt setting is used (output of 
/proc/asound/card?/stream0 on request), 4/6 channel output is OK though.
  - some high squeeking noise although C-Media claims the IC to be 
high-end (or maybe their definition of high-end differs from mine ;-))
  - all outputs are labelled "speaker 1"
  - only two outputs have a mute knob, the others cannot be silenced in 
any way, only turned down
  - one of the two outputs with the mute knob doesn't appear to do 
anything (or maybe it's the sp/dif output?)
  - the other (with mute) controls the front output
  - the others (without mute) don't seem to do anything at all

Is this a typical case of (a) bug(s) in the usb audio class driver or 
should I think of "vendor extensions" here?

Would any of the developers have some interest in the datasheet of the 
chip and or any data of this thing? Of course I'd like it very much if 
the device would be fully supported but I can only ask nicely ;-)

[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3328 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Specs available for Sweex External 5.1 with digital in/out USB 2.0 / C-Media CM6207
  2008-06-03 20:05 Specs available for Sweex External 5.1 with digital in/out USB 2.0 / C-Media CM6207 Erik Slagter
@ 2008-06-03 20:53 ` Rene Herman
  2008-06-04  7:22   ` Erik Slagter
  2008-06-04 17:38 ` Jon Smirl
  2008-06-05 10:27 ` Clemens Ladisch
  2 siblings, 1 reply; 10+ messages in thread
From: Rene Herman @ 2008-06-03 20:53 UTC (permalink / raw)
  To: Erik Slagter; +Cc: alsa-devel

On 03-06-08 22:05, Erik Slagter wrote:

> The other good news is that Sweex supplies the "official" datasheet from 
> C-media which I think is quite interesting and may very well be useful 
> to resolve the last few issues.

I'm afraid I am largely unfamiliar with USB audio but this I do find to 
be interesting (sweex is a cheapo Dutch brand you can grab on each 
street corner over here). By "supplies", do you mean you requested it 
specifically or did sweex just put it up on a server someplace, or 
something else?

Rene.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Specs available for Sweex External 5.1 with digital in/out USB 2.0 / C-Media CM6207
  2008-06-03 20:53 ` Rene Herman
@ 2008-06-04  7:22   ` Erik Slagter
  2008-06-04 14:21     ` Rene Herman
  0 siblings, 1 reply; 10+ messages in thread
From: Erik Slagter @ 2008-06-04  7:22 UTC (permalink / raw)
  To: Rene Herman; +Cc: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 817 bytes --]

Rene Herman wrote:
>> The other good news is that Sweex supplies the "official" datasheet 
>> from C-media which I think is quite interesting and may very well be 
>> useful to resolve the last few issues.
> 
> I'm afraid I am largely unfamiliar with USB audio but this I do find to 
> be interesting (sweex is a cheapo Dutch brand you can grab on each 
> street corner over here). By "supplies", do you mean you requested it 
> specifically or did sweex just put it up on a server someplace, or 
> something else?

The interesting part is that the IC's datasheet is actually on the 
CD-ROM, in the directory with manuals. The only other manual to be found 
there is a "joke", it is sort of a leaflet in eight languages and tells 
you how to "install the driver". This is how I know Sweex, Trust and 
similar brands.

[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3328 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Specs available for Sweex External 5.1 with digital in/out USB 2.0 / C-Media CM6207
  2008-06-04  7:22   ` Erik Slagter
@ 2008-06-04 14:21     ` Rene Herman
  2008-06-04 17:14       ` Erik Slagter
  0 siblings, 1 reply; 10+ messages in thread
From: Rene Herman @ 2008-06-04 14:21 UTC (permalink / raw)
  To: Erik Slagter; +Cc: alsa-devel

On 04-06-08 09:22, Erik Slagter wrote:

> Rene Herman wrote:
>>> The other good news is that Sweex supplies the "official" datasheet 
>>> from C-media which I think is quite interesting and may very well be 
>>> useful to resolve the last few issues.
>>
>> I'm afraid I am largely unfamiliar with USB audio but this I do find 
>> to be interesting (sweex is a cheapo Dutch brand you can grab on each 
>> street corner over here). By "supplies", do you mean you requested it 
>> specifically or did sweex just put it up on a server someplace, or 
>> something else?
> 
> The interesting part is that the IC's datasheet is actually on the 
> CD-ROM, in the directory with manuals. The only other manual to be found 
> there is a "joke", it is sort of a leaflet in eight languages and tells 
> you how to "install the driver". This is how I know Sweex, Trust and 
> similar brands.

Yes, interesting (assuming the datasheet is of the useful kind, not just 
some product brief). Best chances for someone looking at it is you just 
make it available on the web somewhere. That way people don't feel they 
are promising anything by requesting it.

C-Media itself doesn't seem to have a 6207 sheet up for download.

Rene

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Specs available for Sweex External 5.1 with digital in/out USB 2.0 / C-Media CM6207
  2008-06-04 14:21     ` Rene Herman
@ 2008-06-04 17:14       ` Erik Slagter
  0 siblings, 0 replies; 10+ messages in thread
From: Erik Slagter @ 2008-06-04 17:14 UTC (permalink / raw)
  To: Rene Herman; +Cc: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 856 bytes --]

Rene Herman wrote:
> On 04-06-08 09:22, Erik Slagter wrote:
> 
>> Rene Herman wrote:
>> The interesting part is that the IC's datasheet is actually on the 
>> CD-ROM, in the directory with manuals. The only other manual to be found 
>> there is a "joke", it is sort of a leaflet in eight languages and tells 
>> you how to "install the driver". This is how I know Sweex, Trust and 
>> similar brands.
> 
> Yes, interesting (assuming the datasheet is of the useful kind, not just 
> some product brief). Best chances for someone looking at it is you just 
> make it available on the web somewhere. That way people don't feel they 
> are promising anything by requesting it.
> 
> C-Media itself doesn't seem to have a 6207 sheet up for download.

In that case, I have put it on my web server for download:
http://erik.slagter.name/pub/6207-datasheet-1.2.pdf

[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3328 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Specs available for Sweex External 5.1 with digital in/out USB 2.0 / C-Media CM6207
  2008-06-03 20:05 Specs available for Sweex External 5.1 with digital in/out USB 2.0 / C-Media CM6207 Erik Slagter
  2008-06-03 20:53 ` Rene Herman
@ 2008-06-04 17:38 ` Jon Smirl
  2008-06-04 18:08   ` Erik Slagter
  2008-06-13 21:40   ` Erik Slagter
  2008-06-05 10:27 ` Clemens Ladisch
  2 siblings, 2 replies; 10+ messages in thread
From: Jon Smirl @ 2008-06-04 17:38 UTC (permalink / raw)
  To: Erik Slagter; +Cc: alsa-devel

On 6/3/08, Erik Slagter <erik@slagter.name> wrote:
> Hi there,
>
>  Today I bought this sound device, I was hoping it had the C-Media CM650?
> USB chip which is already supported by alsa (according to the list).
>
>  Instead it has a CM6207 inside.
>
>  The good news is that it supports USB audio "class" and it's more or less
> usable, some mixer outputs are available (although they're all called
> "speaker") and with some trickery the various outputs can be used.
>
>  The other good news is that Sweex supplies the "official" datasheet from
> C-media which I think is quite interesting and may very well be useful to
> resolve the last few issues.


Write this up for the Free Linux Driver project.

http://lwn.net/Articles/276973/
http://www.linuxdriverproject.org/twiki/bin/view/Main/DriversNeeded


>
>  These are the actual issues (so far, I didn't yet test it exhaustively):
>
>   - using 2 channel output the sound is garbled; it looks like the "wrong" 2
> channel alt setting is used (output of /proc/asound/card?/stream0 on
> request), 4/6 channel output is OK though.
>   - some high squeeking noise although C-Media claims the IC to be high-end
> (or maybe their definition of high-end differs from mine ;-))
>   - all outputs are labelled "speaker 1"
>   - only two outputs have a mute knob, the others cannot be silenced in any
> way, only turned down
>   - one of the two outputs with the mute knob doesn't appear to do anything
> (or maybe it's the sp/dif output?)
>   - the other (with mute) controls the front output
>   - the others (without mute) don't seem to do anything at all
>
>  Is this a typical case of (a) bug(s) in the usb audio class driver or
> should I think of "vendor extensions" here?
>
>  Would any of the developers have some interest in the datasheet of the chip
> and or any data of this thing? Of course I'd like it very much if the device
> would be fully supported but I can only ask nicely ;-)
>
> _______________________________________________
>  Alsa-devel mailing list
>  Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
>
>


-- 
Jon Smirl
jonsmirl@gmail.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Specs available for Sweex External 5.1 with digital in/out USB 2.0 / C-Media CM6207
  2008-06-04 17:38 ` Jon Smirl
@ 2008-06-04 18:08   ` Erik Slagter
  2008-06-13 21:40   ` Erik Slagter
  1 sibling, 0 replies; 10+ messages in thread
From: Erik Slagter @ 2008-06-04 18:08 UTC (permalink / raw)
  To: Jon Smirl; +Cc: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 372 bytes --]

Jon Smirl wrote:

>>  The other good news is that Sweex supplies the "official" datasheet from
>> C-media which I think is quite interesting and may very well be useful to
>> resolve the last few issues.
> 
> Write this up for the Free Linux Driver project.
> 
> http://lwn.net/Articles/276973/
> http://www.linuxdriverproject.org/twiki/bin/view/Main/DriversNeeded

Done.

[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3328 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Specs available for Sweex External 5.1 with digital in/out USB 2.0 / C-Media CM6207
  2008-06-03 20:05 Specs available for Sweex External 5.1 with digital in/out USB 2.0 / C-Media CM6207 Erik Slagter
  2008-06-03 20:53 ` Rene Herman
  2008-06-04 17:38 ` Jon Smirl
@ 2008-06-05 10:27 ` Clemens Ladisch
  2008-06-05 13:19   ` Erik Slagter
  2 siblings, 1 reply; 10+ messages in thread
From: Clemens Ladisch @ 2008-06-05 10:27 UTC (permalink / raw)
  To: Erik Slagter; +Cc: alsa-devel

Erik Slagter wrote:
> These are the actual issues (so far, I didn't yet test it exhaustively):
>
>   - using 2 channel output the sound is garbled; it looks like the
> "wrong" 2 channel alt setting is used (output of
> /proc/asound/card?/stream0 on request), 4/6 channel output is OK though.
>   - some high squeeking noise although C-Media claims the IC to be
> high-end (or maybe their definition of high-end differs from mine ;-))
>   - all outputs are labelled "speaker 1"
>   - only two outputs have a mute knob, the others cannot be silenced in
> any way, only turned down
>   - one of the two outputs with the mute knob doesn't appear to do
> anything (or maybe it's the sp/dif output?)
>   - the other (with mute) controls the front output
>   - the others (without mute) don't seem to do anything at all

Please show the output of "lsusb -v" for this device.


Regards,
Clemens

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Specs available for Sweex External 5.1 with digital in/out USB 2.0 / C-Media CM6207
  2008-06-05 10:27 ` Clemens Ladisch
@ 2008-06-05 13:19   ` Erik Slagter
  0 siblings, 0 replies; 10+ messages in thread
From: Erik Slagter @ 2008-06-05 13:19 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 24436 bytes --]

Clemens Ladisch wrote:
> Erik Slagter wrote:
>> These are the actual issues (so far, I didn't yet test it exhaustively):
>>
>>   - using 2 channel output the sound is garbled; it looks like the
>> "wrong" 2 channel alt setting is used (output of
>> /proc/asound/card?/stream0 on request), 4/6 channel output is OK though.
>>   - some high squeeking noise although C-Media claims the IC to be
>> high-end (or maybe their definition of high-end differs from mine ;-))
>>   - all outputs are labelled "speaker 1"
>>   - only two outputs have a mute knob, the others cannot be silenced in
>> any way, only turned down
>>   - one of the two outputs with the mute knob doesn't appear to do
>> anything (or maybe it's the sp/dif output?)
>>   - the other (with mute) controls the front output
>>   - the others (without mute) don't seem to do anything at all
> 
> Please show the output of "lsusb -v" for this device.

Well, you asked for it >:-) I have added the output of 
/proc/asound/card?/stream0, which might be a less more readable.

Bus 005 Device 005: ID 0d8c:0102 C-Media Electronics, Inc. CM106 Like 
Sound Device
Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               1.10
   bDeviceClass            0 (Defined at Interface level)
   bDeviceSubClass         0
   bDeviceProtocol         0
   bMaxPacketSize0         8
   idVendor           0x0d8c C-Media Electronics, Inc.
   idProduct          0x0102 CM106 Like Sound Device
   bcdDevice            0.10
   iManufacturer           0
   iProduct                2 USB Sound Device
   iSerial                 0
   bNumConfigurations      1
   Configuration Descriptor:
     bLength                 9
     bDescriptorType         2
     wTotalLength          534
     bNumInterfaces          4
     bConfigurationValue     1
     iConfiguration          0
     bmAttributes         0x80
       (Bus Powered)
     MaxPower              500mA

     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        0
       bAlternateSetting       0
       bNumEndpoints           0
       bInterfaceClass         1 Audio
       bInterfaceSubClass      1 Control Device
       bInterfaceProtocol      0
       iInterface              0
       AudioControl Interface Descriptor:
         bLength                10
         bDescriptorType        36
         bDescriptorSubtype      1 (HEADER)
         bcdADC               1.00
         wTotalLength          200
         bInCollection           2
         baInterfaceNr( 0)       1
         baInterfaceNr( 1)       2
       AudioControl Interface Descriptor:
         bLength                12
         bDescriptorType        36
         bDescriptorSubtype      2 (INPUT_TERMINAL)
         bTerminalID             1
         wTerminalType      0x0101 USB Streaming
         bAssocTerminal          0
         bNrChannels             8
         wChannelConfig     0x063f
           Left Front (L)
           Right Front (R)
           Center Front (C)
           Low Freqency Enhancement (LFE)
           Left Surround (LS)          Right Surround (RS)
           Side Left (SL)
           Side Right (SR)
         iChannelNames           0
         iTerminal               0
       AudioControl Interface Descriptor:
         bLength                12
         bDescriptorType        36
         bDescriptorSubtype      2 (INPUT_TERMINAL)
         bTerminalID             4
         wTerminalType      0x0201 Microphone
         bAssocTerminal          0
         bNrChannels             2
         wChannelConfig     0x0003
           Left Front (L)
           Right Front (R)
         iChannelNames           0
         iTerminal               0
       AudioControl Interface Descriptor:
         bLength                10
         bDescriptorType        36
         bDescriptorSubtype      6 (FEATURE_UNIT)
         bUnitID                 8
         bSourceID               4
         bControlSize            1
         bmaControls( 0)      0x01
           Mute
         bmaControls( 1)      0x02
           Volume
         bmaControls( 2)      0x02
           Volume
         iFeature                0
       AudioControl Interface Descriptor:
         bLength                10
         bDescriptorType        36
         bDescriptorSubtype      6 (FEATURE_UNIT)
         bUnitID                 9
         bSourceID               4
         bControlSize            1
         bmaControls( 0)      0x01
           Mute
         bmaControls( 1)      0x02
           Volume
         bmaControls( 2)      0x02
           Volume
         iFeature                0
       AudioControl Interface Descriptor:
         bLength                25
         bDescriptorType        36
         bDescriptorSubtype      4 (MIXER_UNIT)
         bUnitID                12
         bNrInPins               3
         baSourceID( 0)          1
         baSourceID( 1)          9
         baSourceID( 2)         11
         bNrChannels             8
         wChannelConfig     0x063f
           Left Front (L)
           Right Front (R)
           Center Front (C)
           Low Freqency Enhancement (LFE)
           Left Surround (LS)
           Right Surround (RS)
           Side Left (SL)
           Side Right (SR)
         iChannelNames           0
         bmControls         0x00
         bmControls         0x00
         bmControls         0x00
         iMixer                  0
         junk at descriptor end: 00 00 00 00 00 00 00 00 00
       AudioControl Interface Descriptor:
         bLength                16
         bDescriptorType        36
         bDescriptorSubtype      6 (FEATURE_UNIT)
         bUnitID                13
         bSourceID              12
         bControlSize            1
         bmaControls( 0)      0x01
           Mute
         bmaControls( 1)      0x02
           Volume
         bmaControls( 2)      0x02
           Volume
         bmaControls( 3)      0x02
           Volume
         bmaControls( 4)      0x02
           Volume
         bmaControls( 5)      0x02
           Volume
         bmaControls( 6)      0x02
           Volume
         bmaControls( 7)      0x02
           Volume
         bmaControls( 8)      0x02
           Volume
         iFeature                0
       AudioControl Interface Descriptor:
         bLength                 9
         bDescriptorType        36
         bDescriptorSubtype      3 (OUTPUT_TERMINAL)
         bTerminalID             3
         wTerminalType      0x0301 Speaker
         bAssocTerminal          0
         bSourceID              13
         iTerminal               0
       AudioControl Interface Descriptor:
         bLength                13
         bDescriptorType        36
         bDescriptorSubtype      4 (MIXER_UNIT)
         bUnitID                17
         bNrInPins               2
         baSourceID( 0)          9
         baSourceID( 1)         11
         bNrChannels             2
         wChannelConfig     0x0003
           Left Front (L)
           Right Front (R)
         iChannelNames           0
         bmControls         0x00
         iMixer                  0
       AudioControl Interface Descriptor:
         bLength                 9
         bDescriptorType        36
         bDescriptorSubtype      3 (OUTPUT_TERMINAL)
         bTerminalID            10
         wTerminalType      0x0101 USB Streaming
         bAssocTerminal          0
         bSourceID               7
         iTerminal               0
       AudioControl Interface Descriptor:
         bLength                10
         bDescriptorType        36
         bDescriptorSubtype      5 (SELECTOR_UNIT)
         bUnitID                 7
         bNrInPins               4
         baSource( 0)            8
         baSource( 1)           15
         baSource( 2)           16
         baSource( 3)            2
         iSelector               0
       AudioControl Interface Descriptor:
         bLength                12
         bDescriptorType        36
         bDescriptorSubtype      2 (INPUT_TERMINAL)
         bTerminalID             6
         wTerminalType      0x0603 Line Connector
         bAssocTerminal          0
         bNrChannels             2
         wChannelConfig     0x0003
           Left Front (L)
           Right Front (R)
         iChannelNames           0
         iTerminal               0
       AudioControl Interface Descriptor:
         bLength                10
         bDescriptorType        36
         bDescriptorSubtype      6 (FEATURE_UNIT)
         bUnitID                15
         bSourceID               6
         bControlSize            1
         bmaControls( 0)      0x01
           Mute
         bmaControls( 1)      0x02
           Volume
         bmaControls( 2)      0x02
           Volume
         iFeature                0
       AudioControl Interface Descriptor:
         bLength                10
         bDescriptorType        36
         bDescriptorSubtype      6 (FEATURE_UNIT)
         bUnitID                11
         bSourceID               6
         bControlSize            1
         bmaControls( 0)      0x01
           Mute
         bmaControls( 1)      0x02
           Volume
         bmaControls( 2)      0x02
           Volume
         iFeature                0
       AudioControl Interface Descriptor:
         bLength                12
         bDescriptorType        36
         bDescriptorSubtype      2 (INPUT_TERMINAL)
         bTerminalID             5
         wTerminalType      0x0605 SPDIF interface
         bAssocTerminal          0
         bNrChannels             2
         wChannelConfig     0x0003
           Left Front (L)
           Right Front (R)
         iChannelNames           0
         iTerminal               0
       AudioControl Interface Descriptor:
         bLength                10
         bDescriptorType        36
         bDescriptorSubtype      6 (FEATURE_UNIT)
         bUnitID                 2
         bSourceID              17
         bControlSize            1
         bmaControls( 0)      0x01
           Mute
         bmaControls( 1)      0x02
           Volume
         bmaControls( 2)      0x02
           Volume
         iFeature                0
       AudioControl Interface Descriptor:
         bLength                10
         bDescriptorType        36
         bDescriptorSubtype      6 (FEATURE_UNIT)
         bUnitID                16
         bSourceID               5
         bControlSize            1
         bmaControls( 0)      0x01
           Mute
         bmaControls( 1)      0x00
         bmaControls( 2)      0x00
         iFeature                0
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        1
       bAlternateSetting       0
       bNumEndpoints           0
       bInterfaceClass         1 Audio
       bInterfaceSubClass      2 Streaming
       bInterfaceProtocol      0
       iInterface              0
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        1
       bAlternateSetting       1
       bNumEndpoints           1
       bInterfaceClass         1 Audio
       bInterfaceSubClass      2 Streaming
       bInterfaceProtocol      0
       iInterface              0
       AudioStreaming Interface Descriptor:
         bLength                 7
         bDescriptorType        36
         bDescriptorSubtype      1 (AS_GENERAL)
         bTerminalLink           1
         bDelay                  1 frames
         wFormatTag              1 PCM
       AudioStreaming Interface Descriptor:
         bLength                14
         bDescriptorType        36
         bDescriptorSubtype      2 (FORMAT_TYPE)
         bFormatType             1 (FORMAT_TYPE_I)
         bNrChannels             8
         bSubframeSize           2
         bBitResolution         16
         bSamFreqType            2 Discrete
         tSamFreq[ 0]        44100
         tSamFreq[ 1]        48000
       Endpoint Descriptor:
         bLength                 9
         bDescriptorType         5
         bEndpointAddress     0x06  EP 6 OUT
         bmAttributes            9
           Transfer Type            Isochronous
           Synch Type               Adaptive
           Usage Type               Data
         wMaxPacketSize     0x0310  1x 784 bytes
         bInterval               1
         bRefresh                0
         bSynchAddress           0
         AudioControl Endpoint Descriptor:
           bLength                 7
           bDescriptorType        37
           bDescriptorSubtype      1 (EP_GENERAL)
           bmAttributes         0x01
             Sampling Frequency
           bLockDelayUnits         0 Undefined
           wLockDelay              0 Undefined
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        1
       bAlternateSetting       2
       bNumEndpoints           1
       bInterfaceClass         1 Audio
       bInterfaceSubClass      2 Streaming
       bInterfaceProtocol      0
       iInterface              0
       AudioStreaming Interface Descriptor:
         bLength                 7
         bDescriptorType        36
         bDescriptorSubtype      1 (AS_GENERAL)
         bTerminalLink           1
         bDelay                  1 frames
         wFormatTag              1 PCM
       AudioStreaming Interface Descriptor:
         bLength                14
         bDescriptorType        36
         bDescriptorSubtype      2 (FORMAT_TYPE)
         bFormatType             1 (FORMAT_TYPE_I)
         bNrChannels             2
         bSubframeSize           2
         bBitResolution         16
         bSamFreqType            2 Discrete
         tSamFreq[ 0]        44100
         tSamFreq[ 1]        48000
       Endpoint Descriptor:
         bLength                 9
         bDescriptorType         5
         bEndpointAddress     0x06  EP 6 OUT
         bmAttributes            9
           Transfer Type            Isochronous
           Synch Type               Adaptive
           Usage Type               Data
         wMaxPacketSize     0x00c4  1x 196 bytes
         bInterval               1
         bRefresh                0
         bSynchAddress           0
         AudioControl Endpoint Descriptor:
           bLength                 7
           bDescriptorType        37
           bDescriptorSubtype      1 (EP_GENERAL)
           bmAttributes         0x01
             Sampling Frequency
           bLockDelayUnits         0 Undefined
           wLockDelay              0 Undefined
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        1
       bAlternateSetting       3
       bNumEndpoints           1
       bInterfaceClass         1 Audio
       bInterfaceSubClass      2 Streaming
       bInterfaceProtocol      0
       iInterface              0
       AudioStreaming Interface Descriptor:
         bLength                 7
         bDescriptorType        36
         bDescriptorSubtype      1 (AS_GENERAL)
         bTerminalLink           1
         bDelay                  1 frames
         wFormatTag              1 PCM
       AudioStreaming Interface Descriptor:
         bLength                14
         bDescriptorType        36
         bDescriptorSubtype      2 (FORMAT_TYPE)
         bFormatType             1 (FORMAT_TYPE_I)
         bNrChannels             4
         bSubframeSize           2
         bBitResolution         16
         bSamFreqType            2 Discrete
         tSamFreq[ 0]        44100
         tSamFreq[ 1]        48000
       Endpoint Descriptor:
         bLength                 9
         bDescriptorType         5
         bEndpointAddress     0x06  EP 6 OUT
         bmAttributes            9
           Transfer Type            Isochronous
           Synch Type               Adaptive
           Usage Type               Data
         wMaxPacketSize     0x0188  1x 392 bytes
         bInterval               1
         bRefresh                0
         bSynchAddress           0
         AudioControl Endpoint Descriptor:
           bLength                 7
           bDescriptorType        37
           bDescriptorSubtype      1 (EP_GENERAL)
           bmAttributes         0x01
             Sampling Frequency
           bLockDelayUnits         0 Undefined
           wLockDelay              0 Undefined
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        1
       bAlternateSetting       4
       bNumEndpoints           1
       bInterfaceClass         1 Audio
       bInterfaceSubClass      2 Streaming
       bInterfaceProtocol      0
       iInterface              0
       AudioStreaming Interface Descriptor:
         bLength                 7
         bDescriptorType        36
         bDescriptorSubtype      1 (AS_GENERAL)
         bTerminalLink           1
         bDelay                  1 frames
         wFormatTag              1 PCM
       AudioStreaming Interface Descriptor:
         bLength                14
         bDescriptorType        36
         bDescriptorSubtype      2 (FORMAT_TYPE)
         bFormatType             1 (FORMAT_TYPE_I)
         bNrChannels             6
         bSubframeSize           2
         bBitResolution         16
         bSamFreqType            2 Discrete
         tSamFreq[ 0]        44100
         tSamFreq[ 1]        48000
       Endpoint Descriptor:
         bLength                 9
         bDescriptorType         5
         bEndpointAddress     0x06  EP 6 OUT
         bmAttributes            9
           Transfer Type            Isochronous
           Synch Type               Adaptive
           Usage Type               Data
         wMaxPacketSize     0x0248  1x 584 bytes
         bInterval               1
         bRefresh                0
         bSynchAddress           0
         AudioControl Endpoint Descriptor:
           bLength                 7
           bDescriptorType        37
           bDescriptorSubtype      1 (EP_GENERAL)
           bmAttributes         0x01
             Sampling Frequency
           bLockDelayUnits         0 Undefined
           wLockDelay              0 Undefined
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        1
       bAlternateSetting       5
       bNumEndpoints           1
       bInterfaceClass         1 Audio
       bInterfaceSubClass      2 Streaming
       bInterfaceProtocol      0
       iInterface              0
       AudioStreaming Interface Descriptor:
         bLength                 7
         bDescriptorType        36
         bDescriptorSubtype      1 (AS_GENERAL)
         bTerminalLink           1
         bDelay                  1 frames
         wFormatTag              1 PCM
       AudioStreaming Interface Descriptor:
         bLength                11
         bDescriptorType        36
         bDescriptorSubtype      2 (FORMAT_TYPE)
         bFormatType             1 (FORMAT_TYPE_I)
         bNrChannels             2
         bSubframeSize           2
         bBitResolution         16
         bSamFreqType            1 Discrete
         tSamFreq[ 0]        48000
       Endpoint Descriptor:
         bLength                 9
         bDescriptorType         5
         bEndpointAddress     0x06  EP 6 OUT
         bmAttributes            9
           Transfer Type            Isochronous
           Synch Type               Adaptive
           Usage Type               Data
         wMaxPacketSize     0x0188  1x 392 bytes
         bInterval               1
         bRefresh                0
         bSynchAddress           0
         AudioControl Endpoint Descriptor:
           bLength                 7
           bDescriptorType        37
           bDescriptorSubtype      1 (EP_GENERAL)
           bmAttributes         0x01
             Sampling Frequency
           bLockDelayUnits         0 Undefined
           wLockDelay              0 Undefined
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        2
       bAlternateSetting       0
       bNumEndpoints           0
       bInterfaceClass         1 Audio
       bInterfaceSubClass      2 Streaming
       bInterfaceProtocol      0
       iInterface              0
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        2
       bAlternateSetting       1
       bNumEndpoints           1
       bInterfaceClass         1 Audio
       bInterfaceSubClass      2 Streaming
       bInterfaceProtocol      0
       iInterface              0
       AudioStreaming Interface Descriptor:
         bLength                 7
         bDescriptorType        36
         bDescriptorSubtype      1 (AS_GENERAL)
         bTerminalLink          10
         bDelay                  1 frames
         wFormatTag              1 PCM
       AudioStreaming Interface Descriptor:
         bLength                14
         bDescriptorType        36
         bDescriptorSubtype      2 (FORMAT_TYPE)
         bFormatType             1 (FORMAT_TYPE_I)
         bNrChannels             2
         bSubframeSize           2
         bBitResolution         16
         bSamFreqType            2 Discrete
         tSamFreq[ 0]        44100
         tSamFreq[ 1]        48000
       Endpoint Descriptor:
         bLength                 9
         bDescriptorType         5
         bEndpointAddress     0x85  EP 5 IN
         bmAttributes            5
           Transfer Type            Isochronous
           Synch Type               Asynchronous
           Usage Type               Data
         wMaxPacketSize     0x00c8  1x 200 bytes
         bInterval               1
         bRefresh                0
         bSynchAddress           0
         AudioControl Endpoint Descriptor:
           bLength                 7
           bDescriptorType        37
           bDescriptorSubtype      1 (EP_GENERAL)
           bmAttributes         0x01
             Sampling Frequency
           bLockDelayUnits         0 Undefined
           wLockDelay              0 Undefined
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        3
       bAlternateSetting       0
       bNumEndpoints           1
       bInterfaceClass         3 Human Interface Device
       bInterfaceSubClass      0 No Subclass
       bInterfaceProtocol      0 None
       iInterface              0
         HID Device Descriptor:
           bLength                 9
           bDescriptorType        33
           bcdHID               1.00
           bCountryCode            0 Not supported
           bNumDescriptors         1
           bDescriptorType        34 Report
           wDescriptorLength      50
          Report Descriptors:
            ** UNAVAILABLE **
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x81  EP 1 IN
         bmAttributes            3
           Transfer Type            Interrupt
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0003  1x 3 bytes
         bInterval               1
Device Status:     0x0000
   (Bus Powered)

USB Sound Device         at usb-0000:00:1d.0-2, full speed : USB Audio

Playback:
   Status: Stop
   Interface 1
     Altset 1
     Format: 0x2
     Channels: 8
     Endpoint: 6 OUT (ADAPTIVE)
     Rates: 44100, 48000
   Interface 1
     Altset 2
     Format: 0x2
     Channels: 2
     Endpoint: 6 OUT (ADAPTIVE)
     Rates: 44100, 48000
   Interface 1
     Altset 3
     Format: 0x2
     Channels: 4
     Endpoint: 6 OUT (ADAPTIVE)
     Rates: 44100, 48000
   Interface 1
     Altset 4
     Format: 0x2
     Channels: 6
     Endpoint: 6 OUT (ADAPTIVE)
     Rates: 44100, 48000
   Interface 1
     Altset 5
     Format: 0x2
     Channels: 2
     Endpoint: 6 OUT (ADAPTIVE)
     Rates: 48000

Capture:
   Status: Stop
   Interface 2
     Altset 1
     Format: 0x2
     Channels: 2
     Endpoint: 5 IN (ASYNC)
     Rates: 44100, 48000



[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3328 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Specs available for Sweex External 5.1 with digital in/out USB 2.0 / C-Media CM6207
  2008-06-04 17:38 ` Jon Smirl
  2008-06-04 18:08   ` Erik Slagter
@ 2008-06-13 21:40   ` Erik Slagter
  1 sibling, 0 replies; 10+ messages in thread
From: Erik Slagter @ 2008-06-13 21:40 UTC (permalink / raw)
  To: Jon Smirl; +Cc: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 2424 bytes --]

Jon Smirl wrote:
> On 6/3/08, Erik Slagter <erik@slagter.name> wrote:
>> Hi there,
>>
>>  Today I bought this sound device, I was hoping it had the C-Media CM650?
>> USB chip which is already supported by alsa (according to the list).
>>
>>  Instead it has a CM6207 inside.
>>
>>  The good news is that it supports USB audio "class" and it's more or less
>> usable, some mixer outputs are available (although they're all called
>> "speaker") and with some trickery the various outputs can be used.
>>
>>  The other good news is that Sweex supplies the "official" datasheet from
>> C-media which I think is quite interesting and may very well be useful to
>> resolve the last few issues.
> 
> 
> Write this up for the Free Linux Driver project.
> 
> http://lwn.net/Articles/276973/
> http://www.linuxdriverproject.org/twiki/bin/view/Main/DriversNeeded
> 
> 
>>  These are the actual issues (so far, I didn't yet test it exhaustively):
>>
>>   - using 2 channel output the sound is garbled; it looks like the "wrong" 2
>> channel alt setting is used (output of /proc/asound/card?/stream0 on
>> request), 4/6 channel output is OK though.
>>   - some high squeeking noise although C-Media claims the IC to be high-end
>> (or maybe their definition of high-end differs from mine ;-))
>>   - all outputs are labelled "speaker 1"
>>   - only two outputs have a mute knob, the others cannot be silenced in any
>> way, only turned down
>>   - one of the two outputs with the mute knob doesn't appear to do anything
>> (or maybe it's the sp/dif output?)
>>   - the other (with mute) controls the front output
>>   - the others (without mute) don't seem to do anything at all
>>
>>  Is this a typical case of (a) bug(s) in the usb audio class driver or
>> should I think of "vendor extensions" here?
>>
>>  Would any of the developers have some interest in the datasheet of the chip
>> and or any data of this thing? Of course I'd like it very much if the device
>> would be fully supported but I can only ask nicely ;-)
>>
>> _______________________________________________
>>  Alsa-devel mailing list
>>  Alsa-devel@alsa-project.org
>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

BTW, issues 3,4 are my fault: alsamixer calls the mixers all "speaker-1" 
but if you use amixer, you'll see that this is actually one device with 
separate mixers for front, side, back, etc. So it's logical it only has 
one mute knob.


[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3328 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-06-13 21:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-03 20:05 Specs available for Sweex External 5.1 with digital in/out USB 2.0 / C-Media CM6207 Erik Slagter
2008-06-03 20:53 ` Rene Herman
2008-06-04  7:22   ` Erik Slagter
2008-06-04 14:21     ` Rene Herman
2008-06-04 17:14       ` Erik Slagter
2008-06-04 17:38 ` Jon Smirl
2008-06-04 18:08   ` Erik Slagter
2008-06-13 21:40   ` Erik Slagter
2008-06-05 10:27 ` Clemens Ladisch
2008-06-05 13:19   ` Erik Slagter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.