[linux-audio-user] Device for simple stereo dubbing?

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

 



This is a multi-part message in MIME format.

--Boundary_(ID_zU75h/gLjGn4Y8bDnvmU0w)
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT

Joseph Zitt wrote:
> Clemens Ladisch wrote:
> 
>>>> "rmmod usb-uhci" and "modprobe uhci", then try to run lsusb again.
>>>
>>>
>>> OK, here's the output.
>>
>>
>>
>> No change to the "cannot get config descriptor" error, so I think this
>> may be an error in your version of lsusb.
> 
> 
> For what it's worth, I got the same error when trying to use the same 
> device on my laptop under Red Hat a while ago.

I found an lsusb output from trying it on my laptop a while back at 
http://ccrma-mail.stanford.edu/pipermail/planetccrma/2002-December/000796.html 
. It looks like the same error:

Bus 001 Device 010: ID 0582:0006 Roland Corp.
Device Descriptor:
    bLength                18
    bDescriptorType         1
    bcdUSB               1.00
    bDeviceClass            0 Interface
    bDeviceSubClass         0
    bDeviceProtocol         0
    bMaxPacketSize0         8
    idVendor           0x0582 Roland Corp.
    idProduct          0x0006
    bcdDevice            1.10
    iManufacturer           1 Roland
    iProduct                2 UA-30 (44100Hz, Analog REC)
    iSerial                 0
    bNumConfigurations      1
  cannot get config descriptor 0, Connection timed out (110)
    Language IDs: (length=4)
       0409 English(US)

I'm now getting:

Bus 001 Device 003: ID 0582:0006 Roland Corp.
Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               1.00
   bDeviceClass            0 Interface
   bDeviceSubClass         0
   bDeviceProtocol         0
   bMaxPacketSize0         8
   idVendor           0x0582 Roland Corp.
   idProduct          0x0006
   bcdDevice            1.10
   iManufacturer           1 Roland
   iProduct                2 UA-30 (44100Hz, Analog REC)
   iSerial                 0
   bNumConfigurations      1
cannot get config descriptor 0, Connection timed out (110)
   Language IDs: (length=4)
      0409 English(US)

...which, other than the device number, appears identical.

Could it be a problem with the UA-30 refusing to return config 
descriptor 0, whatever that is, when the program asks for it?

