From: Takashi Iwai Subject: Re: [PATCH 1/1] conf/cards: add Audio Advantage Micro II Date: Wed, 31 Jul 2013 08:07:31 +0200 Message-ID: References: <1375216304-8758-1-git-send-email-prudy1@o2.pl> 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 1FB02261281 for ; Wed, 31 Jul 2013 08:05:52 +0200 (CEST) In-Reply-To: <1375216304-8758-1-git-send-email-prudy1@o2.pl> 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: Przemek Rudy Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 30 Jul 2013 22:31:44 +0200, Przemek Rudy wrote: > > With related kernel chnages add extended suport for: > - AES bits controls (via device suffix AESn= or tools like iecset) > - SPDIF switch control, turning on/off the optical transmitter (via alsamixer tool) > > Signed-off-by: Przemek Rudy Thanks, applied. Takashi > > diff --git a/src/conf/cards/USB-Audio.conf b/src/conf/cards/USB-Audio.conf > index 0d93175..8a6d9ca 100644 > --- a/src/conf/cards/USB-Audio.conf > +++ b/src/conf/cards/USB-Audio.conf > @@ -101,6 +101,41 @@ USB-Audio."Audiophile USB (tm)".pcm.iec958 { > } > } > > +# For this card we can (and must to get IEC61937) set AES bits > +USB-Audio."MicroII".pcm.iec958 "cards.USB-Audio.Audio Advantage MicroII.pcm.iec958" > +USB-Audio."Audio Advantage MicroII".pcm.iec958 { > + @args [ CARD AES0 AES1 AES2 AES3 ] > + @args.CARD { type string } > + @args.AES0 { type integer } > + @args.AES1 { type integer } > + @args.AES2 { type integer } > + @args.AES3 { type integer } > + > + type hooks > + slave.pcm { > + type hw > + card $CARD > + } > + > + hooks.0 { > + type ctl_elems > + hook_args [ > + { > + interface PCM > + name "IEC958 Playback Default" > + preserve true > + optional true > + value [ $AES0 $AES1 $AES2 $AES3 ] > + } > + { > + name "IEC958 Playback Switch" > + lock true > + preserve true > + value 1 > + } > + ] > + } > +} > > ################################################################################ > > -- > 1.8.3.1 > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >