NetBSD Problem Report #49057

From www@NetBSD.org  Thu Jul 31 23:19:39 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 3A46EA8734
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 31 Jul 2014 23:19:39 +0000 (UTC)
Message-Id: <20140731231937.7A170A8824@mollari.NetBSD.org>
Date: Thu, 31 Jul 2014 23:19:37 +0000 (UTC)
From: yunixx@gmail.com
Reply-To: yunixx@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Raspberry Pi Audio volume control does not work
X-Send-Pr-Version: www-1.0

>Number:         49057
>Category:       port-arm
>Synopsis:       Raspberry Pi Audio volume control does not work
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    jmcneill
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 31 23:20:00 +0000 2014
>Closed-Date:    Tue Apr 07 09:32:51 +0000 2015
>Last-Modified:  Tue Apr 07 09:32:51 +0000 2015
>Originator:     Yunis Mustafa
>Release:        evbarm-earmhf/201406251830Z
>Organization:
>Environment:
NetBSD rpi 6.99.44 NetBSD 6.99.44 (RPI.201406251830Z) #0: Wed Jun 25 20:10:53 UTC 2014  builds@b42.netbsd.org:/home/builds/ab/HEAD/evbarm-earmhf/201406251830Z-obj/home/builds/ab/HEAD/src/sys/arch/evbarm/compile/RPI evbarm
>Description:
Raspberry Pi NetBSD Audio volume control does not work. 

Used:

1. audioctl -w play.gain 
and 
2. mixerctl -w outputs.master 

to change the volume. Looks like the setting was accepted as audioctl and mixerctl both show the new value for them. But the volume does not have any change.

I tried this with my audio application via ioctl and it shows the same symptom.
>How-To-Repeat:
1. audioctl -w play.gain=2
2. audioctl -a and check the play.gain value is set to 2
3. play some audio clip . For ex. audioplay /usr/pkg/share/mikutter/core/skin/data/sounds/mikutter-se.wav
4. Listen to the audio volume

5. audioctl -w play.gain=222
6. audioctl -a and check the play.gain value is set to 222
7. play some audio clip . For ex. audioplay /usr/pkg/share/mikutter/core/skin/data/sounds/mikutter-se.wav
4. Again Listen to the audio volume and notice no change in volume.
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: port-arm-maintainer->jmcneill
Responsible-Changed-By: jmcneill@NetBSD.org
Responsible-Changed-When: Fri, 13 Mar 2015 22:44:36 +0000
Responsible-Changed-Why:


State-Changed-From-To: open->feedback
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Fri, 13 Mar 2015 22:55:48 +0000
State-Changed-Why:
Should be fixed by the following commit:
  http://mail-index.netbsd.org/source-changes/2015/03/13/msg063964.html
Can you try?


State-Changed-From-To: feedback->closed
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Tue, 07 Apr 2015 09:32:51 +0000
State-Changed-Why:
Fixed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.