IRW strange behavior after making conf with irrecord? Alternating results.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

IRW strange behavior after making conf with irrecord? Alternating results.

Mark Hutchinson
Hello,

I have made a conf file for a remote control with irrecord ( see below )

Using that conf file, I get odd behavior testing it with irw.

on pressing number one for instance, it will give KEY_1 the first time
then KEY_2 the second time, then KEY_1 the third time.

It alternates.  Same every time I try it.  I have tried to make a new
irrecord conf file, but got the same results.

Any ideas on what I can try?


This is me pressing the 1 key, three times:

root@mythbuntu:~# irw
0000000000000002 00 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 01 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 02 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 03 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 04 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 05 KEY_1 /etc/lirc/own_remote.conf
0000000000000003 00 KEY_2 /etc/lirc/own_remote.conf
0000000000000003 01 KEY_2 /etc/lirc/own_remote.conf
0000000000000003 02 KEY_2 /etc/lirc/own_remote.conf
0000000000000003 03 KEY_2 /etc/lirc/own_remote.conf
0000000000000003 04 KEY_2 /etc/lirc/own_remote.conf
0000000000000003 05 KEY_2 /etc/lirc/own_remote.conf
0000000000000003 06 KEY_2 /etc/lirc/own_remote.conf
0000000000000002 00 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 01 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 02 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 03 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 04 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 05 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 06 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 07 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 08 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 09 KEY_1 /etc/lirc/own_remote.conf
0000000000000002 0a KEY_1 /etc/lirc/own_remote.conf


Here is my conf file:

root@mythbuntu:~# cat /etc/lirc/own_remote.conf

# Please make this file available to others
# by sending it to <[hidden email]>
#
# this config file was automatically generated
# using lirc-0.9.0(default) on Sat Mar 18 23:40:06 2017
#
# contributed by
#
# brand:                       /etc/lirc/own_remote.conf
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

   name  /etc/lirc/own_remote.conf
   flags RAW_CODES|CONST_LENGTH
   eps            30
   aeps          100

   gap          99800

       begin raw_codes

           name KEY_0
               550     100     350     100     350     500
               250     350     300     150     300     500
               250     150     300     150     300     150
               300     150     300     500     250     350
               300     500     250     200     250     200
               250     200     250     200     250

           name KEY_1
               500     100     350     150     300     500
               300     300     300     150     300     500
               250     150     300     150     300     150
               300     500     300     500     250     350
               250     550     250     200     250     200
               250     200     250     350     250

           name KEY_2
               550     100     350     100     300     500
               300     350     250     150     300     500
               300     150     300     150     300     150
               300     150     250     550     250     350
               250     550     250     200     250     150
               300     150     250     550     250

           name KEY_3
               550     100     300     150     300     500
               300     300     300     150     300     500
               250     200     250     150     300     150
               300     550     250     500     250     350
               300     500     250     200     250     200
               250     200     250     700     250

           name KEY_4
               550     100     350     100     350     500
               250     350     250     150     300     500
               300     150     300     150     300     150
               300     150     250     550     250     350
               250     550     250     200     250     200
               250     350     250     200     250

           name KEY_5
               550     100     300     150     300     500
               300     350     250     150     300     500
               300     150     250     200     250     200
               250     550     250     500     250     400
               250     500     250     200     250     200
               250     350     250     400     250

       end raw_codes

end remote


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Reply | Threaded
Open this post in threaded view
|

Re: IRW strange behavior after making conf with irrecord? Alternating results.

Alec Leamas

On 19/03/17 15:43, Mark Hutchinson wrote:

> Hello,
>
> I have made a conf file for a remote control with irrecord ( see below )
>
> Using that conf file, I get odd behavior testing it with irw.
>
> on pressing number one for instance, it will give KEY_1 the first time
> then KEY_2 the second time, then KEY_1 the third time.
>
> It alternates.  Same every time I try it.  I have tried to make a new
> irrecord conf file, but got the same results.
>
> Any ideas on what I can try?

Basically, since irrecord has produced a file with raw codes, it has not
been able to decode the remote signals completely. So, this is most
likely about the config file.

You might want to re-check the trivial problems (ambient light, bad
remote batteries, distance remote <-> receiver...) and re-run irrecord.
If you still cannot create a non-raw config file, your next stop might
be irscrutinizer; perhaps Bengt can provide some info here?

Note that the lirc version you are using is very old and not supported
upstream i. e., I don't really know what I'm talking about here ;)


Cheers!

--alec

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot