[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160615075002.GA5070@sisyphus.home.austad.us>
Date: Wed, 15 Jun 2016 09:50:02 +0200
From: Henrik Austad <henrik@...tad.us>
To: Richard Cochran <richardcochran@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
alsa-devel@...r.kernel.org, netdev@...r.kernel.org,
Arnd Bergmann <arnd@...aro.org>
Subject: Re: [very-RFC 0/8] TSN driver for the kernel
On Wed, Jun 15, 2016 at 09:04:41AM +0200, Richard Cochran wrote:
> On Tue, Jun 14, 2016 at 10:38:10PM +0200, Henrik Austad wrote:
> > Whereas I want to do
> >
> > aplay some_song.wav
>
> Can you please explain how your patches accomplish this?
In short:
modprobe tsn
modprobe avb_alsa
mkdir /sys/kernel/config/eth0/link
cd /sys/kernel/config/eth0/link
<set approriate values vor the attributes>
echo alsa > enabled
aplay -Ddefault:CARD=avb some_song.wav
Likewise on the receiver side, except add 'Listener' to end_station
attribute
arecord -c2 -r48000 -f S16_LE -Ddefault:CARD=avb > some_recording.wav
I've not had time to fully fix the hw-aprams for alsa, so some manual
tweaking of arecord is required.
Again, this is a very early attempt to get something useful done with TSN,
I know there are rough edges, I know buffer handling and timestamping is
not finished
Note: if you don't have an intel-card, load tsn in debug-mode and it will
let you use all NICs present.
modprobe tsn in_debug=1
--
Henrik Austad
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists