NetBSD Problem Report #37512

From martin@aprisoft.de  Mon Dec 10 09:44:09 2007
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id E9FF163B8FF
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 10 Dec 2007 09:44:08 +0000 (UTC)
Message-Id: <20071210094406.0FEA6AF580E@emmas.aprisoft.de>
Date: Mon, 10 Dec 2007 10:44:06 +0100 (CET)
From: martin@duskware.de
Reply-To: martin@duskware.de
To: gnats-bugs@NetBSD.org
Subject: CS4231A audio sets strange default mixerctl values
X-Send-Pr-Version: 3.95

>Number:         37512
>Category:       kern
>Synopsis:       CS4231A audio sets strange default mixerctl values
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jmcneill
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 10 09:45:00 +0000 2007
>Closed-Date:    Tue Dec 11 00:11:20 +0000 2007
>Last-Modified:  Tue Dec 11 00:11:20 +0000 2007
>Originator:     Martin Husemann
>Release:        NetBSD 4.99.41
>Organization:
>Environment:
System: NetBSD nelly.aprisoft.de 4.99.41 NetBSD 4.99.41 (NELLY) #74: Sun Dec 9 22:04:30 CET 2007 martin@emmas.aprisoft.de:/nelly/usr/src/sys/arch/sparc64/compile/NELLY sparc64
Architecture: sparc64
Machine: sparc64
>Description:
With a kernel as of last night suddenly this audio device:

audiocs0 at sbus0 slot 13 offset 0xc000000 vector 24 ipl 8: CS4231A
audio0 at audiocs0: full duplex
audiocs0: WARNING: power management not supported
auxio0 at sbus0 slot 15 offset 0x1900000

the default mixerctl values have monitor.master set to 80,0 - which is
barely noticable in my slightly noisy office ;-)

Previously the default was 220,220.

Also note this strange audioctl output:

properties=full_duplex
full_duplex=0
fullduplex=0

(but this has not change recently - just noticed while looking for the
missing sound)

>How-To-Repeat:
Boot an U2 with -current.

>Fix:
n/a

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/37512: CS4231A audio sets strange default mixerctl values
Date: Mon, 10 Dec 2007 14:45:08 +0100

 After a hint from cube, here is some easy way to reproduce it:

 Play some audio; suspend the player; wait 30 seconds; resume

 Looks like a power management issue with the generic audio class.

 Martin

Responsible-Changed-From-To: kern-bug-people->jmcneill
Responsible-Changed-By: jmcneill@netbsd.org
Responsible-Changed-When: Mon, 10 Dec 2007 15:43:53 +0000
Responsible-Changed-Why:
jmcneill-pm fallout


From: Martin Husemann <martin@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/37512 CVS commit: src/sys/dev
Date: Tue, 11 Dec 2007 00:08:14 +0000 (UTC)

 Module Name:	src
 Committed By:	martin
 Date:		Tue Dec 11 00:08:14 UTC 2007

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

 Log Message:
 When collecting mixer values while suspending, initialize the number
 of channels from the mixer device info. Fixes PR kern/37512.
 OK: jmcneill


 To generate a diff of this commit:
 cvs rdiff -r1.227 -r1.228 src/sys/dev/audio.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: martin@netbsd.org
State-Changed-When: Tue, 11 Dec 2007 00:11:20 +0000
State-Changed-Why:
Fixed


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.