wsprlinux audio output

2 posts / 0 new
Last post
HB9CAT
Offline
Last seen: 2 years 5 months ago
Joined: 2009/12/15 - 21:46
wsprlinux audio output

Hi,

I'm using dj0abr's nice wspr software (both wsprlinux and visualwspr versions) on a Raspberry PI 2, using a K3S as external transceiver.
What I'm trying to do is to have a single USB connection to the Raspberry, and use the USB Audio Codec interface available through it.

Everythings works fine for RX and CAT, but I can't manage to send the TX audio to the external Soundcard.
After the first unsuccessful tests with both Alsa and Portaudio, I disabled the original bcm2835 by adding a /etc/modprobe.d/alsa-blacklist.conf file with a "blacklist snd_bcm2835" statement in it; in fact the internal card isn't loaded anymore:

pi@raspberrypi:~ $ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 1: CODEC [USB Audio CODEC], Gerät 0: USB Audio [USB Audio]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
pi@raspberrypi:~ $ arecord -l
**** Liste der Hardware-Geräte (CAPTURE) ****
Karte 1: CODEC [USB Audio CODEC], Gerät 0: USB Audio [USB Audio]
Sub-Geräte: 0/1
Sub-Gerät #0: subdevice #0

At this point I would expect wspr to use the only available sound output interface, Card 1
This doesn't happen, both wsprlinux and visualwspr keep trying to use Card 0:

12:14:01 EXT.TRX: start transmission
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: Datei oder Verzeichnis nicht gefunden
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: Datei oder Verzeichnis nicht gefunden
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: Datei oder Verzeichnis nicht gefunden
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: Datei oder Verzeichnis nicht gefunden
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default

Any hint on how to TX on an external interface ?

Marco HB9CAT