Quantcast

Some key presses only work every other send when using two remote configurations

classic Classic list List threaded Threaded
4 messages Options
BP
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Some key presses only work every other send when using two remote configurations

BP
I am having a problem with my lirc configuration.  When I have a rng_150
remote in my configuration, receiving some keys from a mce_usb remote
always skips every other key press.  Some keys always work.  The keys
that work/do not work are consistent.  When I remove the rng_150 config,
all keys always work for every key press.  Second (successful) keypress
needs to be within about a second of the first.  If you wait a few
seconds, the next press fails and the following will succeed.

I have had this with two Microsoft branded receivers and one generic
one.  Have also used two different generation remotes and a logitech
harmony programmed for mce.  Results are consistent.

Reducing the delay in the remote config just results in having
additional duplicate events every other press.

I have used lirc 0.9.0 on Ubuntu 14.04, 15.04 and 15.10 as well as
0.9.3a on 15.10.  All information below is from 0.9.3a
(ppa:leamas-alec/lirc-0.9.3) on 15.10 (kernel 4.2.0-23-generic).

'ir-keytable -t' (with lirc stopped) and mode2 always give events for
every key press.  Watching lirc debug logging shows events for every
press with every other one failing.  When using Ubuntu 12.04 (not sure
of lirc version), everything worked.

I use the mceusb as a receiver to control a mythtv frontend.  The
rng-150 is used to transmit signals to change channels on a cable box.

Steps:
1)  Place both mceusb.conf and rng-150.conf in /etc/lirc/lirc.d.conf/
2)  Start lirc
3)  Run irw
4)  Press OK button on mce remote
--> No response in irw
5)  Press OK button on mce remote a second time in quick succession to first
--> Response in irw (two lines)

6)  Stop lirc
7)  Remove rng-150.conf
8)  Start lirc
9)  Start irw
10) Press OK button on mce remote multiple times
-->  Response in irw for every press (two lines for each)

Other buttons with issues are KEY_Left, KEY_7, KEY_8, KEY_9 and KEY_Back.


Any help would be appreciated.



===============================================================
ls -l /dev/lirc*
crw-rw---- 1 root video 245, 0 Jan  6 16:16 /dev/lirc0
lrwxrwxrwx 1 root root      15 Jan  6 19:58 /dev/lircd -> /run/lirc/lircd
lrwxrwxrwx 1 root root      16 Jan  6 19:58 /dev/lircd1 -> /run/lirc/lircd1

*I do not have the receiver with the transmitter currently plugged in,
but behavior is identical.


===============================================================
cat /sys/class/rc/rc0/protocols
other unknown rc-5 nec rc-6 jvc sony rc-5-sz sanyo sharp mce_kbd [lirc] xmp

===============================================================
ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event14) with:
        Driver mceusb, table rc-rc6-mce
        Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC RC-5-SZ SHARP
XMP other
        Enabled protocols: LIRC
        Name: Media Center Ed. eHome Infrared
        bus: 3, vendor/product: 1784:0011, version: 0x0100
        Repeat delay = 500 ms, repeat period = 125 ms


===============================================================
lsmod:

