Hi

Can someone please give me some ideas on how to make the
M-Audio Audiophile USB work with Alsa.

Just bought a M-Audio Audiophile USB and am already starting to regret
it (and if i want to try and take it back I'll have to do it soon).
I was looking for a high quality 44.1kHZ and 48kHz D/A USB converter.
I liked the look of the Edirol UA-20 but it doesn't appear to accept
44.1kHz from the host: http://www.edirol.com/products/info/ua20.html
Suggestions anyone?

There is lots of code in usbaudio.c and usbquirks.h in the Alsa Drivers
version 1.0.1 that refers to M-Audio Audiophile USB so I assumed
that it would work:
http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/usb/usbaudio.c?r1=1.68&r2=1.69
http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/usb/usbquirks.h?r1=1.18&r2=1.19
Should I have just assumed that it is very hard to get to work?

With Linux 2.6.1, the card doesn't even load:
        Jan 23 11:03:37 joey kernel: hub 2-0:1.0: new USB device on port 2, assigned 
address 2
        Jan 23 11:03:37 joey kernel: drivers/usb/core/config.c: invalid alternate 
setting 4 for interface 5
        Jan 23 11:03:37 joey kernel: usb 2-2: can't read configurations, error -22
        Jan 23 11:03:37 joey kernel: hub 2-0:1.0: new USB device on port 2, assigned 
address 3
        Jan 23 11:03:37 joey kernel: drivers/usb/core/config.c: invalid alternate 
setting 4 for interface 5
        Jan 23 11:03:37 joey kernel: usb 2-2: can't read configurations, error -22

So I returned to Linux 2.4.24 (Debian) and compiled version 1.0.1 of the drivers
for this kernel:
        % cat /proc/asound/version 
        Advanced Linux Sound Architecture Driver Version 1.0.1.
        Compiled on Jan 22 2004 for kernel 2.4.24-1-686 with versioned symbols.

I did not recompile any applications or install the include files.
I just installed the modules (into /lib/modules/2.4.24-1-686/misc).
Is this correct? Should I have also replaced 
/lib/modules/2.4.24-1-686/kernel/drivers/usb/audio.o
I haven't tried loading any firmware into the card:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg09214.html
nor connected it to a Windows machine:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg08409.html
perhaps doing so will install (better) firmware.

I had to follow the instructions in
http://www.mail-archive.com/[EMAIL PROTECTED]/msg09192.html
to get any sound out of this card and then I only get sound every 2nd or 3rd time.
Sometimes doing "/etc/init.d/alsa stop" hangs my machine.

%  cat /proc/asound/cards
0 [NM256AV        ]: NM256AV - NeoMagic NM256AV
                     NeoMagic NM256AV at 0xfae709a0 & 0xfda00000, irq 5
1 [tm             ]: USB-Audio - Audiophile USB (tm)
                     M-Audio Audiophile USB (tm) at usb-00:07.2-1

The first interface doesn't work
        :; alsaplayer --verbose -d hw:1,0 *.mp3
        AlsaPlayer 0.99.75
        (C) 1999-2003 Andy Lo A Foe <[EMAIL PROTECTED]> and others.
        Output plugin: ALSA output v1.9.0beta12
        error on set_format SND_PCM_FORMAT_S16_LE
        Unavailable hw params:
        ACCESS:  RW_INTERLEAVED
        FORMAT:  S16_BE S24_3BE
        SUBFORMAT:  STD
        SAMPLE_BITS: [16 24]
        FRAME_BITS: [32 48]
        CHANNELS: 2
        RATE: [8000 96000]
        PERIOD_TIME: [1000 1024000]
        PERIOD_SIZE: [11 8192]
        PERIOD_BYTES: [64 49152]
        PERIODS: [2 1024]
        BUFFER_TIME: (229 2048000]
        BUFFER_SIZE: [22 16384]
        BUFFER_BYTES: [88 65536]
        TICK_TIME: 10000
        error on set_format SND_PCM_FORMAT_S16_LE
        Unavailable hw params:
        ACCESS:  RW_INTERLEAVED
        FORMAT:  S16_BE S24_3BE
        SUBFORMAT:  STD
        SAMPLE_BITS: [16 24]
        FRAME_BITS: [32 48]
        CHANNELS: 2
        RATE: [8000 96000]
        PERIOD_TIME: [1000 1024000]
        PERIOD_SIZE: [11 8192]
        PERIOD_BYTES: [64 49152]
        PERIODS: [2 1024]
        BUFFER_TIME: (229 2048000]
        BUFFER_SIZE: [22 16384]
        BUFFER_BYTES: [88 65536]
        TICK_TIME: 10000
        failed to configure output device...trying OSS
        error opening /dev/dsp
        Failed to initialize plugin!
        Failed to register plugin: /usr/lib/alsaplayer/output/liboss_out.so
        failed to load output plugin (alsa). exitting...
        
The interface #1 sometimes gives sound but the sound is too fast.
After 120 seconds of music, the timer is 10 seconds fast.  I guess
that it is playing my 44.1kHz MP3 at 48kHz. Why?
        % alsaplayer --verbose -d hw:1,1 *.mp3
        AlsaPlayer 0.99.75
        (C) 1999-2003 Andy Lo A Foe <[EMAIL PROTECTED]> and others.
        ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC1D1p failed: No 
such file or directory
        snd_pcm_open: No such file or directory (hw:1,1)
        Failed to initialize plugin!
        Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so
        Failed to load output plugin "alsa". Trying defaults.
        ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC1D1p failed: No 
such file or directory
        snd_pcm_open: No such file or directory (hw:1,1)
        Failed to initialize plugin!
        /usr/lib/alsaplayer/output/libalsa_out.so failed to load
        Output plugin: OSS output v1.0
        Loading reader plugin: File reader v1.1
        Loading reader plugin: HTTP reader v1.3
        Loading Input plugin: flac player v1.2
        Loading Input plugin: CDDA player v1.2
        Loading Input plugin: libsndfile plugin v0.1
        Loading Input plugin: MAD MPEG audio plugin v1.01
        Loading Input plugin: MikMod player v1.0
        Loading Input plugin: Ogg Vorbis player v1.2
        Loading Input plugin: WAV player v1.01
        Interface plugin: GTK+ interface v1.2
Yes, I know that alsaplayer failed to open via the Alsa interface and is using OSS.
I have never gotten sound out of alsaplayer's alsa output driver.
        % alsaplayer -d hw:1,1 --verbose *.mp3
        AlsaPlayer 0.99.75
        (C) 1999-2003 Andy Lo A Foe <[EMAIL PROTECTED]> and others.
        Output plugin: ALSA output v1.9.0beta12
        Loading reader plugin: File reader v1.1
        Loading reader plugin: HTTP reader v1.3
        Loading Input plugin: flac player v1.2
        Loading Input plugin: CDDA player v1.2
        Loading Input plugin: libsndfile plugin v0.1
        Loading Input plugin: MAD MPEG audio plugin v1.01
        Loading Input plugin: MikMod player v1.0
        Loading Input plugin: Ogg Vorbis player v1.2
        Loading Input plugin: WAV player v1.01
        Interface plugin: GTK+ interface v1.2
Depending what happens when I plug the device in (what I don't know)
alsaplayer either falls back to the OSS driver (and plays too last)
or uses the alsa driver and gives silence.

Alsamixer is not helpfull either.  What does "elems" mean?  If it means "elements"
somebody could have type the extra three characters :-(  But surely there is a mixer.
        % alsamixer  -D hw:1
        No mixer elems found

Mplayer doesn't work either (though perhaps converting from little to big endian isn't
too hard):
        % mplayer -vo null -ao alsa9:hw:1,1 /import/movies/test.avi 
        MPlayer 1.0pre3-3.3.3 (C) 2000-2003 MPlayer Team
        CPU: Intel Celeron A Mendocino/Pentium II Dixon 364.5 MHz (Family: 6, 
Stepping: 10)
        [...]
        Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
        MP3lib: init layer2&3 finished, tables done
        AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
        Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
        [...]
        Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
        AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int 
        AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
        alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit 
(Little-Endian)
        alsa-init: soundcard set to hw:1
        alsa-init: format Signed 16-bit (Little-Endian) are not supported by hardware, 
trying default
        alsa-init: unable to set format: Invalid argument
        Could not open/initialize audio device -> no sound.
        Audio: no sound

I was hoping that the problems described in 28 Aug 2003 wrere fixed
http://www.mail-archive.com/[EMAIL PROTECTED]/msg08909.html
        There are still some problems with the Audiophile USB under ALSA 
        (capture doesn't work, and correct operation is inconsistent 
        (occasional noise, distortion, and lockups)).
And I hoped that the code in Alsa Drivers version 1.0.1 dealt with
http://www.mail-archive.com/[EMAIL PROTECTED]/msg09209.html
        I doubt this will be fixed soon, because it doesn't seem that anyone who 
        has this card also has the knowledge+time+motivation to get it 
        working.. :(

Any updates on the status of this card?

Here is the output of lsusb -v

        Bus 001 Device 002: ID 0763:2003 Midiman 
        Device Descriptor:
          bLength                18
          bDescriptorType         1
          bcdUSB               1.00
          bDeviceClass            0 (Defined at Interface level)
          bDeviceSubClass         0 
          bDeviceProtocol         0 
          bMaxPacketSize0         8
          idVendor           0x0763 Midiman
          idProduct          0x2003 
          bcdDevice            1.01
          iManufacturer           1 
          iProduct                2 
          iSerial                 0 
          bNumConfigurations      1
          Configuration Descriptor:
            bLength                 9
            bDescriptorType         2
            wTotalLength         1106
            bNumInterfaces          7
            bConfigurationValue     1
            iConfiguration          0 
            bmAttributes         0x40
              Self Powered
            MaxPower                0mA
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        0
              bAlternateSetting       0
              bNumEndpoints           0
              bInterfaceClass       254 Application Specific Interface
              bInterfaceSubClass      1 Device Firmware Update
              bInterfaceProtocol      0 
              iInterface              0 
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        1
              bAlternateSetting       0
              bNumEndpoints           0
              bInterfaceClass         1 Audio
              bInterfaceSubClass      1 Control Device
              bInterfaceProtocol      0 
              iInterface              2 
              AudioControl Interface Descriptor:
                bLength                12
                bDescriptorType        36
                bDescriptorSubtype      1 (HEADER)
                bcdADC               1.00
                wTotalLength           96
                bInCollection           4
                baInterfaceNr( 0)       2
                baInterfaceNr( 1)       3
                baInterfaceNr( 2)       4
                baInterfaceNr( 3)       5
              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                 9
                bDescriptorType        36
                bDescriptorSubtype      3 (OUTPUT_TERMINAL)
                bTerminalID             6
                wTerminalType      0x0601 Analog Connector
                bAssocTerminal          0
                bSourceID               5
                iTerminal               0 
              AudioControl Interface Descriptor:
                bLength                12
                bDescriptorType        36
                bDescriptorSubtype      2 (INPUT_TERMINAL)
                bTerminalID             7
                wTerminalType      0x0101 USB Streaming
                bAssocTerminal          0
                bNrChannels             2
                wChannelConfig     0x0003
                  Left Front (L)
                  Right Front (R)
                iChannelNames           0 
                iTerminal               0 
              AudioControl Interface Descriptor:
                bLength                 9
                bDescriptorType        36
                bDescriptorSubtype      3 (OUTPUT_TERMINAL)
                bTerminalID             8
                wTerminalType      0x0601 Analog Connector
                bAssocTerminal          0
                bSourceID               7
                iTerminal               0 
              AudioControl Interface Descriptor:
                bLength                12
                bDescriptorType        36
                bDescriptorSubtype      2 (INPUT_TERMINAL)
                bTerminalID             1
                wTerminalType      0x0601 Analog Connector
                bAssocTerminal          0
                bNrChannels             2
                wChannelConfig     0x0003
                  Left Front (L)
                  Right Front (R)
                iChannelNames           0 
                iTerminal               0 
              AudioControl Interface Descriptor:
                bLength                 9
                bDescriptorType        36
                bDescriptorSubtype      3 (OUTPUT_TERMINAL)
                bTerminalID             2
                wTerminalType      0x0101 USB Streaming
                bAssocTerminal          0
                bSourceID               1
                iTerminal               0 
              AudioControl Interface Descriptor:
                bLength                12
                bDescriptorType        36
                bDescriptorSubtype      2 (INPUT_TERMINAL)
                bTerminalID             3
                wTerminalType      0x0601 Analog Connector
                bAssocTerminal          0
                bNrChannels             2
                wChannelConfig     0x0003
                  Left Front (L)
                  Right Front (R)
                iChannelNames           0 
                iTerminal               0 
              AudioControl Interface Descriptor:
                bLength                 9
                bDescriptorType        36
                bDescriptorSubtype      3 (OUTPUT_TERMINAL)
                bTerminalID             4
                wTerminalType      0x0101 USB Streaming
                bAssocTerminal          0
                bSourceID               3
                iTerminal               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 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x03  EP 3 OUT
                bmAttributes            9
                  Transfer Type            Isochronous
                  Synch Type               Adaptive
                  Usage Type               Data
                wMaxPacketSize     0x0240  bytes 576 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           5
                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           3
                bBitResolution         24
                bSamFreqType            0 Continuous
                tLowerSamFreq       48001
                tUpperSamFreq       96000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        2
              bAlternateSetting       2
              bNumEndpoints           2
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x03  EP 3 OUT
                bmAttributes            5
                  Transfer Type            Isochronous
                  Synch Type               Asynchronous
                  Usage Type               Data
                wMaxPacketSize     0x0128  bytes 296 once
                bInterval               1
                bRefresh                0
                bSynchAddress         131
                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     0x83  EP 3 IN
                bmAttributes            1
                  Transfer Type            Isochronous
                  Synch Type               None
                  Usage Type               Data
                wMaxPacketSize     0x0003  bytes 3 twice
                bInterval               1
                bRefresh                2
                bSynchAddress           0
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           5
                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           3
                bBitResolution         24
                bSamFreqType            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        2
              bAlternateSetting       3
              bNumEndpoints           1
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x03  EP 3 OUT
                bmAttributes            9
                  Transfer Type            Isochronous
                  Synch Type               Adaptive
                  Usage Type               Data
                wMaxPacketSize     0x0128  bytes 296 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           5
                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           3
                bBitResolution         24
                bSamFreqType            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        2
              bAlternateSetting       4
              bNumEndpoints           2
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x03  EP 3 OUT
                bmAttributes            5
                  Transfer Type            Isochronous
                  Synch Type               Asynchronous
                  Usage Type               Data
                wMaxPacketSize     0x00c8  bytes 200 once
                bInterval               1
                bRefresh                0
                bSynchAddress         131
                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     0x83  EP 3 IN
                bmAttributes            1
                  Transfer Type            Isochronous
                  Synch Type               None
                  Usage Type               Data
                wMaxPacketSize     0x0003  bytes 3 twice
                bInterval               1
                bRefresh                2
                bSynchAddress           0
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           5
                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            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        2
              bAlternateSetting       5
              bNumEndpoints           1
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x03  EP 3 OUT
                bmAttributes            9
                  Transfer Type            Isochronous
                  Synch Type               Adaptive
                  Usage Type               Data
                wMaxPacketSize     0x00c0  bytes 192 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           5
                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            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        3
              bAlternateSetting       0
              bNumEndpoints           0
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        3
              bAlternateSetting       1
              bNumEndpoints           1
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x04  EP 4 OUT
                bmAttributes            9
                  Transfer Type            Isochronous
                  Synch Type               Adaptive
                  Usage Type               Data
                wMaxPacketSize     0x0240  bytes 576 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           7
                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           3
                bBitResolution         24
                bSamFreqType            0 Continuous
                tLowerSamFreq       48001
                tUpperSamFreq       96000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        3
              bAlternateSetting       2
              bNumEndpoints           2
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x04  EP 4 OUT
                bmAttributes            5
                  Transfer Type            Isochronous
                  Synch Type               Asynchronous
                  Usage Type               Data
                wMaxPacketSize     0x0128  bytes 296 once
                bInterval               1
                bRefresh                0
                bSynchAddress         132
                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     0x84  EP 4 IN
                bmAttributes            1
                  Transfer Type            Isochronous
                  Synch Type               None
                  Usage Type               Data
                wMaxPacketSize     0x0003  bytes 3 twice
                bInterval               1
                bRefresh                2
                bSynchAddress           0
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           7
                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           3
                bBitResolution         24
                bSamFreqType            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        3
              bAlternateSetting       3
              bNumEndpoints           1
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x04  EP 4 OUT
                bmAttributes            9
                  Transfer Type            Isochronous
                  Synch Type               Adaptive
                  Usage Type               Data
                wMaxPacketSize     0x0128  bytes 296 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           7
                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           3
                bBitResolution         24
                bSamFreqType            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        3
              bAlternateSetting       4
              bNumEndpoints           2
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x04  EP 4 OUT
                bmAttributes            5
                  Transfer Type            Isochronous
                  Synch Type               Asynchronous
                  Usage Type               Data
                wMaxPacketSize     0x00c8  bytes 200 once
                bInterval               1
                bRefresh                0
                bSynchAddress         132
                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     0x84  EP 4 IN
                bmAttributes            1
                  Transfer Type            Isochronous
                  Synch Type               None
                  Usage Type               Data
                wMaxPacketSize     0x0003  bytes 3 twice
                bInterval               1
                bRefresh                2
                bSynchAddress           0
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           7
                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            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        3
              bAlternateSetting       5
              bNumEndpoints           1
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x04  EP 4 OUT
                bmAttributes            9
                  Transfer Type            Isochronous
                  Synch Type               Adaptive
                  Usage Type               Data
                wMaxPacketSize     0x00c0  bytes 192 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           7
                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            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        3
              bAlternateSetting       6
              bNumEndpoints           1
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x04  EP 4 OUT
                bmAttributes           13
                  Transfer Type            Isochronous
                  Synch Type               Synchronous
                  Usage Type               Data
                wMaxPacketSize     0x00c0  bytes 192 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           7
                bDelay                  1 frames
                wFormatTag           8193 IEC1937_AC-3
              AudioStreaming Interface Descriptor:
                bLength                14
                bDescriptorType        36
                bDescriptorSubtype      2 (FORMAT_TYPE)
                bFormatType             3 (FORMAT_TYPE_III)
                bNrChannels             2
                bSubframeSize           2
                bBitResolution         16
                bSamFreqType            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        4
              bAlternateSetting       0
              bNumEndpoints           0
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        4
              bAlternateSetting       1
              bNumEndpoints           1
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x85  EP 5 IN
                bmAttributes           13
                  Transfer Type            Isochronous
                  Synch Type               Synchronous
                  Usage Type               Data
                wMaxPacketSize     0x0240  bytes 576 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           2
                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           3
                bBitResolution         24
                bSamFreqType            0 Continuous
                tLowerSamFreq       48001
                tUpperSamFreq       96000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        4
              bAlternateSetting       2
              bNumEndpoints           1
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x85  EP 5 IN
                bmAttributes            5
                  Transfer Type            Isochronous
                  Synch Type               Asynchronous
                  Usage Type               Data
                wMaxPacketSize     0x0128  bytes 296 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           2
                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           3
                bBitResolution         24
                bSamFreqType            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        4
              bAlternateSetting       3
              bNumEndpoints           1
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x85  EP 5 IN
                bmAttributes           13
                  Transfer Type            Isochronous
                  Synch Type               Synchronous
                  Usage Type               Data
                wMaxPacketSize     0x0128  bytes 296 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           2
                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           3
                bBitResolution         24
                bSamFreqType            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        4
              bAlternateSetting       4
              bNumEndpoints           1
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x85  EP 5 IN
                bmAttributes            5
                  Transfer Type            Isochronous
                  Synch Type               Asynchronous
                  Usage Type               Data
                wMaxPacketSize     0x00c8  bytes 200 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           2
                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            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        4
              bAlternateSetting       5
              bNumEndpoints           1
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x85  EP 5 IN
                bmAttributes           13
                  Transfer Type            Isochronous
                  Synch Type               Synchronous
                  Usage Type               Data
                wMaxPacketSize     0x00c0  bytes 192 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           2
                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            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        5
              bAlternateSetting       0
              bNumEndpoints           0
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        5
              bAlternateSetting       1
              bNumEndpoints           1
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x86  EP 6 IN
                bmAttributes            5
                  Transfer Type            Isochronous
                  Synch Type               Asynchronous
                  Usage Type               Data
                wMaxPacketSize     0x0248  bytes 584 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           4
                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           3
                bBitResolution         24
                bSamFreqType            0 Continuous
                tLowerSamFreq       48001
                tUpperSamFreq       96000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        5
              bAlternateSetting       2
              bNumEndpoints           1
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x86  EP 6 IN
                bmAttributes            5
                  Transfer Type            Isochronous
                  Synch Type               Asynchronous
                  Usage Type               Data
                wMaxPacketSize     0x0128  bytes 296 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           4
                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           3
                bBitResolution         24
                bSamFreqType            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        5
              bAlternateSetting       4
              bNumEndpoints           1
              bInterfaceClass         1 Audio
              bInterfaceSubClass      2 Streaming
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 9
                bDescriptorType         5
                bEndpointAddress     0x86  EP 6 IN
                bmAttributes            5
                  Transfer Type            Isochronous
                  Synch Type               Asynchronous
                  Usage Type               Data
                wMaxPacketSize     0x00c8  bytes 200 once
                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
              AudioStreaming Interface Descriptor:
                bLength                 7
                bDescriptorType        36
                bDescriptorSubtype      1 (AS_GENERAL)
                bTerminalLink           4
                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            0 Continuous
                tLowerSamFreq        8000
                tUpperSamFreq       48000
            Interface Descriptor:
              bLength                 9
              bDescriptorType         4
              bInterfaceNumber        6
              bAlternateSetting       0
              bNumEndpoints           3
              bInterfaceClass       255 Vendor Specific Class
              bInterfaceSubClass      0 
              bInterfaceProtocol      0 
              iInterface              0 
              Endpoint Descriptor:
                bLength                 7
                bDescriptorType         5
                bEndpointAddress     0x81  EP 1 IN
                bmAttributes            3
                  Transfer Type            Interrupt
                  Synch Type               None
                  Usage Type               Data
                wMaxPacketSize     0x0010  bytes 16 once
                bInterval               1
              Endpoint Descriptor:
                bLength                 7
                bDescriptorType         5
                bEndpointAddress     0x82  EP 2 IN
                bmAttributes            2
                  Transfer Type            Bulk
                  Synch Type               None
                  Usage Type               Data
                wMaxPacketSize     0x0010  bytes 16 once
                bInterval               0
              Endpoint Descriptor:
                bLength                 7
                bDescriptorType         5
                bEndpointAddress     0x02  EP 2 OUT
                bmAttributes            2
                  Transfer Type            Bulk
                  Synch Type               None
                  Usage Type               Data
                wMaxPacketSize     0x0010  bytes 16 once
                bInterval               0

thanks for having read to the end of this email and thanks for any help
Stuart


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to