Hi:<br>
<br>
I'm attempting to use the volume.sh to control an Audigy2 LS as
mentioned here, but I can't seem to get around the problem with the
space in the control name: &quot;Analog Front&quot;.&nbsp; I see the origional
poster asked the same question; unfortunately I don't understand the
responce here:<br>
<br>
mixer device != mixer control<br>
<br>
It seems volume.sh is intent on sorting by spaces, and I don't know any way around it.&nbsp; Any suggestions?<br>
<br>
Thanks!<br>
--Jim<br><br><div><span class="gmail_quote">On 2/19/06, <b class="gmail_sendername">Michael T. Dean</b> &lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 02/19/2006 06:27 PM, Mike wrote:<br>&gt; I have an Audigy2 LS and I'm trying to get myth to control the mixer<br>&gt; channel &quot;Analog Front&quot;. I don't have a PCM or a Master. But I do have<br>&gt; this channel which controls the volume.
<br>&gt;<br><br>Post-0.19 SVN: <a href="http://svn.mythtv.org/trac/changeset/8929">http://svn.mythtv.org/trac/changeset/8929</a><br><br>0.19 and before (or Post-0.19 SVN for controlling volume of surround<br>channels when your sound card's Master control doesn't):&nbsp;&nbsp;You have the
<br>option of &quot;Mixer controls Master&quot; and &quot;Mixer controls PCM.&quot; If you want<br>to control anything else (including Center, Surround, LFE, ...), you'll<br>have to use an external program.<br><br>First, you need to disable the internal volume controls in Myth:
<br><br>Use internal volume controls<br>MythTV can control the PCM and master mixer volume. If you prefer to<br>use an external mixer program, then disable this option.<br><br>So, uncheck that option. Then, set up your system to use an external
<br>program for volume. For example, if you're using LIRC, set your volume<br>buttons like:<br><br>begin<br>&nbsp;&nbsp;prog = irexec<br>&nbsp;&nbsp;button = volume-up<br>&nbsp;&nbsp;config = /path/to/volume.sh up &amp;<br>&nbsp;&nbsp;repeat = 2<br>end<br>begin
<br>&nbsp;&nbsp;prog = irexec<br>&nbsp;&nbsp;button = volume-down<br>&nbsp;&nbsp;config = /path/to/volume.sh down &amp;<br>&nbsp;&nbsp;repeat = 2<br>end<br>begin<br>&nbsp;&nbsp;prog = irexec<br>&nbsp;&nbsp;button = mute<br>&nbsp;&nbsp;config = /path/to/volume.sh mute &amp;<br>&nbsp;&nbsp;config = /path/to/volume.sh unmute &amp;
<br>&nbsp;&nbsp;repeat = 0<br>end<br><br>(The mute button will work as a toggle--muting the sound the first time<br>you press it and unmuting the second time.) Adjust the repeat to give<br>you the speed of volume changes you desire when holding down vol-up or
<br>vol-down.&nbsp;&nbsp;Note, also, that you need to change the button names to<br>whatever you've defined in your lircd.conf and you *must* start irexec<br>(i.e. add &quot;irexec -d&quot; (no quotes) to .xinitrc).<br><br>Make sure you edit the configuration settings in 
volume.sh as described<br>in its comments.&nbsp;&nbsp;It assumes that you have amixer and awk and mythtvosd<br>(and ?) in your PATH.&nbsp;&nbsp;If not, you'll need to edit a bit.&nbsp;&nbsp;If you don't<br>want the OSD or if your OSD theme doesn't support the alerts, comment
<br>out the mythtvosd lines (2 or 3 lines per mythtvosd command)<br><br>Note that I played with volume.sh for a while, but I haven't done much<br>with it lately because I still only have 2 speakers, so I haven't had to<br>
finish fixing it up...&nbsp;&nbsp;Oh, and *please* heed the warning in volume.sh<br>and test the amixer command line before running the script (see<br>&quot;VOLUME=&quot; line).&nbsp;&nbsp;Please let me know if you find any issues/problems<br>
using it--or if you find a nicer way of getting an &quot;OSD&quot;.&nbsp;&nbsp;:)<br><br>&gt; Is there a way to get it to control a mixer control with a space in it?<br>&gt; I've tried putting 'Analog Front' and &quot;Analog Front&quot; in there but both
<br>&gt; didn't work. I think what its trying to do is control Analog and it<br>&gt; skips everything after the space.<br>&gt;<br>mixer device != mixer control<br><br>Mike<br><br><br>_______________________________________________
<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br><br><br><br></blockquote></div><br>