NetBSD Problem Report #43806

From www@NetBSD.org  Fri Aug 27 13:28:29 2010
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 8852663B89F
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 27 Aug 2010 13:28:29 +0000 (UTC)
Message-Id: <20100827132829.2DC7263B89A@www.NetBSD.org>
Date: Fri, 27 Aug 2010 13:28:29 +0000 (UTC)
From: lechapelaing@yahoo.fr
Reply-To: lechapelaing@yahoo.fr
To: gnats-bugs@NetBSD.org
Subject: No sound on Thinkpad T510
X-Send-Pr-Version: www-1.0

>Number:         43806
>Category:       kern
>Synopsis:       No sound on Thinkpad T510
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 27 13:30:00 +0000 2010
>Closed-Date:    Tue Jan 31 23:34:23 +0000 2023
>Last-Modified:  Tue Jan 31 23:34:23 +0000 2023
>Originator:     Germain Le Chapelain
>Release:        Current
>Organization:
BCG
>Environment:
NetBSD germ 5.99.39 NetBSD 5.99.39 (germ) #13: Fri Aug 27 06:11:58 UTC 2010  root@:/usr/obj/sys/arch/amd64/compile/germ amd64

>Description:
I cannot ear any sound from MPlayer or xmms.  The volume bar does appear in mplayer when I tune the sound.

mixerctl -av returns a single line

bash-4.1$ mixerctl -av
outputs.dacsel=DAC00  { DAC00 }

I have added the azalia device and "options AZALIA_DEBUG" in my kernel configuration but nothing shows in dmesg 

===8<===8<===
opyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.39 (germ) #13: Fri Aug 27 06:11:58 UTC 2010
	root@:/usr/obj/sys/arch/amd64/compile/germ
