Skip to contentSkip to conversation

: USB control failure

ALSA - driver 0002051 [email protected] 1 participant 1 message May 10, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2051>
======================================================================
Reported By: xatt
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   2051
Category:                   USB - usb-audio
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             2.6.15
======================================================================
Date Submitted:             04-21-2006 14:55 CEST
Last Modified:              05-10-2006 11:04 CEST

======================================================================
Summary: USB control failure
Description:
Hi!
I have Audigy 2 NX USB sound card and was trying to install it on my
Fedora Core5. The version of my kernel is 2.6.15. Recompiled it hundred times :). All work with sound card ends up with message from kernel:

ALSA /root/ALSA/alsa-driver-1.0.11/usb/usbaudio.c:1330: 2:1:3:
usb_set_interface failed

I thought that it was some other module blocking the USB control and
turned off all unnecessary options in kernel, but that doesn't seem to help.
I checked 'aplay -l' and /proc/asound,

[root@ghostchaser ~]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NX [SB Audigy 2 NX], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

Soundcard also detected in /proc/asound.

I'm stumped around this problem and submit some additional
files.(kernel config, modprobe.conf, asound.conf)
======================================================================

----------------------------------------------------------------------
xatt - 05-10-06 09:14
----------------------------------------------------------------------
I put error return in usbaudio.c

        int my_res;
        /* set interface */
        if (subs->interface != fmt->iface || subs->format !=
fmt->altset_idx) {
                if ((my_res = usb_set_interface(dev, fmt->iface,
fmt->altsetting)) < 0) {
                        snd_printk(KERN_ERR "%d:%d:%d: usb_set_interface
failed,err = %d\n",
                                   dev->devnum, fmt->iface,

fmt->altsetting,my_res);

This returns -71, now trying to identify error

----------------------------------------------------------------------
xatt - 05-10-06 11:04
----------------------------------------------------------------------
Have just compiled new 2.6.16.14 kernel, and /proc/asound/card0/stream0 appeared:

Creative Technology Ltd SB Audigy 2 NX at usb-0000:00:1d.7-1, high speed :
USB Audio

Playback:
Status: Stop
Interface 1

    Altset 3
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 48000
  Interface 1
    Altset 4
    Format: S24_3LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 48000
  Interface 1
    Altset 5
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 96000
  Interface 1
    Altset 6
    Format: S24_3LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 96000
  Interface 1
    Altset 7
    Format: S16_LE
    Channels: 4
    Endpoint: 1 OUT (ASYNC)
    Rates: 48000
  Interface 1
    Altset 8
    Format: S24_3LE
    Channels: 4
    Endpoint: 1 OUT (ASYNC)
    Rates: 48000
  Interface 1
    Altset 9
    Format: S16_LE
    Channels: 4
    Endpoint: 1 OUT (ASYNC)
    Rates: 96000
  Interface 1
    Altset 10
    Format: S24_3LE
    Channels: 4
    Endpoint: 1 OUT (ASYNC)
    Rates: 96000
  Interface 1
    Altset 11
    Format: S16_LE
    Channels: 6
    Endpoint: 1 OUT (ASYNC)
    Rates: 48000
  Interface 1
    Altset 12
    Format: S24_3LE
    Channels: 6
    Endpoint: 1 OUT (ASYNC)
    Rates: 48000
  Interface 1
    Altset 13
    Format: S16_LE
    Channels: 6
    Endpoint: 1 OUT (ASYNC)
    Rates: 96000
  Interface 1
    Altset 14
    Format: S24_3LE
    Channels: 6
    Endpoint: 1 OUT (ASYNC)
    Rates: 96000
  Interface 1
    Altset 15
    Format: S16_LE
    Channels: 8
    Endpoint: 1 OUT (ASYNC)
    Rates: 48000
  Interface 1
    Altset 16
    Format: S24_3LE
    Channels: 8
    Endpoint: 1 OUT (ASYNC)
    Rates: 48000
  Interface 1
    Altset 17
    Format: S16_LE
    Channels: 8
    Endpoint: 1 OUT (ASYNC)
    Rates: 96000
  Interface 1
    Altset 18
    Format: S24_3LE
    Channels: 8
    Endpoint: 1 OUT (ASYNC)
    Rates: 96000

Capture:
Status: Stop
Interface 2

    Altset 5
    Format: S16_LE
    Channels: 2
    Endpoint: 2 IN (NONE)
    Rates: 48000
  Interface 2
    Altset 6
    Format: S24_3LE
    Channels: 2
    Endpoint: 2 IN (NONE)
    Rates: 48000
  Interface 2
    Altset 7
    Format: S16_LE
    Channels: 2
    Endpoint: 2 IN (NONE)
    Rates: 96000
  Interface 2
    Altset 8
    Format: S24_3LE
    Channels: 2
    Endpoint: 2 IN (NONE)
    Rates: 96000

/proc/asound/card0/audigy2nx has the same contents:
SB Audigy 2 NX jacks

dig in : ?
line in: ?
spk out: ?
hph out: ?

The version of alsa in 2.6.16.14 is 1.0.11rc2

Issue History
Date Modified Username Field Change
======================================================================

04-21-06 14:55 xatt           New Issue                                    
04-21-06 14:55 xatt           File Added: config                           
04-21-06 14:55 xatt           Kernel Version            => 2.6.15          
04-21-06 15:17 xatt           Note Added: 0009412                          
04-21-06 17:09 Clemens LadischCategory                 CORE - control => USB -
usb-audio
04-21-06 17:13 Clemens LadischNote Added: 0009419                          
05-10-06 09:05 xatt           Note Added: 0009703                          
05-10-06 09:14 xatt           Note Added: 0009704                          
05-10-06 11:04 xatt           Note Added: 0009708                          

======================================================================

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642