You are not logged in.

#1 2011-12-29 20:44:09

divico
Member
Registered: 2011-12-29
Posts: 2

USB sound card RANDOMLY listed by "aplay -l" after hotplug

Hi all,

i'm trying to set up a m-audio fasttrack pro external USB sound card. During boot, it gets correctly configured and i can play sound through it with Alsa. Howewer after hotplug, it gets not ALWAYS correctly configured.

cat /proc/asound/cards

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf2520000 irq 42
 1 [Pro            ]: USB-Audio - FastTrack Pro
                      M-Audio FastTrack Pro at usb-0000:00:1a.0-1.5.4, full speed
29 [ThinkPadEC     ]: ThinkPad EC - ThinkPad Console Audio Control
                      ThinkPad Console Audio Control at EC reg 0x30, fw 6QHT33WW-1.14

Here the card is always correctly listed after hotplug.

aplay -l

 **** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Here the fasttrack is not always listed as a playback device. If i try to disconnect it and reconnect it several times, then it gets sometimes listed as a playback device like this

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Pro [FastTrack Pro], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Pro [FastTrack Pro], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Have someone any idea how i could debug this ?

Offline

#2 2011-12-29 21:28:54

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: USB sound card RANDOMLY listed by "aplay -l" after hotplug

Maybe your USB connector isn't always providing sufficient power to the device?

Offline

#3 2011-12-29 22:11:16

divico
Member
Registered: 2011-12-29
Posts: 2

Re: USB sound card RANDOMLY listed by "aplay -l" after hotplug

brebs wrote:

Maybe your USB connector isn't always providing sufficient power to the device?

Thanks for your suggestion but this is not the case. The sound card has a LED which turns blue when it's powered and messages from the kernel show that the device is correctly detected and thus also well connected & powered.

Output from /var/log/messages.log while connecting and disconnecting the device manualy several times

Dec 29 22:53:39 localhost kernel: [ 8900.229652] usb 1-1.5.2: new full speed USB device number 31 using ehci_hcd
Dec 29 22:53:39 localhost kernel: [ 8900.403839] usb-audio: Fast Track Pro switching to config #2
Dec 29 22:53:39 localhost mtp-probe: checking bus 1, device 31: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.2"
Dec 29 22:53:39 localhost kernel: [ 8900.419786] usb-audio: Fast Track Pro config OK
Dec 29 22:53:39 localhost mtp-probe: bus: 1, device: 31 was not an MTP device
Dec 29 22:53:40 localhost kernel: [ 8901.054827] usb 1-1.5.2: USB disconnect, device number 31
Dec 29 22:53:47 localhost kernel: [ 8907.910406] usb 1-1.5.2: new full speed USB device number 32 using ehci_hcd
Dec 29 22:53:47 localhost kernel: [ 8908.084310] usb-audio: Fast Track Pro switching to config #2
Dec 29 22:53:47 localhost kernel: [ 8908.100250] usb-audio: Fast Track Pro config OK
Dec 29 22:53:47 localhost mtp-probe: checking bus 1, device 32: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.2"
Dec 29 22:53:47 localhost mtp-probe: bus: 1, device: 32 was not an MTP device
Dec 29 22:54:36 localhost kernel: [ 8957.380326] usb 1-1.5.2: USB disconnect, device number 32
Dec 29 22:54:43 localhost kernel: [ 8963.979267] usb 1-1.5.2: new full speed USB device number 33 using ehci_hcd
Dec 29 22:54:43 localhost kernel: [ 8964.153200] usb-audio: Fast Track Pro switching to config #2
Dec 29 22:54:43 localhost kernel: [ 8964.169395] usb-audio: Fast Track Pro config OK
Dec 29 22:54:43 localhost mtp-probe: checking bus 1, device 33: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.2"
Dec 29 22:54:43 localhost mtp-probe: bus: 1, device: 33 was not an MTP device
Dec 29 22:54:51 localhost kernel: [ 8971.973745] usb 1-1.5.2: USB disconnect, device number 33
Dec 29 22:55:01 localhost kernel: [ 8981.901016] usb 1-1.5.2: new full speed USB device number 34 using ehci_hcd
Dec 29 22:55:01 localhost kernel: [ 8982.075198] usb-audio: Fast Track Pro switching to config #2
Dec 29 22:55:01 localhost kernel: [ 8982.091144] usb-audio: Fast Track Pro config OK
Dec 29 22:55:01 localhost mtp-probe: checking bus 1, device 34: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.2"
Dec 29 22:55:01 localhost mtp-probe: bus: 1, device: 34 was not an MTP device
Dec 29 22:55:02 localhost kernel: [ 8983.494881] usb 1-1.5.2: USB disconnect, device number 34
Dec 29 22:55:13 localhost kernel: [ 8993.678770] usb 1-1.5.2: new full speed USB device number 35 using ehci_hcd
Dec 29 22:55:13 localhost kernel: [ 8993.853342] usb-audio: Fast Track Pro switching to config #2
Dec 29 22:55:13 localhost kernel: [ 8993.869294] usb-audio: Fast Track Pro config OK
Dec 29 22:55:13 localhost mtp-probe: checking bus 1, device 35: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.2"
Dec 29 22:55:13 localhost mtp-probe: bus: 1, device: 35 was not an MTP device
Dec 29 22:55:15 localhost kernel: [ 8996.296107] usb 1-1.5.2: USB disconnect, device number 35
Dec 29 22:55:26 localhost kernel: [ 9006.736816] usb 1-1.5.2: new full speed USB device number 36 using ehci_hcd
Dec 29 22:55:26 localhost kernel: [ 9006.910875] usb-audio: Fast Track Pro switching to config #2
Dec 29 22:55:26 localhost kernel: [ 9006.926821] usb-audio: Fast Track Pro config OK
Dec 29 22:55:26 localhost mtp-probe: checking bus 1, device 36: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.2"
Dec 29 22:55:26 localhost mtp-probe: bus: 1, device: 36 was not an MTP device

Also the output of lsusb looks fine

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 17ef:1005 Lenovo 
Bus 001 Device 004: ID 17ef:4816 Lenovo 
Bus 001 Device 005: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 006: ID 046d:c30a Logitech, Inc. iTouch Composite
Bus 001 Device 007: ID 15d9:0a33 Trust International B.V. Optical Mouse
Bus 001 Device 036: ID 0763:2012 Midiman M-Audio Fast Track Pro

Offline

#4 2011-12-30 16:27:48

Darksoul71
Member
Registered: 2010-04-12
Posts: 319

Re: USB sound card RANDOMLY listed by "aplay -l" after hotplug

Hm, shot in the blue:
- try a different USB port
- Try a different USB cable
- Are you using a USB hub in between ?

Unfortunately USB devices often behave rather "plug and pray" than "plug and play" we all like to see.


My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick

Offline

Board footer

Powered by FluxBB