snd_usb_us122l is not working even if supported from kernel.

Bug #329437 reported by Toby
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Low
Tim Gardner
Nominated for Jaunty by Federico Briata

Bug Description

I give you the output of

lspci
lsusb
cat /proc/asound/cards
cat /proc/asound/modules
aplay -l
arecord -l
jackd -RP50 -dalsa -dusb_stream:0 -r44100 -p64 -n2
sudo jackd -dalsa -dusb_stream:0 -r44100 -p64 -n2

Maybe this helps. As far as I understand the card is recognized but not working for playback or record.

~$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. P4M890 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. P4M890 Security Device
00:00.7 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:02.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:03.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:0f.0 RAID bus controller: VIA Technologies, Inc. VT8251 AHCI/SATA 4-Port Controller (rev 20)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 91)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 91)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 91)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 91)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8251 PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)
00:13.0 PCI bridge: VIA Technologies, Inc. VT8251 Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8251 PCI to PCI Bridge
02:00.0 VGA compatible controller: nVidia Corporation GeForce 7650 GS (rev a1)
04:00.0 PCI bridge: VIA Technologies, Inc. VT8251 PCIE Root Port
04:00.1 PCI bridge: VIA Technologies, Inc. VT8251 PCIE Root Port
04:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller)
07:09.0 Network controller: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2 DVB card (rev 02)
07:0c.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev c0)

~$ lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 011: ID 2304:020f Pinnacle Systems, Inc. [hex] PCTV 400e BDA Device
Bus 005 Device 009: ID 09da:000a A4 Tech Co., Ltd Port Mouse
Bus 005 Device 008: ID 0bc7:0006 X10 Wireless Technology, Inc. Wireless Transceiver (ACPI-compliant)
Bus 005 Device 007: ID 148f:2573 Ralink Technology, Corp. RT2501USB Wireless Adapter
Bus 005 Device 006: ID 0424:2228 Standard Microsystems Corp. 9-in-2 Card Reader
Bus 005 Device 005: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 005 Device 003: ID 0644:800e TEAC Corp.
Bus 005 Device 002: ID 0424:2602 Standard Microsystems Corp.
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 08bb:2902 Texas Instruments Japan
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

:~$ cat /proc/asound/cards
0 [US122L ]: USB US-122L - TASCAM US-122L
TASCAM US-122L (644:800e if 0 at 005/003)
1 [VT82xx ]: HDA-Intel - HDA VIA VT82xx
HDA VIA VT82xx at 0xdfafc000 irq 17
2 [default ]: USB-Audio - USB Audio CODEC
Burr-Brown from TI USB Audio CODEC at usb-0000:00:10.3-1, full s

~$ cat /proc/asound/modules
0 snd_usb_us122l
1 snd_hda_intel
2 snd_usb_audio

~$ aplay -l
**** Liste von PLAYBACK Geräten ****
Karte 1: VT82xx [HDA VIA VT82xx], Gerät 0: ALC888 Analog [ALC888 Analog]
Untergeordnete Geräte: 1/1
Untergeordnetes Gerät '0: subdevice #0
Karte 1: VT82xx [HDA VIA VT82xx], Gerät 1: ALC888 Digital [ALC888 Digital]
Untergeordnete Geräte: 1/1
Untergeordnetes Gerät '0: subdevice #0
Karte 2: default [USB Audio CODEC ], Gerät 0: USB Audio [USB Audio]
Untergeordnete Geräte: 1/1
Untergeordnetes Gerät '0: subdevice #0

~$ arecord -l
**** Liste von CAPTURE Geräten ****
Karte 1: VT82xx [HDA VIA VT82xx], Gerät 0: ALC888 Analog [ALC888 Analog]
Untergeordnete Geräte: 1/1
Untergeordnetes Gerät '0: subdevice #0
Karte 1: VT82xx [HDA VIA VT82xx], Gerät 1: ALC888 Digital [ALC888 Digital]
Untergeordnete Geräte: 1/1
Untergeordnetes Gerät '0: subdevice #0
Karte 1: VT82xx [HDA VIA VT82xx], Gerät 2: ALC888 Analog [ALC888 Analog]
Untergeordnete Geräte: 1/1
Untergeordnetes Gerät '0: subdevice #0
Karte 2: default [USB Audio CODEC ], Gerät 0: USB Audio [USB Audio]
Untergeordnete Geräte: 1/1
Untergeordnetes Gerät '0: subdevice #0

