Subject: Re: can't switch off internal speaker of ultra1
To: Gerald Exner <ege@my-lan.de>
From: Martin Husemann <martin@duskware.de>
List: port-sparc64
Date: 06/05/2002 19:54:18
> the options -ol -oh at mpg123 will not work.
> should i disconnect the speaker ?

Heh, that's probably not necessary. The usual answer is to play with
mixerctl(1).

> System: ultra1 with diskless netbsd 1.5.2

I don't know what audio chipset the U1 uses, but on my U5 the audio subsystem
misses the necessary hook for mixerctl, so I patched my kernel source (and
will try to fix it, now that I got advice from an audio guru where to look)

Martin

Index: cs4231.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/ic/cs4231.c,v
retrieving revision 1.7
diff -u -r1.7 cs4231.c
--- cs4231.c    2002/03/12 04:48:28     1.7
+++ cs4231.c    2002/06/05 17:52:16
@@ -179,7 +179,7 @@
        sc->sc_ad1848.mode = 2; /* put ad1848 driver in `MODE 2' mode */
        ad1848_attach(&sc->sc_ad1848);
 
-#if 0
+#if 1
        /*
         * Before we give audiocs proper "outputs" handling, always mute
         * internal speaker so that I can test this w/out waking up my family.