total memory = 3955 MB
avail memory = 3818 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
LENOVO 4313CTO (ThinkPad T510)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 2527MHz, id 0x20655
cpu1 at mainbus0 apid 1: Intel 686-class, 2527MHz, id 0x20655
cpu2 at mainbus0 apid 4: Intel 686-class, 2527MHz, id 0x20655
cpu3 at mainbus0 apid 5: Intel 686-class, 2527MHz, id 0x20655
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20100528
acpi0: X/RSDT: OemId <LENOVO,TP-6M   ,00001240>, AslId < LTP,00000000>
acpiecdt0 at acpi0: ACPI Embedded Controller via ECDT
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
CPU0 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU1 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU2 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU3 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU4 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU5 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU6 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU7 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
MEM (PNP0C01) at acpi0 not configured
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
SIO (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43 irq 0
hpet0 at acpi0 (HPET, PNP0103): mem 0xfed00000-0xfed003ff
timecounter: Timecounter "hpet0" frequency 14318179 Hz quality 2000
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (MOU, LEN0015) (aux port): irq 12
TPM (SMO1200) at acpi0 not configured
acpiec0 at acpi0 (EC, PNP0C09-0): using acpiecdt0
acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery
acpiacad0 at acpi0 (AC, ACPI0003-0): ACPI AC Adapter
thinkpad0 at acpi0 (HKEY, IBM0068)
acpiwmi0 at acpi0 (WMI1, pnp0c14-MXM2): ACPI WMI Interface
acpiwmibus at acpiwmi0 not configured
acpiwmi1 at acpi0 (WMI1, PNP0C14-1): ACPI WMI Interface
acpiwmibus at acpiwmi1 not configured
acpitz0 at acpi0 (THM0): ACPI Thermal Zone
acpitz0: critical 103.0 C, passive 91.5 C, passive cooling
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: Synaptics touchpad version 7.2
pms0: Passthrough, Palm detect
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x0044 (rev. 0x02)
agp0 at pchb0: can't find internal VGA device config space
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x0045 (rev. 0x02)
ppb0: unsupported PCI Express version
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci1 dev 0 function 0: vendor 0x10de product 0x0a6c (rev. 0xa2)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
hdaudio0 at pci1 dev 0 function 1: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 16
hdafg0 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
hdafg0: DAC00 2ch: Digital Out [Jack]
hdafg0: 2ch/0ch 48000Hz 16/16*
audio0 at hdafg0: full duplex, playback, capture, independent
hdafg1 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
hdafg1: DAC00 2ch: Digital Out [Jack]
hdafg1: 2ch/0ch 48000Hz 16/16*
audio1 at hdafg1: full duplex, playback, capture, independent
hdafg2 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
hdafg2: DAC00 2ch: Digital Out [Jack]
hdafg2: 2ch/0ch 48000Hz 16/16*
audio2 at hdafg2: half duplex, capture
hdafg3 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
hdafg3: DAC00 2ch: Digital Out [Jack]
hdafg3: 2ch/0ch 48000Hz 16/16*
audio3 at hdafg3: half duplex, capture
vendor 0x8086 product 0x3b64 (miscellaneous communications, revision 0x06) at pci0 dev 22 function 0 not configured
vendor 0x8086 product 0x3b67 (serial communications, interface 0x02, revision 0x06) at pci0 dev 22 function 3 not configured
wm0 at pci0 dev 25 function 0: PCH LAN (82577LM) Controller, rev. 6
wm0: interrupting at ioapic0 pin 20
wm0: PCI-Express bus
wm0: FLASH
wm0: Ethernet address f0:de:f1:01:6b:98
ukphy0 at wm0 phy 2: OUI 0x00aa00, model 0x0005, rev. 3
ukphy0: no media present
ifmedia_set: no match for 0x20/0xfffffff
ehci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x3b3c (rev. 0x06)
ehci0: interrupting at ioapic0 pin 23
ehci0: EHCI version 1.0
usb0 at ehci0: USB revision 2.0
hdaudio1 at pci0 dev 27 function 0: HD Audio Controller
hdaudio1: interrupting at ioapic0 pin 17
hdafg4 at hdaudio1 vendor 0x14F1 product 0x5069 nid 0x01 (firmware configuration)
hdafg4: DAC00 2ch: HP Out [Jack]
hdafg4: ADC01 2ch: Mic In [Jack]
hdafg4: DAC02 2ch: Speaker [Built-In]
hdafg4: ADC03 2ch: Mic In [Built-In]
hdafg4: 2ch/2ch 44100Hz 48000Hz 96000Hz 16/16 20/32 24/32
audio4 at hdafg4: full duplex, playback, capture, independent
hdvsmfg at hdaudio1 vendor 0x14F1 product 0x5069 nid 0x02 not configured
ppb1 at pci0 dev 28 function 0: vendor 0x8086 product 0x3b42 (rev. 0x06)
ppb1: unsupported PCI Express version
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 28 function 1: vendor 0x8086 product 0x3b44 (rev. 0x06)
ppb2: unsupported PCI Express version
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
iwn0 at pci3 dev 0 function 0: vendor 0x8086 product 0x0084 (rev. 0x00)
iwn0: interrupting at ioapic0 pin 17
iwn0: MIMO 1T2R, BGS, address 00:26:c7:5a:b1:86
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ppb3 at pci0 dev 28 function 3: vendor 0x8086 product 0x3b48 (rev. 0x06)
ppb3: unsupported PCI Express version
pci4 at ppb3 bus 5
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
ppb4 at pci0 dev 28 function 4: vendor 0x8086 product 0x3b4a (rev. 0x06)
ppb4: unsupported PCI Express version
pci5 at ppb4 bus 13
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
sdhc0 at pci5 dev 0 function 0: vendor 0x1180 product 0xe822 (rev. 0x01)
sdhc0: interrupting at ioapic0 pin 16
sdmmc0 at sdhc0
vendor 0x1180 product 0xe230 (miscellaneous system, revision 0x01) at pci5 dev 0 function 1 not configured
fwohci0 at pci5 dev 0 function 3: vendor 0x1180 product 0xe832 (rev. 0x01)
fwohci0: interrupting at ioapic0 pin 19
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 f0:de:f1:ff:01:6b:98:ff
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
ehci1 at pci0 dev 29 function 0: vendor 0x8086 product 0x3b34 (rev. 0x06)
ehci1: interrupting at ioapic0 pin 19
ehci1: EHCI version 1.0
usb1 at ehci1: USB revision 2.0
ppb5 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0xa6)
pci6 at ppb5 bus 14
pci6: i/o space, memory space enabled
pcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x3b07 (rev. 0x06)
ahcisata0 at pci0 dev 31 function 2: vendor 0x8086 product 0x3b2f
ahcisata0: interrupting at ioapic0 pin 16
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 0x10300, 6 ports, 32 command slots, features 0xff20e060
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 4
atabus3 at ahcisata0 channel 5
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x3b30 (rev. 0x06)
ichsmb0: interrupting at ioapic0 pin 23
iic0 at ichsmb0: I2C bus
vendor 0x8086 product 0x3b32 (miscellaneous DASP, revision 0x06) at pci0 dev 31 function 6 not configured
isa0 at pcib0
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
ieee1394if0: bus manager 0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter online.
uhub0 at usb0: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
uhub1 at usb1: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ahcisata0 port 0: device present, speed: 3.0Gb/s
ahcisata0 port 1: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0: <ST9500420AS>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 1 targets
cd0 at atapibus0 drive 0: <MATSHITADVD-RAM UJ890, UG99  098100, SB01> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd0(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
uhub2 at uhub0 port 1: vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 2
uhub2: single transaction translator
uhub3 at uhub1 port 1: vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 2
uhub3: single transaction translator
uhub2: 6 ports with 6 removable, self powered
uhub3: 8 ports with 8 removable, self powered
uhidev0 at uhub2 port 2 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/20.00, addr 3, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir
wsmouse1 at ums0 mux 0
uvideo0 at uhub2 port 6 configuration 1 interface 0: Chicony Electronics Co., Ltd. Integrated Camera, rev 2.00/23.45, addr 4
video0 at uvideo0: Chicony Electronics Co., Ltd. Integrated Camera, rev 2.00/23.45, addr 4
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio5 at pad0: half duplex, playback, capture
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
===>8===>8===

Any help would be greatly appreciated.
>How-To-Repeat:
Install NetBSD-current for amd64 on a ThinkPad T510.
>Fix:

>Release-Note:

>Audit-Trail:
From: Bernd Ernesti <netbsd@lists.veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/43806: No sound on Thinkpad T510
Date: Fri, 27 Aug 2010 19:16:48 +0200

 On Fri, Aug 27, 2010 at 01:30:00PM +0000, lechapelaing@yahoo.fr wrote:

 [..]
 > hdaudio0 at pci1 dev 0 function 1: HD Audio Controller
 > hdaudio0: interrupting at ioapic0 pin 16
 > hdafg0 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
 > hdafg0: DAC00 2ch: Digital Out [Jack]
 > hdafg0: 2ch/0ch 48000Hz 16/16*
 > audio0 at hdafg0: full duplex, playback, capture, independent
 > hdafg1 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
 > hdafg1: DAC00 2ch: Digital Out [Jack]
 > hdafg1: 2ch/0ch 48000Hz 16/16*
 > audio1 at hdafg1: full duplex, playback, capture, independent
 > hdafg2 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
 > hdafg2: DAC00 2ch: Digital Out [Jack]
 > hdafg2: 2ch/0ch 48000Hz 16/16*
 > audio2 at hdafg2: half duplex, capture
 > hdafg3 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
 > hdafg3: DAC00 2ch: Digital Out [Jack]
 > hdafg3: 2ch/0ch 48000Hz 16/16*
 > audio3 at hdafg3: half duplex, capture
 [..]

 > hdaudio1 at pci0 dev 27 function 0: HD Audio Controller
 > hdaudio1: interrupting at ioapic0 pin 17
 > hdafg4 at hdaudio1 vendor 0x14F1 product 0x5069 nid 0x01 (firmware configuration)
 > hdafg4: DAC00 2ch: HP Out [Jack]
 > hdafg4: ADC01 2ch: Mic In [Jack]
 > hdafg4: DAC02 2ch: Speaker [Built-In]
 > hdafg4: ADC03 2ch: Mic In [Built-In]
 > hdafg4: 2ch/2ch 44100Hz 48000Hz 96000Hz 16/16 20/32 24/32
 > audio4 at hdafg4: full duplex, playback, capture, independent
 > hdvsmfg at hdaudio1 vendor 0x14F1 product 0x5069 nid 0x02 not configured

 Welcome to the wonderful world of audio via HDMI.
 It would be really nice to attach the HDMI audio* after the 'real' one.

 If you use the devices from audio4 then you get the sound.

 Bernd

From: bch@methodlogic.net
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, lechapelaing@yahoo.fr
Subject: Re: kern/43806: No sound on Thinkpad T510
Date: Fri, 27 Aug 2010 19:25:10 +0000

 On Fri, Aug 27, 2010 at 05:20:03PM +0000, Bernd Ernesti wrote:
 > The following reply was made to PR kern/43806; it has been noted by GNATS.

 I'm running -current on a T410, and it's hit/miss whether it will produce
 audio via built-in speakers or out audio jack at any one time... I've
 taken to (as root)

 hdaudioctl list hdaudioctl set 0x00 0x01 # adjust the 0x00, 0x01 per
 output of hdaudioctl list -- I just picked first device listed in
 "hdaudioctl list"

 After this resetting, I can usually listen to audio as I want. Mixer,
 however has been non-functional for a while now...

 -bch

 > From: Bernd Ernesti <netbsd@lists.veego.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: kern/43806: No sound on Thinkpad T510
 > Date: Fri, 27 Aug 2010 19:16:48 +0200
 > 
 >  On Fri, Aug 27, 2010 at 01:30:00PM +0000, lechapelaing@yahoo.fr wrote:
 >  
 >  [..]
 >  > hdaudio0 at pci1 dev 0 function 1: HD Audio Controller
 >  > hdaudio0: interrupting at ioapic0 pin 16
 >  > hdafg0 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
 >  > hdafg0: DAC00 2ch: Digital Out [Jack]
 >  > hdafg0: 2ch/0ch 48000Hz 16/16*
 >  > audio0 at hdafg0: full duplex, playback, capture, independent
 >  > hdafg1 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
 >  > hdafg1: DAC00 2ch: Digital Out [Jack]
 >  > hdafg1: 2ch/0ch 48000Hz 16/16*
 >  > audio1 at hdafg1: full duplex, playback, capture, independent
 >  > hdafg2 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
 >  > hdafg2: DAC00 2ch: Digital Out [Jack]
 >  > hdafg2: 2ch/0ch 48000Hz 16/16*
 >  > audio2 at hdafg2: half duplex, capture
 >  > hdafg3 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
 >  > hdafg3: DAC00 2ch: Digital Out [Jack]
 >  > hdafg3: 2ch/0ch 48000Hz 16/16*
 >  > audio3 at hdafg3: half duplex, capture
 >  [..]
 >  
 >  > hdaudio1 at pci0 dev 27 function 0: HD Audio Controller
 >  > hdaudio1: interrupting at ioapic0 pin 17
 >  > hdafg4 at hdaudio1 vendor 0x14F1 product 0x5069 nid 0x01 (firmware configuration)
 >  > hdafg4: DAC00 2ch: HP Out [Jack]
 >  > hdafg4: ADC01 2ch: Mic In [Jack]
 >  > hdafg4: DAC02 2ch: Speaker [Built-In]
 >  > hdafg4: ADC03 2ch: Mic In [Built-In]
 >  > hdafg4: 2ch/2ch 44100Hz 48000Hz 96000Hz 16/16 20/32 24/32
 >  > audio4 at hdafg4: full duplex, playback, capture, independent
 >  > hdvsmfg at hdaudio1 vendor 0x14F1 product 0x5069 nid 0x02 not configured
 >  
 >  Welcome to the wonderful world of audio via HDMI.
 >  It would be really nice to attach the HDMI audio* after the 'real' one.
 >  
 >  If you use the devices from audio4 then you get the sound.
 >  
 >  Bernd
 >  

 -- 
 Brad Harder
 Method Logic Digital Consulting
 http://methodlogic.net
 http://twitter.com/bcharder

From: bch@methodlogic.net
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, lechapelaing@yahoo.fr
Subject: Re: kern/43806: No sound on Thinkpad T510
Date: Fri, 27 Aug 2010 19:30:39 +0000

 On Fri, Aug 27, 2010 at 07:25:10PM +0000, bch@methodlogic.net wrote:
 > On Fri, Aug 27, 2010 at 05:20:03PM +0000, Bernd Ernesti wrote:
 > > The following reply was made to PR kern/43806; it has been noted by GNATS.


 Sorry for poor formatting. Commands are (as root on my box):

 # hdaudioctl list
 # hdaudioctl set 0x00 0x01

 0x00 and 0x01 are params for my machine. See output of "hdaudioctl list"
 cmd to see what works for your machine.

 > I'm running -current on a T410, and it's hit/miss whether it will produce
 > audio via built-in speakers or out audio jack at any one time... I've
 > taken to (as root)
 > 
 > hdaudioctl list hdaudioctl set 0x00 0x01 # adjust the 0x00, 0x01 per
 > output of hdaudioctl list -- I just picked first device listed in
 > "hdaudioctl list"
 > 
 > After this resetting, I can usually listen to audio as I want. Mixer,
 > however has been non-functional for a while now...
 > 
 > -bch
 > 
 > > From: Bernd Ernesti <netbsd@lists.veego.de>
 > > To: gnats-bugs@NetBSD.org
 > > Cc: 
 > > Subject: Re: kern/43806: No sound on Thinkpad T510
 > > Date: Fri, 27 Aug 2010 19:16:48 +0200
 > > 
 > >  On Fri, Aug 27, 2010 at 01:30:00PM +0000, lechapelaing@yahoo.fr wrote:
 > >  
 > >  [..]
 > >  > hdaudio0 at pci1 dev 0 function 1: HD Audio Controller
 > >  > hdaudio0: interrupting at ioapic0 pin 16
 > >  > hdafg0 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
 > >  > hdafg0: DAC00 2ch: Digital Out [Jack]
 > >  > hdafg0: 2ch/0ch 48000Hz 16/16*
 > >  > audio0 at hdafg0: full duplex, playback, capture, independent
 > >  > hdafg1 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
 > >  > hdafg1: DAC00 2ch: Digital Out [Jack]
 > >  > hdafg1: 2ch/0ch 48000Hz 16/16*
 > >  > audio1 at hdafg1: full duplex, playback, capture, independent
 > >  > hdafg2 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
 > >  > hdafg2: DAC00 2ch: Digital Out [Jack]
 > >  > hdafg2: 2ch/0ch 48000Hz 16/16*
 > >  > audio2 at hdafg2: half duplex, capture
 > >  > hdafg3 at hdaudio0 vendor 0x10DE product 0x000B nid 0x01 (firmware configuration)
 > >  > hdafg3: DAC00 2ch: Digital Out [Jack]
 > >  > hdafg3: 2ch/0ch 48000Hz 16/16*
 > >  > audio3 at hdafg3: half duplex, capture
 > >  [..]
 > >  
 > >  > hdaudio1 at pci0 dev 27 function 0: HD Audio Controller
 > >  > hdaudio1: interrupting at ioapic0 pin 17
 > >  > hdafg4 at hdaudio1 vendor 0x14F1 product 0x5069 nid 0x01 (firmware configuration)
 > >  > hdafg4: DAC00 2ch: HP Out [Jack]
 > >  > hdafg4: ADC01 2ch: Mic In [Jack]
 > >  > hdafg4: DAC02 2ch: Speaker [Built-In]
 > >  > hdafg4: ADC03 2ch: Mic In [Built-In]
 > >  > hdafg4: 2ch/2ch 44100Hz 48000Hz 96000Hz 16/16 20/32 24/32
 > >  > audio4 at hdafg4: full duplex, playback, capture, independent
 > >  > hdvsmfg at hdaudio1 vendor 0x14F1 product 0x5069 nid 0x02 not configured
 > >  
 > >  Welcome to the wonderful world of audio via HDMI.
 > >  It would be really nice to attach the HDMI audio* after the 'real' one.
 > >  
 > >  If you use the devices from audio4 then you get the sound.
 > >  
 > >  Bernd
 > >  
 > 
 > -- 
 > Brad Harder
 > Method Logic Digital Consulting
 > http://methodlogic.net
 > http://twitter.com/bcharder
 > 

 -- 
 Brad Harder
 Method Logic Digital Consulting
 http://methodlogic.net
 http://twitter.com/bcharder

From: le chapelain germain <lechapelaing@yahoo.fr>
To: gnats-bugs@gnats.NetBSD.org
Cc: bch@methodlogic.net
Subject: Re: kern/43806: No sound on Thinkpad T510
Date: Sat, 28 Aug 2010 00:41:29 +0000 (GMT)

 Thanks !=0A=0AI am getting =0A=0Abash-4.1$ hdaudioctl list=0AError opening =
 /dev/hdaudio0: No such file or directory=0A=0Abash-4.1$ ls /dev/{,hd}audio*=
 =0Als: /dev/hdaudio*: No such file or directory=0A/dev/audio      /dev/audi=
 o1     /dev/audio3     /dev/audioctl0  /dev/audioctl2=0A/dev/audio0     /de=
 v/audio2     /dev/audioctl   /dev/audioctl1  /dev/audioctl3=0A=0A=0AThis is=
  after I ran ./MAKEDEV all in /dev=0A=0AI tried changing the line =0A=0Ahda=
 fg*          at hdaudiobus?=0A=0Ato=0A=0Ahdafg*          at hdaudiobus1=0A=
 =0Athat didn't change the output of dmesg and I still don't have audio.=0A=
 =0AI installed 5.0.2 from the CD then rebuilt / installed from the current =
 CVS source (twice.)=0A=0A=0AGermain=0A=0A=0A--- En date de=A0: Ven 27.8.10,=
  bch@methodlogic.net <bch@methodlogic.net> a =E9crit=A0:=0A=0A> De: bch@met=
 hodlogic.net <bch@methodlogic.net>=0A> Objet: Re: kern/43806: No sound on T=
 hinkpad T510=0A> =C0: gnats-bugs@NetBSD.org=0A> Cc: kern-bug-people@netbsd.=
 org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, lechapelaing@yahoo.fr=
 =0A> Date: Vendredi 27 ao=FBt 2010, 21h30=0A> On Fri, Aug 27, 2010 at 07:25=
 :10PM=0A> +0000, bch@methodlogic.net=0A> wrote:=0A> > On Fri, Aug 27, 2010 =
 at 05:20:03PM +0000, Bernd=0A> Ernesti wrote:=0A> > > The following reply w=
 as made to PR kern/43806; it=0A> has been noted by GNATS.=0A> =0A> =0A> Sor=
 ry for poor formatting. Commands are (as root on my=0A> box):=0A> =0A> # hd=
 audioctl list=0A> # hdaudioctl set 0x00 0x01=0A> =0A> 0x00 and 0x01 are par=
 ams for my machine. See output of=0A> "hdaudioctl list"=0A> cmd to see what=
  works for your machine.=0A> =0A> > I'm running -current on a T410, and it'=
 s hit/miss=0A> whether it will produce=0A> > audio via built-in speakers or=
  out audio jack at any=0A> one time... I've=0A> > taken to (as root)=0A> > =
 =0A> > hdaudioctl list hdaudioctl set 0x00 0x01 # adjust the=0A> 0x00, 0x01=
  per=0A> > output of hdaudioctl list -- I just picked first=0A> device list=
 ed in=0A> > "hdaudioctl list"=0A> > =0A> > After this resetting, I can usua=
 lly listen to audio as=0A> I want. Mixer,=0A> > however has been non-functi=
 onal for a while now...=0A> > =0A> > -bch=0A> > =0A> > > From: Bernd Ernest=
 i <netbsd@lists.veego.de>=0A> > > To: gnats-bugs@NetBSD.org=0A> > > Cc: =0A=
 > > > Subject: Re: kern/43806: No sound on Thinkpad=0A> T510=0A> > > Date: =
 Fri, 27 Aug 2010 19:16:48 +0200=0A> > > =0A> > >=A0 On Fri, Aug 27, 2010 at=
  01:30:00PM +0000,=0A> lechapelaing@yahoo.fr=0A> wrote:=0A> > >=A0 =0A> > >=
 =A0 [..]=0A> > >=A0 > hdaudio0 at pci1 dev 0 function 1: HD=0A> Audio Contr=
 oller=0A> > >=A0 > hdaudio0: interrupting at ioapic0 pin=0A> 16=0A> > >=A0 =
 > hdafg0 at hdaudio0 vendor 0x10DE=0A> product 0x000B nid 0x01 (firmware co=
 nfiguration)=0A> > >=A0 > hdafg0: DAC00 2ch: Digital Out [Jack]=0A> > >=A0 =
 > hdafg0: 2ch/0ch 48000Hz 16/16*=0A> > >=A0 > audio0 at hdafg0: full duplex=
 ,=0A> playback, capture, independent=0A> > >=A0 > hdafg1 at hdaudio0 vendor=
  0x10DE=0A> product 0x000B nid 0x01 (firmware configuration)=0A> > >=A0 > h=
 dafg1: DAC00 2ch: Digital Out [Jack]=0A> > >=A0 > hdafg1: 2ch/0ch 48000Hz 1=
 6/16*=0A> > >=A0 > audio1 at hdafg1: full duplex,=0A> playback, capture, in=
 dependent=0A> > >=A0 > hdafg2 at hdaudio0 vendor 0x10DE=0A> product 0x000B =
 nid 0x01 (firmware configuration)=0A> > >=A0 > hdafg2: DAC00 2ch: Digital O=
 ut [Jack]=0A> > >=A0 > hdafg2: 2ch/0ch 48000Hz 16/16*=0A> > >=A0 > audio2 a=
 t hdafg2: half duplex,=0A> capture=0A> > >=A0 > hdafg3 at hdaudio0 vendor 0=
 x10DE=0A> product 0x000B nid 0x01 (firmware configuration)=0A> > >=A0 > hda=
 fg3: DAC00 2ch: Digital Out [Jack]=0A> > >=A0 > hdafg3: 2ch/0ch 48000Hz 16/=
 16*=0A> > >=A0 > audio3 at hdafg3: half duplex,=0A> capture=0A> > >=A0 [..]=
 =0A> > >=A0 =0A> > >=A0 > hdaudio1 at pci0 dev 27 function 0: HD=0A> Audio =
 Controller=0A> > >=A0 > hdaudio1: interrupting at ioapic0 pin=0A> 17=0A> > =
 >=A0 > hdafg4 at hdaudio1 vendor 0x14F1=0A> product 0x5069 nid 0x01 (firmwa=
 re configuration)=0A> > >=A0 > hdafg4: DAC00 2ch: HP Out [Jack]=0A> > >=A0 =
 > hdafg4: ADC01 2ch: Mic In [Jack]=0A> > >=A0 > hdafg4: DAC02 2ch: Speaker =
 [Built-In]=0A> > >=A0 > hdafg4: ADC03 2ch: Mic In [Built-In]=0A> > >=A0 > h=
 dafg4: 2ch/2ch 44100Hz 48000Hz=0A> 96000Hz 16/16 20/32 24/32=0A> > >=A0 > a=
 udio4 at hdafg4: full duplex,=0A> playback, capture, independent=0A> > >=A0=
  > hdvsmfg at hdaudio1 vendor 0x14F1=0A> product 0x5069 nid 0x02 not config=
 ured=0A> > >=A0 =0A> > >=A0 Welcome to the wonderful world of audio via=0A>=
  HDMI.=0A> > >=A0 It would be really nice to attach the HDMI=0A> audio* aft=
 er the 'real' one.=0A> > >=A0 =0A> > >=A0 If you use the devices from audio=
 4 then you=0A> get the sound.=0A> > >=A0 =0A> > >=A0 Bernd=0A> > >=A0 =0A> =
 > =0A> > -- =0A> > Brad Harder=0A> > Method Logic Digital Consulting=0A> > =
 http://methodlogic.net=0A> > http://twitter.com/bcharder=0A> > =0A> =0A> --=
  =0A> Brad Harder=0A> Method Logic Digital Consulting=0A> http://methodlogi=
 c.net=0A> http://twitter.com/bcharder=0A> =0A> =0A=0A=0A      

From: bch@methodlogic.net
To: le chapelain germain <lechapelaing@yahoo.fr>
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: kern/43806: No sound on Thinkpad T510
Date: Sat, 28 Aug 2010 03:00:28 +0000

 On Sat, Aug 28, 2010 at 12:41:29AM +0000, le chapelain germain wrote:
 > Thanks !
 > 
 > I am getting 
 > 
 > bash-4.1$ hdaudioctl list
 > Error opening /dev/hdaudio0: No such file or directory

 Oh -- I may be right off base -- are you using hd audio?

 kamloops$ dmesg | grep -i audio
 hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
 hdaudio0: interrupting at ioapic0 pin 17
 hdafg0 at hdaudio0 vendor 0x14F1 product 0x5069 nid 0x01 (firmware configuration)
 ...

 I'm using -current, as well (5.99.39, atm) -- If you're using a 5-release
 version, I don't know if my issues would be the same as yours.

 > bash-4.1$ ls /dev/{,hd}audio*
 > ls: /dev/hdaudio*: No such file or directory
 > /dev/audio      /dev/audio1     /dev/audio3     /dev/audioctl0  /dev/audioctl2
 > /dev/audio0     /dev/audio2     /dev/audioctl   /dev/audioctl1  /dev/audioctl3
 > 
 > 
 > This is after I ran ./MAKEDEV all in /dev
 > 
 > I tried changing the line 
 > 
 > hdafg*          at hdaudiobus?
 > 
 > to
 > 
 > hdafg*          at hdaudiobus1
 > 
 > that didn't change the output of dmesg and I still don't have audio.
 > 
 > I installed 5.0.2 from the CD then rebuilt / installed from the current CVS source (twice.)
 > 
 > 
 > Germain
 > 
 > 
 > --- En date de?: Ven 27.8.10, bch@methodlogic.net <bch@methodlogic.net> a ?crit?:
 > 
 > > De: bch@methodlogic.net <bch@methodlogic.net>
 > > Objet: Re: kern/43806: No sound on Thinkpad T510
 > > ?: gnats-bugs@NetBSD.org
 > > Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, lechapelaing@yahoo.fr
 > > Date: Vendredi 27 ao?t 2010, 21h30
 > > On Fri, Aug 27, 2010 at 07:25:10PM
 > > +0000, bch@methodlogic.net
 > > wrote:
 > > > On Fri, Aug 27, 2010 at 05:20:03PM +0000, Bernd
 > > Ernesti wrote:
 > > > > The following reply was made to PR kern/43806; it
 > > has been noted by GNATS.
 > > 
 > > 
 > > Sorry for poor formatting. Commands are (as root on my
 > > box):
 > > 
 > > # hdaudioctl list
 > > # hdaudioctl set 0x00 0x01
 > > 
 > > 0x00 and 0x01 are params for my machine. See output of
 > > "hdaudioctl list"
 > > cmd to see what works for your machine.
 > > 
 > > > I'm running -current on a T410, and it's hit/miss
 > > whether it will produce
 > > > audio via built-in speakers or out audio jack at any
 > > one time... I've
 > > > taken to (as root)
 > > > 
 > > > hdaudioctl list hdaudioctl set 0x00 0x01 # adjust the
 > > 0x00, 0x01 per
 > > > output of hdaudioctl list -- I just picked first
 > > device listed in
 > > > "hdaudioctl list"
 > > > 
 > > > After this resetting, I can usually listen to audio as
 > > I want. Mixer,
 > > > however has been non-functional for a while now...
 > > > 
 > > > -bch
 > > > 
 > > > > From: Bernd Ernesti <netbsd@lists.veego.de>
 > > > > To: gnats-bugs@NetBSD.org
 > > > > Cc: 
 > > > > Subject: Re: kern/43806: No sound on Thinkpad
 > > T510
 > > > > Date: Fri, 27 Aug 2010 19:16:48 +0200
 > > > > 
 > > > >? On Fri, Aug 27, 2010 at 01:30:00PM +0000,
 > > lechapelaing@yahoo.fr
 > > wrote:
 > > > >? 
 > > > >? [..]
 > > > >? > hdaudio0 at pci1 dev 0 function 1: HD
 > > Audio Controller
 > > > >? > hdaudio0: interrupting at ioapic0 pin
 > > 16
 > > > >? > hdafg0 at hdaudio0 vendor 0x10DE
 > > product 0x000B nid 0x01 (firmware configuration)
 > > > >? > hdafg0: DAC00 2ch: Digital Out [Jack]
 > > > >? > hdafg0: 2ch/0ch 48000Hz 16/16*
 > > > >? > audio0 at hdafg0: full duplex,
 > > playback, capture, independent
 > > > >? > hdafg1 at hdaudio0 vendor 0x10DE
 > > product 0x000B nid 0x01 (firmware configuration)
 > > > >? > hdafg1: DAC00 2ch: Digital Out [Jack]
 > > > >? > hdafg1: 2ch/0ch 48000Hz 16/16*
 > > > >? > audio1 at hdafg1: full duplex,
 > > playback, capture, independent
 > > > >? > hdafg2 at hdaudio0 vendor 0x10DE
 > > product 0x000B nid 0x01 (firmware configuration)
 > > > >? > hdafg2: DAC00 2ch: Digital Out [Jack]
 > > > >? > hdafg2: 2ch/0ch 48000Hz 16/16*
 > > > >? > audio2 at hdafg2: half duplex,
 > > capture
 > > > >? > hdafg3 at hdaudio0 vendor 0x10DE
 > > product 0x000B nid 0x01 (firmware configuration)
 > > > >? > hdafg3: DAC00 2ch: Digital Out [Jack]
 > > > >? > hdafg3: 2ch/0ch 48000Hz 16/16*
 > > > >? > audio3 at hdafg3: half duplex,
 > > capture
 > > > >? [..]
 > > > >? 
 > > > >? > hdaudio1 at pci0 dev 27 function 0: HD
 > > Audio Controller
 > > > >? > hdaudio1: interrupting at ioapic0 pin
 > > 17
 > > > >? > hdafg4 at hdaudio1 vendor 0x14F1
 > > product 0x5069 nid 0x01 (firmware configuration)
 > > > >? > hdafg4: DAC00 2ch: HP Out [Jack]
 > > > >? > hdafg4: ADC01 2ch: Mic In [Jack]
 > > > >? > hdafg4: DAC02 2ch: Speaker [Built-In]
 > > > >? > hdafg4: ADC03 2ch: Mic In [Built-In]
 > > > >? > hdafg4: 2ch/2ch 44100Hz 48000Hz
 > > 96000Hz 16/16 20/32 24/32
 > > > >? > audio4 at hdafg4: full duplex,
 > > playback, capture, independent
 > > > >? > hdvsmfg at hdaudio1 vendor 0x14F1
 > > product 0x5069 nid 0x02 not configured
 > > > >? 
 > > > >? Welcome to the wonderful world of audio via
 > > HDMI.
 > > > >? It would be really nice to attach the HDMI
 > > audio* after the 'real' one.
 > > > >? 
 > > > >? If you use the devices from audio4 then you
 > > get the sound.
 > > > >? 
 > > > >? Bernd
 > > > >? 
 > > > 
 > > > -- 
 > > > Brad Harder
 > > > Method Logic Digital Consulting
 > > > http://methodlogic.net
 > > > http://twitter.com/bcharder
 > > > 
 > > 
 > > -- 
 > > Brad Harder
 > > Method Logic Digital Consulting
 > > http://methodlogic.net
 > > http://twitter.com/bcharder
 > > 
 > > 
 > 
 > 
 > 
 > 

 -- 
 Brad Harder
 Method Logic Digital Consulting
 http://methodlogic.net
 http://twitter.com/bcharder

From: le chapelain germain <lechapelaing@yahoo.fr>
To: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
  netbsd-bugs@netbsd.org, gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/43806: No sound on Thinkpad T510
Date: Sat, 28 Aug 2010 07:02:58 +0000 (GMT)

 I don't know if I am using hdaudio, I guess that's what I am trying to do.=
 =0AI am using 5.99.39 as well.=0A=0Abash-4.1$ dmesg | grep -i audio=0Ahdaud=
 io0 at pci1 dev 0 function 1: HD Audio Controller=0Ahdaudio0: interrupting =
 at ioapic0 pin 16=0A...=0Abash-4.1$ ls /dev/hd*=0Als: /dev/hd*: No such fil=
 e or directory=0A=0AHow is it possible to see the line in dmesg and while n=
 ot seeing the node in /dev ?=0A=0A=0AGermain=0A=0A--- En date de=A0: Sam 28=
 .8.10, bch@methodlogic.net <bch@methodlogic.net> a =E9crit=A0:=0A=0A> De: b=
 ch@methodlogic.net <bch@methodlogic.net>=0A> Objet: Re: kern/43806: No soun=
 d on Thinkpad T510=0A> =C0: kern-bug-people@netbsd.org, gnats-admin@netbsd.=
 org, netbsd-bugs@netbsd.org, lechapelaing@yahoo.fr=0A> Date: Samedi 28 ao=
 =FBt 2010, 3h05=0A> The following reply was made to PR=0A> kern/43806; it h=
 as been noted by GNATS.=0A> =0A> From: bch@methodlogic.net=0A> To: le chape=
 lain germain <lechapelaing@yahoo.fr>=0A> Cc: gnats-bugs@gnats.NetBSD.org=0A=
 > Subject: Re: kern/43806: No sound on Thinkpad T510=0A> Date: Sat, 28 Aug =
 2010 03:00:28 +0000=0A> =0A>  On Sat, Aug 28, 2010 at 12:41:29AM +0000, le =
 chapelain=0A> germain wrote:=0A>  > Thanks !=0A>  > =0A>  > I am getting =
 =0A>  > =0A>  > bash-4.1$ hdaudioctl list=0A>  > Error opening /dev/hdaudio=
 0: No such file or=0A> directory=0A>  =0A>  Oh -- I may be right off base -=
 - are you using hd audio?=0A>  =0A>  kamloops$ dmesg | grep -i audio=0A>  h=
 daudio0 at pci0 dev 27 function 0: HD Audio Controller=0A>  hdaudio0: inter=
 rupting at ioapic0 pin 17=0A>  hdafg0 at hdaudio0 vendor 0x14F1 product 0x5=
 069 nid 0x01=0A> (firmware configuration)=0A>  ...=0A>  =0A>  I'm using -cu=
 rrent, as well (5.99.39, atm) -- If you're=0A> using a 5-release=0A>  versi=
 on, I don't know if my issues would be the same as=0A> yours.=0A>  =0A>  > =
 bash-4.1$ ls /dev/{,hd}audio*=0A>  > ls: /dev/hdaudio*: No such file or dir=
 ectory=0A>  > /dev/audio=A0 =A0 =A0 /dev/audio1=A0=0A> =A0=A0=A0/dev/audio3=
 =A0=0A> =A0=A0=A0/dev/audioctl0=A0 /dev/audioctl2=0A>  > /dev/audio0=A0 =A0=
 =A0=A0/dev/audio2=A0=0A> =A0=A0=A0/dev/audioctl=A0=A0=A0/dev/audioctl1=A0=
 =0A> /dev/audioctl3=0A>  > =0A>  > =0A>  > This is after I ran ./MAKEDEV al=
 l in /dev=0A>  > =0A>  > I tried changing the line =0A>  > =0A>  > hdafg*=
 =A0 =A0 =A0 =A0 =A0 at=0A> hdaudiobus?=0A>  > =0A>  > to=0A>  > =0A>  > hda=
 fg*=A0 =A0 =A0 =A0 =A0 at=0A> hdaudiobus1=0A>  > =0A>  > that didn't change=
  the output of dmesg and I still=0A> don't have audio.=0A>  > =0A>  > I ins=
 talled 5.0.2 from the CD then rebuilt /=0A> installed from the current CVS =
 source (twice.)=0A>  > =0A>  > =0A>  > Germain=0A>  > =0A>  > =0A>  > --- E=
 n date de?: Ven 27.8.10, bch@methodlogic.net=0A> <bch@methodlogic.net>=0A> =
 a ?crit?:=0A>  > =0A>  > > De: bch@methodlogic.net=0A> <bch@methodlogic.net=
 >=0A>  > > Objet: Re: kern/43806: No sound on Thinkpad=0A> T510=0A>  > > ?:=
  gnats-bugs@NetBSD.org=0A>  > > Cc: kern-bug-people@netbsd.org,=0A> gnats-a=
 dmin@netbsd.org,=0A> netbsd-bugs@netbsd.org,=0A> lechapelaing@yahoo.fr=0A> =
  > > Date: Vendredi 27 ao?t 2010, 21h30=0A>  > > On Fri, Aug 27, 2010 at 07=
 :25:10PM=0A>  > > +0000, bch@methodlogic.net=0A>  > > wrote:=0A>  > > > On =
 Fri, Aug 27, 2010 at 05:20:03PM +0000,=0A> Bernd=0A>  > > Ernesti wrote:=0A=
 >  > > > > The following reply was made to PR=0A> kern/43806; it=0A>  > > h=
 as been noted by GNATS.=0A>  > > =0A>  > > =0A>  > > Sorry for poor formatt=
 ing. Commands are (as root=0A> on my=0A>  > > box):=0A>  > > =0A>  > > # hd=
 audioctl list=0A>  > > # hdaudioctl set 0x00 0x01=0A>  > > =0A>  > > 0x00 a=
 nd 0x01 are params for my machine. See=0A> output of=0A>  > > "hdaudioctl l=
 ist"=0A>  > > cmd to see what works for your machine.=0A>  > > =0A>  > > > =
 I'm running -current on a T410, and it's=0A> hit/miss=0A>  > > whether it w=
 ill produce=0A>  > > > audio via built-in speakers or out audio=0A> jack at=
  any=0A>  > > one time... I've=0A>  > > > taken to (as root)=0A>  > > > =0A=
 >  > > > hdaudioctl list hdaudioctl set 0x00 0x01 #=0A> adjust the=0A>  > >=
  0x00, 0x01 per=0A>  > > > output of hdaudioctl list -- I just picked=0A> f=
 irst=0A>  > > device listed in=0A>  > > > "hdaudioctl list"=0A>  > > > =0A>=
   > > > After this resetting, I can usually listen=0A> to audio as=0A>  > >=
  I want. Mixer,=0A>  > > > however has been non-functional for a while=0A> =
 now...=0A>  > > > =0A>  > > > -bch=0A>  > > > =0A>  > > > > From: Bernd Ern=
 esti <netbsd@lists.veego.de>=0A>  > > > > To: gnats-bugs@NetBSD.org=0A>  > =
 > > > Cc: =0A>  > > > > Subject: Re: kern/43806: No sound on=0A> Thinkpad=
 =0A>  > > T510=0A>  > > > > Date: Fri, 27 Aug 2010 19:16:48 +0200=0A>  > > =
 > > =0A>  > > > >? On Fri, Aug 27, 2010 at 01:30:00PM=0A> +0000,=0A>  > > l=
 echapelaing@yahoo.fr=0A>  > > wrote:=0A>  > > > >? =0A>  > > > >? [..]=0A> =
  > > > >? > hdaudio0 at pci1 dev 0 function=0A> 1: HD=0A>  > > Audio Contro=
 ller=0A>  > > > >? > hdaudio0: interrupting at=0A> ioapic0 pin=0A>  > > 16=
 =0A>  > > > >? > hdafg0 at hdaudio0 vendor=0A> 0x10DE=0A>  > > product 0x00=
 0B nid 0x01 (firmware=0A> configuration)=0A>  > > > >? > hdafg0: DAC00 2ch:=
  Digital Out=0A> [Jack]=0A>  > > > >? > hdafg0: 2ch/0ch 48000Hz 16/16*=0A> =
  > > > >? > audio0 at hdafg0: full duplex,=0A>  > > playback, capture, inde=
 pendent=0A>  > > > >? > hdafg1 at hdaudio0 vendor=0A> 0x10DE=0A>  > > produ=
 ct 0x000B nid 0x01 (firmware=0A> configuration)=0A>  > > > >? > hdafg1: DAC=
 00 2ch: Digital Out=0A> [Jack]=0A>  > > > >? > hdafg1: 2ch/0ch 48000Hz 16/1=
 6*=0A>  > > > >? > audio1 at hdafg1: full duplex,=0A>  > > playback, captur=
 e, independent=0A>  > > > >? > hdafg2 at hdaudio0 vendor=0A> 0x10DE=0A>  > =
 > product 0x000B nid 0x01 (firmware=0A> configuration)=0A>  > > > >? > hdaf=
 g2: DAC00 2ch: Digital Out=0A> [Jack]=0A>  > > > >? > hdafg2: 2ch/0ch 48000=
 Hz 16/16*=0A>  > > > >? > audio2 at hdafg2: half duplex,=0A>  > > capture=
 =0A>  > > > >? > hdafg3 at hdaudio0 vendor=0A> 0x10DE=0A>  > > product 0x00=
 0B nid 0x01 (firmware=0A> configuration)=0A>  > > > >? > hdafg3: DAC00 2ch:=
  Digital Out=0A> [Jack]=0A>  > > > >? > hdafg3: 2ch/0ch 48000Hz 16/16*=0A> =
  > > > >? > audio3 at hdafg3: half duplex,=0A>  > > capture=0A>  > > > >? [=
 ..]=0A>  > > > >? =0A>  > > > >? > hdaudio1 at pci0 dev 27 function=0A> 0: =
 HD=0A>  > > Audio Controller=0A>  > > > >? > hdaudio1: interrupting at=0A> =
 ioapic0 pin=0A>  > > 17=0A>  > > > >? > hdafg4 at hdaudio1 vendor=0A> 0x14F=
 1=0A>  > > product 0x5069 nid 0x01 (firmware=0A> configuration)=0A>  > > > =
 >? > hdafg4: DAC00 2ch: HP Out=0A> [Jack]=0A>  > > > >? > hdafg4: ADC01 2ch=
 : Mic In=0A> [Jack]=0A>  > > > >? > hdafg4: DAC02 2ch: Speaker=0A> [Built-I=
 n]=0A>  > > > >? > hdafg4: ADC03 2ch: Mic In=0A> [Built-In]=0A>  > > > >? >=
  hdafg4: 2ch/2ch 44100Hz 48000Hz=0A>  > > 96000Hz 16/16 20/32 24/32=0A>  > =
 > > >? > audio4 at hdafg4: full duplex,=0A>  > > playback, capture, indepen=
 dent=0A>  > > > >? > hdvsmfg at hdaudio1 vendor=0A> 0x14F1=0A>  > > product=
  0x5069 nid 0x02 not configured=0A>  > > > >? =0A>  > > > >? Welcome to the=
  wonderful world of=0A> audio via=0A>  > > HDMI.=0A>  > > > >? It would be =
 really nice to attach the=0A> HDMI=0A>  > > audio* after the 'real' one.=0A=
 >  > > > >? =0A>  > > > >? If you use the devices from audio4=0A> then you=
 =0A>  > > get the sound.=0A>  > > > >? =0A>  > > > >? Bernd=0A>  > > > >? =
 =0A>  > > > =0A>  > > > -- =0A>  > > > Brad Harder=0A>  > > > Method Logic =
 Digital Consulting=0A>  > > > http://methodlogic.net=0A>  > > > http://twit=
 ter.com/bcharder=0A>  > > > =0A>  > > =0A>  > > -- =0A>  > > Brad Harder=0A=
 >  > > Method Logic Digital Consulting=0A>  > > http://methodlogic.net=0A> =
  > > http://twitter.com/bcharder=0A>  > > =0A>  > > =0A>  > =0A>  > =0A>  >=
  =0A>  > =0A>  =0A>  -- =0A>  Brad Harder=0A>  Method Logic Digital Consult=
 ing=0A>  http://methodlogic.net=0A>  http://twitter.com/bcharder=0A>  =0A> =
 =0A=0A=0A      

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: le chapelain germain <lechapelaing@yahoo.fr>
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org,
        gnats-bugs@NetBSD.org
Subject: Re: kern/43806: No sound on Thinkpad T510
Date: Sun, 29 Aug 2010 14:27:09 +0200

 On Sat, Aug 28, 2010 at 07:02:58AM +0000, le chapelain germain wrote:
 > I don't know if I am using hdaudio, I guess that's what I am trying to do.
 > I am using 5.99.39 as well.
 > 
 > bash-4.1$ dmesg | grep -i audio
 > hdaudio0 at pci1 dev 0 function 1: HD Audio Controller
 > hdaudio0: interrupting at ioapic0 pin 16
 > ...
 > bash-4.1$ ls /dev/hd*
 > ls: /dev/hd*: No such file or directory
 > 
 > How is it possible to see the line in dmesg and while not seeing the node in /dev ?

 device nodes are just files, you can give them the name you want (they
 don't have to match the device's name). For example, the device node for
 device com0 is /dev/tty00.
 Also, not all device instance have a device node associated. For example,
 network devices don't have a device node in /dev (they're accessible
 via another namespace).
 For this specific case, audio adapters are attached to the audio(4)
 framework, and are acessible through the generic nodes /dev/audio* and
 /dev/sound*.


 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: Bernd Ernesti <netbsd@lists.veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/43806: No sound on Thinkpad T510
