From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Henningsson Subject: Re: [PATCH v2] USB-Audio: Blacklist iec958 for some USB devices Date: Fri, 09 Mar 2012 13:48:19 +0100 Message-ID: <4F59FC13.3090606@canonical.com> References: <1331289966-3979-1-git-send-email-david.henningsson@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by alsa0.perex.cz (Postfix) with ESMTP id 0805B10B990 for ; Fri, 9 Mar 2012 13:48:21 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Raymond Yau Cc: ALSA Development Mailing List List-Id: alsa-devel@alsa-project.org On 03/09/2012 12:52 PM, Raymond Yau wrote: > 2012/3/9, Takashi Iwai: >> At Fri, 9 Mar 2012 11:46:06 +0100, >> David Henningsson wrote: >>> >>> Some common USB devices are analog only, so prevent the digital >>> devices from being opened. This simplifies probing the device >>> in PulseAudio. >>> >>> I have a "Logitech USB Headset" myself, the "Logitech Web Camera" >>> was reported by Raymond Yau, and the "Blue Snowball" was reported by >>> Andy Whitcroft. >>> >>> Cc: Andy Whitcroft >>> Cc: Raymond Yau >>> BugLink: https://bugs.launchpad.net/bugs/940145 >>> Signed-off-by: David Henningsson >> >> Thanks, applied now. >> >> >> Takashi >> >>> --- >>> src/conf/cards/USB-Audio.conf | 5 +++++ >>> 1 files changed, 5 insertions(+), 0 deletions(-) >>> >>> diff --git a/src/conf/cards/USB-Audio.conf b/src/conf/cards/USB-Audio.conf >>> index 0726c34..d7c121e 100644 >>> --- a/src/conf/cards/USB-Audio.conf >>> +++ b/src/conf/cards/USB-Audio.conf >>> @@ -36,6 +36,11 @@ USB-Audio.pcm.surround40_type { >>> # number for the iec958 device can be changed here. >>> USB-Audio.pcm.iec958_device { >>> # "NoiseBlaster 3000" 42 >>> + >>> + # The below don't have digital in/out, so prevent them from being >>> opened. >>> + "Logitech USB Headset" 999 >>> + "Logitech Web Camera" 999 >>> + "Blue Snowball" 999 >>> } >>> > > How do the blacklist work ? since there is no "Logitect Web Camera" in > lsusb info > > My QuickCam Communicate Deluxe only support mono, so it is unlikely > for pulseaudio to open for digital capture Sorry, maybe I misunderstood you then - could you give me the contents of "/proc/asound/cards" please? -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic