[mythtv-users] IguanaIR configuration

Peter Bennett (cats22) cats22 at comcast.net
Wed Sep 2 16:59:58 UTC 2015


On 09/02/2015 11:16 AM, Mike Perkins wrote:
> On 02/09/15 14:40, George Nassas wrote:
>> On Sep 2, 2015, at 7:42 AM, Alec Leamas <leamas.alec at gmail.com> wrote:
>>>
>>> However, a raw config file could be used exactly as a normal one. If
>>> you take your file with just a few buttons, copies it to
>>> /etc/lirc/lircd.conf
>>
>> I’m curious why you wouldn’t take one of the irrecorded codes and
>> search the remotes database for it. Something like:
>>
>>      find /usr/share/lirc/remotes -type f -exec grep -H -i 17FD {} \;
>>
>> where 17FD represents a code from the irrecord file. It could be that
>> irrecord is supposed to do this out of the box but I don’t remember
>> it doing that when I was setting up my remotes.
>>
>> Of course no match means you’ve got a never-before-seen remote and
>> would have to do your own lircd.conf as Alec says.
>>
> The raw code results don't look like that. sample:
>
> begin remote
>
>   name  mcemote.conf
>   flags RAW_CODES
>   eps            30
>   aeps          100
>
>   gap          48833
>
>       begin raw_codes
>
>           name KEY_PLAY
>              2026     917    1024     917    1024     917
>              1024     426     512     917     512     426
>              1024     938    1024     426     512     917
>              1024     426     533     917     512
>
>           name KEY_STOP
>              2026     917    1024     917    1024     917
>              1024     426     512     426     533     426
>               512     426     512     426     512     917
>              1024     917     512     426     512     426
>              1024
>      end raw_codes
>
> end remote
>
> The remote name is just a random string.
>
> * I've just noticed there is an -a option to irrecord, to analyse raw
> codes, but I have no idea how to use it or what it does. Needless to
> say, the documentation is sparse on the subject :)
>

For what its worth, I found that when using irrecord to create a conf
file it worked a whole lot better if I held the remote a couple of
inches from the Iguana. Doing that changed it from generating raw codes
to generating regular codes as below.

begin remote

  name  UG3EXP_VCR001
  bits           22
  flags SPACE_ENC
  eps            30
  aeps          100

  header       3410  3136
  one           901  2407
  zero          901   741
  ptrail        898
  gap          32271
  toggle_bit_mask 0x0

      begin codes
          STOP                 0x1005FF
          PAUSE                0x10C5E7
          PLAY                 0x10A5EB
          REWIND               0x1085EF

 etc.

Peter


More information about the mythtv-users mailing list