[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bayonne-devel] cannot open /dev/dsp
From: |
David Sugar |
Subject: |
Re: [Bayonne-devel] cannot open /dev/dsp |
Date: |
Thu, 19 Jun 2003 07:39:42 -0400 |
User-agent: |
KMail/1.5 |
The soundcard test driver users /dev/dsp. If your soundcard driver has no
/dev/dsp, or it cannot open it for write (permission issues for example) then
you will hear nothing :).
Also, Bayonne does not do rate resampling, and hence it will NOT sound correct
on broken soundcards that only operate at 44khz.
On Thursday 19 June 2003 12:49 pm, root wrote:
> Hello,
>
> i am a newbie in Bayonne. Running Bayonne 1.2.6 with a soundcard (AC'97), i
> can hear no noise.
> I got :
> address@hidden root]# bayonne --soundcard playrec
> tgi: initialized; uid=502 pid=1887
> cdr: unknown keyword; tams(16)
> import: unknown keyword; tams(19)
> export: unknown keyword; tams(23)
> export: unknown keyword; tams(28)
> dummy(0): cannot open /dev/dsp
> driver started 1 port(s)
> normal startup; runtime configuration
> dummy: start thread
> scheduler: using /etc/bayonne.sched
> *** press 1 to play or 2 to record...
> *** enter the three digit prompt you wish to play...
>
> No noise !
> I think it is because of : dummy(0): cannot open /dev/dsp
>
> Do you know where the problem comes from ? Any solution already encountered
> , ?
>
> Before getting to that point i wrote in DummyTrunk::DummyTrunk :
> dev = ::open(devname, O_RDWR | O_NONBLOCK);
> instead of :
> dev = ::open(devname, O_RDWR);
> ,otherwise the system was blocked.
>
> When i use "dev = ::open(devname, O_RDWR);" i can unblock the system
> killing artsd but after i get the message :
> "/usr/local/share/bayonne/UsEngF/sys/playrec/menu.au: cannot open"
>
> Could anyone help to understand?
>
> Nico
>
>
>
>
> _______________________________________________
> Bayonne-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bayonne-devel