[linux-audio-user] AudioTrak Maya 44 USB [LONG]

From: Lukas Zapletal <lukas.zapletal@email-addr-hidden>
Date: Tue Nov 01 2005 - 23:41:35 EET

Hello,

I am trying to get this card working. It seems Maya does not complain
USB standard. The ALSA subsystem detect it, it wake up but the mixers
are not configured properly (since this card has 2+2 stereo
inputs/outputs).

What to do? Do I have chances to get it working? Thanks for help

ps - sorry for the long post, see the output of lsusb and the error
message - what this does mean?

teepee card1 # pwd
/proc/asound/card1
teepee card1 # cat stream0
AUDIOTRAK MAYA44 USB at usb-0000:00:1d.1-2, full speed : USB Audio

Playback:
  Status: Stop
  Interface 1
    Altset 1
    Format: S16_LE
    Channels: 4
    Endpoint: 1 OUT (ADAPTIVE)
    Rates: 44100, 48000

Capture:
  Status: Stop
  Interface 2
    Altset 1
    Format: S16_LE
    Channels: 4
    Endpoint: 2 IN (SYNC)
    Rates: 44100, 48000

alsaplayer -o alsa -d default=hw:1,0 test.mp3
ALSA lib pcm.c:2090:(snd_pcm_open_noupdate) Unknown PCM default=hw:1,0
snd_pcm_open: file not found (default=hw:1,0)
Failed to initialize plugin!

teepee card1 # amixer -c1
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Front Left: Playback 207 [81%] [off]
  Front Right: Playback 207 [81%] [off]
Simple mixer control 'Speaker',1
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Front Left: Playback 211 [83%] [off]
  Front Right: Playback 211 [83%] [off]
Simple mixer control 'Speaker',2
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Front Left: Playback 230 [90%] [on]
  Front Right: Playback 230 [90%] [on]

teepee card1 # amixer -c1 controls
numid=1,iface=MIXER,name='Speaker Playback Switch'
numid=3,iface=MIXER,name='Speaker Playback Switch',index=1
numid=5,iface=MIXER,name='Speaker Playback Switch',index=2
numid=2,iface=MIXER,name='Speaker Playback Volume'
numid=4,iface=MIXER,name='Speaker Playback Volume',index=1
numid=6,iface=MIXER,name='Speaker Playback Volume',index=2

teepee card1 # amixer -c1 contents
numid=1,iface=MIXER,name='Speaker Playback Switch'
  ; type=BOOLEAN,access=rw---,values=1
  : values=off
numid=3,iface=MIXER,name='Speaker Playback Switch',index=1
  ; type=BOOLEAN,access=rw---,values=1
  : values=off
numid=5,iface=MIXER,name='Speaker Playback Switch',index=2
  ; type=BOOLEAN,access=rw---,values=1
  : values=on
numid=2,iface=MIXER,name='Speaker Playback Volume'
  ; type=INTEGER,access=rw---,values=2,min=0,max=255,step=0
  : values=207,207
numid=4,iface=MIXER,name='Speaker Playback Volume',index=1
  ; type=INTEGER,access=rw---,values=2,min=0,max=255,step=0
  : values=211,211
numid=6,iface=MIXER,name='Speaker Playback Volume',index=2
  ; type=INTEGER,access=rw---,values=2,min=0,max=255,step=0

