I've been messing with ALSA loopback devices and Pulseaudio NULL devices for about 3 weeks now on OpenSuSE-15.1 Linux. I finally got a configuration that would work with FreeDV, but it segfaulted a LOT on me during my experiments: The reason a week or so back I asked if anybody might want to work on Pulseaudio support for it. The other ham apps I'm using are Fldigi and Wxjt-x, which are working fine with the NULL devices. FreeDV wouldn't see those NULL devices so I had to make ALSA loopbacks that pointed in/out of the 2 NULL devices so FreeDV could talk to the radio. The radio in this case is an OpenHPSDR Hermes board and I point it at the same two NULL devices.
I fought through it, but it was a lot of work. A buddy of mine was working on it too on the same version of Linux. If anyone wants to see a working config for that, let me know. On Thu, Jun 18, 2020 at 5:06 PM David Rowe <[email protected]> wrote: > > Hi Richard, > > Looks like that's deep inside the portaudio or alsa driver. I have seen > that sort of problem occasionally too. IIRC using another headset fixed > the problem. > > Cheers, > David > > On 19/6/20 8:10 am, Richard Shaw wrote: > > I just got a bluetooth adapter for my desktop so I can use my bluetooth > > headset from work with FreeDV as my son "borrowed" my USB headset I used > > to use. > > > > I had some weird lockups trying to setup the audio devices but got > > through that, unfortunately when I click start freedv crashes pretty > > quickly with the following: > > > > $ freedv > > Server listening at 0.0.0.0:48825 <http://0.0.0.0:48825> > > starting openport(), name: /dev/ttyUSB1 strlen(name): 12 useRTS: 1 > > RTSPos: 1 useDTR: 0 DTRPos: 1 > > ALSA lib pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave > > ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave > > ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear > > ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe > > ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side > > ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave > > Cannot connect to server socket err = No such file or directory > > Cannot connect to server request channel > > jack server is not running or cannot be started > > JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, > > skipping unlock > > JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, > > skipping unlock > > fifoSize_ms: 400 infifo1/outfilo1: 17640 infifo2/outfilo2: 17640 > > rxFifoSizeSamples: 3200 > > ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred > > Expression 'err' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3350 > > Expression 'ContinuePoll( self, StreamDirection_In, &pollTimeout, > > &pollCapture )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3876 > > Expression 'PaAlsaStream_WaitForFrames( stream, &framesAvail, &xrun )' > > failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4248 > > freedv: src/hostapi/alsa/pa_linux_alsa.c:3382: OnExit: Assertion `data' > > failed. > > Aborted (core dumped) > > > > Thanks, > > Richard > > > > > > > > _______________________________________________ > > Freetel-codec2 mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 > > > > > _______________________________________________ > Freetel-codec2 mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 -- Curt, WE7U http://xastir.org http://www.sarguydigital.com _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