Module                  Size  Used by
nfsv3                  40960  1
nfs                   253952  14 nfsv3
fscache                61440  1 nfs
ir_lirc_codec          16384  0
ir_xmp_decoder         16384  0
lirc_dev               20480  1 ir_lirc_codec
ir_sharp_decoder       16384  0
ir_sanyo_decoder       16384  0
ir_mce_kbd_decoder     16384  0
ir_sony_decoder        16384  0
ir_jvc_decoder         16384  0
ir_rc5_decoder         16384  0
ir_rc6_decoder         16384  0
ir_nec_decoder         16384  0
rc_rc6_mce             16384  0
mceusb                 28672  0
snd_hda_codec_hdmi     49152  1
snd_hda_codec_realtek    86016  1
snd_hda_codec_generic    77824  1 snd_hda_codec_realtek
snd_hda_intel          36864  5
snd_hda_codec         135168  4
snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
intel_rapl             20480  0
snd_hda_core           65536  5
snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
iosf_mbi               16384  1 intel_rapl
snd_hwdep              16384  1 snd_hda_codec
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
joydev                 20480  0
snd_pcm               106496  4
snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
kvm_intel             167936  0
kvm                   512000  1 kvm_intel
input_leds             16384  0
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
crct10dif_pclmul       16384  0
nvidia              10567680  31
snd_rawmidi            32768  1 snd_seq_midi
crc32_pclmul           16384  0
snd_seq                69632  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
cryptd                 20480  0
serio_raw              16384  0
snd_timer              32768  2 snd_pcm,snd_seq
mei_me                 32768  0
mei                    98304  1 mei_me
snd                    81920  21
snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
drm                   356352  4 nvidia
lpc_ich                24576  0
ie31200_edac           16384  0
soundcore              16384  1 snd
shpchp                 36864  0
edac_core              53248  1 ie31200_edac
ite_cir                28672  0
rc_core                28672  15
ir_sharp_decoder,ir_xmp_decoder,lirc_dev,ir_lirc_codec,ir_rc5_decoder,ir_nec_decoder,ir_sony_decoder,mceusb,ir_mce_kbd_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_sanyo_decoder,ite_cir,rc_rc6_mce
8250_fintek            16384  0
mac_hid                16384  0
nfsd                  319488  13
auth_rpcgss            61440  1 nfsd
nfs_acl                16384  2 nfsd,nfsv3
coretemp               16384  0
lockd                  94208  3 nfs,nfsd,nfsv3
grace                  16384  2 nfsd,lockd
parport_pc             32768  0
sunrpc                335872  50 nfs,nfsd,auth_rpcgss,lockd,nfsv3,nfs_acl
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,ppdev,parport_pc
autofs4                40960  2
btrfs                 974848  1
xor                    24576  1 btrfs
hid_generic            16384  0
usbhid                 49152  0
hid                   118784  2 hid_generic,usbhid
raid6_pq              102400  1 btrfs
firewire_ohci          40960  0
ahci                   36864  2
psmouse               126976  0
libahci                32768  1 ahci
firewire_core          65536  1 firewire_ohci
r8169                  81920  0
crc_itu_t              16384  1 firewire_core
mii                    16384  1 r8169
video                  36864  0


===============================================================
hardware.conf

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Windows Media Center Transceivers/Remotes (all)"
REMOTE_MODULES="lirc_dev mceusb"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS=""

##Chosen IR Transmitter
TRANSMITTER="DCTxxxx"
TRANSMITTER_MODULES="lirc_dev mceusb"
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE="/dev/lirc1"
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

DISABLE_KERNEL_SUPPORT="true"
START_LIRCD="true"
LOAD_MODULES="true"
LIRCMD_CONF=""
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""


===============================================================
lircd.conf

include "lircd.conf.d/*.conf"

*conf files attached

===============================================================
fail debug (-D10) output with irw running:

