On Wed, Aug 26, 2009 at 04:59:16PM +0000, Jacob Meuser wrote:
> On Wed, Aug 26, 2009 at 09:38:17AM -0500, Peter Miller wrote:
> > I can't seem to get any sound out of my laptop. I did a fresh
> > install of a 4.6 snapshot and only added mpg321 to test it 
> > out. I have acpi disabled because my system won't boot 
> > otherwise.
> > 
> > $ cat /dev/audio < /dev/zero &
> 
> it should be `cat > /dev/audio < /dev/zero &'
> 
> anyway, not important.

oh, I see.  the missing '>' must have been a typo.

strange.  it seems like interrupts/dma aren't working for the audio
device, at all.

can you apply the following diff, do `cat > /dev/audio < /dev/zero',
and send me the messages?  thanks.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: audio.c
===================================================================
RCS file: /cvs/src/sys/dev/audio.c,v
retrieving revision 1.104
diff -u -p audio.c
--- audio.c     18 Jun 2009 22:55:56 -0000      1.104
+++ audio.c     26 Aug 2009 19:43:36 -0000
@@ -89,10 +89,11 @@
 
 #include "wskbd.h"     /* NWSKBD (mixer tuning using keyboard) */
 
+#define AUDIO_DEBUG
 #ifdef AUDIO_DEBUG
 #define DPRINTF(x)     if (audiodebug) printf x
 #define DPRINTFN(n,x)  if (audiodebug>(n)) printf x
-int    audiodebug = 0;
+int    audiodebug = 2;
 #else
 #define DPRINTF(x)
 #define DPRINTFN(n,x)
Index: pci/azalia.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/azalia.c,v
retrieving revision 1.143
diff -u -p pci/azalia.c
--- pci/azalia.c        13 Aug 2009 23:59:15 -0000      1.143
+++ pci/azalia.c        26 Aug 2009 19:43:37 -0000
@@ -78,7 +78,7 @@ struct audio_format {
 
 #ifdef AZALIA_DEBUG
 # define DPRINTFN(n,x) do { if (az_debug > (n)) printf x; } while 
(0/*CONSTCOND*/)
-int az_debug = 0;
+int az_debug = 2;
 #else
 # define DPRINTFN(n,x) do {} while (0/*CONSTCOND*/)
 #endif
Index: pci/azalia.h
===================================================================
RCS file: /cvs/src/sys/dev/pci/azalia.h,v
retrieving revision 1.52
diff -u -p pci/azalia.h
--- pci/azalia.h        9 Jun 2009 05:16:42 -0000       1.52
+++ pci/azalia.h        26 Aug 2009 19:43:37 -0000
@@ -534,7 +534,7 @@ typedef struct {
 } __packed rirb_entry_t;
 
 
-/* #define AZALIA_DEBUG */
+#define AZALIA_DEBUG
 #ifdef AZALIA_DEBUG
 # define DPRINTF(x)    do { printf x; } while (0/*CONSTCOND*/)
 #else

Reply via email to