[alsa-devel] [very-RFC 0/8] TSN driver for the kernel
Henrik Austad
henrik at austad.us
Wed Jun 15 09:50:02 CEST 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160615/7f74a325/attachment.sig>
More information about the Alsa-devel
mailing list