Re: MythTV 0.27.4-31 Upgrade Success
Kirk Bocek <[email protected]> Fri, 05 Jun 2015 17:01:34 -0700
| Newsgroups | gmane.linux.redhat.rpm.atrpms.general |
|---|---|
| Message-ID | <[email protected]> |
--===============0658048683658276924==
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 6/5/2015 8:33 AM, Kirk Bocek wrote:<br>
</div>
<blockquote cite="mid:[email protected]" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<br>
<br>
<div class="moz-cite-prefix">On 6/4/2015 9:10 AM, Kirk Bocek
wrote:<br>
</div>
<blockquote cite="mid:[email protected]" type="cite"> <br>
Argh... still no output from ir-keytable. <br>
<br>
$ir-keytable <br>
Found /sys/class/rc/rc4/ (/dev/input/event14) with: <br>
Driver mceusb, table rc-rc6-mce <br>
Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC <br>
Enabled protocols: RC-6 <br>
Name: Media Center Ed. eHome Infrared <br>
bus: 3, vendor/product: 0471:0815, version: 0x0000 <br>
Repeat delay = 500 ms, repeat period = 33 ms <br>
<br>
$ir-keytable -t -d /dev/input/event14 <br>
Testing events. Please, press CTRL-C to abort. <br>
^C <br>
<br>
ir-keytable -r -d /dev/input/event14 <br>
Enabled protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC RC-5-SZ
SHARP MCE_KBD XMP <br>
<br>
I have the devinput config file in /etc/lirc/lircd.conf. <br>
<br>
</blockquote>
<br>
After all that hassle I think this just boils down to a problem
with the remote configuration file I was using. I used irrecord to
start a partial config file and viola! irw produces output: <br>
<br>
0000000000000001 00 BTN_SELECT recorded.conf <br>
0000000000000001 00 BTN_SELECT recorded.conf <br>
0000000000000002 00 BTN_RIGHT recorded.conf <br>
0000000000000002 00 BTN_RIGHT recorded.conf <br>
0000000000000002 00 BTN_RIGHT recorded.conf <br>
0000000000000003 00 BTN_LEFT recorded.conf <br>
<br>
Note that I did this after *undoing* the devinput configuration:<br>
<br>
LIRC_DRIVER=""<br>
LIRC_DEVICE=""<br>
<br>
Now the configuration I have been using for <b
class="moz-txt-star"><span class="moz-txt-tag">*</span>years<span
class="moz-txt-tag">*</span></b> is a Scientific Atlanta 3250.
Now there <b class="moz-txt-star"><span class="moz-txt-tag">*</span>is<span
class="moz-txt-tag">*</span></b> a configuration in the
database for this remote but it doesn't appear to work with LIRC
0.9.0. Seems like everything in the database has been generated
well before 0.8.6. <br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lirc.sourceforge.net/remotes/scientific_atlanta/3250">http://lirc.sourceforge.net/remotes/scientific_atlanta/3250</a><br>
<br>
So the /dev/lirc0 interface is working. What was not working was
my remote configuration from 0.8.7.<br>
<br>
This is a remote that I could use with a cheap programmable remote
*and* that had the A, B, C, D buttons I've come to depend on. I
copied the base config and it caused errors on loading requiring
the removal of the TV/VCR section.<br>
<br>
So I either need to pick a new remote that is both programmable on
my physical remote and has A, B, C, D buttons or I need to
irrecord a new setup off of the generic RC-5 configuration.<br>
<br>
</blockquote>
<br>
Yup, it did boil down to my remote configuration file. My physical
remote was programmable as an MCE remote. I swapped in the mceusb
configuration file and everything is now just working.<br>
<br>
irw:<br>
000000037ff07bdf 00 KEY_LEFT mceusb<br>
000000037ff07bdf 01 KEY_LEFT mceusb<br>
000000037ff07bdf 02 KEY_LEFT mceusb<br>
000000037ff07bdd 00 KEY_OK mceusb<br>
000000037ff07bdd 01 KEY_OK mceusb<br>
000000037ff07bdd 02 KEY_OK mceusb<br>
000000037ff07bde 00 KEY_RIGHT mceusb<br>
000000037ff07bde 01 KEY_RIGHT mceusb<br>
000000037ff07bde 02 KEY_RIGHT mceusb<br>
<br>
I spent some time editing ~/.mythtv/lircrc for Myth and ~/.lircrc
for mplayer putting in all the new namespace strings and everything
is just working. Yay!<br>
<br>
A user on the mythtv-users list stated the older configuration files
are compatible. Clearly this is not the case. I even tried directly
using the Scientific Atlanta file without changes. It generated an
error on the first section of the file. And obviously the rest of it
just wasn't working.<br>
<br>
I think sticking to the files in the lirc-remotes-0.9.0 package will
be safer. And anything in the online database will require lots of
testing.<br>
<br>
Thank you everyone for your help and suggestions.<br>
<br>
</body>
</html>
--===============0658048683658276924==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
atrpms-users mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/atrpms-users
--===============0658048683658276924==--