drowe67 / freedv-gui

GUI Application for FreeDV – open source digital voice for HF radio
https://freedv.org/
GNU Lesser General Public License v2.1
206 stars 52 forks source link

Ubuntu 20.04 Audio device cannot be found, although it is there! #190

Closed computer-wizard closed 2 years ago

computer-wizard commented 2 years ago

OS: Ubuntu 20.04 When I open FreeDV 1.6.1 an error message pops up with, 'HDA Intel PCH ALC898(hw:0,0) device cannot be found and maybe removed from your system. Please go to tools > Audio config to confirm your audio-setup.'

This is not correct as that device is there when I open Audio config. I configure the audio devices for tx and rx and click apply and OK.. No complaints from FreeDv 1.6.1 ! When I click on Start in the Control section, the same error message pops up. (HDA PCH ALC898 (hw:0,0) is the device for Output from Computer to Speaker.

The whole thing with the same devices worked fine in FreeDV 1.4.

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_route.c:869:(find_matching_chmap) Found no matching channel map 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 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 ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:577:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream 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 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_route.c:869:(find_matching_chmap) Found no matching channel map 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 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 ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:577:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream 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 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_route.c:869:(find_matching_chmap) Found no matching channel map 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 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 ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:577:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream 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 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_route.c:869:(find_matching_chmap) Found no matching channel map 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 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 ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:577:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream 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

etc.

tmiw commented 2 years ago

Would you be able to provide your ~/.FreeDV file so I can take a closer look?

computer-wizard commented 2 years ago

Here it is,

[MainFrame] left=21 top=29 width=936 height=780 show_wf=1 show_spect=1 show_scatter=1 show_timing=1 show_freq=1 show_speech_in=1 show_speech_out=1 show_demod_in=1 show_test_frame_errors=1 show_test_frame_errors_hist=1 rxNbookCtrl=0 [Audio] SquelchActive=0 SquelchLevel=4 framesPerBuffer=256 fifoSize_ms=440 soundCard1InDeviceName=C-Media USB Audio Device: - (hw:2,0) soundCard1OutDeviceName=C-Media USB Audio Device: - (hw:2,0) soundCard2InDeviceName=USB Device 0x46d:0x81d: Audio (hw:3,0) soundCard2OutDeviceName=HDA Intel PCH: ALC898 Analog (hw:0,0) transmitLevel=-93 soundCard1SampleRate=48000 soundCard2SampleRate=48000 snrSlow=0 mode=5 [File] playFileToMicInPath= recFileFromRadioPath= recFileFromRadioSecs=60 recFileFromModulatorPath= recFileFromModulatorSecs=10 playFileFromRadioPath= [Rig] HalfDuplex=1 MultipleRx=1 SingleRxThread=1 leftChannelVoxTone=0 UseSerialPTT=1 Port=/dev/ttyUSB0 UseRTS=1 RTSPolarity=1 UseDTR=0 DTRPolarity=0 UseSerialPTTInput=0 PttInPort= CTSPolarity=0 [VoiceKeyer] WaveFilePath= WaveFile=voicekeyer.wav RxPause=10 Repeats=5 [Hamlib] UseForPTT=0 IcomCIVHex=0 RigName=0 SerialPort= SerialRate=0 [Filter] codec2LPCPostFilterEnable=1 codec2LPCPostFilterBassBoost=1 codec2LPCPostFilterGamma=50 codec2LPCPostFilterBeta=20 speexpp_enable=1 700C_EQ=1 MicInBassFreqHz=1 MicInBassGaindB=0 MicInTrebleFreqHz=1 MicInTrebleGaindB=0 MicInMidFreqHz=1 MicInMidGaindB=0 MicInMidQ=100 MicInEQEnable=0 SpkOutBassFreqHz=1 SpkOutBassGaindB=0 SpkOutTrebleFreqHz=1 SpkOutTrebleGaindB=0 SpkOutMidFreqHz=1 SpkOutMidGaindB=0 SpkOutMidQ=100 SpkOutEQEnable=0 [Data] CallSign= TextEncoding=1 [UDP] enable=0 port=3000 [FreeDV700] txClip=1 txBPF=1 manualUnSync=0 [OFDM] PhaseEstBW=0 PhaseEstDPSK=0 [Noise] noise_snr=2 [Debug] console=0 verbose=0 APIverbose=0 [PSKReporter] Enable=1 Callsign=VE3TOK GridSquare=FN03af FrequencyHz=0 [Waterfall] Color=0

tmiw commented 2 years ago

Thanks for that file. I don't see anything immediately obvious in there, unfortunately. Can you provide more information as to what the analog side of your setup looks like? It appears you're using two different devices (one built into your PC (?) and some sort of USB device).

drowe67 commented 2 years ago

I've seen a similar warning when another app (like a web browser, or Settings) is using the sound card.

computer-wizard commented 2 years ago

Yes, the ALC898 is a sound chip on my Intel motherboard used for audio from computer to speaker. USB Sound fob with a C-media chip is used for audio between radio and computer. The USB Device 0x46d:0x81d: Audio (hw:3,0) provides the microphone audio, (Part of a Logitech C510 Web cam) Three devices total. They are all set for a sample rate of 48 KHz. I use exactly the same setup as for FreeDV version 1.4, what had no problem. No other program is in use.

Bob VE3TOK

tmiw commented 2 years ago

I'm wondering if it's a whitespace issue. Can you open main.cpp and update line 3094 to the following:

if (name.Trim() == deviceName)

Let me know if that helps and I'll open a PR to integrate that fix.

computer-wizard commented 2 years ago

I made the change and did run 'make clean' and make in the build_linux directory to produce a new binary. Error is still the same ;-(

tmiw commented 2 years ago

Let's try this. Replace getSoundCardIDFromName() with the following:

int MainFrame::getSoundCardIDFromName(wxString& name, bool input)
{
    int result = -1;

    if (name != "none")
    {
        PaError paResult = Pa_Initialize();
        if (paResult == paNoError)
        {
            for (PaDeviceIndex index = 0; index < Pa_GetDeviceCount(); index++)
            {
                const PaDeviceInfo* device = Pa_GetDeviceInfo(index);
                wxString deviceName = wxString::FromUTF8(device->name);
                deviceName = deviceName.Trim();
                fprintf(stderr, "Comparing \"%s\" with \"%s\"\n", (const char*)deviceName.ToUTF8(), (const char*)name.ToUTF8());
                if (name == deviceName)
                {
                    fprintf(stderr, "Matched device name %s\n", (const char*)deviceName.ToUTF8());
                    PaStreamParameters baseParams;
                    baseParams.device = index;
                    baseParams.channelCount = input ? device->maxInputChannels : device->maxOutputChannels;
                    baseParams.sampleFormat = paInt16;
                    baseParams.suggestedLatency = 0;
                    baseParams.hostApiSpecificStreamInfo = NULL;

                    if (baseParams.channelCount == 0) continue;

                    bool supported = false;
                    for(int sampleIndex = 0; PortAudioWrap::standardSampleRates[sampleIndex] > 0; sampleIndex++)
                    {
                        paResult = Pa_IsFormatSupported(input ? &baseParams : NULL, !input ? &baseParams : NULL, PortAudioWrap::standardSampleRates[sampleIndex]);
                        if (paResult == paFormatIsSupported)
                        {
                            fprintf(stderr, "Found supported sample rate %f\n", PortAudioWrap::standardSampleRates[sampleIndex]);
                            supported = true;
                            break;
                        }
                        else
                        {
                            fprintf(stderr, "Pa_IsFormatSupported error: %d\n", paResult);
                        }
                    }

                    if (supported)
                    {
                        result = index;
                        break;
                    }
                }
            }
        }
        else
        {
            fprintf(stderr, "WARNING: could not initialize PortAudio (err=%d, txt=%s)\n", paResult, Pa_GetErrorText(paResult));
        }
        Pa_Terminate();
    }
    return result;
}

Once done and recompiled, run FreeDV in the terminal and copy/paste the output into here. This will add a bit more debugging info.

computer-wizard commented 2 years ago

Here is, Notes: I restored line 3094 to what is was originally

./freedv 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_route.c:869:(find_matching_chmap) Found no matching channel map 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 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 ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:577:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream 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 Comparing "HDA Intel PCH: ALC898 Analog (hw:0,0)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "HDA Intel PCH: ALC898 Digital (hw:0,1)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "HDA Intel PCH: ALC898 Alt Analog (hw:0,2)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "HDA Intel PCH: HDMI 0 (hw:0,3)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "SAA7134: PCM (hw:1,0)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "C-Media USB Audio Device: - (hw:2,0)" with "C-Media USB Audio Device: - (hw:2,0)" Matched device name C-Media USB Audio Device: - (hw:2,0) Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Found supported sample rate 44100.000000 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_route.c:869:(find_matching_chmap) Found no matching channel map 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 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 ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:577:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream 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 Comparing "HDA Intel PCH: ALC898 Analog (hw:0,0)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "HDA Intel PCH: ALC898 Digital (hw:0,1)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "HDA Intel PCH: ALC898 Alt Analog (hw:0,2)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "HDA Intel PCH: HDMI 0 (hw:0,3)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "SAA7134: PCM (hw:1,0)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "C-Media USB Audio Device: - (hw:2,0)" with "C-Media USB Audio Device: - (hw:2,0)" Matched device name C-Media USB Audio Device: - (hw:2,0) Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Found supported sample rate 44100.000000 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_route.c:869:(find_matching_chmap) Found no matching channel map 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 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 ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:577:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream 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 Comparing "HDA Intel PCH: ALC898 Analog (hw:0,0)" with "USB Device 0x46d:0x81d: Audio (hw:3,0)" Comparing "HDA Intel PCH: ALC898 Digital (hw:0,1)" with "USB Device 0x46d:0x81d: Audio (hw:3,0)" Comparing "HDA Intel PCH: ALC898 Alt Analog (hw:0,2)" with "USB Device 0x46d:0x81d: Audio (hw:3,0)" Comparing "HDA Intel PCH: HDMI 0 (hw:0,3)" with "USB Device 0x46d:0x81d: Audio (hw:3,0)" Comparing "SAA7134: PCM (hw:1,0)" with "USB Device 0x46d:0x81d: Audio (hw:3,0)" Comparing "C-Media USB Audio Device: - (hw:2,0)" with "USB Device 0x46d:0x81d: Audio (hw:3,0)" Comparing "USB Device 0x46d:0x81d: Audio (hw:3,0)" with "USB Device 0x46d:0x81d: Audio (hw:3,0)" Matched device name USB Device 0x46d:0x81d: Audio (hw:3,0) Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Found supported sample rate 16000.000000 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_route.c:869:(find_matching_chmap) Found no matching channel map 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 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 ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:577:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream 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 Comparing "HDA Intel PCH: ALC898 Analog (hw:0,0)" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Matched device name HDA Intel PCH: ALC898 Analog (hw:0,0) Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9993 Pa_IsFormatSupported error: -9993 Pa_IsFormatSupported error: -9993 Pa_IsFormatSupported error: -9993 Pa_IsFormatSupported error: -9993 Comparing "HDA Intel PCH: ALC898 Digital (hw:0,1)" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "HDA Intel PCH: ALC898 Alt Analog (hw:0,2)" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "HDA Intel PCH: HDMI 0 (hw:0,3)" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "SAA7134: PCM (hw:1,0)" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "C-Media USB Audio Device: - (hw:2,0)" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "USB Device 0x46d:0x81d: Audio (hw:3,0)" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "sysdefault" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "front" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "surround21" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "surround40" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "surround41" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "surround50" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "surround51" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "surround71" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "iec958" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "spdif" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "hdmi" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "samplerate" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "speexrate" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "pulse" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "upmix" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "vdownmix" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "snoopARDOP" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "dmix" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "default" with "HDA Intel PCH: ALC898 Analog (hw:0,0)"

/dev/ttyUSB0ALSA 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_route.c:869:(find_matching_chmap) Found no matching channel map 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 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 ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:577:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream 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 PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 0: Invalid sample rate PA error while testing sample rate for dev ID 0: Invalid sample rate PA error while testing sample rate for dev ID 0: Invalid sample rate PA error while testing sample rate for dev ID 0: Invalid sample rate PA error while testing sample rate for dev ID 0: Invalid sample rate PA error while testing sample rate for dev ID 0: Invalid sample rate PA error while testing sample rate for dev ID 0: Invalid sample rate PA error while testing sample rate for dev ID 0: Invalid sample rate PA error while testing sample rate for dev ID 0: Illegal combination of I/O devices PA error while testing sample rate for dev ID 0: Illegal combination of I/O devices PA error while testing sample rate for dev ID 0: Illegal combination of I/O devices PA error while testing sample rate for dev ID 0: Illegal combination of I/O devices PA error while testing sample rate for dev ID 0: Illegal combination of I/O devices PA error while testing sample rate for dev ID 6: Invalid sample rate PA error while testing sample rate for dev ID 6: Invalid sample rate PA error while testing sample rate for dev ID 6: Invalid sample rate PA error while testing sample rate for dev ID 6: Invalid sample rate PA error while testing sample rate for dev ID 6: Invalid sample rate PA error while testing sample rate for dev ID 6: Invalid sample rate PA error while testing sample rate for dev ID 6: Invalid sample rate PA error while testing sample rate for dev ID 6: Invalid sample rate PA error while testing sample rate for dev ID 6: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate PA error while testing sample rate for dev ID 5: Invalid sample rate Setting callsign to VE3TOK 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_route.c:869:(find_matching_chmap) Found no matching channel map 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 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 ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:577:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream 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 Comparing "HDA Intel PCH: ALC898 Analog (hw:0,0)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "HDA Intel PCH: ALC898 Digital (hw:0,1)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "HDA Intel PCH: ALC898 Alt Analog (hw:0,2)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "HDA Intel PCH: HDMI 0 (hw:0,3)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "SAA7134: PCM (hw:1,0)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "C-Media USB Audio Device: - (hw:2,0)" with "C-Media USB Audio Device: - (hw:2,0)" Matched device name C-Media USB Audio Device: - (hw:2,0) Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Found supported sample rate 44100.000000 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_route.c:869:(find_matching_chmap) Found no matching channel map 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 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 ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:577:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream 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 Comparing "HDA Intel PCH: ALC898 Analog (hw:0,0)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "HDA Intel PCH: ALC898 Digital (hw:0,1)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "HDA Intel PCH: ALC898 Alt Analog (hw:0,2)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "HDA Intel PCH: HDMI 0 (hw:0,3)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "SAA7134: PCM (hw:1,0)" with "C-Media USB Audio Device: - (hw:2,0)" Comparing "C-Media USB Audio Device: - (hw:2,0)" with "C-Media USB Audio Device: - (hw:2,0)" Matched device name C-Media USB Audio Device: - (hw:2,0) Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Found supported sample rate 44100.000000 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_route.c:869:(find_matching_chmap) Found no matching channel map 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 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 ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:577:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream 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 Comparing "HDA Intel PCH: ALC898 Analog (hw:0,0)" with "USB Device 0x46d:0x81d: Audio (hw:3,0)" Comparing "HDA Intel PCH: ALC898 Digital (hw:0,1)" with "USB Device 0x46d:0x81d: Audio (hw:3,0)" Comparing "HDA Intel PCH: ALC898 Alt Analog (hw:0,2)" with "USB Device 0x46d:0x81d: Audio (hw:3,0)" Comparing "HDA Intel PCH: HDMI 0 (hw:0,3)" with "USB Device 0x46d:0x81d: Audio (hw:3,0)" Comparing "SAA7134: PCM (hw:1,0)" with "USB Device 0x46d:0x81d: Audio (hw:3,0)" Comparing "C-Media USB Audio Device: - (hw:2,0)" with "USB Device 0x46d:0x81d: Audio (hw:3,0)" Comparing "USB Device 0x46d:0x81d: Audio (hw:3,0)" with "USB Device 0x46d:0x81d: Audio (hw:3,0)" Matched device name USB Device 0x46d:0x81d: Audio (hw:3,0) Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Found supported sample rate 16000.000000 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_route.c:869:(find_matching_chmap) Found no matching channel map 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 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 ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:577:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) The dmix plugin supports only playback stream 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 Comparing "HDA Intel PCH: ALC898 Analog (hw:0,0)" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Matched device name HDA Intel PCH: ALC898 Analog (hw:0,0) Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9997 Pa_IsFormatSupported error: -9993 Pa_IsFormatSupported error: -9993 Pa_IsFormatSupported error: -9993 Pa_IsFormatSupported error: -9993 Pa_IsFormatSupported error: -9993 Comparing "HDA Intel PCH: ALC898 Digital (hw:0,1)" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "HDA Intel PCH: ALC898 Alt Analog (hw:0,2)" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "HDA Intel PCH: HDMI 0 (hw:0,3)" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "SAA7134: PCM (hw:1,0)" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "C-Media USB Audio Device: - (hw:2,0)" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "USB Device 0x46d:0x81d: Audio (hw:3,0)" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "sysdefault" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "front" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "surround21" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "surround40" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "surround41" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "surround50" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "surround51" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "surround71" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "iec958" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "spdif" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "hdmi" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "samplerate" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "speexrate" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "pulse" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "upmix" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "vdownmix" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "snoopARDOP" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "dmix" with "HDA Intel PCH: ALC898 Analog (hw:0,0)" Comparing "default" with "HDA Intel PCH: ALC898 Analog (hw:0,0)"

computer-wizard commented 2 years ago

You'll see a break with a couple of blank lines in that stderr listing, I added these after I started freedv and the error message popped up. After these I edited Auto Config.. (what was OK according to freedv) and clicked the 'Start' control button.

computer-wizard commented 2 years ago

Maybe this info helps also.. C-Media USB Audio device(hw:2.0) has ID 5 HD Intel PCH: ALC898 Analog(hw:0,0) has ID 0 USB Device 0x46d:0x81d:Audio(hw:3,0) has ID 6 (this is the Microphone)

tmiw commented 2 years ago

So based on the error codes PortAudio was returning in the above debug output, it sounds like something is messing up within PortAudio before it can get to the valid sample rate. Since it's not actually necessary to check all possible sample rates (just the configured one), I created https://github.com/drowe67/freedv-gui/pull/192 with that change. Can you try that branch and let me know if it works any better for you?

computer-wizard commented 2 years ago

I tried the 'ms-linux-audio-detect' branch and the error is still the same :-(

tmiw commented 2 years ago

Hmm, would it be possible to try one of the other apps known to use PortAudio with that device and see if it also produces an error? From what I can tell in the latest GitHub version of PortAudio the error code in question seems to happen when the device can't be opened by ALSA for reasons other than "something else is using it".

computer-wizard commented 2 years ago

I use FLDIGI and I also use PortAudio with that. I can just switch to play the generated tones through the 'HDA Intel PCH:ALC898 Analog hw(0,0)' and it has no problem that.

On 2021-12-11 13:30, Mooneer Salem wrote:

Hmm, would it be possible to try one of the other apps known to use PortAudio http://www.portaudio.com/apps.html with that device and see if it also produces an error? From what I can tell in the latest GitHub version of PortAudio https://github.com/PortAudio/portaudio/search?q=pabadiodevicecombination the error code in question seems to happen when the device can't be opened by ALSA for reasons other than "something else is using it".

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/drowe67/freedv-gui/issues/190#issuecomment-991740455, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3K5D2KVD6HQYTSPAM3AG3UQOKEPANCNFSM5JOCCWKA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--

When you change the way you look at things, the things you look at change 

Max Planck

tmiw commented 2 years ago

Just to make sure we can still open the device even when Pa_IsFormatSupported() has failed, I updated the ms-linux-audio-detect branch to disable that call inside getSoundCardIDFromName(). Let me know how that goes.

computer-wizard commented 2 years ago

Success, the  ms-linux-audio-detect branch is working now!  Thanks Mooneer!

tmiw commented 2 years ago

A few more questions:

  1. Are you able to see a list of sample rates for that device in Tools->Audio Config?
  2. Does pushing the Start button in the main window produce any errors? How about when pushing PTT?

The reason I ask is that the code I disabled is similar to stuff that's already in (1), so I would expect it to work in both locations. Additionally, I'm not sure how it could fail but still allow it to be opened (assuming that it actually is getting opened).

computer-wizard commented 2 years ago

1)

Yes, I see the default sample rates. Normally in the drop down boxes I fill in the sample rate. What I see for list of sample rates to choose from depends on the device. For the C-media sound fob, I fill it in my self, normally 48000 and then I can choose between that and the default. For the ALC828 (Motherboard) NONE is listed in the drop down box, so I have to fill that in. For the Logitec, I can choose between several sample rates. It is the same as with the previous release of FreeDV.

2)

Yes, the Start and PTT work both, no problem.

A few more questions:

  1. Are you able to see a list of sample rates for that device in Tools->Audio Config?
  2. Does pushing the Start button in the main window produce any errors? How about when pushing PTT?

The reason I ask is that the code I disabled is similar to stuff that's already in (1), so I would expect it to work in both locations. Additionally, I'm not sure how it could fail but still allow it to be opened (assuming that it actually is getting opened).

When you change the way you look at things, the things you look at change 

Max Planck

tmiw commented 2 years ago

Yeah, I suspect the same issue you originally reported also has to do with the sample rates not displaying in the audio settings. It's still pretty weird that the device itself opens fine, so I'd recommend letting the PortAudio team know.

computer-wizard commented 2 years ago

I had some package updates this morning and now I can see the list of sample rates in the drop down boxes for all the devices I use. This is including the ALC898 on my Motherboard, what displayed NONE before.

tmiw commented 2 years ago

Good to hear! The changes I made in #192 were merged up to master so future bugs shouldn't cause the startup checks to so easily fail. I'll go ahead and close this issue for now.