Re: [LAU] UA-1EX (was: UA-101)

From: Fritz Meissner <meissner.fritz@email-addr-hidden>
Date: Thu Nov 12 2009 - 23:58:51 EET

2009/11/12 Clemens Ladisch <clemens@email-addr-hidden>:
> Fritz Meissner wrote:
>> Sorry, I was getting confused - I have UA-1EX, not UA-101 which is of
>> course a much more capable product. It would though be great to be
>> able to use the 24 bit/96 ks/sec mode with this.
>
> Should have been supported for more than two years:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9b0d39be53b057e05e2f796a071ff1cead3a2506
>
> What happens when you plug it in in advanced mode?  Any error messages
> in the system log?
>
I think that when I last tried advanced mode was when I still had the
original Linpus Linux installed, which used a very old kernel. It came
without the snd-usb module, but I put them in myself which made the
UA-1EX work in standard mode but not in advanced mode.

I've just done some more testing with Ubuntu (kernel Ubuntu
2.6.28-16.55-generic) and the advanced mode does work if I try
recording in Audacity. Pulseaudio is also aware that the sample rate
is now 96 kHz instead of 44.1, but shows the sample size as 16 bit
instead of 24 bit. It does seem that the system does not entirely
understand the advanced mode if you look at the following output from
lsusb -v :

Standard mode :

Bus 002 Device 005: ID 0582:0097 Roland Corp.
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor 0x0582 Roland Corp.
  idProduct 0x0097
  bcdDevice 1.00
  iManufacturer 1
  iProduct 2
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 174
    bNumInterfaces 3
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x80
      (Bus Powered)
    MaxPower 200mA
    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 52
        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 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 3
        wTerminalType 0x0304 Desktop Speaker
        bAssocTerminal 0
        bSourceID 1
        iTerminal 0
      AudioControl Interface Descriptor:
        bLength 12
        bDescriptorType 36
        bDescriptorSubtype 2 (INPUT_TERMINAL)
        bTerminalID 4
        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 7
        wTerminalType 0x0101 USB Streaming
        bAssocTerminal 0
        bSourceID 4
        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
      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 2
        bSubframeSize 2
        bBitResolution 16
        bSamFreqType 1 Discrete
        tSamFreq[ 0] 44100
      Endpoint Descriptor:
        bLength 9
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 9
          Transfer Type Isochronous
          Synch Type Adaptive
          Usage Type Data
        wMaxPacketSize 0x00c0 1x 192 bytes
        bInterval 1
        bRefresh 0
        bSynchAddress 0
        AudioControl Endpoint Descriptor:
          bLength 7
          bDescriptorType 37
          bDescriptorSubtype 1 (EP_GENERAL)
          bmAttributes 0x00
          bLockDelayUnits 2 Decoded PCM samples
          wLockDelay 512 Decoded PCM samples
    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 7
        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 5
          Transfer Type Isochronous
          Synch Type Asynchronous
          Usage Type Data
        wMaxPacketSize 0x00c0 1x 192 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

Advanced mode set to 96 kHz sample rate :

Bus 003 Device 003: ID 0582:0096 Roland Corp. EDIROL UA-1EX
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 255 Vendor Specific Class
  bDeviceSubClass 0
  bDeviceProtocol 255
  bMaxPacketSize0 8
  idVendor 0x0582 Roland Corp.
  idProduct 0x0096 EDIROL UA-1EX
  bcdDevice 1.00
  iManufacturer 1
  iProduct 2
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 59
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x80
      (Bus Powered)
    MaxPower 200mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 0
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 2
      bInterfaceProtocol 0
      iInterface 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 1
      bNumEndpoints 1
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 2
      bInterfaceProtocol 0
      iInterface 0
      ** UNRECOGNIZED: 07 24 01 07 00 01 00
      ** UNRECOGNIZED: 0b 24 02 01 02 03 18 01 00 77 01
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 5
          Transfer Type Isochronous
          Synch Type Asynchronous
          Usage Type Data
        wMaxPacketSize 0x0260 1x 608 bytes
        bInterval 1

Thanks for your assistance,

Fritz
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Fri Nov 13 00:15:06 2009

This archive was generated by hypermail 2.1.8 : Fri Nov 13 2009 - 00:15:06 EET