On Sat, Apr 23, 2011 at 03:20:32PM +0200, David Steiner wrote:
> 
> i'm trying to get sound working now. i like high definition sound. sofar
> been using a M-Audio Revolution 7.1 under linux for SPDIF output.
> under OpenBSD the sound however is horribly distorted (with analog
> out, SPDIF isn't supported according to envy(4)). 
> i'm assuming it's a driver issue and am wondering if this card is even
> supported. below is the relevant dmesg, pcidump etc output. 
> 

Support for s/pdif in envy is not planned, but the revo 7.1 should not
be too hard to make work (it's almost the same as the revo 5.1 which
is supported), could you try the diff below?

> i've tried playing WAV and FLAC files, but it sounds
> really distorted, almost speaker damaging. i tried aucat, VLC,
> mplayer and MPD with "aucat -r 44100 -l" running in the background.
> 

the sound is distorted because the hardware is not properly
initilized. If the card is not known by the driver default settings
are used, and they seem to not be good enough for revo cards.

> in case the card isn't supported, which soundcard (PCI, USB or
> Firewire) can be recommended for "Bitperfect" SPDIF output? the
> cmpci(4) is found a cheap soundcards and looks like the ideal solution,
> but is it "Bitperfect?" [1]. don't want to spend a fortune to get this
> working. 
> 

well, the revo 7.1 should work. Most pci c-media cards also work but I
bet they don't sound as good as the revo. I've never heared a revo
card, but they have nice DACs and if DACs are properly wired (i
believe they are), the sound should be very good.

If you plan to use s/pdif only, then you probably don't care about
quality of analog parts, and you could get a cheap c-media based card
and use it as a simple s/pdif transmitter.

Firewire is not supported and probably will not be supported soon.

-- Alexandre

Index: envy.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/envy.c,v
retrieving revision 1.50
diff -u -p -r1.50 envy.c
--- envy.c      27 Apr 2011 07:01:33 -0000      1.50
+++ envy.c      27 Apr 2011 07:07:54 -0000
@@ -333,6 +333,12 @@ struct envy_card envy_cards[] = {
                revo51_init,
                revo51_codec_write
        }, {
+               PCI_ID_CODE(0x1412, 0x3630),
+               "M-Audio Revolution 7.1",
+               2, &ak5365_adc, 8, &ak4358_dac,
+               revo51_init,
+               revo51_codec_write
+       }, {
                PCI_ID_CODE(0x1412, 0x2403),
                "VIA Tremor 5.1",
                2, &unkenvy_codec, 6, &unkenvy_codec,

Reply via email to