On Fri, Oct 23, 2009 at 06:33:47PM +0200, pet...@schwertfisch.de wrote:
> Alexandre Ratchov <a...@caoua.org> wrote:
> 
> > > > On Fri, Oct 23, 2009 at 11:12:34AM +0200, pet...@schwertfisch.de wrote:
> > > > > After a fresh install of OpenBSD 4.6 my sound card stopped working,
> > > > > i.e., I can hear nothing when playing audio. It worked just fine in 
> > > > > 4.5.
> > > > > The card is an M-Audio Audiophile 2496 using envy(4).
> > > > > I run "aucat -l" before playing audio.
> > > > > 
> > > >
> > > > i guess this is because codecs aren't initialized.
> > > > could you try the diff below?
> > > >
> > > > It should show in dmesg as ``M-Audio Audiophile 2496'', and
> > > > should work as in 4.5 except that there will be the right
> > > > number of ``inputs'' and ``outputs'' mixer controls.
> > > >
> > > > i'm interested in the output of dmesg, audioctl and mixerctl
> > > > with the diff applied, even if it works :)
> > > 
> > > Thank you very much for your fast reply, Alexandre.
> > > Just to make sure the patch went alright, here is what I did:
> > > Extracted the sources from CD 3,
> > > cd /usr/src/sys/dev/pci
> > > patch -p0 < your_patch
> > > Compiled & installed a new GENERIC kernel and rebooted
> > > 
> > > Great: Sound is back, clear and full. But there are some new
> > > messages on the console:
> > > 
> > > When running "mixerctl", I get
> > > envy0: outsrc=0
> > > envy0: outsrc=0
> > > 
> > > When starting "aucat -l", I get
> > > envy0: no params to set
> > > envy0: no params to set
> > > envy0: no params to set
> > > 
> > > Also, when playing audio stops:
> > > envy0: no params to set
> > > envy0: no params to set
> > > 
> >
> > These messages are ``normal''; the diff enabled certain
> > debug printf()s just in case there's a problem to debug.
> > They don't hurt but are useless. You can edit
> >
> >     /usr/src/sys/dev/pci/envy.c
> >
> > and remove the line with ``#define ENVY_DEBUG'', recompile
> > and reinstall the kernel, and they will go away.
> 
> Ah, I see... I did not actually look at envy.c after applying
> the patch. I have reinstalled the kernel, and now audio is
> back to normal.
> Thanks again, without your help OpenBSD 4.6 sessions would have
> been very quiet. By the way, are there any plans to add support
> for S/PDIF and MIDI in this driver?
> 

I plan to add support for midi as soon as I find some free
time, I use midi very often.

s/pdif is not a priority for me for now.

-- Alexandre

Reply via email to