Skip to contentSkip to conversation

Full-duplex not working with i810_audio

DISCUSSION Jean-Marc Valin 2 participants 2 messages Jan 18, 2002

lore
Share & tools
lore
#0 lore raw

I can't get full-duplex audio to work on my laptop with 2.4.17 (using the i810_audio sound driver). I know my card (ADI 188x WDM) supports it because it works fine with the commercial OSS.

In the sample code:
fd = open("/dev/dsp", O_RDWR);
ioctl(fd, SNDCTL_DSP_SETDUPLEX, 0)
I get:
SNDCTL_DSP_SETDUPLEX: Invalid argument

Also, when using the "rec" (based on sox) utility, my kernel crashes completely (no panic, no oops, nothing else happens).

My setup is:
Compaq Presario 1720CA
PIII mobile 1 GHz / 256 MB RAM
ATI Mobility Radeon M6 / 8 MB
ADI 188x WDM sound chip (on-board)
RedHat 7.2/2.4.17

Can anyone help me?

Jean-Marc

P.S. Please CC to me, as I am not subscribed to the list

#1 lore raw
Quoted 9 lines · Jean-Marc Valin

I can't get full-duplex audio to work on my laptop with 2.4.17 (using the i810_audio sound driver). I know my card (ADI 188x WDM) supports it because it works fine with the commercial OSS.

In the sample code:
fd = open("/dev/dsp", O_RDWR);
ioctl(fd, SNDCTL_DSP_SETDUPLEX, 0)
I get:
SNDCTL_DSP_SETDUPLEX: Invalid argument

That ioctl is not supported in the base i810 sound driver.

Quoted 2 lines

Also, when using the "rec" (based on sox) utility, my kernel crashes completely (no panic, no oops, nothing else happens).

Download the updated i810_audio.c file from my web site and let me know if basic recording still crashes for you (http://people.redhat.com/dledford/i810_audio.c.gz)

Quoted 20 lines

My setup is:
Compaq Presario 1720CA
PIII mobile 1 GHz / 256 MB RAM
ATI Mobility Radeon M6 / 8 MB
ADI 188x WDM sound chip (on-board)
RedHat 7.2/2.4.17

Can anyone help me?

Jean-Marc

P.S. Please CC to me, as I am not subscribed to the list

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 3 lines
 Doug Ledford <[email protected]>  http://people.redhat.com/dledford
      Please check my web site for aic7xxx updates/answers before
                      e-mailing me about problems