NetBSD Problem Report #49370

From www@NetBSD.org  Thu Nov  6 14:54:27 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 DB968A65FE
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  6 Nov 2014 14:54:27 +0000 (UTC)
Message-Id: <20141106145427.083B9A6674@mollari.NetBSD.org>
Date: Thu,  6 Nov 2014 14:54:27 +0000 (UTC)
From: andrew.cagney@gmail.com
Reply-To: andrew.cagney@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Pop from speaker when booting
X-Send-Pr-Version: www-1.0

>Number:         49370
>Category:       kern
>Synopsis:       Pop from speaker when booting
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 06 14:55:00 +0000 2014
>Last-Modified:  Fri Jan 16 07:45:00 +0000 2015
>Originator:     Andrew Cagney
>Release:        NetBSD 7.0_BETA (GENERIC.201410252300Z)
>Organization:
>Environment:
NetBSD 7.0_BETA (GENERIC.201410252300Z, and every build I've tried since
>Description:
During boot, from memory here:
audio1 at pad0: half duplex, playback, capture
while the speaker is being initialized, the speaker emits an annoying pop.

>How-To-Repeat:
boot system
hear pop
>Fix:

>Audit-Trail:
From: Jared McNeill <jmcneill@invisible.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/49370: Pop from speaker when booting
Date: Thu, 6 Nov 2014 15:47:26 -0400 (AST)

 The pad driver does not interact with any hardware directly. What other 
 audio driver is on your system?

 To confirm, try booting a kernel without the pad driver enabled -- you 
 should still hear the pop.

From: Andrew Cagney <andrew.cagney@gmail.com>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/49370: Pop from speaker when booting
Date: Fri, 7 Nov 2014 06:48:46 +0000

 Ah,

 This tweak:

 $ diff GENERIC POP
 1074,1075c1074,1075
 < hdaudio*    at pci? dev ? function ?    # High Definition Audio
 < hdafg*        at hdaudiobus?
 ---
 > ##hdaudio*    at pci? dev ? function ?    # High Definition Audio
 > ##hdafg*        at hdaudiobus?

 got rid of the pop.

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/49370: Pop from speaker when booting
Date: Fri, 16 Jan 2015 07:41:47 +0000

 On Fri, Nov 07, 2014 at 06:50:01AM +0000, Andrew Cagney wrote:
  >  This tweak:
  >  
  >  $ diff GENERIC POP
  >  1074,1075c1074,1075
  >  < hdaudio*    at pci? dev ? function ?    # High Definition Audio
  >  < hdafg*        at hdaudiobus?
  >  ---
  >  > ##hdaudio*    at pci? dev ? function ?    # High Definition Audio
  >  > ##hdafg*        at hdaudiobus?
  >  
  >  got rid of the pop.

 ...and will also disable your speaker, I'd think.

 Anyway, I assume we should try to figure out why the hdaudio
 initialization pops?

 -- 
 David A. Holland
 dholland@netbsd.org

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.