<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=421374820-05122004><FONT face=Arial size=2>A while back I
posted saying that I was having issues with sound using a front end with
embedded VIA 82xx audio and an optical digi out. Basically whenever I went into
TV / Music etc I got no sound until I muted the IEC switch in the mixer. Each
time I exited and went back into to TV or anything else the switch was turned
back on and the problem returned. (This is an FC1 box by the
way).</FONT></SPAN></DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial size=2>I'd tried all sorts
of things to get it going but eventually lived with a work around script which
checked the switch every 5 secs and turned it off if it was
on.</FONT></SPAN></DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial size=2>Well I finally sat
down and dedicated some time to find out exactly what the problem
was.</FONT></SPAN></DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial size=2>It turns out that
the IEC958 switch basically turns the optical digi out on and off. Something
turns this on (possibly at boot but certainly each time I go into TV or Music or
whatever) and my AV amp</FONT></SPAN><SPAN class=421374820-05122004><FONT
face=Arial size=2> is set to auto source select. Iit sees light on the
optical in then it tries to use the digital input. I'm assuming that the
signal on the optical line is not the correct format and hence no sound. If I
manually switch over to the analog on the amp then, hey presto, sound
!</FONT></SPAN></DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial size=2>So ... either the
optical out shouldn't be on all the time (ASLA driver ? / OSS ? / Myth ?) or I
need to direct all my output to the optical out but get ALSA to convert the rate
etc into the correct mode.</FONT></SPAN></DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial size=2>A couple of
questions: </FONT></SPAN></DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial size=2>1) Is Myth turning
on the optical ? (I'm not set to use it by default but if I set it to use
ALSA:plug:spdif I get sound in TV but Music won't use it - error could not open
sound device).</FONT></SPAN></DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial size=2>2) Can ALSA do the
rate convert so I could ship all my output to the optical and would this be a
good solution ?</FONT></SPAN></DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial size=2>If 2 is possible
some pointers to some good resources on asoundrc from the point of view of an
ALSA newbie would be good :) I'm not looking for the answer on a plate (but if
you have one plated up ... ;) ) and I'm a Systems Engineer so can probably work
it out with some decent reference material.</FONT></SPAN></DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial size=2>Thanks, as always
for any and all help. If anyone's interested I'll post a
conclusion.</FONT></SPAN></DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=421374820-05122004><FONT face=Arial
size=2>Paul</FONT></SPAN></DIV></BODY></HTML>