Hey all, here's my setup:<br><br>ASUS A7N8X-deluxe with soundstorm, using intel8x0 driver from kernel <a href="http://2.6.15.1/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2.6.15.1</a>.<br>Mythtv
0.18.1 compiled myself, yes it has ALSA.<br>PCHDTV-2000 tuner, ATSC connected and working just fine
<br>asound.conf stolen from the digital sound howto, see below<br>Logitech
Z680 speakers (can decode Dolby digital/ac3, DTS, PCM) connected using
coaxial spdif connector on back of motherboard (is an RCA connector)<br><br>
The problem: <br>With
ALSA:digital and "enable ac3 passthru to SPDIF" and my asound.conf, I
can get sound working out the SPDIF port, but it only outputs stereo!
This works fine if i'm recording something that doesn't have ac3 sound,
but when I recorded tonight's premiere of 24 (has ac3 I believe) it has
no sound upon playback. I get sound when I use watch live tv (is stereo
though, not dolby digital)
<br><br>I've tried the following and ALL POSSIBLE VARIATIONS/PERMUTATIONS thereof:<br>- setting myth's sound device to ALSA:digital, and ALSA:<font color="black" face="Verdana,Arial,Helvetica" size="2"><font color="black" face="Verdana,Arial,Helvetica" size="2">
iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2, and ALSA:digital</font></font><font color="black" face="Verdana,Arial,Helvetica" size="2"><font color="black" face="Verdana,Arial,Helvetica" size="2">:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2. No luck
<br>- turning the "enable ac3 passthru to spdif" option on and off<br>- turning the "use internal volume controls" option on and off, setting the mixer to ctl.digital as directed<br>- dinking around with amixer
<br>- everything! EVERYtHING!<br><br>gah! Help me make this stupid
thing output real dolby digital in raw mode, not pcm/stereo. Remember,
it works for everything that isn't ac3 ... and it outputs properly over
spdif...<br>
<br><br><br>Xaphod<br><br><br><br></font></font><br><br>My asound.conf:<br><br># Override the default output used by ALSA.<br># If you do not override the default, your default<br># device is identical to the (unmixed) analog device
<br># shown below. If you prefer mixed and/or digital<br># output, uncomment the appropriate four lines below<br># (only one slave.pcm line).<br>pcm.!default {<br>type plug<br>## Uncomment the following to use mixed analog by default
<br># slave.pcm "dmix-analog"<br>## Uncomment the following to use unmixed digital by default<br>slave.pcm "digital-hw"<br>## Uncomment the following to use mixed digital by default<br>#slave.pcm "dmix-digital"
<br>}<br><br># Alias for analog output on the nForce2 (hw:0,0)<br># - This is identical to the device named "default"--which<br># always exists and refers to hw:0,0 (unless overridden)<br># - Therefore, we can specify "hw:0,0", "default", or "analog"
<br># to access analog output on the nForce2<br>pcm.analog {<br> type plug<br> slave.pcm "analog-hw"<br>}<br><br># Control device (mixer, etc.) for the nForce2 card<br>ctl.analog {<br> type hw<br> card 0<br>
}<br><br># Alias for (rate-converted) mixed analog output on the<br># nForce2 (hw:0,0)<br># - This will accept audio input--regardless of rate--and<br># convert to the rate required for the dmix plugin<br># (in this case 48000Hz)
<br>pcm.mixed-analog {<br> type plug<br> slave.pcm "dmix-analog"<br>}<br><br># Control device (mixer, etc.) for the nForce2 card<br>ctl.mixed-analog {<br> type hw<br> card 0<br>}<br><br># Alias for (rate-converted) digital (S/PDIF) output on the
<br># nForce2 (hw:0,2)<br># - This will accept audio input--regardless of rate--and<br># convert to the rate required for the S/PDIF hardware<br># (in this case 48000Hz)<br>pcm.digital {<br> type plug<br> slave.pcm "digital-hw"
<br>}<br><br># Control device (mixer, etc.) for the nForce2 card<br>ctl.digital {<br> type hw<br> card 0<br>}<br><br># Alias for mixed (rate-converted) digital (S/PDIF) output on the<br># nForce2 (hw:0,2)<br># - This will accept audio input--regardless of rate--and
<br># convert to the rate required for the S/PDIF hardware<br># (in this case 48000Hz)<br>pcm.mixed-digital {<br> type plug<br> slave.pcm "dmix-digital"<br>}<br><br># Control device (mixer, etc.) for the nForce2 card
<br>ctl.mixed-digital {<br> type hw<br> card 0<br>}<br><br># The following devices are not useful by themselves. They<br># require specific rates, channels, and formats. Therefore,<br># you probably do not want to use them directly. Instead use
<br># of of the devices defined above.<br><br># Alias for analog output on the nForce2 (hw:0,0)<br># Do not use this directly--it requires specific rate,<br># channels, and format<br>pcm.analog-hw {<br> type hw<br> card 0
<br> # The default value for device is 0, so no need to specify<br>}<br><br># Control device (mixer, etc.) for the nForce2 card<br>ctl.analog-hw {<br> type hw<br> card 0<br>}<br><br># Alias for digital (S/PDIF) output on the nForce2 (hw:0,2)
<br># Do not use this directly--it requires specific rate,<br># channels, and format<br>pcm.digital-hw {<br> type hw<br> card 0<br> device 2<br>}<br><br># Control device (mixer, etc.) for the nForce2 card<br>ctl.digital-hw
{<br> type hw<br> card 0<br>}<br><br># Direct software mixing plugin for analog output on<br># the nForce2 (hw:0,0)<br># Do not use this directly--it requires specific rate,<br># channels, and format<br>pcm.dmix-analog
{<br> type dmix<br> ipc_key 1234<br> slave {<br> pcm "analog-hw"<br> period_time 0<br> period_size 1024<br> buffer_size 4096<br> rate 48000<br> }<br>}<br><br># Control device (mixer, etc.) for the nForce2 card
<br>ctl.dmix-analog {<br> type hw<br> card 0<br>}<br><br># Direct software mixing plugin for digital (S/PDIF) output<br># on the nForce2 (hw:0,2)<br># Do not use this directly--it requires specific rate,<br># channels, and format
<br>pcm.dmix-digital {<br> type dmix<br> ipc_key 1235<br> slave {<br> pcm "digital-hw"<br> period_time 0<br> period_size 1024<br> buffer_size 4096<br> rate 48000<br> }<br>}<br><br># Control device (mixer, etc.) for the nForce2 card
<br>ctl.dmix-digital {<br> type hw<br> card 0<br>}<br><br><br><br><br><br><br>My amixer output:<br><br>Simple mixer control 'Master',0<br> Capabilities: pvolume pswitch pswitch-joined<br> Playback channels: Front Left - Front Right
<br> Limits: Playback 0 - 31<br> Mono:<br> Front Left: Playback 23 [74%] [on]<br> Front Right: Playback 23 [74%] [on]<br>Simple mixer control 'Master Mono',0<br> Capabilities: pvolume pvolume-joined pswitch pswitch-joined
<br> Playback channels: Mono<br> Limits: Playback 0 - 31<br> Mono: Playback 0 [0%] [off]<br>Simple mixer control '3D Control - Center',0<br> Capabilities: volume volume-joined<br> Playback channels: Mono<br> Capture channels: Mono
<br> Limits: 0 - 15<br> Mono: 0 [0%]<br>Simple mixer control '3D Control - Depth',0<br> Capabilities: volume volume-joined<br> Playback channels: Mono<br> Capture channels: Mono<br> Limits: 0 - 15<br> Mono: 0 [0%]
<br>
Simple mixer control '3D Control - Switch',0<br> Capabilities: pswitch pswitch-joined<br> Playback channels: Mono<br> Mono: Playback [off]<br>Simple mixer control 'PCM',0<br> Capabilities: pvolume pswitch pswitch-joined
<br> Playback channels: Front Left - Front Right<br> Limits: Playback 0 - 31<br> Mono:<br> Front Left: Playback 28 [90%] [on]<br> Front Right: Playback 28 [90%] [on]<br>Simple mixer control 'Surround',0<br> Capabilities: pvolume pswitch
<br> Playback channels: Front Left - Front Right<br> Limits: Playback 0 - 31<br> Mono:<br> Front Left: Playback 0 [0%] [off]<br> Front Right: Playback 0 [0%] [off]<br>Simple mixer control 'Surround Down Mix',0<br> Capabilities: pswitch pswitch-joined
<br> Playback channels: Mono<br> Mono: Playback [off]<br>Simple mixer control 'Surround Jack Mode',0<br> Capabilities: enum<br> Items: 'Shared' 'Independent'<br> Item0: 'Shared'<br>Simple mixer control 'Center',0<br>
Capabilities: pvolume pvolume-joined pswitch pswitch-joined<br> Playback channels: Mono<br> Limits: Playback 0 - 31<br> Mono: Playback 31 [100%] [off]<br>Simple mixer control 'Center/LFE Down Mix',0<br> Capabilities: pswitch pswitch-joined
<br> Playback channels: Mono<br> Mono: Playback [off]<br>Simple mixer control 'LFE',0<br> Capabilities: pvolume pvolume-joined pswitch pswitch-joined<br> Playback channels: Mono<br> Limits: Playback 0 - 31<br> Mono: Playback 0 [0%] [off]
<br>Simple mixer control 'Line',0<br> Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive<br> Capture exclusive group: 0<br> Playback channels: Front Left - Front Right<br> Capture channels: Front Left - Front Right
<br> Limits: Playback 0 - 31<br> Front Left: Playback 0 [0%] [off] Capture [off]<br> Front Right: Playback 0 [0%] [off] Capture [off]<br>Simple mixer control 'CD',0<br> Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
<br> Capture exclusive group: 0<br> Playback channels: Front Left - Front Right<br> Capture channels: Front Left - Front Right<br> Limits: Playback 0 - 31<br> Front Left: Playback 28 [90%] [on] Capture [off]<br> Front Right: Playback 28 [90%] [on] Capture [off]
<br>Simple mixer control 'Mic',0<br> Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive<br> Capture exclusive group: 0<br> Playback channels: Mono<br> Capture channels: Front Left - Front Right
<br> Limits: Playback 0 - 31<br> Mono: Playback 0 [0%] [off]<br> Front Left: Capture [on]<br> Front Right: Capture [on]<br>Simple mixer control 'Mic Boost (+20dB)',0<br> Capabilities: pswitch pswitch-joined<br> Playback channels: Mono
<br> Mono: Playback [off]<br>Simple mixer control 'Mic Select',0<br> Capabilities: enum<br> Items: 'Mic1' 'Mic2'<br> Item0: 'Mic1'<br>Simple mixer control 'Video',0<br> Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
<br> Capture exclusive group: 0<br> Playback channels: Front Left - Front Right<br> Capture channels: Front Left - Front Right<br> Limits: Playback 0 - 31<br> Front Left: Playback 0 [0%] [off] Capture [off]<br> Front Right: Playback 0 [0%] [off] Capture [off]
<br>Simple mixer control 'Phone',0<br> Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive<br> Capture exclusive group: 0<br> Playback channels: Mono<br> Capture channels: Front Left - Front Right
<br> Limits: Playback 0 - 31<br> Mono: Playback 0 [0%] [off]<br> Front Left: Capture [off]<br> Front Right: Capture [off]<br>Simple mixer control 'IEC958',0<br> Capabilities: pswitch pswitch-joined cswitch cswitch-joined
<br> Playback channels: Mono<br> Capture channels: Mono<br> Mono: Playback [on] Capture [off]<br>Simple mixer control 'IEC958 Playback AC97-SPSA',0<br> Capabilities: volume volume-joined<br> Playback channels: Mono<br>
Capture channels: Mono<br> Limits: 0 - 3<br> Mono: 3 [100%]<br>Simple mixer control 'PC Speaker',0<br> Capabilities: pvolume pvolume-joined pswitch pswitch-joined<br> Playback channels: Mono<br> Limits: Playback 0 - 15
<br> Mono: Playback 0 [0%] [off]<br>Simple mixer control 'Aux',0<br> Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive<br> Capture exclusive group: 0<br> Playback channels: Front Left - Front Right
<br> Capture channels: Front Left - Front Right<br> Limits: Playback 0 - 31<br> Front Left: Playback 0 [0%] [off] Capture [off]<br> Front Right: Playback 0 [0%] [off] Capture [off]<br>Simple mixer control 'Mono Output Select',0
<br> Capabilities: enum<br> Items: 'Mix' 'Mic'<br> Item0: 'Mix'<br>Simple mixer control 'Capture',0<br> Capabilities: cvolume cswitch cswitch-joined<br> Capture channels: Front Left - Front Right<br> Limits: Capture 0 - 15
<br> Front Left: Capture 0 [0%] [on]<br> Front Right: Capture 0 [0%] [on]<br>Simple mixer control 'Mix',0<br> Capabilities: cswitch cswitch-joined cswitch-exclusive<br> Capture exclusive group: 0<br> Capture channels: Front Left - Front Right
<br> Front Left: Capture [off]<br> Front Right: Capture [off]<br>Simple mixer control 'Mix Mono',0<br> Capabilities: cswitch cswitch-joined cswitch-exclusive<br> Capture exclusive group: 0<br> Capture channels: Front Left - Front Right
<br> Front Left: Capture [off]<br> Front Right: Capture [off]<br>Simple mixer control 'Analog to IEC958 Output',0<br> Capabilities: pswitch pswitch-joined<br> Playback channels: Mono<br> Mono: Playback [off]<br>Simple mixer control 'Channel Mode',0
<br> Capabilities: enum<br> Items: '2ch' '4ch' '6ch'<br> Item0: '2ch'<br>Simple mixer control 'Duplicate Front',0<br> Capabilities: pswitch pswitch-joined<br> Playback channels: Mono<br> Mono: Playback [off]<br>Simple mixer control 'Exchange Center/LFE',0
<br> Capabilities: pswitch pswitch-joined<br> Playback channels: Mono<br> Mono: Playback [off]<br>Simple mixer control 'External Amplifier',0<br> Capabilities: pswitch pswitch-joined<br> Playback channels: Mono<br> Mono: Playback [on]
<br>Simple mixer control 'Swap Surround Slot',0<br> Capabilities: pswitch pswitch-joined<br> Playback channels: Mono<br> Mono: Playback [off]<br>