All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fruhwirth Clemens <clemens@endorphin.org>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: SB Live 24 Ext (was: [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter)
Date: Fri, 04 Mar 2005 10:57:06 +0100	[thread overview]
Message-ID: <1109930226.16108.11.camel@ghanima> (raw)
In-Reply-To: <Pine.HPX.4.33n.0503040923110.8579-100000@studcom.urz.uni-halle.de>

[-- Attachment #1: Type: text/plain, Size: 6101 bytes --]

On Fri, 2005-03-04 at 09:31 +0100, Clemens Ladisch wrote:
> Fruhwirth Clemens wrote:
> > On Thu, 2005-03-03 at 12:35 +0100, Clemens Ladisch wrote:
> > > Your device probably doesn't have such controls.  What is the output
> > > of "lsusb -v" for it?
> >
> > lsusb fails :/
> >
> > Bus 003 Device 002: ID 041e:3040 Creative Technology, Ltd
> > Device Descriptor:
> > ...
> >   bNumConfigurations      1
> > cannot get config descriptor 0, Connection timed out (110)
> 
> The kernel managed to read the descriptors, otherwise snd-usb-audio
> wouldn't have loaded.  You might try to install a newer version of
> usbutils.

I already did that (at least I thought) but obviously Gentoo hasn't
bumped the version from 0.11 to 0.70 yet. 

Here is the lsusb (0.70) output. I removed the streaming interface
information, because this creative thing has a ton of them, full output
at http://clemens.endorphin.org/usblive-interfaces .

Bus 003 Device 002: ID 041e:3040 Creative Technology, Ltd 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x041e Creative Technology, Ltd
  idProduct          0x3040 
  bcdDevice            1.00
  iManufacturer           1 Creative Technology
  iProduct                2 SB Live! 24-bit External
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          979
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
    MaxPower              308mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      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           76
        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             6
        wChannelConfig     0x003f
          Left Front (L)
          Right Front (R)
          Center Front (C)
          Low Freqency Enhancement (LFE)
          Left Surround (LS)
          Right Surround (RS)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               1
        bControlSize            1
        bmaControls( 0)      0x03
          Mute
          Volume
        bmaControls( 1)      0x00
        bmaControls( 2)      0x00
        bmaControls( 3)      0x00
        bmaControls( 4)      0x00
        bmaControls( 5)      0x00
        bmaControls( 6)      0x00
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             4
        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                 5
        bSourceID               4
        bControlSize            1
        bmaControls( 0)      0x02
          Volume
        bmaControls( 1)      0x00
        bmaControls( 2)      0x00
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             6
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               5
        iTerminal               0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10

Obviously, the feature units are used for volume control solely. I
wonder, how the audio signal flow looks like..

> Well.  What is the output of "xxd -g1 /proc/bus/usb/003/002" (where
> 003 and 002 are the bus and device numbers)?

I presume lsusb has all the information, if not 
http://clemens.endorphin.org/usb-desc-xxded

Thanks,
-- 
http://clemens.endorphin.org, for robots sp4mtrap@endorphin.org

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-03-04  9:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-03  9:34 [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter Fruhwirth Clemens
2005-03-03 10:35 ` Jaroslav Kysela
2005-03-03 11:35 ` Clemens Ladisch
2005-03-03 15:24   ` Fruhwirth Clemens
2005-03-04  8:31     ` SB Live 24 Ext (was: [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter) Clemens Ladisch
2005-03-04  9:57       ` Fruhwirth Clemens [this message]
2005-03-04 11:09         ` Clemens Ladisch
2005-03-04 11:55           ` Fruhwirth Clemens
2005-03-04 18:32     ` [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter Lee Revell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1109930226.16108.11.camel@ghanima \
    --to=clemens@endorphin.org \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=clemens@ladisch.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.