From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wm0-f67.google.com ([74.125.82.67]:35006 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753055AbcFOLtN (ORCPT ); Wed, 15 Jun 2016 07:49:13 -0400 Date: Wed, 15 Jun 2016 13:49:08 +0200 From: Richard Cochran To: Henrik Austad Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, alsa-devel@vger.kernel.org, netdev@vger.kernel.org, henrk@austad.us, Henrik Austad , Mauro Carvalho Chehab , Takashi Iwai , Mark Brown Subject: Re: [very-RFC 7/8] AVB ALSA - Add ALSA shim for TSN Message-ID: <20160615114908.GB31281@localhost.localdomain> References: <1465686096-22156-1-git-send-email-henrik@austad.us> <1465686096-22156-8-git-send-email-henrik@austad.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1465686096-22156-8-git-send-email-henrik@austad.us> Sender: linux-media-owner@vger.kernel.org List-ID: Now that I understand better... On Sun, Jun 12, 2016 at 01:01:35AM +0200, Henrik Austad wrote: > Userspace is supposed to reserve bandwidth, find StreamID etc. > > To use as a Talker: > > mkdir /config/tsn/test/eth0/talker > cd /config/tsn/test/eth0/talker > echo 65535 > buffer_size > echo 08:00:27:08:9f:c3 > remote_mac > echo 42 > stream_id > echo alsa > enabled This is exactly why configfs is the wrong interface. If you implement the AVB device in alsa-lib user space, then you can handle the reservations, configuration, UDP sockets, etc, in a way transparent to the aplay program. Heck, if done properly, your layer could discover the AVB nodes in the network and present each one as a separate device... Thanks, Richard