Date: Sun, 29 Aug 2010 15:47:48 +0200

 On Fri, Aug 27, 2010 at 07:25:10PM +0000, bch@methodlogic.net wrote:
 > On Fri, Aug 27, 2010 at 05:20:03PM +0000, Bernd Ernesti wrote:
 > > The following reply was made to PR kern/43806; it has been noted by GNATS.
 > 
 > I'm running -current on a T410, and it's hit/miss whether it will produce
 > audio via built-in speakers or out audio jack at any one time... I've
 > taken to (as root)
 > 
 > hdaudioctl list hdaudioctl set 0x00 0x01 # adjust the 0x00, 0x01 per
 > output of hdaudioctl list -- I just picked first device listed in
 > "hdaudioctl list"

 How does this help that the 'real' audio device is in his case audio4
 which attaches to a different hdaudio instance?

 > After this resetting, I can usually listen to audio as I want. Mixer,
 > however has been non-functional for a while now...

 I use the following entries in $HOME/.mplayer/config
  ao = sun:/dev/audio1
  mixer = /dev/audio

 In his cause he would have to use:
  ao = sun:/dev/audio4
  mixer = /dev/audio

 I use the svn version and not the pkgsrc version of mplayer with this configuration.

 IMHO it would be much nicer if the 'real' hdaudio device attaches first
 and not the 'non' functional one.

 Bernd

