snd_solo broken after big MFC to RELENG_6
Nikolas Britton
nikolas.britton at gmail.com
Tue Jan 3 15:16:28 PST 2006
On 1/3/06, Nikolas Britton <nikolas.britton at gmail.com> wrote:
> On 1/3/06, Simon Barner <barner at freebsd.org> wrote:
> > > How about enabling vchans? Try to enable that first and see whether
> > > that should help. If not, try this patch:
> > >
> > > http://people.freebsd.org/~ariff/test/solo.c.diff
> >
> > Hello Ariff,
> >
> > thanks for the quick reply :-) Unfortuantely, neither enabling vchans nor
> > your patch helped me.
> >
> > I did the following to enable vchans:
> >
> > # kldunload snd_solo.ko
> > # sysctl hw.snd.maxautovchans=2
> > # kldload snd_solo.ko
> >
> > pcm0: <ESS Solo-1 (unknown vendor)> port 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb80f,0xbc00-0xbc03,0xc000-0xc003 irq 10 at device 20.0 on pci0
> > pcm0: [GIANT-LOCKED]
> > pcm0: vchan_create(pcm0:play:0) == -1
> >
> > The same happens for other values (I tried 1 and 5), and when I reboot the
> > system and load the module and set the sysctl from loader.conf
> >
> > Your patch didn't make any difference (same error with vchans). I also tried
> > removing other output formats, leaving me with either of AFMT_S16_LE
> > AFMT_STEREO | AFMT_S16_LE (I also tried various other combinations) gave me
> > the same error about vchan_create.
> >
>
> Don't you need to set vchans *before* the system is running? such as
> in /boot/loader.conf:
>
> ## Sound Support
> #sound_load="YES"
> #snd_emu10k1_load="YES"
> #snd_driver_load="YES"
> hw.snd.maxautovchans=4
> hw.snd.targetirqrate=36
> hint.pcm.0.buffersize="16384"
>
> ## Misc. Sound
> #hw.snd.report_soft_formats: 1
> #hw.snd.verbose: 1
> #hw.snd.unit: 0
> #hw.snd.maxautovchans: 4
> #hw.snd.pcm0.buffersize=8192
> #hw.snd.pcm0.vchans: 0
>
Sorry I guess I should have read a bit more of your post because you
did try that... Have you try'd not using the autovchans... I think the
other one is hw.snd.pcm0.vchans=foo
More information about the freebsd-multimedia
mailing list