~$ jackd -RP50 -dalsa -dusb_stream:0 -r44100 -p64 -n2
jackd 0.109.2
Copyright 2001-2005 Paul Davis and others.
jackd 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
JACK compiled with System V SHM support.
cannot use real-time scheduling (FIFO at priority 10) [for thread -1209608528, from thread -1209608528] (1: Operation not permitted)
cannot create engine

$ sudo jackd -dalsa -dusb_stream:0 -r44100 -p64 -n2
[sudo] password for peer:
jackd 0.109.2
Copyright 2001-2005 Paul Davis and others.
jackd 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

JACK compiled with System V SHM support.
loading driver ..
apparent rate = 44100
creating alsa driver ... usb_stream:0|usb_stream:0|64|2|44100|0|0|nomon|swmeter|-|32bit
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL usb_stream:0
control open "usb_stream:0" (No such file or directory)
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
cannot load driver module alsa
no message buffer overruns

Related branches

Revision history for this message
Federico Briata (federicobriata) wrote :

From: Karsten Wiese <fzu@...>

Currently ITDs are immediately recycled whenever their URB completes.
However, EHCI hardware can sometimes remember some ITD state. This
means that when the ITD is reused before end-of-frame it may sometimes
cause the hardware to reference bogus state.

This patch defers reusing such ITDs by moving them into a new ehci member
cached_itd_list. ITDs resting in cached_itd_list are moved back into their
stream's free_list once scan_periodic() detects that the active frame has
elapsed.

This makes the snd_usb_us122l driver (in kernel since .28) work right
when it's hooked up through EHCI.

in attach diff for 2.6.28

git patch for 2.6.29-rc3 here
http://article.gmane.org/gmane.linux.usb.general/14869

Changed in linux:
assignee: nobody → federicobriata
status: New → Confirmed
Revision history for this message
Federico Briata (federicobriata) wrote :
Revision history for this message
Federico Briata (federicobriata) wrote :
Changed in linux:
assignee: federicobriata → ubuntu-kernel-usb
status: Confirmed → Fix Released
Changed in linux:
assignee: ubuntu-kernel-usb → ubuntu-kernel-team
Revision history for this message
Tim Gardner (timg-tpi) wrote :
Changed in linux:
assignee: ubuntu-kernel-team → timg-tpi
importance: Undecided → Low
milestone: none → jaunty-alpha-6
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (164.3 KiB)

This bug was fixed in the package linux - 2.6.28-9.30

---------------
linux (2.6.28-9.30) jaunty; urgency=low

  [ Amit Kucheria ]

  * ARM:mx51 Add SoC and board support for mx51 platforms
  * ARM:mx51 Add CONFIG_ARCH_MXC_CANONICAL to disable parts of Freescale's
    code
  * MMC: Add support for 8-bit cards
  * Add ARM:MX51 SoC support to the build system
  * ARM: Make ARM arch aware of ubuntu/ drivers
  * ARM: Add imx51 configuration
  * Disable d-i modules for imx51 and mv78xx0
  * Disable Apparmor on boot for ARM
  * Updating imx51 config

  [ Jason Liu ]

  * Do not use OOB with MLC NAND

  [ Richard Zhu ]

  * Support the eMMC4.3 card

  [ Rob Herring ]

  * ARM: Add more cache memory types macros

  [ Tim Gardner ]

  * Set CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y for i386/amd64/lpia

  [ Manoj Iyer ]

  * Enable CONFIG_RTL8187SE=m

  [ Upstream Kernel Changes ]

  * USB: EHCI: slow down ITD reuse
    - LP: #329437

