Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Steinberg UR44 uaudio device



Den Wed, 8 Jun 2022 17:08:20 +0200
skrev Hans Petter Selasky <hps%selasky.org@localhost>:

> On 6/8/22 16:50, Eivind Nicolay Evensen wrote:
> > If I read that right, Martin's guess that this is a v2 device is
> > right.  
> 
> Hi,
> 
> If you compile the kernel with "options USB_DEBUG", there will be a 
> "sysctl hw.usb.uaudio.debug=16", which will print this in dmesg.


So then, this confirms it it seems:
uaudio_chan_fill_info_sub: Wrong number of channels
uaudio_chan_fill_info_sub: Wrong number of channels
[large amounts of above]
uaudio_attach: audio rev 2.00
uaudio_attach: 0 mixer controls
uaudio0: Play[0]: 192000 Hz, 4 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play[0]: 176400 Hz, 4 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play[0]: 96000 Hz, 4 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play[0]: 88200 Hz, 4 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play[0]: 48000 Hz, 4 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play[0]: 44100 Hz, 4 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record[0]: 192000 Hz, 6 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record[0]: 176400 Hz, 6 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record[0]: 96000 Hz, 6 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record[0]: 88200 Hz, 6 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record[0]: 48000 Hz, 6 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record[0]: 44100 Hz, 6 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: MIDI sequencer.
uaudio_attach: doing child attach
umidi_bulk_read_callback: start
pcm9: <USB audio> on uaudio0
uaudio_attach_sub: software controlled main volume
uaudio_mixer_init_sub: child=0
uaudio_chan_init: Worst case buffer is 36864 bytes
uaudio_chan_init: Worst case buffer is 55296 bytes
uaudio_chan_set_param_speed: Selecting alt 4
uaudio_chan_set_param_speed: Selecting alt 4
uaudio_chan_set_param_format: Selecting format 0x00410000
uaudio_chan_set_param_speed: Selecting alt 4
uaudio_chan_set_param_speed: Selecting alt 4
uaudio_chan_set_param_format: Selecting format 0x08610000
umidi_bulk_read_callback: actlen=512 bytes
umidi_bulk_read_callback: start
uaudio0: No HID volume keys found.
uaudio_mixer_write_cfg_callback: 
umidi_bulk_read_callback: actlen=512 bytes
umidi_bulk_read_callback: start
umidi_bulk_read_callback: actlen=512 bytes
umidi_bulk_read_callback: start

> 
> You can also do:
> 
> pkg install usbutils
> 
> and
> 
> lsusb -vvv
> 
> and look for something like this:
> 
> >     Interface Descriptor:
> >       bLength                 9
> >       bDescriptorType         4
> >       bInterfaceNumber        2
> >       bAlternateSetting       0
> >       bNumEndpoints           0
> >       bInterfaceClass         1 Audio
> >       bInterfaceSubClass      1 Control Device
> >       bInterfaceProtocol      0 
> >       iInterface              0 
> >       AudioControl Interface Descriptor:
> >         bLength                 9
> >         bDescriptorType        36
> >         bDescriptorSubtype      1 (HEADER)
> >         bcdADC               1.00  
>                                 ^^^^ this one will tell
> >         wTotalLength           38
> >         bInCollection           1
> >         baInterfaceNr( 0)       3  

As well as this:

Bus /dev/usb Device /dev/ugen0.7: ID 0499:1704 Yamaha Corp. Steinberg UR44
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x0499 Yamaha Corp.
  idProduct          0x1704 Steinberg UR44
  bcdDevice            2.10
  iManufacturer           1 Yamaha Corporation
  iProduct                2 Steinberg UR44
  iSerial                 0 
  bNumConfigurations      2
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          324
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         4
      bFunctionClass          1 Audio
      bFunctionSubClass       0 
      bFunctionProtocol      32 
      iFunction               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol     32 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               2.00
        bCategory               8
        wTotalLength           75
        bmControl            0x00
      AudioControl Interface Descriptor:
        bLength                 8
        bDescriptorType        36
        bDescriptorSubtype     10 (CLOCK_SOURCE)
        bClockID                1
        bmAttributes         0x03 Internal programmable Clock 
        bmControls           0x03
          Clock Frequency Control (read/write)
        bAssocTerminal          0
        iClockSource            0 



-- 
Eivind Nicolay Evensen


Home | Main Index | Thread Index | Old Index