The closest thing I've seen to documentation of the config descriptors 
is at 
http://www.beyondlogic.org/usbnutshell/usb5.htm##ConfigurationDescriptors
(yes, two # signs are needed), but I'm not following what this means.

http://groups.google.com/groups?q=lsusb+%22cannot+get+config+descriptor%22&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=20021106132022.GA2101%40home.ldb.ods.org&rnum=1 
seems to suggest that this may be a kernel bug, though it's not about 
the kernel that I'm using, and I was using different ones on the two 
systems.

It looks like I'm using an up-to-date lsusb now:

[root@localhost Documents]# lsusb --version
lsusb (usbutils)  0.11
[root@localhost Documents]# urpmi usbutils
Everything already installed
[root@localhost Documents]#

And the error seems to show up more than once:

[root@localhost Documents]# lsusb -v | grep cannot
Invalid product/subclass spec at line 2650
   Language IDs: none (cannot get min. string descriptor; got len=-1, 
error=32:Broken pipe)
   Language IDs: none (cannot get min. string descriptor; got len=-1, 
error=32:Broken pipe)
cannot get config descriptor 0, Connection timed out (110)
   Language IDs: none (cannot get min. string descriptor; got len=-1, 
error=110:Connection timed out)
cannot get config descriptor 0, Connection timed out (110)
   Language IDs: none (cannot get min. string descriptor; got len=-1, 
error=110:Connection timed out)
[root@localhost Documents]#

I'm attaching the complete lsusb -v output.

>> Well, there are other ways to get the descriptors. Please post the
>> output of "od -t x1 /proc/bus/usb/001/003" (003 is the device number).
> 
> 
> [root@localhost Documents]# od -t x1 /proc/bus/usb/001/003
> 0000000 12 01 00 01 00 00 00 08 82 05 06 00 10 01 01 02
> 0000020 00 01 09 02 9f 02 03 01 00 80 f0 09 04 00 00 00
> 0000040 01 01 00 00 0a 24 01 00 01 4a 00 02 01 02 0c 24
> 0000060 02 01 01 01 00 02 03 00 00 00 0d 24 06 02 01 02
> 0000100 15 01 02 00 02 00 00 09 24 03 03 04 03 00 02 00
> 0000120 0c 24 02 04 02 02 00 02 03 00 00 00 09 24 03 07
> 0000140 01 01 00 04 00 09 04 01 00 00 01 02 00 00 09 04
> 0000160 01 01 01 01 02 00 00 07 24 01 01 00 01 00 0b 24
> 0000200 02 01 01 01 08 01 44 ac 00 09 05 04 09 38 00 01
> 0000220 00 00 07 25 01 00 02 00 02 09 04 01 02 01 01 02
> 0000240 00 00 07 24 01 01 00 01 00 0b 24 02 01 02 01 08
> 0000260 01 44 ac 00 09 05 04 09 70 00 01 00 00 07 25 01
> 0000300 00 02 00 02 09 04 01 03 01 01 02 00 00 07 24 01
> 0000320 01 00 01 00 0b 24 02 01 01 02 10 01 44 ac 00 09
> 0000340 05 04 09 70 00 01 00 00 07 25 01 00 02 00 02 09
> 0000360 04 01 04 01 01 02 00 00 07 24 01 01 00 01 00 0b
> 0000400 24 02 01 02 02 10 01 44 ac 00 09 05 04 09 e0 00
> 0000420 01 00 00 07 25 01 00 02 00 02 09 04 01 05 01 01
> 0000440 02 00 00 07 24 01 01 00 01 00 0b 24 02 01 01 03
> 0000460 18 01 44 ac 00 09 05 04 09 a8 00 01 00 00 07 25
> 0000500 01 00 02 00 02 09 04 01 06 01 01 02 00 00 07 24
> 0000520 01 01 00 01 00 0b 24 02 01 02 03 18 01 44 ac 00
> 0000540 09 05 04 09 50 01 01 00 00 07 25 01 00 02 00 02
> 0000560 09 04 02 00 00 01 02 00 00 09 04 02 01 01 01 02
> 0000600 00 00 07 24 01 07 00 01 00 14 24 02 01 01 01 08
> 0000620 04 11 2b 00 22 56 00 44 ac 00 80 bb 00 09 05 85
> 0000640 05 38 00 01 00 00 07 25 01 01 02 00 00 09 04 02
> 0000660 02 01 01 02 00 00 07 24 01 07 00 01 00 14 24 02
> 0000700 01 02 01 08 04 11 2b 00 22 56 00 44 ac 00 80 bb
> 0000720 00 09 05 85 05 70 00 01 00 00 07 25 01 01 02 00
> 0000740 00 09 04 02 03 01 01 02 00 00 07 24 01 07 00 01
> 0000760 00 14 24 02 01 01 02 10 04 11 2b 00 22 56 00 44
> 0001000 ac 00 80 bb 00 09 05 85 05 70 00 01 00 00 07 25
> 0001020 01 01 02 00 00 09 04 02 04 01 01 02 00 00 07 24
> 0001040 01 07 00 01 00 14 24 02 01 02 02 10 04 11 2b 00
> 0001060 22 56 00 44 ac 00 80 bb 00 09 05 85 05 e0 00 01
> 0001100 00 00 07 25 01 01 02 00 00 09 04 02 05 01 01 02
> 0001120 00 00 07 24 01 07 00 01 00 14 24 02 01 01 03 18
> 0001140 04 11 2b 00 22 56 00 44 ac 00 80 bb 00 09 05 85
> 0001160 05 a8 00 01 00 00 07 25 01 01 02 00 00 09 04 02
> 0001200 06 01 01 02 00 00 07 24 01 07 00 01 00 14 24 02
> 0001220 01 02 03 18 04 11 2b 00 22 56 00 44 ac 00 80 bb
> 0001240 00 09 05 85 05 50 01 01 00 00 07 25 01 01 02 00
> 0001260 00
> 0001261

Digging around, I haven't been able to find information that I 
understand as to what this tells us. Could someone offer and 
interpretation, and what it lets us know about the error?

> 
> Wow, that was immediately informative! :-)
> 
>>>> Please try
>>>> a more recent ALSA version, there have been some changes to the
>>>> snd-usb-audio driver since then.
>>>
>>>

Looking at the errors below, it looks like the appropriate thing would 
be to completely remove alsa and reinstall it -- though that also may be 
inappropriate and catastrophic, depending on what's depending on it. Any 
clues?

