NetBSD Problem Report #52540
From www@NetBSD.org Tue Sep 12 14:16:56 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id E73867A176
for <gnats-bugs@gnats.NetBSD.org>; Tue, 12 Sep 2017 14:16:56 +0000 (UTC)
Message-Id: <20170912141655.E05967A294@mollari.NetBSD.org>
Date: Tue, 12 Sep 2017 14:16:55 +0000 (UTC)
From: isaki@pastel-flower.jp
Reply-To: isaki@pastel-flower.jp
To: gnats-bugs@NetBSD.org
Subject: auich: The volume is maximum? on initial audio playback
X-Send-Pr-Version: www-1.0
>Number: 52540
>Category: kern
>Synopsis: auich: The volume is maximum? on initial audio playback
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 12 14:20:00 +0000 2017
>Last-Modified: Wed May 08 21:52:41 +0000 2019
>Originator: Tetsuya Isaki
>Release: NetBSD 8.0_BETA i386
>Organization:
none
>Environment:
NetBSD 8.0_BETA i386
>Description:
On initial audio playback after reboot, the volume sounds like
maximum(?) even if mixerctl shows outputs.master=127,127.
This is the related part of dmesg. It's VirtualBox 5.1 on Windows.
auich0 at pci0 dev 5 function 0: i82801AA (ICH) AC-97 Audio
auich0: interrupting at irq 11
auich0: ac97: SigmaTel STAC9700 codec; no 3D stereo
auich0: ac97: ext id 0x809<AC97_23,VRM,VRA>
auich0: measured ac97 link rate at 46381 Hz, will use 48000 Hz
audio0 at auich0: full duplex, playback, capture, mmap, independent
auich0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
It also happens on -current (8.99.2).
I don't have any other audio environment to be able to confirm this
problem. Therefore I don't know whether the cause is audio(4) or
auich(4).
>How-To-Repeat:
1. reboot and login
2. mixerctl parameters have never been changed since reboot.
And the initial master volume shows 127.
% ls /etc/mixerctl.conf
ls: /etc/mixerctl.conf: No such file or directory
% mixerctl outputs.master
outputs.master=127,127
3. On initial audio playback, the volume sounds like maximum.
% audioplay music.wav
4. But next playback, the volume is small (like 127).
% audioplay music.wav
5. Of course, when I specify outputs.master explicitly, the volume
changes correctly (maybe).
5a.
% mixerctl -w outputs.master=255
% audioplay music.wav
5b.
% mixerctl -w outputs.master=127
% audioplay music.wav
The volume of step 3 sounds the same as step 5a,
the volume of step 4 sounds the same as step 5b.
>Fix:
N/A
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->nat
Responsible-Changed-By: nat@NetBSD.org
Responsible-Changed-When: Sun, 20 May 2018 11:17:52 +0000
Responsible-Changed-Why:
I'll handle this.
Responsible-Changed-From-To: nat->kern-bug-people
Responsible-Changed-By: nat@NetBSD.org
Responsible-Changed-When: Wed, 08 May 2019 21:52:41 +0000
Responsible-Changed-Why:
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.