From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [RESEND PATCH] conf/cards: add VC4-HDMI card Date: Fri, 07 Apr 2017 10:21:31 +0200 Message-ID: References: <1488451773-22010-1-git-send-email-boris.brezillon@free-electrons.com> <87lgrd48ve.fsf@eliezer.anholt.net> 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 (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id B9CF42664EB for ; Fri, 7 Apr 2017 10:21:32 +0200 (CEST) In-Reply-To: <87lgrd48ve.fsf@eliezer.anholt.net> 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: Eric Anholt Cc: Boris Brezillon , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Thu, 06 Apr 2017 21:46:29 +0200, Eric Anholt wrote: > > Takashi Iwai writes: > > > On Thu, 02 Mar 2017 11:49:33 +0100, > > Boris Brezillon wrote: > >> > >> Add a conf file for the VC4-HDMI sound card. > >> > >> Signed-off-by: Boris Brezillon > >> --- > >> Hi, > >> > >> Sorry for the noise, but I didn't send this patch to the alsa-lib > >> maintainer on my first attempt. > >> > >> This patch is adding a card config file for the audio sound card whose > >> driver has been submitted here [1] (not accepted yet). > >> > >> Since I am a total newbie to the alsa world, I'd like to get some > >> feedback on this patch. > >> > >> Also, the card only supports 2 to 8 channels, and I wonder if we should > >> add a plug element to support mono streams, and where this element > >> should be added (after or before the iec958 element). > > > > Applied, thanks. > > Thanks! > > Any recommendations on how to restructure this so that things like > 'aplay' from the console also work by default? Well, once after you have your card config in /usr/share/alsa/cards/vc4-hdmi.conf, aplay should work as is. If not, check /proc/asounds output. The entry looks like 0 [ID ]: DRIVER - SHORTNAME LONGNAME and in your case, "DRIVER" must be "vc4-hdmi", as same as the config file name. Takashi