lircd-0.9.3a[3598]: Debug: trying "mceusb" remote
lircd-0.9.3a[3598]: Debug: <s16777215
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: +s16777215
lircd-0.9.3a[3598]: Debug: pulse expected
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "mceusb_hauppauge" remote
lircd-0.9.3a[3598]: Debug: <s16777215
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <s16777215
lircd-0.9.3a[3598]: Debug: pulse expected
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "vista_mce" remote
lircd-0.9.3a[3598]: Debug: <s16777215
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <s16777215
lircd-0.9.3a[3598]: Debug: pulse expected
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "RNG-150" remote
lircd-0.9.3a[3598]: Debug: <s16777215
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <s16777215
lircd-0.9.3a[3598]: Debug: pulse expected
lircd-0.9.3a[3598]: Debug: +p2700
lircd-0.9.3a[3598]: Debug: space expected
lircd-0.9.3a[3598]: Error: failed on bit 1
lircd-0.9.3a[3598]: Debug: Failed on pre_data: cannot get it
lircd-0.9.3a[3598]: Debug: failed on pre
lircd-0.9.3a[3598]: Debug: decoding failed for all remotes
lircd-0.9.3a[3598]: Debug: c850
lircd-0.9.3a[3598]: Debug: trying "mceusb" remote
lircd-0.9.3a[3598]: Debug: <s850
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "mceusb_hauppauge" remote
lircd-0.9.3a[3598]: Debug: <s850
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "vista_mce" remote
lircd-0.9.3a[3598]: Debug: <s850
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "RNG-150" remote
lircd-0.9.3a[3598]: Debug: <s850
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 0: 0
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 4: 0
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s850
lircd-0.9.3a[3598]: Debug: 8: 2
lircd-0.9.3a[3598]: Debug: +p500
lircd-0.9.3a[3598]: Debug: +s850
lircd-0.9.3a[3598]: Debug: 12: 3
lircd-0.9.3a[3598]: Debug: +p1350
lircd-0.9.3a[3598]: Debug: +s850
lircd-0.9.3a[3598]: Debug: 16: 9
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 20: 0
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 24: 0
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: 28: 0
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: pre: 239000
lircd-0.9.3a[3598]: Debug: +s500
lircd-0.9.3a[3598]: Debug: code: 0
lircd-0.9.3a[3598]: Debug: +p400
lircd-0.9.3a[3598]: Debug: space expected
lircd-0.9.3a[3598]: Debug: post: 0
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: failed on trailing pulse
lircd-0.9.3a[3598]: Debug: decoding failed for all remotes
lircd-0.9.3a[3598]: Debug: c450
lircd-0.9.3a[3598]: Debug: trying "mceusb" remote
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: space expected
lircd-0.9.3a[3598]: Debug: failed on sync
lircd-0.9.3a[3598]: Debug: trying "mceusb_hauppauge" remote
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: space expected
lircd-0.9.3a[3598]: Debug: failed on sync
lircd-0.9.3a[3598]: Debug: trying "vista_mce" remote
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: space expected
lircd-0.9.3a[3598]: Debug: failed on sync
lircd-0.9.3a[3598]: Debug: trying "RNG-150" remote
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: space expected
lircd-0.9.3a[3598]: Debug: failed on sync
lircd-0.9.3a[3598]: Debug: decoding failed for all remotes
lircd-0.9.3a[3598]: Debug: c450
lircd-0.9.3a[3598]: Debug: trying "mceusb" remote
lircd-0.9.3a[3598]: Debug: <s450
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "mceusb_hauppauge" remote
lircd-0.9.3a[3598]: Debug: <s450
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "vista_mce" remote
lircd-0.9.3a[3598]: Debug: <s450
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "RNG-150" remote
lircd-0.9.3a[3598]: Debug: <s450
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 0: 0
lircd-0.9.3a[3598]: Debug: +p400
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 4: 0
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 8: 0
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 12: 0
lircd-0.9.3a[3598]: Debug: +p900
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 16: 3
lircd-0.9.3a[3598]: Debug: +p400
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 20: 0
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 24: 0
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 28: 0
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: pre: 3000
lircd-0.9.3a[3598]: Debug: +s850
lircd-0.9.3a[3598]: Debug: code: 0
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: space expected
lircd-0.9.3a[3598]: Debug: post: 0
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: failed on trailing pulse
lircd-0.9.3a[3598]: Debug: decoding failed for all remotes
lircd-0.9.3a[3598]: Debug: c450
lircd-0.9.3a[3598]: Debug: trying "mceusb" remote
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: space expected
lircd-0.9.3a[3598]: Debug: failed on sync
lircd-0.9.3a[3598]: Debug: trying "mceusb_hauppauge" remote
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: space expected
lircd-0.9.3a[3598]: Debug: failed on sync
lircd-0.9.3a[3598]: Debug: trying "vista_mce" remote
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: space expected
lircd-0.9.3a[3598]: Debug: failed on sync
lircd-0.9.3a[3598]: Debug: trying "RNG-150" remote
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: space expected
lircd-0.9.3a[3598]: Debug: failed on sync
lircd-0.9.3a[3598]: Debug: decoding failed for all remotes
lircd-0.9.3a[3598]: Debug: c450
lircd-0.9.3a[3598]: Debug: trying "mceusb" remote
lircd-0.9.3a[3598]: Debug: <s450
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "mceusb_hauppauge" remote
lircd-0.9.3a[3598]: Debug: <s450
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "vista_mce" remote
lircd-0.9.3a[3598]: Debug: <s450
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "RNG-150" remote
lircd-0.9.3a[3598]: Debug: <s450
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: 0: 0
lircd-0.9.3a[3598]: Debug: +p900
lircd-0.9.3a[3598]: Debug: +s900
lircd-0.9.3a[3598]: Debug: 4: 6
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 8: 0
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 12: 0
lircd-0.9.3a[3598]: Debug: +p400
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 16: 0
lircd-0.9.3a[3598]: Debug: +p900
lircd-0.9.3a[3598]: Debug: +s900
lircd-0.9.3a[3598]: Debug: 20: 6
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: 24: 0
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 28: 0
lircd-0.9.3a[3598]: Debug: +p900
lircd-0.9.3a[3598]: Debug: failed on pre
lircd-0.9.3a[3598]: Debug: decoding failed for all remotes
lircd-0.9.3a[3598]: Debug: c900
lircd-0.9.3a[3598]: Debug: trying "mceusb" remote
lircd-0.9.3a[3598]: Debug: <s900
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "mceusb_hauppauge" remote
lircd-0.9.3a[3598]: Debug: <s900
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "vista_mce" remote
lircd-0.9.3a[3598]: Debug: <s900
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: failed on header
lircd-0.9.3a[3598]: Debug: trying "RNG-150" remote
lircd-0.9.3a[3598]: Debug: <s900
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: <p450
lircd-0.9.3a[3598]: Debug: +s16777215
lircd-0.9.3a[3598]: Error: failed on bit 1
lircd-0.9.3a[3598]: Debug: Failed on pre_data: cannot get it
lircd-0.9.3a[3598]: Debug: failed on pre
lircd-0.9.3a[3598]: Debug: decoding failed for all remotes


