[alsa-devel] [PATCH] USB-Audio: Fixup card name for Logitech web camera

Raymond Yau superquad.vortex2 at gmail.com
Sat Mar 10 01:47:14 CET 2012


2012/3/9, Takashi Iwai <tiwai at suse.de>:
> At Fri,  9 Mar 2012 14:06:04 +0100,
> David Henningsson wrote:
>>
>> Reported-by: Raymond Yau <superquad.vortex2 at gmail.com>
>> Signed-off-by: David Henningsson <david.henningsson at canonical.com>
>
> OK, applied.
>
>
> Takashi
>
>> ---
>>  src/conf/cards/USB-Audio.conf |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/src/conf/cards/USB-Audio.conf b/src/conf/cards/USB-Audio.conf
>> index d7c121e..966172f 100644
>> --- a/src/conf/cards/USB-Audio.conf
>> +++ b/src/conf/cards/USB-Audio.conf
>> @@ -39,7 +39,7 @@ USB-Audio.pcm.iec958_device {
>>
>>  	# The below don't have digital in/out, so prevent them from being
>> opened.
>>  	"Logitech USB Headset" 999
>> -	"Logitech Web Camera" 999
>> +	"USB Device 0x46d:0x992" 999
>>  	"Blue Snowball" 999
>>  }
>>
>> --
>> 1.7.9
>>
>

I have already replied that the black list does not work since arecord
can still open iec958
and David expect the patch will make pulseaudio cannot open ice958


arecord -L

iec958:CARD=U0x46d0x992,DEV=0
    USB Device 0x46d:0x992, USB Audio
    IEC958 (S/PDIF) Digital Audio Output



$ arecord -D iec958:2 -f dat /dev/null
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
arecord: set_params:1101: Channels count non available

$ arecord -D iec958:CARD=U0x46d0x992 -f dat /dev/null
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
arecord: set_params:1101: Channels count non available


More information about the Alsa-devel mailing list