Clemens Ladisch wrote:
Joseph Zitt wrote:
[...] I have a Roland UA-30 USB Audio device, but
so far I've
found that plugging it in when the system is running crashes the
machine completely, and that the machine fails to finish booting
when I boot it up with the device already hooked in.
Add the lines
audio
snd-usb-audio
to your /etc/hotplug/blacklist file (or create it if it doesn't
exist). This should prevent the crashing driver from being loaded
automatically.
OK, I did that, and the system didn't crash when I hooked up the UA-30.
The log showed:
Jun 19 20:53:33 localhost kernel: hub.c: new USB device 00:07.2-1.2,
assigned address 6
Jun 19 20:53:33 localhost kernel: usb.c: USB device 6 (vend/prod
0x582/0x6) is not claimed by any active driver.
Jun 19 20:53:37 localhost /etc/hotplug/usb.agent: Setup snd-usb-audio
audio for USB product 582/6/110
Jun 19 20:53:37 localhost /etc/hotplug/usb.agent: ... blacklisted
module: snd-usb-audio
Jun 19 20:53:37 localhost /etc/hotplug/usb.agent: ... blacklisted
module: audio
And please post the output of "lsusb -v"
(when the UA-30 is
connected), and your ALSA version (in /proc/asound/version, if ALSA is
running).
Here's the output. That "Invalid product/subclass spec at line 2650" is
interesting, as is the "cannot get config descriptor 0, Connection timed
out (110)" for the UA-30.
What file would the errant line 2650 be in?
[root@localhost mp3]# lsusb -v
Invalid product/subclass spec at line 2650
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 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 (invalid length string descriptor bf; len=0)
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 (invalid length string descriptor bf; len=0)
Bus 001 Device 006: 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 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)
[root@localhost mp3]# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 0.9.0rc8.
Compiled on Mar 14 2003 for kernel 2.4.21-0.13mdk with versioned symbols.
If the "audio" driver is the culprit, you
might try to do a
"modprobe snd-usb-audio" manually. If this works, you can remove the
snd-usb-audio line from the blacklist file.