public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Full-duplex not working with i810_audio
@ 2002-01-18 15:57 Jean-Marc Valin
  2002-01-18 18:26 ` Doug Ledford
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Marc Valin @ 2002-01-18 15:57 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Full-duplex not working with i810_audio
  2002-01-18 15:57 Full-duplex not working with i810_audio Jean-Marc Valin
@ 2002-01-18 18:26 ` Doug Ledford
  0 siblings, 0 replies; 2+ messages in thread
From: Doug Ledford @ 2002-01-18 18:26 UTC (permalink / raw)
  To: Jean-Marc Valin; +Cc: linux-kernel

Jean-Marc Valin wrote:

> 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.


> 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)


> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
> 



-- 

  Doug Ledford <dledford@redhat.com>  http://people.redhat.com/dledford
       Please check my web site for aic7xxx updates/answers before
                       e-mailing me about problems


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-18 18:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-18 15:57 Full-duplex not working with i810_audio Jean-Marc Valin
2002-01-18 18:26 ` Doug Ledford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox