Hi,<br><br><div class="gmail_quote">2011/1/14 Robin Smith <span dir="ltr">&lt;<a href="mailto:1canuck2@gmail.com">1canuck2@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">But you could save yourself a lot of headache by upgrading to opensuse 11.3.<br>
</div><div class="im">Here&#39;s the myth howto for 11.3 <a href="http://www.mythtv.org/wiki/OpenSuSE_11.3" target="_blank">http://www.mythtv.org/wiki/OpenSuSE_11.3</a><br>

(There is no mention of the perl devel repo, but adding it saves a lot of trouble as well.<br><a href="http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11.3/" target="_blank">http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11.3/</a>)<br>

</div></blockquote><div> </div><div>OK, I have updated to 11.3 using the &quot;zypper dup&quot; process (it took a while). Everything seems good so far (as in MythTV is still working the way it was before.)</div><div>My kernel is now 2.6.34.7-0.7-desktop</div>
<div class="im">
<div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Again, upgrading to opensuse 11.3 removed all problems for me, no more patched lirc/lcdproc/kernel for me, the default that came with the release works fine.<br>

</blockquote><div><br></div></div><div>I am still not getting the remote to work in MythTV :(</div><div class="im"><div><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Something that bothered my ir communication was the boot order, <br>

earlyxdm was preventing the starting of lirc and lcdproc for my system sometimes, so disabling it solved it.<br>
Drawback is that your system will boot a bit slower.<br></blockquote><div><br></div></div><div>Did you mean you had to do this fix in 11.3? If my irw is returning output, would this imply I do not need this step? I tried disabling earlyxdm in the Yast &gt; System Services (Runlevel) interface, but it kicked me out of X and when I rebooted, it was still enabled...</div>
</div></blockquote><div><br>I have earlyxdm disabled in opensuse 11.3 for my mythtv frontend, it is still needed because lcdproc and lirc refuse to work properly when I leave it enabled.<br>(lcdproc depends on lirc and is needed for the display on my antec veris box)<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_quote">
<div><br></div><div><div>Anyway, I have removed the Antec Veris and am focusing on using the built-in IR receiver on the iMon VFD. </div><div>lsusb shows:</div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Bus 004 Device 002: ID 1997:0409</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Bus 005 Device 002: ID 099a:7202 Zippy Technology Corp.</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Bus 007 Device 002: ID 0dc6:2011 Precision Squared Technology Corp.</blockquote><div class="im"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Bus 007 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller</blockquote></div></blockquote><div><br></div><div>I removed the usbhid quirks line from modprobe.d (it only applied to the Veris anyway, which I am now not using)</div>

<div><br></div><div>If I start lircd and run irw, I get key press output. I am using the lircd.conf and lircrc files I posted earlier.</div></div></div></blockquote><div><br>Ok if irw gives output when you pres a key your remote and reciever are working.<br>
<br>Did you put the proper configuration file for the remote in /etc/lircd.conf ?<br>That is the file that defines which hex code belongs to which key.<br>It has nothing to do with myth yet, but it is required.<br><br>example configs are provided by the lirc-remotes rpm. <br>
Zypper should be able to find that one.<br>The rpm installs the examples in /usr/share/lirc/remotes<br><br>You already have created an lircrc file in the .mythtv.<br>Put it in the homefolder of the user that you use to watch mythtv.<br>
/home/user/.mythtv/lircrc<br><br>In mythtv<br>utilities/setup-&gt;setup-&gt;general-&gt;8xnext<br>make sure the path to the socket is correct<br>verify if the socket is there<br>ls -als /var/run/lirc/lircd<br><br>notice that the group of that file is video ( I think this is your culprit)<br>
add your mythtv user to the video group<br>and add the mythtv user to the audio group as well (I did that because it prevents errors in the mythtv logs)<br><br>The option LIRC keypress application is there in case you want to run scripts like irwatch.<br>
<br>But I think adding mythtv to the video group will solve your problems, since you need to be a member of that group to access the socket.<br>And by default myth is not a member, so that could explain your problem.<br><br>
sorry about not mentioning it earlier, it is typical one of those settings you do 4 upgrades ago and completely forget about.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="gmail_quote"><div><br></div><div>Am I correct that the lircd.conf file must &quot;good&quot;, in that (for example) irw shows:</div>
<div><div> irw</div><div>000000002a8115b7 00 KEY_PLAY /tmp/lircd.record.conf</div><div>000000002a8115b7 01 KEY_PLAY /tmp/lircd.record.conf</div><div>000000002a8115b7 02 KEY_PLAY /tmp/lircd.record.conf</div><div>000000002a8115b7 00 KEY_PLAY /tmp/lircd.record.conf</div>

</div><div><br></div><div>when I press the &quot;Play&quot; button on my remote?</div><div><br></div><div>If so, am I correct that all that *should* be needed to make this work in MythTV is this:</div></div><div class="im">
<blockquote style="margin: 0pt 0pt 0pt 40px; border: medium none; padding: 0px;">
<div class="gmail_quote"><div><div>begin</div></div></div><div class="gmail_quote"><div><div>    prog = mythtv</div></div></div><div class="gmail_quote"><div><div>    button = KEY_PLAY</div></div></div><div class="gmail_quote">

<div><div>    config = P</div></div></div><div class="gmail_quote"><div><div>end</div></div></div></blockquote></div></blockquote><div><br>here&#39;s some examples from my config<br>It&#39;s not the full config (300+ lines) but I made sure the important begin and end tags are there.<br>
There are 2 modes for the veris rm200, one in which it acts as a normal remote, and one in shich it acts as a mouse and keyboard which is usefull when for some reason you are dumped to a login screen and are to lazy to get up to press the power button.<br>
Notice the extra begin and end  entries for the modes to deal with this.<br>The first block makes sure the system starts in ordinary remote mode, the key to switch mode is defined last.<br><br> begin<br>  flags = startup_mode<br>
  mode = mythtv<br> end<br><br> <b>begin mythtv</b><br> begin<br>     remote = Antec_Veris_RM200<br>     prog = mythtv<br>     button = KEY_7<br>     config = 7<br>     repeat = 0<br>     delay = 0<br> end<br><br> begin<br>
     remote = Antec_Veris_RM200<br>     prog = mythtv<br>     button = KEY_PLAY<br>     config = P<br>     repeat = 0<br>     delay = 0<br> end<br><br> begin<br>     remote = Antec_Veris_RM200<br>     prog = mythtv<br>     button = KEY_NEXT<br>
     config = Z<br>     repeat = 0<br>     delay = 0<br> end<br><br> begin<br>     remote = Antec_Veris_RM200<br>     prog = mythtv<br>     button = KEY_PREVIOUS<br>     config = Q<br>     repeat = 0<br>     delay = 0<br>
 end<br><br> begin<br>     remote = Antec_Veris_RM200<br>     button = MouseKeyboard<br>     repeat = 3<br>     flags = mode<br>     mode = X11<br> end<br><br><br><b> end mythtv</b><br><br> <b>begin X11</b><br><br> begin<br>
     remote = Antec_Veris_RM200<br>     button = MouseKeyboard<br>     repeat = 3<br>     flags = mode<br>     mode = mythtv<br> end<br><b><br> end X11</b><br><br><br><br><br><br><br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="gmail_quote"><div>in my lircrc file (and the lircrc file in the correct place)?</div><div><br></div>
<div>If so, how come it still doesn&#39;t work? Is there another step I am missing to make myth aware of the keypress info? As I said before, this previously &quot;just worked&quot; once I got good output from irw that matched my lircrc.</div>

<div><br></div><div>Speaking of correct place, I run mythfrontend as root, not as my mythtv user.</div><div><br></div><div>I have the lircrc file here:</div><div>/home/mythtv/.mythtv/lircrc</div></div></blockquote><div><br>
if mythtv is the user that you use to watch mythtv this is the correct location <br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="gmail_quote"><div><br></div><div>I have a link (ln -s) to this file in the following locations:</div>
<div>/home/mythtv/.lircrc</div><div>/root/.mythtv/lircrc</div><div>/root/.lircrc</div></div></blockquote><div><br>These are not needed<br><br><br><br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="gmail_quote"><div><br></div><div>I am clutching at straws for where to go from here. Thanks for all the help so far.</div><div><br></div></div>
<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" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br>