NetBSD Problem Report #42356
From www@NetBSD.org Sat Nov 21 15:39:40 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 02ED863C493
for <gnats-bugs@gnats.netbsd.org>; Sat, 21 Nov 2009 15:39:39 +0000 (UTC)
Message-Id: <20091121153939.BD05163B844@www.NetBSD.org>
Date: Sat, 21 Nov 2009 15:39:39 +0000 (UTC)
From: krille@users.sf.net
Reply-To: krille@users.sf.net
To: gnats-bugs@NetBSD.org
Subject: Analog CD input not working with hdaudio
X-Send-Pr-Version: www-1.0
>Number: 42356
>Category: kern
>Synopsis: Analog CD input not working with hdaudio
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 21 15:40:01 +0000 2009
>Originator: Christian Hattemer
>Release: 5.0_STABLE
>Organization:
>Environment:
NetBSD webster.lan 5.0_STABLE NetBSD 5.0_STABLE (WEBSTER) #4: Sat Nov 21 14:32:26 CET 2009 krille@webster.lan:/usr/src/sys/arch/i386/compile/WEBSTER i386
>Description:
Playing audio from files works, but I can't hear the CD drive via the analog CD-in connector. It doesn't show up in mixerctl, however it's shown in dmesg.
The hardware is VIA AVT1708s on Intel P45 / ICH10.
dmesg:
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 22
hdafg0 at hdaudio0 vendor 0x1106 product 0x0397 nid 0x01 (firmware configuration)
hdafg0: DAC0:10, Analog Speaker: Jack (Green, 1C)
hdafg0: DAC0:24, Analog Speaker: Jack (Orange, 22)
hdafg0: DAC0:11, Analog Speaker: Jack (Black, 19)
hdafg0: DAC0:25, Analog Speaker: Jack (Grey, 23)
hdafg0: DAC0:10, Analog HP Out: Jack (Green, 1D)
hdafg0: ADC1:13, Analog Mic In: Jack (Pink, 1A)
hdafg0: ADC1:13, Analog CD: Fixed Function (Unknown, 1F)
hdafg0: ADC1:13, Analog Mic In: Jack (Pink, 1E)
hdafg0: ADC1:13, Analog Line In: Jack (Blue, 1B)
hdafg0: DAC2:12, Digital SPDIF Out: Jack (Black, 20)
hdafg0: DAC3:15, Digital SPDIF Out: Jack (Black, 21)
hdafg0: 8ch/2ch 48000Hz 16/16*
audio0 at hdafg0: full duplex, playback, capture, independent
mixerctl -a:
inputs.dac=198,198
outputs.master=252,252
inputs.reclvl=200,200
inputs.reclvl.mute=off
outputs.master2=200,200
outputs.master2.mute=off
outputs.master3=128,128
outputs.master3.mute=off
outputs.master4=128,128
outputs.master4.mute=off
outputs.master5=128,128
outputs.master5.mute=off
outputs.master6=252,252
outputs.master7=252,252
outputs.master8=128,128
outputs.master8.mute=off
outputs.master9=128,128
outputs.master9.mute=off
outputs.dacsel=DAC00,DAC02,DAC03
record.source=ADC01
hdaudioctl graph 0 1 >hda.dot:
digraph "HD Audio 1106:0397" {
widget10h [shape=box,style=filled,fillcolor="#88ff88"];
widget11h [shape=box,style=filled,fillcolor="#88ff88"];
widget12h [shape=box,style=filled,fillcolor="#88ff88"];
widget13h [shape=box,style=filled,fillcolor="#ff8888"];
widget17h -> widget13h [sametail=widget17h];
widget14h [shape=box,style=filled,fillcolor="#ff8888"];
widget1Eh -> widget14h [sametail=widget1Eh];
widget15h [shape=box,style=filled,fillcolor="#88ff88"];
widget16h [shape=invhouse];
widget10h -> widget16h [sametail=widget10h];
widget1Fh -> widget16h [sametail=widget1Fh];
widget1Ah -> widget16h [sametail=widget1Ah];
widget1Bh -> widget16h [sametail=widget1Bh];
widget1Eh -> widget16h [sametail=widget1Eh];
widget1Dh -> widget16h [sametail=widget1Dh];
widget25h -> widget16h [sametail=widget25h];
widget17h [shape=invtrapezium];
widget1Fh -> widget17h [sametail=widget1Fh];
widget1Ah -> widget17h [sametail=widget1Ah];
widget1Bh -> widget17h [sametail=widget1Bh];
widget1Eh -> widget17h [sametail=widget1Eh];
widget1Dh -> widget17h [sametail=widget1Dh];
widget16h -> widget17h [sametail=widget16h];
widget18h [shape=invtrapezium];
widget11h -> widget18h [sametail=widget11h];
widget19h [label="widget19h\ndevice=Line Out",style=filled,shape=circle,fillcolor="#88ff88"];
widget18h -> widget19h [sametail=widget18h];
widget1Ah [label="widget1Ah\ndevice=Mic In",style=filled,shape=doublecircle,fillcolor="#ffff88"];
widget26h -> widget1Ah [sametail=widget26h];
widget1Bh [label="widget1Bh\ndevice=Line In",style=filled,shape=doublecircle,fillcolor="#ffff88"];
widget18h -> widget1Bh [sametail=widget18h];
widget1Ch [label="widget1Ch\ndevice=Line Out",style=filled,shape=circle,fillcolor="#88ff88"];
widget16h -> widget1Ch [sametail=widget16h];
widget1Dh [label="widget1Dh\ndevice=HP Out",style=filled,shape=doublecircle,fillcolor="#ffff88"];
widget16h -> widget1Dh [sametail=widget16h];
widget25h -> widget1Dh [sametail=widget25h];
widget1Eh [label="widget1Eh\ndevice=Mic In",style=filled,shape=doublecircle,fillcolor="#ffff88"];
widget16h -> widget1Eh [sametail=widget16h];
widget25h -> widget1Eh [sametail=widget25h];
widget1Fh [label="widget1Fh\ndevice=CD",style=filled,shape=circle,fillcolor="#ff8888"];
widget20h [label="widget20h\ndevice=SPDIF Out",style=filled,shape=circle,fillcolor="#88ff88"];
widget12h -> widget20h [sametail=widget12h];
widget21h [label="widget21h\ndevice=SPDIF Out",style=filled,shape=circle,fillcolor="#88ff88"];
widget15h -> widget21h [sametail=widget15h];
widget22h [label="widget22h\ndevice=Line Out",style=filled,shape=circle,fillcolor="#88ff88"];
widget26h -> widget22h [sametail=widget26h];
widget23h [label="widget23h\ndevice=Line Out",style=filled,shape=circle,fillcolor="#88ff88"];
widget27h -> widget23h [sametail=widget27h];
widget24h [shape=box,style=filled,fillcolor="#88ff88"];
widget25h [shape=box,style=filled,fillcolor="#88ff88"];
widget26h [shape=invtrapezium];
widget24h -> widget26h [sametail=widget24h];
widget27h [shape=invtrapezium];
widget25h -> widget27h [sametail=widget25h];
{rank=min;}
{rank=max;}
}
>How-To-Repeat:
This is working:
audioplay foo.wav
This doesn't produce sound:
cdplay 1
I verified using Windows that the cable is properly connected, it does work there.
>Fix:
(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-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.