Subject: kern/10776: Failure changing play.gain on SoundBlaster
To: None <gnats-bugs@gnats.netbsd.org>
From: Krister Walfridsson <cato@ulysses.df.lth.se>
List: netbsd-bugs
Date: 08/07/2000 12:56:14
>Number:         10776
>Category:       kern
>Synopsis:       Failure changing play.gain on SoundBlaster
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 07 12:57:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Krister Walfridsson
>Release:        NetBSD-1.5_ALPHA
>Organization:
	
>Environment:
System: NetBSD i386current 1.5_ALPHA NetBSD 1.5_ALPHA (I386CURRENT) #0: Thu Aug 
3 20:54:15 CEST 2000 cato@i386current:/usr/local/tmp/nbsd000803.i386/src/sys/arc
h/i386/compile/I386CURRENT i386

>Description:
I cannot set play.gain on my soundblaster

   sb1 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,3
   sb1: Creative ViBRA16X PnP Audio: dsp v4.16

since the change

   Module Name:    syssrc
   Committed By:   augustss
   Date:           Mon May  1 17:10:41 UTC 2000

   Modified Files:
           syssrc/sys/dev: audio.c

   Log Message:
   Add some more debug output.

   To generate a diff of this commit:
   cvs rdiff -r1.123 -r1.124 syssrc/sys/dev/audio.c

What is happening is that input/output masters still is -1 after
the probing, and thus ignored in au_set_gain().


	
>How-To-Repeat:
audioctl -w play.gain=200
and note that it always responds with 'play.gain: -> 127'
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: