From: David Henningsson <david.henningsson@canonical.com>
To: Raymond Yau <superquad.vortex2@gmail.com>
Cc: alsa-devel@alsa-project.org, Clemens Ladisch <clemens@ladisch.de>
Subject: Re: [PATCH] USB-Audio: Disable "Logitech USB Headset" iec958 device
Date: Thu, 08 Mar 2012 06:35:42 +0100 [thread overview]
Message-ID: <4F58452E.5070008@canonical.com> (raw)
In-Reply-To: <CAN8cciYGRzRf9dx=_Tuzx=n+TxZ=-HxB7CE51aYyLZy3W+OTcA@mail.gmail.com>
On 03/08/2012 01:57 AM, Raymond Yau wrote:
> 2012/3/7, David Henningsson<david.henningsson@canonical.com>:
>> Because Logitech USB Headsets do not have any digital devices,
>> prevent them from being opened. This simplifies probing the
>> device in PulseAudio.
>>
>> BugLink: https://bugs.launchpad.net/bugs/940145
>> Signed-off-by: David Henningsson<david.henningsson@canonical.com>
>> ---
>>
>> I did not get any responses to my "digital profile" mail sent to alsa-devel
>> Feb 24th, but it seems the easiest workaround is the below patch for
>> alsa-lib.
>> Alsa-info at:
>> https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/940145/+attachment/2778111/+files/alsa-info.txt.xWdouSRV4Z
>>
>> src/conf/cards/USB-Audio.conf | 2 ++
>> 1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/src/conf/cards/USB-Audio.conf b/src/conf/cards/USB-Audio.conf
>> index 0726c34..f488284 100644
>> --- a/src/conf/cards/USB-Audio.conf
>> +++ b/src/conf/cards/USB-Audio.conf
>> @@ -36,6 +36,8 @@ USB-Audio.pcm.surround40_type {
>> # number for the iec958 device can be changed here.
>> USB-Audio.pcm.iec958_device {
>> # "NoiseBlaster 3000" 42
>> + # Make sure we can't open this device digitally, because it does not exist
>> + "Logitech USB Headset" 999
>> }
>>
>>
>
> your patch does not fix the "IEC958" at device 0 for "Logitech Web Camera"
Sure, we can add "Logitech Web Camera" there as well - I'm more
interested in knowing from Takashi/Clemens/Jaroslav/etc if it is the
right way to solve the problem?
> arecord -L
>
> iec958:CARD=U0x46d0x992,DEV=0
> USB Device 0x46d:0x992, USB Audio
> IEC958 (S/PDIF) Digital Audio Output
I believe the name to use is what shows up in "/proc/asound/cards"
(first line after the dash).
--
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
next prev parent reply other threads:[~2012-03-08 5:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-07 10:23 [PATCH] USB-Audio: Disable "Logitech USB Headset" iec958 device David Henningsson
2012-03-08 0:57 ` Raymond Yau
2012-03-08 5:35 ` David Henningsson [this message]
2012-03-08 15:06 ` Takashi Iwai
2012-03-08 15:47 ` Clemens Ladisch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F58452E.5070008@canonical.com \
--to=david.henningsson@canonical.com \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.de \
--cc=superquad.vortex2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox