Skip to contentSkip to conversation

: USB sound device appears to be loading properly, but all applications report the device is busy

ALSA - driver 0001874 [email protected] 1 participant 1 message Feb 26, 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=1874>
======================================================================

Reported By:                oggb4mp3
Assigned To:                Clemens Ladisch
======================================================================
Project:                    ALSA - driver
Issue ID:                   1874
Category:                   USB - usb-audio
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
Distribution:               Arch Linux
Kernel Version:             2.6.15-archck4
======================================================================
Date Submitted:             02-24-2006 07:27 CET
Last Modified:              02-27-2006 00:37 CET

======================================================================
Summary: USB sound device appears to be loading properly, but
all applications report the device is busy
Description:
I own a USB audio Device with a TI burr-brown DAC and with my recent upgrade to 2.6.15-ck4, all apps report that the device is busy. I found this bug https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1585 that I thought might be the culprit, but when I tried to apply the patch, I found that it was already applied. I tried to reverse it, thinking that I might have had one of the devices that worked without it and this patch actually broke it, but no joy.

The device appears to be present as alsa device hw:1,0, the same as it always was, and I can select it, but all apps report that it is busy or blocked. This all worked properly with a 2.6.14-ck kernel.
======================================================================

----------------------------------------------------------------------
oggb4mp3 - 02-25-06 00:49
----------------------------------------------------------------------

$ aplay -D plughw:1 side_101.wav
Playing WAVE 'side_101.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Stereo
aplay: set_params:949: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (125011 125012)
PERIOD_SIZE: 5513
PERIOD_BYTES: 22052
PERIODS: (3 4)
BUFFER_TIME: 500000
BUFFER_SIZE: 22050
BUFFER_BYTES: 88200
TICK_TIME: 1000
$ lsof /dev/snd/* /dev/dsp*
COMMAND  PID USER   FD   TYPE DEVICE SIZE NODE NAME
kmix    4595 greg   10u   CHR  116,0      8215 /dev/snd/controlC0

----------------------------------------------------------------------
oggb4mp3 - 02-27-06 00:37
----------------------------------------------------------------------
I just went back and tried with a 2.6.15.1 kernel and I have the same problem. Something must have happened between 2.6.14.4 and 2.6.15 because I used this for a long time on 2.6.14.4. I did not notice this right away when 2.6.15 came out because I hung back on 2.6.14 to avoid some of the changes related to udev and the addition of uevents. This is why I cannot roll back to 2.6.14 now, because my machine is setup with udev for module loading and it will not work with a 2.6.14 kernel anymore.

What else can I do to help figure this out so it can be fixed?

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

02-24-06 07:27 oggb4mp3       New Issue                                    
02-24-06 07:27 oggb4mp3       Distribution              => Arch Linux      
02-24-06 07:27 oggb4mp3       Kernel Version            => 2.6.15-archck4  
02-24-06 07:32 oggb4mp3       Note Added: 0008171                          

02-24-06 14:16 Clemens LadischNote Added: 0008175
02-24-06 15:00 oggb4mp3 Note Added: 0008177
02-24-06 15:32 Clemens LadischNote Added: 0008178
02-25-06 00:49 oggb4mp3 Note Added: 0008183
02-27-06 00:37 oggb4mp3 Note Added: 0008210
======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642