[linux-audio-user] Hardware recommendations

Mike Taht mike.taht at gmail.com
Sat Jun 25 19:09:14 EDT 2005


> > The UA-1000 is not recognised properly by linux (at least, at present), and panics the system on removal.
> >
> 
> That was a kernel bug, you need to update your kernel to 2.6.12 or get a newer ALSA.

Still remains a bug, or perhaps a different bug.

As per an email exchange with clemens, I had got 

this patch:
http://www.mail-archive.com/linux-usb-devel@lists.sourceforge.net/msg35743.html>

I fetched the then-current linus 2.6.12 git kernel sha1:

59a49e38711a146dc0bef4837c825b5422335460

Patched in alsa 1.0.9b - which went in fairly cleanly, btw - patched
in the above patch, compiled for the x86_64,  and with great hope,
plugged in the ua-1000 again. Nope, same crash on unplug, and it
doesn't appear to recognise the device properly... from
/var/llog/messages

Jun 24 18:07:34 localhost login(pam_unix)[4203]: session opened for
user root by LOGIN(uid=0)
Jun 24 18:07:34 localhost  -- root[4203]: ROOT LOGIN ON tty1
Jun 24 18:07:46 localhost kernel: usb 1-4: new high speed USB device
using ehci_hcd and address 3

* nothing else

Now, the dump of the panic on removal of the ua-1000 I haven't got -
it's a long kernel panic and this laptop lacks serial port to send it
out of. I will bring the ua-1000 into work and plug it into a machine
that is externally rebootable as well as visible on the net, also
running 2.6.12 released - but at the moment I plan to just return the
ua-1000 monday afternoon based on the hum problem.

On the other hand, getting devices to work is fun, so I've put a lsusb
at the end of this message...

> This doesn't guarantee that there aren't any other bugs in the
> drivers.

Ha! I wonder how good edirol has been about releasing detailed
information on their devices... I'm emailing them....

As it was, after upgrading to the 2.6.12+alsa+patch git kernel I
discovered that my original 2 channel usb midi device wasn't working
anymore, either, though it was properly recognised

Jun 24 18:42:08 localhost kernel: midi: probe of 2-1:1.0 failed with error -5
Jun 24 18:42:08 localhost kernel: midi: probe of 2-1:1.1 failed with error -5
Jun 24 18:42:08 localhost kernel: usbmidi: found [ Roland UM-2 ]
(0x0582:0x0005), attached:
Jun 24 18:42:08 localhost kernel: usbmidi: /dev/midi00: in (ep:81 cid:
0 bufsiz:64) out (ep:01 cid: 0 bufsiz:64)
Jun 24 18:42:08 localhost kernel: usbmidi: /dev/midi01: in (ep:81 cid:
1 bufsiz:64) out (ep:01 cid: 1 bufsiz:64)


Jun 24 18:42:45 localhost kernel: Machine check events logged
Jun 24 18:43:03 localhost kernel: scheduling while atomic:
rosegardenseque/0x00000001/5734
Jun 24 18:43:03 localhost kernel:
Jun 24 18:43:03 localhost kernel: Call
Trace:<ffffffff803c1bf2>{thread_return+494}
<ffffffff803c14aa>{schedule+122}
Jun 24 18:43:03 localhost kernel:
<ffffffff8030973f>{hcd_unlink_urb+1023}
<ffffffff8030bb07>{usb_kill_urb+519}
Jun 24 18:43:03 localhost kernel:
<ffffffff8015de10>{autoremove_wake_function+0}
<ffffffff80142ccf>{current_fs_time+79}
Jun 24 18:43:03 localhost kernel:
<ffffffff8015de10>{autoremove_wake_function+0}
<ffffffff88198d9a>{:usb_midi:usb_midi_release+378}
Jun 24 18:43:03 localhost kernel:
<ffffffff801a2106>{__fput+118} <ffffffff801a037e>{filp_close+110}
Jun 24 18:43:03 localhost kernel:
<ffffffff801a053b>{sys_close+411} <ffffffff8010f446>{system_call+126}
Jun 24 18:43:03 localhost kernel:

or

Jun 24 18:44:57 localhost kernel: scheduling while atomic:
rosegardenseque/0x00000001/5740
Jun 24 18:44:57 localhost kernel:
Jun 24 18:44:57 localhost kernel: Call
Trace:<ffffffff803c1bf2>{thread_return+494}
<ffffffff803c14aa>{schedule+122}
Jun 24 18:44:57 localhost kernel:
<ffffffff8030973f>{hcd_unlink_urb+1023}
<ffffffff8030bb07>{usb_kill_urb+519}
Jun 24 18:44:57 localhost kernel:
<ffffffff8015de10>{autoremove_wake_function+0}
<ffffffff80142ccf>{current_fs_time+79}
Jun 24 18:44:57 localhost kernel:
<ffffffff8015de10>{autoremove_wake_function+0}
<ffffffff88198d9a>{:usb_midi:usb_midi_release+378}
Jun 24 18:44:57 localhost kernel:
<ffffffff801a2106>{__fput+118} <ffffffff801a037e>{filp_close+110}
Jun 24 18:44:57 localhost kernel:
<ffffffff801a053b>{sys_close+411} <ffffffff8010f446>{system_call+126}
Jun 24 18:44:57 localhost kernel:

> Please show the output of "lsusb -v" for this device in both USB 2.0
> and 1.1 modes.

Not sure how to get it in 1.1 mode, but here's lsusb -v attached... 

Bus 001 Device 003: ID 0582:0044 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          0x0044 
  bcdDevice            1.07
  iManufacturer           1 EDIROL
  iProduct                2 UA-1000
  iSerial                 3 ZS82689
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          189
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      1 
      iInterface              0 
  unknown interface class descriptor: 0b 24 01 00 01 35 00 03 00 01 02
  unknown interface class descriptor: 0c 24 02 01 01 01 00 0a 00 00 00 00
  unknown interface class descriptor: 0c 24 02 02 03 06 00 0c 00 00 00 00
  unknown interface class descriptor: 09 24 03 03 01 01 00 02 00
  unknown interface class descriptor: 09 24 03 04 03 06 00 01 00
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      2 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      2 
      iInterface              0 
  unknown interface class descriptor: 0b 24 02 01 0c 04 18 01 44 ac 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes           37
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Implicit feedback Data
        wMaxPacketSize     0x02d0  bytes 720 once
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      2 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      2 
      iInterface              0 
  unknown interface class descriptor: 0b 24 02 01 0a 04 18 01 44 ac 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0230  bytes 560 once
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      3 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
          Usage Type               Data
        wMaxPacketSize     0x0200  bytes 512 once
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
          Usage Type               Data
        wMaxPacketSize     0x0200  bytes 512 once
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1 
      bInterfaceProtocol      3 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
          Usage Type               Data
        wMaxPacketSize     0x0200  bytes 512 once
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
          Usage Type               Data
        wMaxPacketSize     0x0200  bytes 512 once
        bInterval               1
  Language IDs: (length=4)
     0409 English(US)



-- 
Mike Taht
PostCards From the Bleeding Edge
http://the-edge.blogspot.com




More information about the Linux-audio-user mailing list