linux (2.6.28-9.29) jaunty; urgency=low

  [ Andy Whitcroft ]

  * link-headers -- only link directories which do not already exist
    - LP: #315252

  [ Daniel Marjamäki ]

  * SAUCE: (drop after 2.6.28) netxen: fix memory leak in
    drivers/net/netxen_nic_init.c
    - LP: #330813

  [ Dhananjay Phadke ]

  * SAUCE: (drop after 2.6.28) netxen: fix endianness in firmware commands
    - LP: #330813
  * SAUCE: (drop after 2.6.28) netxen: fix ipv6 offload and tx cleanup
    - LP: #330813
  * SAUCE: (drop after 2.6.28) netxen: fix link speed reporting for some
    boards
    - LP: #330813
  * SAUCE: (drop after 2.6.28) netxen: firmware init fix
    - LP: #330813
  * SAUCE: (drop after 2.6.28) netxen: cleanup mac list on driver unload
    - LP: #330813
  * SAUCE: (drop after 2.6.28) netxen: hold tx lock while sending firmware
    commands
    - LP: #330813
  * SAUCE: (drop after 2.6.28) netxen: handle dma mapping failures
    - LP: #330813
  * SAUCE: (drop after 2.6.28) netxen: avoid invalid iounmap
    - LP: #330813
  * SAUCE: (drop after 2.6.28) netxen: include ipv6.h (fixes build failure)
    - LP: #330813
  * SAUCE: (drop after 2.6.28) netxen: fix vlan tso/checksum offload
    - LP: #330813
  * SAUCE: (drop after 2.6.28) netxen: reduce memory footprint
    - LP: #330813
  * SAUCE: (drop after 2.6.28) netxen: revert jumbo ringsize
    - LP: #330813
  * SAUCE: (drop after 2.6.28) netxen: fix msi-x interrupt handling
    - LP: #330813
  * SAUCE: (drop after 2.6.28) netxen: remove pcie workaround
    - LP: #330813

  [ Hannes Eder ]

  * SAUCE: (drop after 2.6.28) drivers/net/netxen: fix sparse warnings: use
    NULL pointer instead of plain integer
    - LP: #330813

  [ Huaxu Wan ]

  * SAUCE: report rfkill changes event if interface is down
    - LP: #193970

  [ Tim Gardner ]

  * MV78XX0 must specify a target in the vars definition.

  [ Upstream Kernel Changes ]

  * Revert "ext4: wait on all pending commits in ext4_sync_fs()"
  * jbd2: Fix return value of jbd2_journal_start_commit()
  * jbd2: Avoid possible NULL dereference in
    jbd2_journal_begin_ordered_truncate()
  * ext4: Fix to read empty directory blocks correctly in 64k
  * ext4: Fix lockdep warning
  * ext4: Initialize preallocation list_head's properly
  *...

Changed in linux:
status: Fix Committed → Fix Released
Revision history for this message
Tito Vince (filthy-moth) wrote :

Hello there,

Trying to set up my good old Tascam US-122L again on a fresh Ubuntu Studio.
I got it running with older Ubuntus, but it seems that the bug is back again with Linux 3.x

Actually this is 3.13.0-34-lowlatency, I've apt-installed alsa-firware-loader, snd-usb-122l is available, but nothing showing in /proc/asound/cards or /proc/asound/modules.

I've created ~/.asoundrc with :
pcm.!usb_stream {
 @args [ CARD ]
 @args.CARD {
  type string
  default "1"
 }
 type usb_stream
 card $CARD
}

ctl.!usb_stream {
        @args [ CARD ]
        @args.CARD {
                type string
                default "1"
        }
        type hw
        card $CARD
}

cat /proc/asound/modules:
 0 snd_hda_intel

cat /proc/asound/cards
 0 [Intel] : HDA-INTEL - HDA Intel
   HDA Intel at 0xf0700000 irq 44

When I plug it in I can see all the leds flashing for 0.1 sec and then nothing.
What shall I do?
Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.