===============================================================
successful entry (second keypress after above):

lircd-0.9.3a[3598]: Debug: c14569455
lircd-0.9.3a[3598]: Debug: trying "mceusb" remote
lircd-0.9.3a[3598]: Debug: <s14569455
lircd-0.9.3a[3598]: Debug: sync
lircd-0.9.3a[3598]: Debug: +p2750
lircd-0.9.3a[3598]: Debug: header
lircd-0.9.3a[3598]: Debug: +s800
lircd-0.9.3a[3598]: Debug: <s800
lircd-0.9.3a[3598]: Debug: +p500
lircd-0.9.3a[3598]: Debug: 0
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: <s400
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: 0
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: <s450
lircd-0.9.3a[3598]: Debug: +p500
lircd-0.9.3a[3598]: Debug: 0
lircd-0.9.3a[3598]: Debug: +s850
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s850
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p1350
lircd-0.9.3a[3598]: Debug: <p1350
lircd-0.9.3a[3598]: Debug: 0
lircd-0.9.3a[3598]: Debug: +s900
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p500
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p500
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p500
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p500
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p950
lircd-0.9.3a[3598]: Debug: <p950
lircd-0.9.3a[3598]: Debug: 0
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: <s400
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: 0
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: <s400
lircd-0.9.3a[3598]: Debug: +p500
lircd-0.9.3a[3598]: Debug: 0
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: <s400
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: 0
lircd-0.9.3a[3598]: Debug: pre: 37ff0
lircd-0.9.3a[3598]: Debug: +s900
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p500
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p900
lircd-0.9.3a[3598]: Debug: <p900
lircd-0.9.3a[3598]: Debug: 0
lircd-0.9.3a[3598]: Debug: +s850
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p950
lircd-0.9.3a[3598]: Debug: <p950
lircd-0.9.3a[3598]: Debug: 0
lircd-0.9.3a[3598]: Debug: +s850
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s450
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: +s400
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: +p950
lircd-0.9.3a[3598]: Debug: <p950
lircd-0.9.3a[3598]: Debug: 0
lircd-0.9.3a[3598]: Debug: +s850
lircd-0.9.3a[3598]: Debug: 1
lircd-0.9.3a[3598]: Debug: code: fbdd
lircd-0.9.3a[3598]: Debug: +p450
lircd-0.9.3a[3598]: Debug: sum: 37300
lircd-0.9.3a[3598]: Debug: +s16777215
lircd-0.9.3a[3598]: Debug: pre
lircd-0.9.3a[3598]: Debug: found: OK
lircd-0.9.3a[3598]: Debug: 2187310 0 2187310 1 1 0 0 0 0 1
lircd-0.9.3a[3598]: Debug: release_gap: 234510
lircd-0.9.3a[3598]: Debug: writing to client 0: 000000037ff07bdd 00
KEY_OK mceusb
lircd-0.9.3a[3598]: Debug: trigger

------------------------------------------------------------------------------

RNG-150.txt (2K) Download Attachment
lircd.conf.mceusb (19K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Some key presses only work every other send when using two remote configurations

Bengt Martensson-2
On 01/07/16 06:02, BP wrote:
> I am having a problem with my lirc configuration.  When I have a rng_150
> remote in my configuration, receiving some keys from a mce_usb remote
> always skips every other key press.  Some keys always work.  The keys
> that work/do not work are consistent.  When I remove the rng_150 config,
> all keys always work for every key press.
 > ...

Some protocols, MCE (which is closely related to RC6) is one of these.
There is a bit in the transmitted "payload" that toggles between 1 and
0; every off key press a 0 is sent, every odd a 1 (or the other way
around). That explains the "every other keypress".

Then, what happens is that in the presence of rng_150 (which contains
XMP signals btw)  some MCE signals are, for one but not two values of
the toggle bit, an MCE signal is erroneously decoded.

I conclude that you must make sure that Lirc tries MCE decoding before
rng/XMP.

By design, for decoding, Lirc reorders the remotes, trying the "shorter"
first. This can be prohibited by the new keyword "manual_sort".

SO, order your lircd.conf so that MCE comes before RNG, and be sure to
put "manual_sort" in it.

Hope that this helps.

Greetz,

Bengt


------------------------------------------------------------------------------
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Some key presses only work every other send when using two remote configurations

Alec Leamas
In reply to this post by BP

On 07/01/16 13:29, Bengt Martensson wrote:
> On 01/07/16 06:02, BP wrote:

> I conclude that you must make sure that Lirc tries MCE decoding before
> rng/XMP.
>
> By design, for decoding, Lirc reorders the remotes, trying the "shorter"
> first. This can be prohibited by the new keyword "manual_sort".
>
> SO, order your lircd.conf so that MCE comes before RNG, and be sure to
> put "manual_sort" in it.

Right. Unfortunately, BP seems to be on a Debian or a derivate like
Ubuntu and thus is using lirc-0.9.0 (?)  IIRC there is no way to change
the automatic ordering in this really old version.

There is some more on "manual_sort" in [1]. However, it definitely does
not apply to 0.9.0.

Cheers!

-alec

[1] http://lirc.org/html/configuration-guide.html#appendix-8






------------------------------------------------------------------------------
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Some key presses only work every other send when using two remote configurations

Alec Leamas
On 07/01/16 14:38, Alec Leamas wrote:

>
> On 07/01/16 13:29, Bengt Martensson wrote:
>> On 01/07/16 06:02, BP wrote:
>
>> I conclude that you must make sure that Lirc tries MCE decoding before
>> rng/XMP.
>>
>> By design, for decoding, Lirc reorders the remotes, trying the "shorter"
>> first. This can be prohibited by the new keyword "manual_sort".
>>
>> SO, order your lircd.conf so that MCE comes before RNG, and be sure to
>> put "manual_sort" in it.
>
> Right. Unfortunately, BP seems to be on a Debian or a derivate like
> Ubuntu and thus is using lirc-0.9.0 (?)IIRC there is no way to change
> the automatic ordering in this really old version.

Oops, sloppy reading., sorry for that. The manual_sort is indeed
available in 0.9.3.

> There is some more on "manual_sort" in [1]. However, it definitely does
> not apply to 0.9.0.

But, it does on 0.9.3. However, before diving into this: Have you
checked the repeat count as described in [2]: "Using irrecord"?

[1] http://lirc.org/html/configuration-guide.html#appendix-8
[2] https://sourceforge.net/p/lirc-remotes/wiki/manual/

Cheers!

--alec


------------------------------------------------------------------------------
Loading...