Subject: kern/15956: cs4231 audio lacks proper "outputs" audioctl support
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 03/18/2002 11:08:33
>Number:         15956
>Category:       kern
>Synopsis:       cs4231 audio lacks proper "outputs" audioctl support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 18 02:09:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Martin Husemann
>Release:        NetBSD 1.5ZC
>Organization:
>Environment:
System: NetBSD night-porter.duskware.de 1.5ZC NetBSD 1.5ZC (PORTER) #0: Sun Mar 17 23:59:53 MET 2002 martin@night-porter.duskware.de:/usr/src/sys/arch/i386/compile/PORTER i386
Architecture: i386
Machine: i386
>Description:
In sys/dev/ic/cs4231.c, starting at line 182, there is a #if 0'd section
of code to shut up the internal speaker on Ultra5 or JavaStation/Krups
machines. This code works on those machines.

There should be a way to do this with mixerctl, but there isn't:

# mixerctl -a
inputs.dac=220,220
inputs.dac.mute=off
inputs.line=220,220
inputs.line.mute=off
inputs.mic=0
inputs.mic.mute=on
inputs.cd=220,220
inputs.cd.mute=off
monitor.monitor=0
monitor.monitor.mute=on
monitor.output=220,220
record.record=220,220
record.record.source=mic

None of this settings seems to affect the internale (mono) speaker.

>How-To-Repeat:
Try to use /dev/audio on a Ultra 5, run away in horror when the bad & loud
mono speaker blasts noise at you.

>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted: