Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Audio through second HDMI output on GPU?
Date: Sun, 23 May 2021 18:12:45
Message-Id: f8b515c5-4e6e-a836-c8ad-1e8aca4e46f7@gmail.com
In Reply to: Re: [gentoo-user] Audio through second HDMI output on GPU? by Mark Knecht
1 Mark Knecht wrote:
2 >
3 > Dale and Arve,
4 >    As I do home studio type recording using Linux I always find this
5 > topic quite interesting but because of the more complicated setup of
6 > my audio environment which makes use of a Hammerfall DSP card driving
7 > the speaker but utilizes the internal Intel sound card for general
8 > audio, along with cables outside to hook the two together, I'm just
9 > not sure what I see on my system is very helpful to you two.
10 > Nonetheless I do have an older NVidia GPU and would like to understand
11 > what's going on with all of this.
12 >
13 >    A couple of requests:
14 >
15 > 1) instead of aplay -l please run aplay -L
16 >
17 > 2) Also provide the output of 
18 >
19 > cat /proc/asound/card2/codec#0
20 >
21 > Note: Your card number may well be different than mine
22 > card0=Hammerfall, card1=Internal Intel sound, card2=NVidia
23 >
24 >    Also, there is an old (2014) document online from NVidia that
25 > provides a lot of info on Alsa device naming and how NVidia GPUs
26 > handle audio. It's one of the better ones I've found online making the
27 > dangerous assumption that it hasn't all changed. There's lots of info
28 > in this document about system config edits for non-pulseaudio users
29 > and things that might possibly be of interest to Gentoo users with
30 > configuration more like Arve's, but again, that's a guess on my part.
31 >
32 > https://download.nvidia.com/XFree86/gpu-hdmi-audio-document/
33 >
34 >    No rush on any of this.
35 >
36 > Thanks,
37 > Mark
38
39
40 While what I have is working, I wouldn't mind having info in case it
41 stops working or I need to change my video player.  I don't have a card2
42 but I do have a card0 and card1.  I'm including both since I'm not sure
43 what is what.  Plus it may help someone else. Since I snipped previous,
44 this is the setting for my TV.  alsa:device=hw=1.7
45
46
47
48 root@fireball / # aplay -L
49 null
50     Discard all samples (playback) or generate zero samples (capture)
51 default:CARD=SB
52     HDA ATI SB, VT2020 Analog
53     Default Audio Device
54 sysdefault:CARD=SB
55     HDA ATI SB, VT2020 Analog
56     Default Audio Device
57 front:CARD=SB,DEV=0
58     HDA ATI SB, VT2020 Analog
59     Front output / input
60 surround21:CARD=SB,DEV=0
61     HDA ATI SB, VT2020 Analog
62     2.1 Surround output to Front and Subwoofer speakers
63 surround40:CARD=SB,DEV=0
64     HDA ATI SB, VT2020 Analog
65     4.0 Surround output to Front and Rear speakers
66 surround41:CARD=SB,DEV=0
67     HDA ATI SB, VT2020 Analog
68     4.1 Surround output to Front, Rear and Subwoofer speakers
69 surround50:CARD=SB,DEV=0
70     HDA ATI SB, VT2020 Analog
71     5.0 Surround output to Front, Center and Rear speakers
72 surround51:CARD=SB,DEV=0
73     HDA ATI SB, VT2020 Analog
74     5.1 Surround output to Front, Center, Rear and Subwoofer speakers
75 surround71:CARD=SB,DEV=0
76     HDA ATI SB, VT2020 Analog
77     7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
78 iec958:CARD=SB,DEV=0
79     HDA ATI SB, VT2020 Digital
80     IEC958 (S/PDIF) Digital Audio Output
81 hdmi:CARD=NVidia,DEV=0
82     HDA NVidia, HDMI 0
83     HDMI Audio Output
84 hdmi:CARD=NVidia,DEV=1
85     HDA NVidia, HDMI 1
86     HDMI Audio Output
87 hdmi:CARD=NVidia,DEV=2
88     HDA NVidia, HDMI 2
89     HDMI Audio Output
90 hdmi:CARD=NVidia,DEV=3
91     HDA NVidia, HDMI 3
92     HDMI Audio Output
93 hdmi:CARD=NVidia,DEV=4
94     HDA NVidia, HDMI 4
95     HDMI Audio Output
96 hdmi:CARD=NVidia,DEV=5
97     HDA NVidia, HDMI 5
98     HDMI Audio Output
99 root@fireball / # cat /proc/asound/card0/codec#0
100 Codec: VIA VT2020
101 Address: 0
102 AFG Function Id: 0x1 (unsol 0)
103 Vendor Id: 0x11060441
104 Subsystem Id: 0x1458a014
105 Revision Id: 0x100100
106 No Modem Function Group found
107 Default PCM:
108     rates [0x0]:
109     bits [0x0]:
110     formats [0x0]:
111 Default Amp-In caps: N/A
112 Default Amp-Out caps: N/A
113 State of AFG node 0x01:
114   Power states:  D0 D1 D2 D3 EPSS
115   Power: setting=D0, actual=D0
116 GPIO: io=1, o=0, i=0, unsolicited=1, wake=0
117   IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
118 Node 0x08 [Audio Output] wcaps 0x41d: Stereo Amp-Out
119   Control: name="Front Playback Volume", index=0, device=0
120     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
121   Device: name="VT2020 Analog", type="Audio", device=0
122   Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
123   Amp-Out vals:  [0x2a 0x2a]
124   Converter: stream=5, channel=0
125   PCM:
126     rates [0x5e0]: 44100 48000 88200 96000 192000
127     bits [0xe]: 16 20 24
128     formats [0x1]: PCM
129   Power states:  D0 D1 D2 D3
130   Power: setting=D0, actual=D0
131 Node 0x09 [Audio Output] wcaps 0x41d: Stereo Amp-Out
132   Control: name="Surround Playback Volume", index=0, device=0
133     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
134   Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
135   Amp-Out vals:  [0x00 0x00]
136   Converter: stream=5, channel=0
137   PCM:
138     rates [0x5e0]: 44100 48000 88200 96000 192000
139     bits [0xe]: 16 20 24
140     formats [0x1]: PCM
141   Power states:  D0 D1 D2 D3
142   Power: setting=D0, actual=D0
143 Node 0x0a [Audio Output] wcaps 0x41d: Stereo Amp-Out
144   Control: name="Center Playback Volume", index=0, device=0
145     ControlAmp: chs=1, dir=Out, idx=0, ofs=0
146   Control: name="LFE Playback Volume", index=0, device=0
147     ControlAmp: chs=2, dir=Out, idx=0, ofs=0
148   Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
149   Amp-Out vals:  [0x00 0x2a]
150   Converter: stream=5, channel=0
151   PCM:
152     rates [0x5e0]: 44100 48000 88200 96000 192000
153     bits [0xe]: 16 20 24
154     formats [0x1]: PCM
155   Power states:  D0 D1 D2 D3
156   Power: setting=D0, actual=D0
157 Node 0x0b [Audio Output] wcaps 0x41d: Stereo Amp-Out
158   Control: name="Side Playback Volume", index=0, device=0
159     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
160   Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
161   Amp-Out vals:  [0x1d 0x1d]
162   Converter: stream=5, channel=0
163   PCM:
164     rates [0x5e0]: 44100 48000 88200 96000 192000
165     bits [0xe]: 16 20 24
166     formats [0x1]: PCM
167   Power states:  D0 D1 D2 D3
168   Power: setting=D0, actual=D0
169 Node 0x0c [Audio Output] wcaps 0x41d: Stereo Amp-Out
170   Control: name="Headphone Playback Volume", index=0, device=0
171     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
172   Device: name="VT2020 Alt Analog", type="Audio", device=2
173   Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
174   Amp-Out vals:  [0x27 0x27]
175   Converter: stream=5, channel=0
176   PCM:
177     rates [0x5e0]: 44100 48000 88200 96000 192000
178     bits [0xe]: 16 20 24
179     formats [0x1]: PCM
180   Power states:  D0 D1 D2 D3
181   Power: setting=D0, actual=D0
182 Node 0x0d [Vendor Defined Widget] wcaps 0xf00000: Mono
183 Node 0x0e [Audio Output] wcaps 0x611: Stereo Digital
184   Control: name="IEC958 Playback Con Mask", index=0, device=0
185   Control: name="IEC958 Playback Pro Mask", index=0, device=0
186   Control: name="IEC958 Playback Default", index=0, device=0
187   Control: name="IEC958 Playback Switch", index=0, device=0
188   Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
189   Device: name="VT2020 Digital", type="SPDIF", device=1
190   Converter: stream=5, channel=0
191   Digital:
192   Digital category: 0x0
193   IEC Coding Type: 0x0
194   PCM:
195     rates [0x5e0]: 44100 48000 88200 96000 192000
196     bits [0xe]: 16 20 24
197     formats [0x1]: PCM
198   Power states:  D0 D1 D2 D3
199   Power: setting=D0, actual=D0
200 Node 0x0f [Audio Output] wcaps 0x611: Stereo Digital
201   Converter: stream=5, channel=0
202   Digital:
203   Digital category: 0x0
204   IEC Coding Type: 0x0
205   PCM:
206     rates [0x5e0]: 44100 48000 88200 96000 192000
207     bits [0xe]: 16 20 24
208     formats [0x1]: PCM
209   Power states:  D0 D1 D2 D3
210   Power: setting=D0, actual=D0
211 Node 0x10 [Audio Input] wcaps 0x10051b: Stereo Amp-In
212   Control: name="Capture Volume", index=0, device=0
213     ControlAmp: chs=3, dir=In, idx=0, ofs=0
214   Control: name="Capture Switch", index=0, device=0
215     ControlAmp: chs=3, dir=In, idx=0, ofs=0
216   Device: name="VT2020 Analog", type="Audio", device=0
217   Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
218   Amp-In vals:  [0x00 0x00]
219   Converter: stream=0, channel=0
220   SDI-Select: 0
221   PCM:
222     rates [0x560]: 44100 48000 96000 192000
223     bits [0xe]: 16 20 24
224     formats [0x1]: PCM
225   Power states:  D0 D1 D2 D3
226   Power: setting=D0, actual=D0
227   Connection: 1
228      0x1e
229 Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
230   Control: name="Capture Volume", index=1, device=0
231     ControlAmp: chs=3, dir=In, idx=0, ofs=0
232   Control: name="Capture Switch", index=1, device=0
233     ControlAmp: chs=3, dir=In, idx=0, ofs=0
234   Device: name="VT2020 Alt Analog", type="Audio", device=2
235   Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
236   Amp-In vals:  [0x80 0x80]
237   Converter: stream=0, channel=0
238   SDI-Select: 0
239   PCM:
240     rates [0x560]: 44100 48000 96000 192000
241     bits [0xe]: 16 20 24
242     formats [0x1]: PCM
243   Power states:  D0 D1 D2 D3
244   Power: setting=D0, actual=D0
245   Connection: 1
246      0x1f
247 Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
248 Node 0x13 [Audio Input] wcaps 0x100711: Stereo Digital
249   Converter: stream=0, channel=0
250   SDI-Select: 0
251   Digital:
252   Digital category: 0x0
253   IEC Coding Type: 0x0
254   PCM:
255     rates [0x1f0]: 32000 44100 48000 88200 96000
256     bits [0xe]: 16 20 24
257     formats [0x1]: PCM
258   Power states:  D0 D1 D2 D3
259   Power: setting=D0, actual=D0
260   Connection: 1
261      0x2f
262 Node 0x14 [Vendor Defined Widget] wcaps 0xf00000: Mono
263 Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
264 Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
265 Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
266 Node 0x18 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
267   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
268   Amp-In vals:  [0x00 0x00] [0x80 0x80]
269   Power states:  D0 D1 D2 D3
270   Power: setting=D0, actual=D0
271   Connection: 2
272      0x08 0x21
273 Node 0x19 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
274   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
275   Amp-In vals:  [0x00 0x00] [0x80 0x80]
276   Power states:  D0 D1 D2 D3
277   Power: setting=D0, actual=D0
278   Connection: 2
279      0x09 0x21
280 Node 0x1a [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
281   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
282   Amp-In vals:  [0x00 0x00] [0x80 0x80]
283   Power states:  D0 D1 D2 D3
284   Power: setting=D0, actual=D0
285   Connection: 2
286      0x0b 0x21
287 Node 0x1b [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
288   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
289   Amp-In vals:  [0x00 0x00] [0x80 0x80]
290   Power states:  D0 D1 D2 D3
291   Power: setting=D0, actual=D0
292   Connection: 2
293      0x34 0x21
294 Node 0x1c [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
295   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
296   Amp-In vals:  [0x80 0x80] [0x80 0x80]
297   Power states:  D0 D1 D2 D3
298   Power: setting=D0, actual=D0
299   Connection: 2
300      0x35 0x21
301 Node 0x1d [Vendor Defined Widget] wcaps 0xf00000: Mono
302 Node 0x1e [Audio Selector] wcaps 0x300501: Stereo
303   Power states:  D0 D1 D2 D3
304   Power: setting=D0, actual=D0
305   Connection: 6
306      0x2c 0x2b 0x2a 0x29* 0x28 0x21
307 Node 0x1f [Audio Selector] wcaps 0x300501: Stereo
308   Power states:  D0 D1 D2 D3
309   Power: setting=D0, actual=D0
310   Connection: 6
311      0x2c 0x2b 0x2a 0x29* 0x28 0x21
312 Node 0x20 [Vendor Defined Widget] wcaps 0xf00000: Mono
313 Node 0x21 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
314   Control: name="Front Mic Playback Volume", index=0, device=0
315     ControlAmp: chs=3, dir=In, idx=3, ofs=0
316   Control: name="Front Mic Playback Switch", index=0, device=0
317     ControlAmp: chs=3, dir=In, idx=3, ofs=0
318   Control: name="Rear Mic Playback Volume", index=0, device=0
319     ControlAmp: chs=3, dir=In, idx=1, ofs=0
320   Control: name="Rear Mic Playback Switch", index=0, device=0
321     ControlAmp: chs=3, dir=In, idx=1, ofs=0
322   Control: name="Line Playback Volume", index=0, device=0
323     ControlAmp: chs=3, dir=In, idx=2, ofs=0
324   Control: name="Line Playback Switch", index=0, device=0
325     ControlAmp: chs=3, dir=In, idx=2, ofs=0
326   Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
327   Amp-In vals:  [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80]
328   Power states:  D0 D1 D2 D3
329   Power: setting=D0, actual=D0
330   Connection: 5
331      0x2c 0x2b 0x2a 0x29 0x28
332   In-driver Connection: 6
333      0x2c 0x2b 0x2a 0x29 0x28 0x08
334 Node 0x22 [Beep Generator Widget] wcaps 0x70040c: Mono Amp-Out
335   Control: name="Beep Playback Volume", index=0, device=0
336     ControlAmp: chs=1, dir=Out, idx=0, ofs=0
337   Control: name="Beep Playback Switch", index=0, device=0
338     ControlAmp: chs=1, dir=Out, idx=0, ofs=0
339   Amp-Out caps: ofs=0x0a, nsteps=0x12, stepsize=0x05, mute=1
340   Amp-Out vals:  [0x01]
341   Power states:  D0 D1 D2 D3
342   Power: setting=D0, actual=D0
343 Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
344 Node 0x24 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
345   Control: name="Front Playback Switch", index=0, device=0
346     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
347   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
348   Amp-Out vals:  [0x00 0x00]
349   Pincap 0x0001001c: OUT HP EAPD Detect
350   EAPD 0x2: EAPD
351   Pin Default 0x01014010: [Jack] Line Out at Ext Rear
352     Conn = 1/8, Color = Green
353     DefAssociation = 0x1, Sequence = 0x0
354   Pin-ctls: 0x40: OUT
355   Unsolicited: tag=01, enabled=1
356   Power states:  D0 D1 D2 D3
357   Power: setting=D0, actual=D0
358   Connection: 1
359      0x18
360 Node 0x25 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
361   Control: name="Surround Playback Switch", index=0, device=0
362     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
363   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
364   Amp-Out vals:  [0x00 0x00]
365   Pincap 0x0000001c: OUT HP Detect
366   Pin Default 0x01011012: [Jack] Line Out at Ext Rear
367     Conn = 1/8, Color = Black
368     DefAssociation = 0x1, Sequence = 0x2
369   Pin-ctls: 0x40: OUT
370   Unsolicited: tag=02, enabled=1
371   Power states:  D0 D1 D2 D3
372   Power: setting=D0, actual=D0
373   Connection: 1
374      0x19
375 Node 0x26 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
376   Control: name="Center Playback Switch", index=0, device=0
377     ControlAmp: chs=1, dir=Out, idx=0, ofs=0
378   Control: name="LFE Playback Switch", index=0, device=0
379     ControlAmp: chs=2, dir=Out, idx=0, ofs=0
380   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
381   Amp-Out vals:  [0x00 0x00]
382   Pincap 0x00000014: OUT Detect
383   Pin Default 0x01016011: [Jack] Line Out at Ext Rear
384     Conn = 1/8, Color = Orange
385     DefAssociation = 0x1, Sequence = 0x1
386   Pin-ctls: 0x40: OUT
387   Unsolicited: tag=03, enabled=1
388   Power states:  D0 D1 D2 D3
389   Power: setting=D0, actual=D0
390   Connection: 1
391      0x0a
392 Node 0x27 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
393   Control: name="Side Playback Switch", index=0, device=0
394     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
395   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
396   Amp-Out vals:  [0x80 0x80]
397   Pincap 0x00000014: OUT Detect
398   Pin Default 0x01012014: [Jack] Line Out at Ext Rear
399     Conn = 1/8, Color = Grey
400     DefAssociation = 0x1, Sequence = 0x4
401   Pin-ctls: 0x40: OUT
402   Unsolicited: tag=04, enabled=1
403   Power states:  D0 D1 D2 D3
404   Power: setting=D0, actual=D0
405   Connection: 1
406      0x1a
407 Node 0x28 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
408   Control: name="Headphone Playback Switch", index=0, device=0
409     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
410   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
411   Amp-Out vals:  [0x00 0x00]
412   Pincap 0x0000233c: IN OUT HP Detect
413     Vref caps: HIZ 50 100
414   Pin Default 0x0221401f: [Jack] HP Out at Ext Front
415     Conn = 1/8, Color = Green
416     DefAssociation = 0x1, Sequence = 0xf
417   Pin-ctls: 0xc0: OUT HP VREF_HIZ
418   Unsolicited: tag=05, enabled=1
419   Power states:  D0 D1 D2 D3
420   Power: setting=D0, actual=D0
421   Connection: 1
422      0x1b
423 Node 0x29 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
424   Control: name="Front Mic Boost Volume", index=0, device=0
425     ControlAmp: chs=3, dir=In, idx=0, ofs=0
426   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
427   Amp-Out vals:  [0x80 0x80]
428   Pincap 0x0000233c: IN OUT HP Detect
429     Vref caps: HIZ 50 100
430   Pin Default 0x02a19037: [Jack] Mic at Ext Front
431     Conn = 1/8, Color = Pink
432     DefAssociation = 0x3, Sequence = 0x7
433   Pin-ctls: 0x21: IN VREF_50
434   Unsolicited: tag=06, enabled=1
435   Power states:  D0 D1 D2 D3
436   Power: setting=D0, actual=D0
437   Connection: 1
438      0x1c
439 Node 0x2a [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
440   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
441   Amp-Out vals:  [0x80 0x80]
442   Pincap 0x00002334: IN OUT Detect
443     Vref caps: HIZ 50 100
444   Pin Default 0x0181303e: [Jack] Line In at Ext Rear
445     Conn = 1/8, Color = Blue
446     DefAssociation = 0x3, Sequence = 0xe
447   Pin-ctls: 0x20: IN VREF_HIZ
448   Unsolicited: tag=08, enabled=1
449   Power states:  D0 D1 D2 D3
450   Power: setting=D0, actual=D0
451   Connection: 2
452      0x09* 0x0c
453 Node 0x2b [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
454   Control: name="Rear Mic Boost Volume", index=0, device=0
455     ControlAmp: chs=3, dir=In, idx=0, ofs=0
456   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
457   Amp-Out vals:  [0x80 0x80]
458   Pincap 0x00002334: IN OUT Detect
459     Vref caps: HIZ 50 100
460   Pin Default 0x01a19036: [Jack] Mic at Ext Rear
461     Conn = 1/8, Color = Pink
462     DefAssociation = 0x3, Sequence = 0x6
463   Pin-ctls: 0x21: IN VREF_50
464   Unsolicited: tag=07, enabled=1
465   Power states:  D0 D1 D2 D3
466   Power: setting=D0, actual=D0
467   Connection: 2
468      0x0a* 0x0c
469 Node 0x2c [Pin Complex] wcaps 0x400401: Stereo
470   Pincap 0x00000020: IN
471   Pin Default 0x503701f0: [N/A] CD at Int N/A
472     Conn = Analog, Color = Unknown
473     DefAssociation = 0xf, Sequence = 0x0
474     Misc = NO_PRESENCE
475   Pin-ctls: 0x00:
476   Power states:  D0 D1 D2 D3
477   Power: setting=D0, actual=D0
478 Node 0x2d [Pin Complex] wcaps 0x400701: Stereo Digital
479   Pincap 0x00000010: OUT
480   Pin Default 0x074511f0: [Jack] SPDIF Out at Ext Rear Panel
481     Conn = Optical, Color = Black
482     DefAssociation = 0xf, Sequence = 0x0
483     Misc = NO_PRESENCE
484   Pin-ctls: 0x40: OUT
485   Power states:  D0 D1 D2 D3
486   Power: setting=D0, actual=D0
487   Connection: 1
488      0x0e
489 Node 0x2e [Pin Complex] wcaps 0x400701: Stereo Digital
490   Pincap 0x00000010: OUT
491   Pin Default 0x074521f0: [Jack] SPDIF Out at Ext Rear Panel
492     Conn = Optical, Color = Grey
493     DefAssociation = 0xf, Sequence = 0x0
494     Misc = NO_PRESENCE
495   Pin-ctls: 0x40: OUT
496   Power states:  D0 D1 D2 D3
497   Power: setting=D0, actual=D0
498   Connection: 1
499      0x0f
500 Node 0x2f [Pin Complex] wcaps 0x400601: Stereo Digital
501   Pincap 0x00000030: IN OUT
502   Pin Default 0x47c521f0: [N/A] SPDIF In at Ext Rear Panel
503     Conn = Optical, Color = Grey
504     DefAssociation = 0xf, Sequence = 0x0
505     Misc = NO_PRESENCE
506   Pin-ctls: 0x40: OUT
507   Power states:  D0 D1 D2 D3
508   Power: setting=D0, actual=D0
509 Node 0x30 [Vendor Defined Widget] wcaps 0xf00000: Mono
510 Node 0x31 [Vendor Defined Widget] wcaps 0xf00000: Mono
511 Node 0x32 [Vendor Defined Widget] wcaps 0xf00000: Mono
512 Node 0x33 [Vendor Defined Widget] wcaps 0xf00000: Mono
513 Node 0x34 [Audio Selector] wcaps 0x300501: Stereo
514   Power states:  D0 D1 D2 D3
515   Power: setting=D0, actual=D0
516   Connection: 3
517      0x08 0x0b 0x0c*
518 Node 0x35 [Audio Selector] wcaps 0x300501: Stereo
519   Power states:  D0 D1 D2 D3
520   Power: setting=D0, actual=D0
521   Connection: 3
522      0x08* 0x0b 0x0c
523 root@fireball / # cat /proc/asound/card1/codec#0
524 Codec: Nvidia GPU 42 HDMI/DP
525 Address: 0
526 AFG Function Id: 0x1 (unsol 0)
527 Vendor Id: 0x10de0042
528 Subsystem Id: 0x14628a96
529 Revision Id: 0x100100
530 No Modem Function Group found
531 Default PCM:
532     rates [0x0]:
533     bits [0x0]:
534     formats [0x0]:
535 Default Amp-In caps: N/A
536 Default Amp-Out caps: N/A
537 State of AFG node 0x01:
538   Power states:  D0 D1 D2 D3 CLKSTOP EPSS
539   Power: setting=D0, actual=D0
540 GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
541 Node 0x04 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
542   Pincap 0x09000094: OUT Detect HBR HDMI DP
543   Pin Default 0x185600f0: [Jack] Digital Out at Int HDMI
544     Conn = Digital, Color = Unknown
545     DefAssociation = 0xf, Sequence = 0x0
546   Pin-ctls: 0x00:
547   Unsolicited: tag=01, enabled=1
548   Devices: 4
549      Dev 00: PD = 0, ELDV = 0, IA = 0
550      Dev 01: PD = 0, ELDV = 0, IA = 0
551      Dev 02: PD = 0, ELDV = 0, IA = 0
552     *Dev 03: PD = 0, ELDV = 0, IA = 0
553   Connection: 4
554      0x08* 0x09 0x0a 0x0b
555 Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
556   Pincap 0x09000094: OUT Detect HBR HDMI DP
557   Pin Default 0x185600f0: [Jack] Digital Out at Int HDMI
558     Conn = Digital, Color = Unknown
559     DefAssociation = 0xf, Sequence = 0x0
560   Pin-ctls: 0x40: OUT
561   Unsolicited: tag=05, enabled=1
562   Devices: 4
563     *Dev 00: PD = 1, ELDV = 1, IA = 0
564      Dev 01: PD = 0, ELDV = 0, IA = 0
565      Dev 02: PD = 0, ELDV = 0, IA = 0
566      Dev 03: PD = 0, ELDV = 0, IA = 0
567   Connection: 4
568      0x08* 0x09 0x0a 0x0b
569 Node 0x06 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
570   Pincap 0x09000094: OUT Detect HBR HDMI DP
571   Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
572     Conn = Digital, Color = Unknown
573     DefAssociation = 0xf, Sequence = 0x0
574   Pin-ctls: 0x00:
575   Unsolicited: tag=00, enabled=0
576   Devices: 4
577     *Dev 00: PD = 0, ELDV = 0, IA = 0
578      Dev 01: PD = 0, ELDV = 0, IA = 0
579      Dev 02: PD = 0, ELDV = 0, IA = 0
580      Dev 03: PD = 0, ELDV = 0, IA = 0
581   Connection: 4
582      0x08* 0x09 0x0a 0x0b
583 Node 0x07 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
584   Pincap 0x09000094: OUT Detect HBR HDMI DP
585   Pin Default 0x185600f0: [Jack] Digital Out at Int HDMI
586     Conn = Digital, Color = Unknown
587     DefAssociation = 0xf, Sequence = 0x0
588   Pin-ctls: 0x00:
589   Unsolicited: tag=09, enabled=1
590   Devices: 4
591      Dev 00: PD = 0, ELDV = 0, IA = 0
592      Dev 01: PD = 0, ELDV = 0, IA = 0
593      Dev 02: PD = 0, ELDV = 0, IA = 0
594     *Dev 03: PD = 0, ELDV = 0, IA = 0
595   Connection: 4
596      0x08* 0x09 0x0a 0x0b
597 Node 0x08 [Audio Output] wcaps 0x62b1: 8-Channels Digital Stripe
598   Device: name="HDMI 1", type="HDMI", device=7
599   Converter: stream=5, channel=0
600   Digital: Enabled
601   Digital category: 0x0
602   IEC Coding Type: 0x0
603   PCM:
604     rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
605     bits [0xe]: 16 20 24
606     formats [0x5]: PCM AC3
607   Unsolicited: tag=00, enabled=0
608 Node 0x09 [Audio Output] wcaps 0x62b1: 8-Channels Digital Stripe
609   Converter: stream=6, channel=0
610   Digital:
611   Digital category: 0x0
612   IEC Coding Type: 0x0
613   PCM:
614     rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
615     bits [0xe]: 16 20 24
616     formats [0x5]: PCM AC3
617   Unsolicited: tag=00, enabled=0
618 Node 0x0a [Audio Output] wcaps 0x62b1: 8-Channels Digital Stripe
619   Converter: stream=0, channel=0
620   Digital:
621   Digital category: 0x0
622   IEC Coding Type: 0x0
623   PCM:
624     rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
625     bits [0xe]: 16 20 24
626     formats [0x5]: PCM AC3
627   Unsolicited: tag=00, enabled=0
628 Node 0x0b [Audio Output] wcaps 0x62b1: 8-Channels Digital Stripe
629   Converter: stream=0, channel=0
630   Digital:
631   Digital category: 0x0
632   IEC Coding Type: 0x0
633   PCM:
634     rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
635     bits [0xe]: 16 20 24
636     formats [0x5]: PCM AC3
637   Unsolicited: tag=00, enabled=0
638 root@fireball / #
639
640
641 Oh goodness.  That's a lot of info.  o_O
642
643 Dale
644
645 :-)  :-)