Skip to contentSkip to conversation

ALSA Volume control with Creative X

DISCUSSION yes work 1 participant 1 message Jul 25, 2009

lore
Share & tools
lore

yes work

author
#0 lore raw

----- Forwarded Message ----
From: yes work <[email protected]>
To: [email protected]
Sent: Wednesday, July 1, 2009 13:03:22
Subject: ALSA Volume control with Creative X

Hi,

I read in one of your posts about an interest info to improve ALSA.  I would like to provide some information that might help improve/augment ALSA for me and others using a creative external usb sound "card."

I am running Fedora 11, command line (no windowing environment) and I have a Creative Xmod external USB sound card http://us.creative.com/products/product.asp?category=209&subcategory=668&product=15913

This Creative device outputs sound OK through ALSA, but the Volume control/Mute knob DO NOT CHANGE the audio. Creative does not provide Linux drivers (the knob works to control volume and mute without installing any drivers on a MS Windows setup). In Fedora, turning the volume knob causes "escape characters" to be displayed on the command line.

I have included a copy of an cropped lsusb -v log, below.  I hope this might be a step towards getting the volume/mute knob to work with ALSA/Fedora.  Let me know if I can be of more help.

Thanks,

Keith

[vortexbox.localdomain ~]# lsusb -v

Bus 002 Device 002: ID 041e:30d0 Creative Technology, Ltd Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level) bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x041e Creative Technology, Ltd idProduct          0x30d0
  bcdDevice            1.00
  iManufacturer           1 Creative Technology Ltd iProduct                2 Creative Xmod iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          315
    bNumInterfaces          4 bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               98mA
    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          159
        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                12 bDescriptorType        36 bDescriptorSubtype      2 (INPUT_TERMINAL) bTerminalID            12
        wTerminalType      0x0603 Line Connector bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0
        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                12 bDescriptorType        36 bDescriptorSubtype      2 (INPUT_TERMINAL) bTerminalID             7
        wTerminalType      0x0201 Microphone bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                17 bDescriptorType        36 bDescriptorSubtype      4 (MIXER_UNIT) bUnitID                11
        bNrInPins               2
        baSourceID( 0)          1
        baSourceID( 1)         13
        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
        bmControls         0x00
        bmControls         0x00
        iMixer                  0
        junk at descriptor end: 00 00 00 AudioControl Interface Descriptor:
        bLength                18 bDescriptorType        36 bDescriptorSubtype      7 (PROCESSING_UNIT) bUnitID                10
        wProcessType            1
        bNrPins                 1
        baSourceID( 0)         11
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0
        bControlSize            1
        bmControls( 0)       0x01
          Enable Processing
        iProcessing             0 Process-Specific     01 03 00 AudioControl Interface Descriptor:
        bLength                10 bDescriptorType        36 bDescriptorSubtype      6 (FEATURE_UNIT) bUnitID                 5
        bSourceID              10
        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                 6
        bSourceID               4
        bControlSize            1
        bmaControls( 0)      0x00
        bmaControls( 1)      0x02
          Volume
        bmaControls( 2)      0x02
          Volume
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                10 bDescriptorType        36 bDescriptorSubtype      6 (FEATURE_UNIT) bUnitID                 9
        bSourceID               7
        bControlSize            1
        bmaControls( 0)      0x40
          Automatic Gain
        bmaControls( 1)      0x02
          Volume
        bmaControls( 2)      0x02
          Volume
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                10 bDescriptorType        36 bDescriptorSubtype      6 (FEATURE_UNIT) bUnitID                13
        bSourceID              12
        bControlSize            1
        bmaControls( 0)      0x01
          Mute
        bmaControls( 1)      0x02
          Volume
        bmaControls( 2)      0x02
          Volume
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                 8 bDescriptorType        36 bDescriptorSubtype      5 (SELECTOR_UNIT) bUnitID                 8
        bNrInPins               2
        baSource( 0)            6
        baSource( 1)            9
        iSelector               0
      AudioControl Interface Descriptor:
        bLength                 9 bDescriptorType        36 bDescriptorSubtype      3 (OUTPUT_TERMINAL) bTerminalID             2
        wTerminalType      0x0301 Speaker bAssocTerminal          0
        bSourceID               5
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                 9 bDescriptorType        36 bDescriptorSubtype      3 (OUTPUT_TERMINAL) bTerminalID             3
        wTerminalType      0x0101 USB Streaming bAssocTerminal          0
        bSourceID               8
        iTerminal               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           2
      bInterfaceClass         1 Audio bInterfaceSubClass      2 Streaming bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7 bDescriptorType        36 bDescriptorSubtype      1 (AS_GENERAL) bTerminalLink           1
        bDelay                  0 frames wFormatTag              1 PCM AudioStreaming Interface Descriptor:
        bLength                11 bDescriptorType        36 bDescriptorSubtype      2 (FORMAT_TYPE) bFormatType             1 (FORMAT_TYPE_I) bNrChannels             6
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete tSamFreq[ 0]        44100
      Endpoint Descriptor:
        bLength                 9 bDescriptorType         5 bEndpointAddress     0x01  EP 1 OUT bmAttributes            5
          Transfer Type            Isochronous Synch Type               Asynchronous Usage Type               Data wMaxPacketSize     0x021c  1x 540 bytes bInterval               1
        bRefresh                0
        bSynchAddress         129
        AudioControl Endpoint Descriptor:
          bLength                 7 bDescriptorType        37 bDescriptorSubtype      1 (EP_GENERAL) bmAttributes         0x00 bLockDelayUnits         0 Undefined wLockDelay              0 Undefined Endpoint Descriptor:
        bLength                 9 bDescriptorType         5 bEndpointAddress     0x81  EP 1 IN bmAttributes            1
          Transfer Type            Isochronous Synch Type               None
          Usage Type               Data wMaxPacketSize     0x0003  1x 3 bytes bInterval               1
        bRefresh                5
        bSynchAddress           0
    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           3
        bDelay                  0 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]        44100
      Endpoint Descriptor:
        bLength                 9 bDescriptorType         5 bEndpointAddress     0x82  EP 2 IN bmAttributes            1
          Transfer Type            Isochronous Synch Type               None
          Usage Type               Data wMaxPacketSize     0x00b4  1x 180 bytes bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7 bDescriptorType        37 bDescriptorSubtype      1 (EP_GENERAL) bmAttributes         0x00 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.11
          bCountryCode            0 Not supported bNumDescriptors         1 bDescriptorType        34 Report wDescriptorLength      45
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7 bDescriptorType         5 bEndpointAddress     0x83  EP 3 IN bmAttributes            3
          Transfer Type            Interrupt Synch Type               None
          Usage Type               Data wMaxPacketSize     0x0001  1x 1 bytes bInterval              10
Device Status:     0x0000
  (Bus Powered)
[vortexbox.localdomain ~]#

      New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/

Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com.
http://mail.promotions.yahoo.com/newdomains/aa/