NetBSD Problem Report #2014
From gnats Thu Feb 1 16:28:55 1996
Received: from animal.cs.chalmers.se by pain.lcs.mit.edu (8.6.12/8.6.12) with ESMTP id QAA13894 for <gnats-bugs@gnats.netbsd.org>; Thu, 1 Feb 1996 16:08:33 -0500
Message-Id: <199602012108.WAA08955@animal.cs.chalmers.se>
Date: Thu, 1 Feb 1996 22:08:26 +0100 (MET)
From: Lennart Augustsson <augustss@cs.chalmers.se>
Reply-To: augustss@cs.chalmers.se
To: gnats-bugs@gnats.netbsd.org
Subject: Cannot set playback gain in WSS audio driver.
X-Send-Pr-Version: 3.95
>Number: 2014
>Category: kern
>Synopsis: Cannot set playback gain in WSS audio driver.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 01 16:35:16 +0000 1996
>Closed-Date: Wed Dec 04 22:49:21 +0000 1996
>Last-Modified: Thu Dec 05 06:49:35 +0000 1996
>Originator: Lennart Augustsson
>Release: NetBSD 1.1 current, 1996 Jan 31
>Organization:
CS at Chalmers University of Technology
>Environment:
System: NetBSD calvin.cs.chalmers.se 1.1A NetBSD 1.1A (CALVIN) #33: Thu Feb 1 21:59:20 MET 1996 augustss@calvin.cs.chalmers.se:/usr/src/sys/arch/i386/compile/CALVIN i386
>Description:
The playback gain cannot be set by the ioctl AUDIO_SET_INFO.
It uses the get_out_port low level routine which is only
returning an error for the wss driver.
>How-To-Repeat:
Try it.
>Fix:
Let wss_get_out_port return the proper value.
*** dev/isa/wss.c.old Thu Feb 1 21:00:53 1996
--- dev/isa/wss.c Thu Feb 1 21:59:13 1996
***************
*** 397,404 ****
wss_get_out_port(addr)
void *addr;
{
! DPRINTF(("wss_get_out_port:\n"));
! return(EINVAL);
}
int
--- 397,404 ----
wss_get_out_port(addr)
void *addr;
{
! DPRINTF(("wss_get_out_port: %d\n", WSS_DAC_LVL));
! return(WSS_DAC_LVL);
}
int
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mikel
State-Changed-When: Wed Dec 4 22:49:21 1996
State-Changed-Why:
Fixed, thanks.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.