Skip to contentSkip to conversation

soundmodem + i810_audio?

DISCUSSION Nick Papadonis 2 participants 2 messages Jun 3, 2002

lore
Share & tools
lore
#0 lore raw

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");
#1 lore raw
Quoted 3 lines · Nick Papadonis

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

Which driver are you using? OSS or ALSA? Try the ALSA drivers, you can get them at http://www.alsa-project.org/.
I never tested soundmodem on a i810, but i own a portable computer with that chip and i had many problems and limited funcionality with the OSS kernel drivers.

			73,
					Nuno Sucena

--