Bus 002 Device 004: ID 0a92:0091 EGO SYStems, Inc.
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor 0x0a92 EGO SYStems, Inc.
  idProduct 0x0091
  bcdDevice 1.00
  iManufacturer 1 AUDIOTRAK
  iProduct 2 MAYA44 USB
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 295
    bNumInterfaces 4
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x00
    MaxPower 250mA
    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 142
        bInCollection 2
        baInterfaceNr( 0) 1
        baInterfaceNr( 1) 2
      AudioControl Interface Descriptor:
        bLength 12
        bDescriptorType 36
        bDescriptorSubtype 2 (INPUT_TERMINAL)
        bTerminalID 5
        wTerminalType 0x0101 USB Streaming
        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 3
        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 4
        bSourceID 3
        bControlSize 1
        bmaControls( 0) 0x01
          Mute
        bmaControls( 0) 0x02
          Volume
        bmaControls( 0) 0x02
          Volume
        iFeature 0
      AudioControl Interface Descriptor:
        bLength 12
        bDescriptorType 36
        bDescriptorSubtype 2 (INPUT_TERMINAL)
        bTerminalID 1
        wTerminalType 0x0603 Line Connector
        bAssocTerminal 9
        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 1
        bControlSize 1
        bmaControls( 0) 0x01
          Mute
        bmaControls( 0) 0x02
          Volume
        bmaControls( 0) 0x02
          Volume
        iFeature 0
      AudioControl Interface Descriptor:
        bLength 15
        bDescriptorType 36
        bDescriptorSubtype 4 (MIXER_UNIT)
        bUnitID 6
        bNrInPins 3
        baSourceID( 0) 5
        baSourceID( 1) 4
        baSourceID( 2) 2
        bNrChannels 2
        wChannelConfig 0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames 0
        bmControls 0x00
        iMixer 0
        junk at descriptor end: 00
      AudioControl Interface Descriptor:
        bLength 10
        bDescriptorType 36
        bDescriptorSubtype 6 (FEATURE_UNIT)
        bUnitID 7
        bSourceID 6
        bControlSize 1
        bmaControls( 0) 0x01
          Mute
        bmaControls( 0) 0x02
          Volume
        bmaControls( 0) 0x02
          Volume
        iFeature 0
      AudioControl Interface Descriptor:
        bLength 9
        bDescriptorType 36
        bDescriptorSubtype 3 (OUTPUT_TERMINAL)
        bTerminalID 8
        wTerminalType 0x0301 Speaker
        bAssocTerminal 0
        bSourceID 7
        iTerminal 0
      AudioControl Interface Descriptor:
        bLength 12
        bDescriptorType 36
        bDescriptorSubtype 2 (INPUT_TERMINAL)
        bTerminalID 9
        wTerminalType 0x0603 Line Connector
        bAssocTerminal 1
        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 10
        bSourceID 9
        bControlSize 1
        bmaControls( 0) 0x01
          Mute
        bmaControls( 0) 0x02
          Volume
        bmaControls( 0) 0x02
          Volume
        iFeature 0
      AudioControl Interface Descriptor:
        bLength 11
        bDescriptorType 36
        bDescriptorSubtype 4 (MIXER_UNIT)
cannot get string descriptor 9, error = Broken pipe(32) << HERE
      Warning: Descriptor too short
        bUnitID 11
        bNrInPins 1
        baSourceID( 0) 10
        bNrChannels 2
        wChannelConfig 0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames 0
        bmControls 0x00
        iMixer 9
      AudioControl Interface Descriptor:
        bLength 9
        bDescriptorType 36
        bDescriptorSubtype 3 (OUTPUT_TERMINAL)
        bTerminalID 12
        wTerminalType 0x0101 USB Streaming
        bAssocTerminal 0
        bSourceID 11
        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 1
      bInterfaceClass 1 Audio
      bInterfaceSubClass 2 Streaming
      bInterfaceProtocol 0
      iInterface 0
      AudioControl Interface Descriptor:
        bLength 7
        bDescriptorType 36
        bDescriptorSubtype 1 (AS_GENERAL)
        bTerminalLink 5
        bDelay 1 frames
        wFormatTag 1 PCM
      AudioControl 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 0x01 EP 1 OUT
        bmAttributes 9
          Transfer Type Isochronous
          Synch Type Adaptive
        wMaxPacketSize 384
        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
      AudioControl Interface Descriptor:
        bLength 7
        bDescriptorType 36
        bDescriptorSubtype 1 (AS_GENERAL)
        bTerminalLink 12
        bDelay 1 frames
        wFormatTag 1 PCM
      AudioControl 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 0x82 EP 2 IN
        bmAttributes 13
          Transfer Type Isochronous
          Synch Type Synchronous
        wMaxPacketSize 384
        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 Devices
      bInterfaceSubClass 0 No Subclass
      bInterfaceProtocol 0 None
      iInterface 0
        HID Device Descriptor:
          bLength 9
          bDescriptorType 33
          bcdHID 1.00
          bCountryCode 0
          bNumDescriptors 1
          bDescriptorType 34 Report
          wDescriptorLength 52
cannot get report descriptor
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x83 EP 3 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type none
        wMaxPacketSize 8
        bInterval 16
  Language IDs: (length=4)
     0409 English(US)

-- 
S pozdravem / Best regards
Lukas Zapletal
sefredaktor / Editor-In-Chief
LinuxEXPRES - opravdovy linuxovy magazin
www.LinuxEXPRES.cz tel.: +420 777 003 843
Received on Wed Nov 2 04:15:04 2005

This archive was generated by hypermail 2.1.8 : Wed Nov 02 2005 - 04:15:04 EET