tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: laptop speaker dead with hdaudio



My bad, it isn't HDAUDIO_AFG_DEBUG, it is boot -x to enable widget tracing.

-----Original Message-----
From: drochner%zel459.zel.kfa-juelich.de@localhost
[mailto:drochner%zel459.zel.kfa-juelich.de@localhost] On Behalf Of Matthias 
Drochner
Sent: September-08-09 8:09 AM
To: Jared D. McNeill
Cc: sborrill%netbsd.org@localhost; tech-kern%netbsd.org@localhost
Subject: Re: laptop speaker dead with hdaudio 


jmcneill%invisible.ca@localhost said:
> First thing to do is set HDAUDIO_AFG_DEBUG near the top of 
> hdaudio_afg.c

Thanks - here is the output:
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 21 hdafg0 at hdaudio0 vendor 0x8384
product 0x7690 nid 0x01 (firmware
configuration)
hdafg0: parsing widgets
hdafg0: afg start 02 end 15 nwidgets 19
hdafg0: powering up widgets
hdafg0: afg widgets 0xcb53a000-0xcb53b430
hdafg0: parsing controls
hdafg0: disabling non-audio devices
hdafg0: disabling useless devices
hdafg0: parsing associations
hdafg0:   count present associations
hdafg0:   maxassocs 2
hdafg0:   allocating memory
hdafg0:   scan associations, skipping as=0
hdafg0:   all done
hdafg0: building tree
hdafg0: disabling unassociated pins
hdafg0: disabling unselected pins
hdafg0: disabling useless devices
hdafg0: disabling cross-associated pins
hdafg0: disabling useless devices
hdafg0: assigning mixer names to sound sources
hdafg0: assigning mixers to device tree
hdafg0: preparing pin controls
hdafg0: commiting settings
hdafg0: setup jack sensing
hdafg0: building mixer controls
hdafg0: DAC0:02, Analog HP Out: Jack (Black, 0D)
hdafg0: ADC1:03, Analog Mic In: Fixed Function (Unknown, 0F)
hdafg0: ADC1:03, Analog Line In: Jack (Black, 10)
hdafg0: configuring encodings
hdafg0: 2ch/2ch 44100Hz-192000Hz 16/16 20/32 24/32
hdafg0: reserving streams
hdafg0: connecting streams
hdafg0: attaching audio device
audio0 at hdafg0: full duplex, independent hdvsmfg at hdaudio0 vendor 0x14F1
product 0x2BFA nid 0x02 not configured

> This tool will dump the current pin configuration as a graphviz .dot
chart:
>  http://www.invisible.ca/~jmcneill/hdaudio/ctl/hdaudioctl.c

Great - I'll append the output.
(It needs an s/HDAUDIO_WIDGET_INFO/HDAUDIO_AFG_WIDGET_INFO/g.)

best regards
Matthias


----------------------------------------------------------------------------
--------------------
----------------------------------------------------------------------------
--------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft
(stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M.
Schmidt
----------------------------------------------------------------------------
--------------------
----------------------------------------------------------------------------
--------------------



Home | Main Index | Thread Index | Old Index