* VIA sound and SNDCTL_DSP_NONBLOCK error.....
@ 2001-12-18 7:19 Jeff
2001-12-18 17:36 ` Jeff Garzik
0 siblings, 1 reply; 3+ messages in thread
From: Jeff @ 2001-12-18 7:19 UTC (permalink / raw)
To: kernel
I am a ham radio operator who wishes to use the sound card for digital
comunications. However, my system has the VIA 82c686/ac97 sound. While I
can ofcourse make the sound work, playing/recording,etc, I cannot use it
with ham software.
Take twpsk31 for example, it compiles, but when trying to run it stops
on:
SNDCTL_DSP_NONBLOCK: illegal parameter.
On a system with a Sound Blaster Pro it runs fine, same Linux kernel,
etc.
I am no kernel expert. I have tried searching the web, found plenty of
hits saying the same problem, but no answer. I posted this to news
groups, no answer. I sent an email to what's his name at SUSE, the
maintainer, no answer.
So, the questions
Why is the SNDCTL_DSP_NONBLOCK parameter not suppported in the driver?
Is it not supported do to hardware restrictions?
Is there a good web based source for information on the structure of the
sound drivers?
I really do not want to have to run Windows to operate digital modes.
Yes, they work fine using the via sound as a radio modem. Nor do I want
to have to buy another sound card just to do it.
Could this be the reason that more people don't use Linux. Having things
work on one system, but fail on another because of driver differences.
ie, working with a sound blaster, but not the via?
Jeff
piercejhsd009@earthlink.net
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: VIA sound and SNDCTL_DSP_NONBLOCK error.....
2001-12-18 7:19 VIA sound and SNDCTL_DSP_NONBLOCK error Jeff
@ 2001-12-18 17:36 ` Jeff Garzik
2001-12-19 10:29 ` Jeff
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Garzik @ 2001-12-18 17:36 UTC (permalink / raw)
To: Jeff; +Cc: kernel
Jeff wrote:
>
> I am a ham radio operator who wishes to use the sound card for digital
> comunications. However, my system has the VIA 82c686/ac97 sound. While I
> can ofcourse make the sound work, playing/recording,etc, I cannot use it
> with ham software.
> Take twpsk31 for example, it compiles, but when trying to run it stops
> on:
> SNDCTL_DSP_NONBLOCK: illegal parameter.
update the software to use normal fcntl(2)
--
Jeff Garzik | Only so many songs can be sung
Building 1024 | with two lips, two lungs, and one tongue.
MandrakeSoft | - nomeansno
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: VIA sound and SNDCTL_DSP_NONBLOCK error.....
2001-12-18 17:36 ` Jeff Garzik
@ 2001-12-19 10:29 ` Jeff
0 siblings, 0 replies; 3+ messages in thread
From: Jeff @ 2001-12-19 10:29 UTC (permalink / raw)
To: Jeff Garzik; +Cc: kernel
Actually, upgrading from 1.4.x version supplied with Slackware 8.0 to
the latest version 1.9.1 solved the SNDCTL_DSP_NONBLOCK problem.
The new problem is now
val = 0; // no input sigs get to output
if (ioctl(mixer_fd, MIXER_WRITE(SOUND_MIXER_OUTSRC), &val) < 0)
{
fprintf (stderr, "mixer outsrc failed\n");
Failing, all the other of the many ioctl calls work ok.
p.s sorry about saying suse, weak memory :-).
Jeff Garzik wrote:
>
> Jeff wrote:
> >
> > I am a ham radio operator who wishes to use the sound card for digital
> > comunications. However, my system has the VIA 82c686/ac97 sound. While I
> > can ofcourse make the sound work, playing/recording,etc, I cannot use it
> > with ham software.
> > Take twpsk31 for example, it compiles, but when trying to run it stops
> > on:
> > SNDCTL_DSP_NONBLOCK: illegal parameter.
>
> update the software to use normal fcntl(2)
>
> --
> Jeff Garzik | Only so many songs can be sung
> Building 1024 | with two lips, two lungs, and one tongue.
> MandrakeSoft | - nomeansno
jeff
piercejhsd009@earthlink.net
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-19 20:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-18 7:19 VIA sound and SNDCTL_DSP_NONBLOCK error Jeff
2001-12-18 17:36 ` Jeff Garzik
2001-12-19 10:29 ` Jeff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox