: Audiophile USB noisy analog capture
The following issue has been set as RELATED TO issue 0001631.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1801>
======================================================================
Reported By: lemeur Assigned To: Clemens Ladisch ====================================================================== Project: ALSA - driver Issue ID: 1801 Category: USB - usb-audio Reproducibility: sometimes Severity: major Priority: normal Status: resolved Distribution: Kernel Version: 2.6.15.1-rt3 Resolution: fixed Fixed in Version: ====================================================================== Date Submitted: 01-31-2006 16:04 CET Last Modified: 03-14-2006 17:04 CET
======================================================================
Summary: Audiophile USB noisy analog capture
Description:
The audiophile usb analog capture interface seems to be unreliably initialized by the ALSA driver.
Just after bootup (or after an /etc/init.d/alsasound restart) the sound recorded on the analog capture port is sometimes either:
- Case A: saturated/distorted (as if it had a very high volume gain) or
- Case B: completly inaudible and loud white noised
or
- Case C: sometimes the sound is good
This issue affects:
* only the analog capture interface and not the SPDIF digital capture interface
* playback is always working
* both hw:1,1 (analog capture) and plughw:1,1 (analog cpautre with plug)
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0001631 Audiophile USB will not capture.
======================================================================
----------------------------------------------------------------------
lemeur - 02-07-06 10:23
----------------------------------------------------------------------
I've done more tests and found that Reproducibility is in fact "Always" if you follow these steps:
* boot the PC with Audiophile USB turned Off
* turn on the Audiophile USB and wait for ALSA to auto-setup it => At this point there is a one byte alignment shift (captured sound on the analog Input is distorted)
* restart alsa once by issuing "/etc/init.d/alsasound restart" => At this point there is a 2 bytes alignment shift (captured sound on the analog Input is white noise only)
* restart alsa once by issuing "/etc/init.d/alsasound restart" => At this point there is a 3 bytes alignment shift (captured sound on the analog Input is back to normal)
----------------------------------------------------------------------
lemeur - 03-14-06 15:28
----------------------------------------------------------------------
The bug was due to the way the snd-usb-audio driver initializes the audiophile usb device.
I've submitted a patch (now included into CVS). For this patch to take effect you should use the new "device_setup" module parameter as described in the included doc (alsa-kernel/Documentation/Audiophile-Usb.txt).
Thanks a lot to you guys who helped me troubleshooting and tracking down this issue (Takashi, Andreas, Sander, ...).
I suppose that this ticket can be closed now.
----------------------------------------------------------------------
tiwai - 03-14-06 16:55
----------------------------------------------------------------------
Closing now. Thanks.
----------------------------------------------------------------------
rlrevell - 03-14-06 17:04
----------------------------------------------------------------------
Fixed in CVS - please open new bugs if issues remain
Issue History
Date Modified Username Field Change
======================================================================
01-31-06 16:04 lemeur New Issue 01-31-06 16:04 lemeur Kernel Version => 2.6.15.1-rt3 02-02-06 14:20 lemeur Issue Monitored: lemeur 02-07-06 10:23 lemeur Note Added: 0007956 03-14-06 15:28 lemeur Note Added: 0008482 03-14-06 16:55 tiwai Status assigned => resolved 03-14-06 16:55 tiwai Resolution open => fixed 03-14-06 16:55 tiwai Note Added: 0008489 03-14-06 17:04 rlrevell Note Added: 0008490 03-14-06 17:18 rlrevell Relationship added related to 0001631
======================================================================
-------------------------------------------------------
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