NetBSD Problem Report #47236

From www@NetBSD.org  Thu Nov 22 17:20:24 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 3903063E573
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 22 Nov 2012 17:20:24 +0000 (UTC)
Message-Id: <20121122172023.74A2F63E573@www.NetBSD.org>
Date: Thu, 22 Nov 2012 17:20:23 +0000 (UTC)
From: graham.willmott@blueyonder.co.uk
Reply-To: graham.willmott@blueyonder.co.uk
To: gnats-bugs@NetBSD.org
Subject: hdaudio/mixer initialization badly wrong on Thinkpad X61s
X-Send-Pr-Version: www-1.0

>Number:         47236
>Category:       kern
>Synopsis:       hdaudio/mixer initialization badly wrong on Thinkpad X61s
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 22 17:25:00 +0000 2012
>Last-Modified:  Sun Oct 04 20:45:01 +0000 2015
>Originator:     Graham Willmott
>Release:        6.0 Release
>Organization:
>Environment:
NetBSD  6.0 NetBSD 6.0 (GENERIC) i386
>Description:
Tried installing NetBSD 6.0 on a Lenovo Thinkpad X61s. Fairly shortly into the kernel startup, the machine started to emit a continuous and unbearably loud squealing noise. This sounds very much like badly dying fan, and even changes pitch and loudness when you tilt the computer, like a dying fan. But it's not a hardware problem.

I found that plugging something into the headphone socket makes the squeal go away. It seems that the default mixer configuration is routing the internal mic straight out to the nearby internal speaker, resulting in a very loud screech of audio feedback.

The machine is essentially unusable unless you realize that this is what's going on.

>How-To-Repeat:
Just boot the generic kernel.

>Fix:
WORKAROUND:

1) plug headphones in during installation
2) when installed and booted, issue "mixerctl -w inputs.record2.mute=on"; this will shut it up
3) only ever reboot when you have headphones available to plug in :)


A proper fix would require all audio inputs to be either muted or correctly routed when the drivers load.

>Audit-Trail:
From: Ottavio Caruso <ottavio2006-netbsd@yahoo.com>
To: gnats-bugs@netbsd.org
Cc: martin@duskware.de
Subject: Re: kern/47236
Date: Sun, 4 Oct 2015 20:41:44 +0000

 I have a Lenovo Thinkpad X61 and I can confirm I have the same
 problem, as highlighted in these two threads on netbsd-users:

 http://mail-index.netbsd.org/netbsd-users/2015/09/28/msg016952.html

 and:

 http://mail-index.netbsd.org/netbsd-users/2015/09/28/msg016956.html

 The relevant line in dmesg appears to be:

 hdafg0: ADC01 2ch: Mic In [Jack] [Built-In]

 -- 
 Ottavio

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.