>>> I'm a bit hesitant to do so, since this is the most recent version
>>> supplied for Mandrake. I'm downloading an alsa-driver-0.9.4-fr2 RPM for
>>> i386 from rpmfind, though I'm unclear as to whether it would be better
>>> to download the source RPM and build from that instead.
>>
>>
>>
>> There's no reason not use the binary RPM, if it works.
> 
> 
> OK, I'm trying it, but getting into a dependency tangle, apparently over 
> some configuration files:
> 
> [root@localhost Documents]# ls alsa
> alsa-driver-0.9.4-fr2.i386.rpm  alsa-tools-0.9.4.tar.bz2
> alsa-lib-0.9.4-fr1.i386.rpm     alsa-utils-0.9.4-fr1.i386.rpm
> [root@localhost Documents]# rpm -Uvh alsa*.rpm
> Preparing...                ########################################### 
> [100%]
> file /usr/lib/libasound.so.2.0.0 from install of alsa-lib-0.9.4-fr1 
> conflicts with file from package libalsa2-0.9.0-0.14rc7.1mdk
> file /usr/share/alsa/alsa.conf from install of alsa-lib-0.9.4-fr1 
> conflicts with file from package libalsa-data-0.9.0-0.14rc7.1mdk
> file /usr/share/alsa/cards/CMI8738-MC6.conf from install of 
> alsa-lib-0.9.4-fr1 conflicts with file from package 
> libalsa-data-0.9.0-0.14rc7.1mdk
> file /usr/share/alsa/cards/CS46xx.conf from install of 
> alsa-lib-0.9.4-fr1 conflicts with file from package 
> libalsa-data-0.9.0-0.14rc7.1mdk
> file /usr/share/alsa/cards/EMU10K1.conf from install of 
> alsa-lib-0.9.4-fr1 conflicts with file from package 
> libalsa-data-0.9.0-0.14rc7.1mdk
> file /usr/share/alsa/cards/ICE1712.conf from install of 
> alsa-lib-0.9.4-fr1 conflicts with file from package 
> libalsa-data-0.9.0-0.14rc7.1mdk
> file /usr/share/alsa/cards/ICE1724.conf from install of 
> alsa-lib-0.9.4-fr1 conflicts with file from package 
> libalsa-data-0.9.0-0.14rc7.1mdk
> file /usr/share/alsa/cards/VIA8233A.conf from install of 
> alsa-lib-0.9.4-fr1 conflicts with file from package 
> libalsa-data-0.9.0-0.14rc7.1mdk
> [root@localhost Documents]#
> 
> The latest RPM for libalsa-data that I've found is 
> libalsa-data-0.9.2-5mdk.i586.rpm
> 
> Trying that I get:
> [root@localhost Documents]# rpm -Uvh alsa*.rpm 
> libalsa-data-0.9.2-5mdk.i586.rpm
> error: failed dependencies:
>         libalsa2 = 0.9.2 is needed by libalsa-data-0.9.2-5mdk
> [root@localhost Documents]#
> 
> 
> 
> 
> 


--Boundary_(ID_zU75h/gLjGn4Y8bDnvmU0w)
Content-type: text/plain; name=lsusb.out
Content-transfer-encoding: 7BIT
Content-disposition: inline; filename=lsusb.out


Bus 001 Device 001: ID 0000:0000  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Root Hub
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0000 
  idProduct          0x0000 
  bcdDevice            0.00
  iManufacturer           0 
  iProduct                2 USB UHCI-alt Root Hub
  iSerial                 1 d800
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x40
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Root Hub
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          8
        bInterval             255
  Language IDs: (length=4)
     0000 (null)((null))

Bus 001 Device 002: ID 0451:2046 Texas Instruments TUSB2046 Hub
  Language IDs: none (cannot get min. string descriptor; got len=-1, error=32:Broken pipe)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Root Hub
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0451 Texas Instruments
  idProduct          0x2046 TUSB2046 Hub
  bcdDevice            1.25
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Root Hub
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          1
        bInterval             255
  Language IDs: none (cannot get min. string descriptor; got len=-1, error=32:Broken pipe)

Bus 001 Device 003: ID 0582:0006 Roland Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 Interface
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0582 Roland Corp.
  idProduct          0x0006 
  bcdDevice            1.10
  iManufacturer           1 Roland
  iProduct                2 UA-30 (44100Hz, Analog REC)
  iSerial                 0 
  bNumConfigurations      1
cannot get config descriptor 0, Connection timed out (110)
  Language IDs: (length=4)
     0409 English(US)

Bus 001 Device 004: ID 084d:0003 Minton Optic Industry Co., Inc. S-Cam F5 Digital Camera
  Language IDs: none (cannot get min. string descriptor; got len=-1, error=110:Connection timed out)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 Interface
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x084d Minton Optic Industry Co., Inc.
  idProduct          0x0003 S-Cam F5 Digital Camera
  bcdDevice            0.90
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
cannot get config descriptor 0, Connection timed out (110)
  Language IDs: none (cannot get min. string descriptor; got len=-1, error=110:Connection timed out)

Bus 001 Device 005: ID 059b:0050 Iomega Corp. Zip CD 650 Writer
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 Interface
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x059b Iomega Corp.
  idProduct          0x0050 Zip CD 650 Writer
  bcdDevice            1.00
  iManufacturer           1 Iomega
  iProduct                2 USB Zip CD 
  iSerial                 5 50BA281A150000000000
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          3
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              4 Mass Storage
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          2
        bInterval              32
  Language IDs: (length=4)
     0409 English(US)

--Boundary_(ID_zU75h/gLjGn4Y8bDnvmU0w)--


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux