soundmodem + i810_audio?

From: Nick Papadonis (azsdpv.szswnqsh@lmmz.net)
Date: Mon Jun 03 2002 - 06:56:47 EEST

  • Next message: Nuno Miguel Fernandes Sucena Almeida: "Re: soundmodem + i810_audio?"

    Has anyone successfully tested soundmodem-0.6 with i810_audio in
    kernel v2.4.18? I'm running into problems given this configuration.

    Soundmodem is having problems in 'audioio.c' when trying to set
    SNDCTL_DSP_STEREO (see below code segment). sndparam != 0 after the
    ioctl, and soundmodem bails.

    I attempted commenting the below code segment out. Using a previously working soundmodem.conf I ran soundmodem. The PTT
    line signals, however I'm only hearing quick beeps out of the
    speakers. The sound doesn't resemble AFSK 1200.

    Any ideas? Thanks

    - Nick

            sndparam = 0; /* we want only 1 channel */
            if (ioctl(audioio->audiofd, SNDCTL_DSP_STEREO, &sndparam) == -1) {
                    logprintf(MLOG_ERROR, "audio: Error, cannot set the channel number\n");
                    close(audioio->audiofd);
                    free(audioio);
                    return NULL;
            }
            if (sndparam != 0) {
                    logprintf(MLOG_ERROR, "audio: Error, cannot set the channel number to 1\n");

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to jnxsxwf@bain.com
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Mon Jun 03 2002 - 06:57:23 EEST