From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] ALSA: usb-audio: work around KEF X300A firmware bug Date: Mon, 17 Feb 2014 10:12:16 +0100 Message-ID: References: <1392284545.11227.4.camel@srv31.corp.novso.com> <5300E31E.9070600@ladisch.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id E1405261ACD for ; Mon, 17 Feb 2014 10:12:16 +0100 (CET) In-Reply-To: <5300E31E.9070600@ladisch.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Clemens Ladisch Cc: alsa-devel@alsa-project.org, Nicolas DEFFAYET List-Id: alsa-devel@alsa-project.org At Sun, 16 Feb 2014 17:11:10 +0100, Clemens Ladisch wrote: > > When the driver tries to access Function Unit 10, the KEF X300A > speakers' firmware apparently locks up, making even PCM streaming > impossible. Work around this by ignoring this FU. > > Cc: > Signed-off-by: Clemens Ladisch Thanks, applied. Takashi > --- > sound/usb/mixer_maps.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c > index 32af6b7..d1d72ff 100644 > --- a/sound/usb/mixer_maps.c > +++ b/sound/usb/mixer_maps.c > @@ -328,6 +328,11 @@ static struct usbmix_name_map gamecom780_map[] = { > {} > }; > > +static const struct usbmix_name_map kef_x300a_map[] = { > + { 10, NULL }, /* firmware locks up (?) when we try to access this FU */ > + { 0 } > +}; > + > /* > * Control map entries > */ > @@ -419,6 +424,10 @@ static struct usbmix_ctl_map usbmix_ctl_maps[] = { > .id = USB_ID(0x200c, 0x1018), > .map = ebox44_map, > }, > + { > + .id = USB_ID(0x27ac, 0x1000), > + .map = kef_x300a_map, > + }, > { 0 } /* terminator */ > }; >