From: bch@methodlogic.net
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, lechapelaing@yahoo.fr
Subject: Re: kern/43806: No sound on Thinkpad T510
Date: Sun, 29 Aug 2010 20:29:26 +0000

 On Sun, Aug 29, 2010 at 12:30:05PM +0000, Manuel Bouyer wrote:
 > The following reply was made to PR kern/43806; it has been noted by GNATS.
 > 
 > From: Manuel Bouyer <bouyer@antioche.eu.org>
 > To: le chapelain germain <lechapelaing@yahoo.fr>
 > Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org,
 >         gnats-bugs@NetBSD.org
 > Subject: Re: kern/43806: No sound on Thinkpad T510
 > Date: Sun, 29 Aug 2010 14:27:09 +0200
 > 
 >  On Sat, Aug 28, 2010 at 07:02:58AM +0000, le chapelain germain wrote:
 >  > I don't know if I am using hdaudio, I guess that's what I am trying to do.
 >  > I am using 5.99.39 as well.
 >  > 
 >  > bash-4.1$ dmesg | grep -i audio
 >  > hdaudio0 at pci1 dev 0 function 1: HD Audio Controller
 >  > hdaudio0: interrupting at ioapic0 pin 16
 >  > ...
 >  > bash-4.1$ ls /dev/hd*
 >  > ls: /dev/hd*: No such file or directory
 >  > 
 >  > How is it possible to see the line in dmesg and while not seeing the node in /dev ?
 >  
 >  device nodes are just files, you can give them the name you want (they
 >  don't have to match the device's name). For example, the device node for
 >  device com0 is /dev/tty00.
 >  Also, not all device instance have a device node associated. For example,
 >  network devices don't have a device node in /dev (they're accessible
 >  via another namespace).
 >  For this specific case, audio adapters are attached to the audio(4)
 >  framework, and are acessible through the generic nodes /dev/audio* and
 >  /dev/sound*.


 On my system (NetBSD kamloops 5.99.39 NetBSD 5.99.39 (kamloops) #205: Thu Aug 26 19:35:29 PDT 2010  root@kamloops:/usr/obj/sys/arch/amd64/compile/kamloops amd64), I've got:

 kamloops# ls -ld /dev/hdau*
 crw-r--r--  1 root  wheel  195, 0 Apr 20 19:57 /dev/hdaudio0
 crw-r--r--  1 root  wheel  195, 1 Apr 20 19:57 /dev/hdaudio1
 crw-r--r--  1 root  wheel  195, 2 Apr 20 19:57 /dev/hdaudio2
 crw-r--r--  1 root  wheel  195, 3 Apr 20 19:57 /dev/hdaudio3


 ....but I just deleted them, and playing (via xmms) seems to work,
 but hdaudioctl now does not...

 I'll test on next reboot if my audio needs to have it's seemingly typical
 "hdaudioctl set 0x00 0x01" to get audible output.

 -bch



 -- 
 Brad Harder
 Method Logic Digital Consulting
 http://methodlogic.net/
 http://twitter.com/bcharder

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org,
        lechapelaing@yahoo.fr
Subject: Re: kern/43806: No sound on Thinkpad T510
Date: Sun, 29 Aug 2010 20:39:10 +0200

 On Sun, Aug 29, 2010 at 06:30:06PM +0000, bch@methodlogic.net wrote:
 >  On my system (NetBSD kamloops 5.99.39 NetBSD 5.99.39 (kamloops) #205: Thu Aug 26 19:35:29 PDT 2010  root@kamloops:/usr/obj/sys/arch/amd64/compile/kamloops amd64), I've got:
 >  
 >  kamloops# ls -ld /dev/hdau*
 >  crw-r--r--  1 root  wheel  195, 0 Apr 20 19:57 /dev/hdaudio0
 >  crw-r--r--  1 root  wheel  195, 1 Apr 20 19:57 /dev/hdaudio1
 >  crw-r--r--  1 root  wheel  195, 2 Apr 20 19:57 /dev/hdaudio2
 >  crw-r--r--  1 root  wheel  195, 3 Apr 20 19:57 /dev/hdaudio3
 >  
 >  
 >  ....but I just deleted them, and playing (via xmms) seems to work,
 >  but hdaudioctl now does not...
 >  
 >  I'll test on next reboot if my audio needs to have it's seemingly typical
 >  "hdaudioctl set 0x00 0x01" to get audible output.

 I was not aware we had a /dev/hdaudio*
 so
 cd /dev/ && ./MAKEDEV hdaudio0 hdaudio1 hdaudio2 hdaudio3
 should create them if missing.

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: bch@methodlogic.net
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, lechapelaing@yahoo.fr
Subject: Re: kern/43806: No sound on Thinkpad T510
Date: Sun, 29 Aug 2010 21:35:27 +0000

 On Sun, Aug 29, 2010 at 06:40:04PM +0000, Manuel Bouyer wrote:
 > The following reply was made to PR kern/43806; it has been noted by GNATS.
 > 
 > From: Manuel Bouyer <bouyer@antioche.eu.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org,
 >         lechapelaing@yahoo.fr
 > Subject: Re: kern/43806: No sound on Thinkpad T510
 > Date: Sun, 29 Aug 2010 20:39:10 +0200
 > 
 >  On Sun, Aug 29, 2010 at 06:30:06PM +0000, bch@methodlogic.net wrote:
 >  >  On my system (NetBSD kamloops 5.99.39 NetBSD 5.99.39 (kamloops) #205: Thu Aug 26 19:35:29 PDT 2010  root@kamloops:/usr/obj/sys/arch/amd64/compile/kamloops amd64), I've got:
 >  >  
 >  >  kamloops# ls -ld /dev/hdau*
 >  >  crw-r--r--  1 root  wheel  195, 0 Apr 20 19:57 /dev/hdaudio0
 >  >  crw-r--r--  1 root  wheel  195, 1 Apr 20 19:57 /dev/hdaudio1
 >  >  crw-r--r--  1 root  wheel  195, 2 Apr 20 19:57 /dev/hdaudio2
 >  >  crw-r--r--  1 root  wheel  195, 3 Apr 20 19:57 /dev/hdaudio3
 >  >  
 >  >  
 >  >  ....but I just deleted them, and playing (via xmms) seems to work,
 >  >  but hdaudioctl now does not...
 >  >  
 >  >  I'll test on next reboot if my audio needs to have it's seemingly typical
 >  >  "hdaudioctl set 0x00 0x01" to get audible output.

 I just rebooted and indeed, xmms throws no errors and shows signs of
 working (i.e. audio meters are working, timer is counting), but no
 audio is emitted from built-in speakers. I reinstalled the hdaudio0
 device, performed an "hdaudioctl get 0x00 > hd_before" to capture it's
 current settings, "hdaudioctl set 0x00 0x01" to "jostle" the audio, then
 "hdaudioctl get 0x00 0x01 > hd_after". The speakers are now making sounds,
 but a "diff -bu on hd_before hd_after" yields no differences.

 -bch

 >  I was not aware we had a /dev/hdaudio*
 >  so
 >  cd /dev/ && ./MAKEDEV hdaudio0 hdaudio1 hdaudio2 hdaudio3
 >  should create them if missing.
 >  
 >  -- 
 >  Manuel Bouyer <bouyer@antioche.eu.org>
 >       NetBSD: 26 ans d'experience feront toujours la difference
 >  --
 >  

 -- 
 Brad Harder
 Method Logic Digital Consulting
 http://methodlogic.net
 http://twitter.com/bcharder

From: le chapelain germain <lechapelaing@yahoo.fr>
To: gnats-bugs@NetBSD.org, bch@methodlogic.net
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/43806: No sound on Thinkpad T510
Date: Wed, 13 Oct 2010 07:26:39 +0100 (BST)

 Hi,=0A=0A=0AI can hear and tune the sound when I launch mplayer as a root.=
 =0A=0AI tried playing with the permission of /dev/audio*, and then I was no=
 t even able to play a movie any longer.  When I would quit mplayer, I could=
  not enter anything in the terminal.=0A=0APressing enter would echo the pro=
 mpt "bash-4.1$" without a carriage return.=0A=0Aafter changing /dev/audio, =
 mixer and mixerctl to 777 i was able to play a movie again both as a user a=
 nd as root, but still no sound as a user.=0A=0AWhat could cause this ?=0A=
 =0AMy permissions now looks like this :=0A=0Acrwxrwxrwx  1 root  wheel  42,=
   16 Aug 20 09:36 mixer0=0Acrwxrwxrwx  1 root  wheel  42, 192 Aug 20 09:36 =
 audioctl0=0Acrw-rw-rw-  1 root  wheel  42, 129 Aug 20 09:36 audio1=0Acrw-rw=
 -rw-  1 root  wheel  42,  17 Aug 20 09:36 mixer1=0Acrw-rw-rw-  1 root  whee=
 l  42, 193 Aug 20 09:36 audioctl1=0Acrw-rw-rw-  1 root  wheel  42, 130 Aug =
 20 09:36 audio2=0Acrw-rw-rw-  1 root  wheel  42,  18 Aug 20 09:36 mixer2=0A=
 crw-rw-rw-  1 root  wheel  42, 194 Aug 20 09:36 audioctl2=0Acrw-rw-rw-  1 r=
 oot  wheel  42, 131 Aug 20 09:36 audio3=0Acrw-rw-rw-  1 root  wheel  42,  1=
 9 Aug 20 09:36 mixer3=0Acrw-rw-rw-  1 root  wheel  42, 195 Aug 20 09:36 aud=
 ioctl3=0Alrwxrwxrwx  1 root  wheel        6 Aug 20 09:36 audio -> audio0=0A=
 lrwxrwxrwx  1 root  wheel        6 Aug 20 09:36 mixer -> mixer0=0Alrwxrwxrw=
 x  1 root  wheel        9 Aug 20 09:36 audioctl -> audioctl0=0Acrw-rw-rw-  =
 1 root  wheel  42,  20 Sep  1 04:12 mixer4=0Acrw-rw-rw-  1 root  wheel  42,=
  196 Sep  1 04:12 audioctl4=0Acrw-rw-rw-  1 root  wheel  42, 132 Oct 12 22:=
 18 audio4=0Acrwxrwxrwx  1 root  wheel  42, 128 Oct 12 23:16 audio0=0A=0ATha=
 nks !=0A=0A=0AGermain=0A=0A--- En date de=A0: Dim 29.8.10, bch@methodlogic.=
 net <bch@methodlogic.net> a =E9crit=A0:=0A=0A> De: bch@methodlogic.net <bch=
 @methodlogic.net>=0A> Objet: Re: kern/43806: No sound on Thinkpad T510=0A> =
 =C0: gnats-bugs@NetBSD.org=0A> Cc: kern-bug-people@netbsd.org, gnats-admin@=
 netbsd.org, netbsd-bugs@netbsd.org, lechapelaing@yahoo.fr=0A> Date: Dimanch=
 e 29 ao=FBt 2010, 23h35=0A> On Sun, Aug 29, 2010 at 06:40:04PM=0A> +0000, M=
 anuel Bouyer wrote:=0A> > The following reply was made to PR kern/43806; it=
  has=0A> been noted by GNATS.=0A> > =0A> > From: Manuel Bouyer <bouyer@anti=
 oche.eu.org>=0A> > To: gnats-bugs@NetBSD.org=0A> > Cc: kern-bug-people@NetB=
 SD.org,=0A> gnats-admin@NetBSD.org,=0A> netbsd-bugs@NetBSD.org,=0A> >=A0 =
 =A0 =A0 =A0=A0=A0lechapelaing@yahoo.fr=0A> > Subject: Re: kern/43806: No so=
 und on Thinkpad T510=0A> > Date: Sun, 29 Aug 2010 20:39:10 +0200=0A> > =0A>=
  >=A0 On Sun, Aug 29, 2010 at 06:30:06PM +0000, bch@methodlogic.net=0A> wro=
 te:=0A> >=A0 >=A0 On my system (NetBSD kamloops 5.99.39=0A> NetBSD 5.99.39 =
 (kamloops) #205: Thu Aug 26 19:35:29 PDT=0A> 2010=A0=0A> root@kamloops:/usr=
 /obj/sys/arch/amd64/compile/kamloops=0A> amd64), I've got:=0A> >=A0 >=A0 =
 =0A> >=A0 >=A0 kamloops# ls -ld /dev/hdau*=0A> >=A0 >=A0 crw-r--r--=A0 1 ro=
 ot=A0=0A> wheel=A0 195, 0 Apr 20 19:57 /dev/hdaudio0=0A> >=A0 >=A0 crw-r--r=
 --=A0 1 root=A0=0A> wheel=A0 195, 1 Apr 20 19:57 /dev/hdaudio1=0A> >=A0 >=
 =A0 crw-r--r--=A0 1 root=A0=0A> wheel=A0 195, 2 Apr 20 19:57 /dev/hdaudio2=
 =0A> >=A0 >=A0 crw-r--r--=A0 1 root=A0=0A> wheel=A0 195, 3 Apr 20 19:57 /de=
 v/hdaudio3=0A> >=A0 >=A0 =0A> >=A0 >=A0 =0A> >=A0 >=A0 ....but I just delet=
 ed them, and=0A> playing (via xmms) seems to work,=0A> >=A0 >=A0 but hdaudi=
 octl now does not...=0A> >=A0 >=A0 =0A> >=A0 >=A0 I'll test on next reboot =
 if my audio=0A> needs to have it's seemingly typical=0A> >=A0 >=A0 "hdaudio=
 ctl set 0x00 0x01" to get=0A> audible output.=0A> =0A> I just rebooted and =
 indeed, xmms throws no errors and shows=0A> signs of=0A> working (i.e. audi=
 o meters are working, timer is counting),=0A> but no=0A> audio is emitted f=
 rom built-in speakers. I reinstalled the=0A> hdaudio0=0A> device, performed=
  an "hdaudioctl get 0x00 > hd_before"=0A> to capture it's=0A> current setti=
 ngs, "hdaudioctl set 0x00 0x01" to "jostle"=0A> the audio, then=0A> "hdaudi=
 octl get 0x00 0x01 > hd_after". The speakers are=0A> now making sounds,=0A>=
  but a "diff -bu on hd_before hd_after" yields no=0A> differences.=0A> =0A>=
  -bch=0A> =0A> >=A0 I was not aware we had a /dev/hdaudio*=0A> >=A0 so=0A> =
 >=A0 cd /dev/ && ./MAKEDEV hdaudio0 hdaudio1=0A> hdaudio2 hdaudio3=0A> >=A0=
  should create them if missing.=0A> >=A0 =0A> >=A0 -- =0A> >=A0 Manuel Bouy=
 er <bouyer@antioche.eu.org>=0A> >=A0 =A0 =A0=A0=A0NetBSD: 26 ans=0A> d'expe=
 rience feront toujours la difference=0A> >=A0 --=0A> >=A0 =0A> =0A> -- =0A>=
  Brad Harder=0A> Method Logic Digital Consulting=0A> http://methodlogic.net=
 =0A> http://twitter.com/bcharder=0A> =0A> =0A=0A=0A      

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/43806: No sound on Thinkpad T510
Date: Sat, 13 Nov 2010 21:03:34 +0000

 Didn't make it to gnats. Comments on PRs should be sent to gnats-bugs,
 which this one was, but need to have the Subject: in the form Re:
 category/number like above. "Re : Re :" doesn't work.

    ------

 From: le chapelain germain <lechapelaing@yahoo.fr>
 To: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org,
 	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
 Subject: Re : Re : kern/43806: No sound on Thinkpad T510
 Date: Fri, 12 Nov 2010 00:42:57 +0000 (GMT)

 Mmm,  I just realized pidgin does play sound :|
 When launching from the console, it displays the message

 GConf Error: Failed to contact configuration server; some possible causes are 
 that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks 
 due to a system crash. See http://projects.gnome.org/gconf/ for information. 
 (Details -  1: Failed to get connection to session: Failed to execute 
 dbus-launch to autolaunch D-Bus session)

 Everytime I preview a sound, so I guess that's one thing I can start tracking 
 down :)


 Germain





 ----- Message d'origine ----
 De : le chapelain germain <lechapelaing@yahoo.fr>
 ? : gnats-bugs@NetBSD.org; kern-bug-people@netbsd.org; gnats-admin@netbsd.org; 
 netbsd-bugs@netbsd.org
 Envoy? le : Jeu 11 novembre 2010, 23h 00min 01s
 Objet : Re : kern/43806: No sound on Thinkpad T510

 Hi,


 I am doing more poking at this right now.

 I have tried upgrading to current (you never know..)  

 then going

 bash-4.1# ln -fs  /dev/audio4 /dev/audio
 bash-4.1# ls -lrt /dev/audio
 lrwxr-xr-x  1 root  wheel  11 Nov 11 15:39 /dev/audio -> /dev/audio4


 (since I get 
 >dmesg
 ...
 hdafg4 at hdaudio1: Conexant CX20585
 hdafg4: DAC00 2ch: HP Out [Jack]
 hdafg4: ADC01 2ch: Mic In [Jack]
 hdafg4: DAC02 2ch: Speaker [Built-In]
 hdafg4: ADC03 2ch: Mic In [Built-In]
 hdafg4: 2ch/2ch 44100Hz 48000Hz 96000Hz 16/16 20/32 24/32
 audio4 at hdafg4: full duplex, playback, capture, independent)


 I still got no sound coming out of mplayer in root or user, without any 
 particular error message.

 mixerctl -a returns

 bash-4.1# mixerctl -a
 outputs.dacsel=DAC00
 bash-4.1# 


 I have tried going


 bash-4.1# mixerctl -w outputs.dacsel=DAC02
 mixerctl: Bad set value DAC02


 I don't mind investigating more but as you can tell I have no idea what I am 
 doing.
 All I know is I have heard sound coming out of my computer once on netbsd 5

 Please, help me !..


 -- 
 Germain Le Chapelain
 ( Sorry for the poor formatting of the previous message. )

    ------

 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: open->feedback
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Fri, 22 May 2020 13:11:24 +0000
State-Changed-Why:
"audiocfg default 4" should select the correct (default) audio output. Can you
test?


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 31 Jan 2023 23:34:23 +0000
State-Changed-Why:
No feedback since 2020; but the prior message here was in 2010,
so in all probability there's nobody actually there at the other
end any more. Also, several of the problems were resolved but the
remaining one was a question of which audio device gets used,
and the state of that problem is quite different from 2010 and
likely sufficient.

If you're still there and still have a problem, write in or let
me know, but I'm assuming not.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 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.