[LAD] [Fwd: Re: USB device dmesg error]

From: <tom@email-addr-hidden>
Date: Fri Sep 20 2013 - 17:09:43 EEST

---------------------------- Original Message ----------------------------
Subject: Re: [LAD] USB device dmesg error
From: tom@email-addr-hidden
Date: Fri, September 20, 2013 15:52
To: "Clemens Ladisch" <clemens@email-addr-hidden>
--------------------------------------------------------------------------

Hei Clemens,
thanks for your reply.

> tom@email-addr-hidden wrote:
>> i'm trying to use a Roland R-26 as audio interface (USB).
>>
>> I saw it is now officially supported in the alsa-driver repo log
>
> This support is not complete.
>
> Please show the output of "lsusb -v" for this device.

the output i get is:

---
Couldn't open device, some information will be missing
Bus 001 Device 007: ID 0582:013e Roland Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0
  bDeviceProtocol       255
  bMaxPacketSize0        64
  idVendor           0x0582 Roland Corp.
  idProduct          0x013e
  bcdDevice            0.00
  iManufacturer           1
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          124
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol      0
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2
      bInterfaceProtocol      2
      iInterface              0
      ** UNRECOGNIZED:  06 24 f1 01 00 00
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2
      bInterfaceProtocol      2
      iInterface              0
      ** UNRECOGNIZED:  07 24 01 01 00 01 00
      ** UNRECOGNIZED:  0b 24 02 01 02 04 18 01 44 ac 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x0d  EP 13 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0038  1x 56 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2
      bInterfaceProtocol      1
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      2
      bInterfaceProtocol      1
      iInterface              0
      ** UNRECOGNIZED:  07 24 01 07 00 01 00
      ** UNRECOGNIZED:  0b 24 02 01 02 04 18 01 44 ac 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x8e  EP 14 IN
        bmAttributes           37
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Implicit feedback Data
        wMaxPacketSize     0x0038  1x 56 bytes
        bInterval               1
---
-> the "Couldn't open device" looks suspicious
>
>> $ aplay a.wav
>> Playing WAVE 'rabe_babe.wav' : Signed 16 bit Little Endian, Rate 44100
>> Hz, Stereo
>>
>> -> there are no errors, but it stays like this (a.wav is a few seconds)
>> forever and there is no volume indication "from PC" on the device.
>>
>> $ arecord -f cd b.wav
>> Recording WAVE 'b.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
>> Stereo
>>
>> -> no errors but the file is empty (44 bytes), the device shows active
>> mic
>> level "to PC"
>
> I guess this is one of the devices that use implicit feedback
> synchronization, which is very buggy in the current driver.  As far as
> I know, only Jack works with these devices.
>
Huh? How could that work with JACK if it doesn't with ALSA?
Btw, this is what i get when trying to start JACK with it:
--
ub64@email-addr-hidden:~/tmp$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: R26AUDIO [R-26(AUDIO)], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
ub64@email-addr-hidden:~/tmp$ lsof /dev/snd/*
ub64@email-addr-hidden:~/tmp$ ps aux | grep jack
ub64      2340  0.0  0.0  10856   884 pts/1    S+   15:50   0:00 grep
--color=auto jack
ub64@email-addr-hidden:~/tmp$ jackd -d alsa -r 44100 -p 1024 -n 3 -d hw:0,0
jackdmp 1.9.8
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2011 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 10
control device hw:0
control device hw:0
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0,0|hw:0,0|1024|3|44100|0|0|nomon|swmeter|-|32bit
control device hw:0
ATTENTION: The capture device "hw:0,0" is already in use. The following
applications  are using your soundcard(s) so you should  check them and
stop them as necessary before  trying to start JACK again:
jackd (process ID 2341)
Cannot initialize driver
JackServer::Open() failed with -1
Failed to open server
--
>
> Regards,
> Clemens
>
Ciao,
Thomas
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sat Sep 21 04:15:02 2013

This archive was generated by hypermail 2.1.8 : Sat Sep 21 2013 - 04:15:02 EEST