[mythtv-users] Lost SPDIF output after apt-get dist-upgrade
Jim Coates
jcoates at jimcoates.com
Mon May 3 14:35:43 EDT 2004
----- Original Message -----
From: "James Armstrong" <james at thearmstrongs.org>
To: "Discussion about mythtv" <mythtv-users at mythtv.org>
Sent: Thursday, April 29, 2004 12:13 PM
Subject: Re: [mythtv-users] Lost SPDIF output after apt-get dist-upgrade
> Julian Edwards wrote:
>
> >On Wed, 2004-04-28 at 10:56, Julian Edwards wrote:
> >
> >
> >>I am currently posting on the alsa-users mailing list to see if I can
> >>get any help there since mine just won't work for OSS :(
> >>
> >>
> >
> >At last I have got this fixed thanks to a very helpful guy on the
> >Alsa-users list called Peter Zubaj. This is his response:
> >
> >
> >=========
> >"IEC958 Optical Raw Playback Switch" - it is used for AC3 pasthrough
> >
> >should be muted - for oss emulation, midi playback, wave playback, ..
> >alias normal ussage
> >
> >should be unmuted - for spdif blayback (Raw passthrough of AC3
> >stream through spdif, unaltered spdif playback) using spdif device.
> >
> >"IEC958 Optical Raw Playback Switch" should be muted in your case,
> >please mute it.
> >=======
> >
> >After I muted it, OSS emulation is fine, yay. When you use the spdif
> >interface directly, apparently it sets the levels automatically so you
> >don't need to worry about unmuting for mplayer/xine/ogle native alsa
> >spdif usage.
> >
> >Hope that helps someone else too.
> >J.
> >
> >
> I still have not been able to get spdif working with Myth on my new
> frontend. I can get it to work with mplayer using the alsa1x:spdif
> option. I am using the intel8x0 chip. What device do I use to get oss
> emulation access? I have tried /dev/adsp0 but it says No Such Device.
> Why won't myth work with spdif if mplayer will? I tried the ALSA:spdif
> option as the device but get a floating point exception.
>
> - James
>
What are your mixer settings, module configuration / options, do you have a
.asoundrc or asound.conf? I have gotten as far as getting everything
workking _except_ mythmusic. If I explicitly point /dev/dsp to device 4 (my
spdif) it works but then mythtv stops playing sound. This is very
frustrating.
here's my alsa modules configuration:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
# if the following lines are uncommented, mythmusic works but mythtv stops
working
#alias /dev/dsp* snd-pcm-oss
#options snd-pcm-oss dsp_map=4
I am using michael dean's asound.conf from this thread (modified to point to
device 0,4)
http://tinyurl.com/2nac6
Here's my asound.state
state.ICH5 {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Master Playback Switch'
value true
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Master Playback Volume'
value.0 11
value.1 11
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Center Playback Switch'
value true
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Center Playback Volume'
value 7
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'LFE Playback Switch'
value true
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'LFE Playback Volume'
value 7
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Surround Playback Switch'
value.0 true
value.1 true
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Surround Playback Volume'
value.0 7
value.1 7
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Master Mono Playback Switch'
value true
}
control.10 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Master Mono Playback Volume'
value 7
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PC Speaker Playback Switch'
value false
}
control.12 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name 'PC Speaker Playback Volume'
value 0
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Phone Playback Switch'
value false
}
control.14 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Phone Playback Volume'
value 0
}
control.15 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Playback Switch'
value true
}
control.16 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Mic Playback Volume'
value 0
}
control.17 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Boost (+20dB)'
value false
}
control.18 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line Playback Switch'
value true
}
control.19 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Line Playback Volume'
value.0 18
value.1 18
}
control.20 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'CD Playback Switch'
value true
}
control.21 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'CD Playback Volume'
value.0 0
value.1 0
}
control.22 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Video Playback Switch'
value true
}
control.23 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Video Playback Volume'
value.0 19
value.1 19
}
control.24 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Aux Playback Switch'
value true
}
control.25 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Aux Playback Volume'
value.0 18
value.1 18
}
control.26 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PCM Playback Switch'
value true
}
control.27 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'PCM Playback Volume'
value.0 11
value.1 11
}
control.28 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mic
comment.item.1 CD
comment.item.2 Video
comment.item.3 Aux
comment.item.4 Line
comment.item.5 Mix
comment.item.6 'Mix Mono'
comment.item.7 Phone
iface MIXER
name 'Capture Source'
value.0 Mix
value.1 Mix
}
control.29 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Capture Switch'
value true
}
control.30 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name 'Capture Volume'
value.0 11
value.1 11
}
control.31 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name '3D Control - Switch'
value false
}
control.32 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mix
comment.item.1 Mic
iface MIXER
name 'Mono Output Select'
value Mix
}
control.33 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mic1
comment.item.1 Mic2
iface MIXER
name 'Mic Select'
value Mic1
}
control.34 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name '3D Control - Center'
value 3
}
control.35 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name '3D Control - Depth'
value 3
}
control.36 {
comment.access read
comment.type IEC958
iface MIXER
name 'IEC958 Playback Con Mask'
value
'0fff000f0000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000'
}
control.37 {
comment.access read
comment.type IEC958
iface MIXER
name 'IEC958 Playback Pro Mask'
value
cf00000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000
}
control.38 {
comment.access 'read write'
comment.type IEC958
iface MIXER
name 'IEC958 Playback Default'
value
'048200020000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000'
}
control.39 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Playback Switch'
value true
}
control.40 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 3'
iface MIXER
name 'IEC958 Playback AC97-SPSA'
value 0
}
control.41 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Duplicate Front'
value false
}
control.42 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Surround Down Mix'
value false
}
control.43 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Center/LFE Down Mix'
value false
}
control.44 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Exchange Center/LFE'
value false
}
control.45 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line-In As Surround'
value false
}
control.46 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Swap Surround Slot'
value false
}
control.47 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 0'
iface MIXER
name 'Mic As Center/LFE'
value 0
}
control.48 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Capture Switch'
value false
}
control.49 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Analog to IEC958 Output'
value false
}
control.50 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Input Monitor'
value false
}
control.51 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'External Amplifier'
value true
}
}
More information about the mythtv-users
mailing list