2010/7/8 Clemens Ladisch clemens@ladisch.de
Viliam Kubis wrote:
Hello, for quite some time the "Smart 5.1" function in alsa is not
working
properly when motherboard has only 3 audio jacks.
speaker-test -c 4 -t wav -Dsurround40
Channels count (4) not available for playbacks: Invalid argument
Please try the patch below.
(This function uses 0x12 and 0x13 as the NIDs for the center/LFE and side DACs. Shouldn't these be 0x24 and 0x25, as per the datasheet?)
Node 0x12 seem to be for digital out since it connected to node 0x20
I guess we still lack the info about the retasking of pink and blue jack to the surround output
Node 0x12 [Audio Output] wcaps 0x611: Stereo Digital Control: name="IEC958 Playback Con Mask", index=0, device=0 Control: name="IEC958 Playback Pro Mask", index=0, device=0 Control: name="IEC958 Playback Default", index=0, device=0 Control: name="IEC958 Playback Switch", index=0, device=0 Control: name="IEC958 Default PCM Playback Switch", index=0, device=0 Device: name="VT1708S Digital", type="SPDIF", device=1 Converter: stream=5, channel=0 Digital: Enabled Digital category: 0x0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power states: D0 D1 D2 D3 Power: setting=D0, actual=D0
Node 0x20 [Pin Complex] wcaps 0x400701: Stereo Digital Pincap 0x00000010: OUT Pin Default 0x074311f0: [Jack] SPDIF Out at Ext Rear Panel Conn = ATAPI, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Power states: D0 D1 D2 D3 Power: setting=D0, actual=D0 Connection: 1 0x12