Re: No sound in 4.6 with M-Audio Audiophile 2496 (envy(4))

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexandre Ratchov
Date: Friday, October 23, 2009 - 3:23 am

On Fri, Oct 23, 2009 at 11:12:34AM +0200, peters@schwertfisch.de wrote:

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 :)

-- Alexandre

Index: envy.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/envy.c,v
retrieving revision 1.29
diff -u -p -r1.29 envy.c
--- envy.c	11 Oct 2009 12:59:29 -0000	1.29
+++ envy.c	23 Oct 2009 10:19:21 -0000
@@ -39,10 +39,12 @@
 #include <dev/audio_if.h>
 #include <machine/bus.h>
 
+#define ENVY_DEBUG
+
 #ifdef ENVY_DEBUG
 #define DPRINTF(...) do { if (envydebug) printf(__VA_ARGS__); } while(0)
 #define DPRINTFN(n, ...) do { if (envydebug > (n)) printf(__VA_ARGS__); } while(0)
-int envydebug = 1;
+int envydebug = 2;
 #else
 #define DPRINTF(...) do {} while(0)
 #define DPRINTFN(n, ...) do {} while(0)
@@ -230,6 +232,13 @@ struct envy_card envy_cards[] = {
 		PCI_ID_CODE(0x1412, 0xd63b),
 		"M-Audio Delta 1010LT",
 		8, &ak4524_adc, 8, &ak4524_dac,
+		delta_init,
+		delta_codec_write,
+		NULL
+	}, {
+		PCI_ID_CODE(0x1412, 0xd634),
+		"M-Audio Audiophile 2496",
+		2, &ak4524_adc, 2, &ak4524_dac,
 		delta_init,
 		delta_codec_write,
 		NULL
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: No sound in 4.6 with M-Audio Audiophile 2496 (envy(4)), Alexandre Ratchov, (Fri Oct 23, 3:23 am)
Re: No sound in 4.6 with M-Audio Audiophile 2496 (envy(4)), Alexandre Ratchov, (Fri Oct 23, 6:51 am)
Re: No sound in 4.6 with M-Audio Audiophile 2496 (envy(4)), Alexandre Ratchov, (Fri Oct 23, 10:05 am)
Re: No sound in 4.6 with M-Audio Audiophile 2496 (envy(4)), Alexandre Ratchov, (Sat Oct 24, 5:25 am)
Re: No sound in 4.6 with M-Audio Audiophile 2496 (envy(4)), Tomáš Bodžár, (Sat Oct 24, 5:42 am)
Re: No sound in 4.6 with M-Audio Audiophile 2496 (envy(4)), Alexandre Ratchov, (Sat Oct 24, 6:19 am)