[SOLVED] LIRC TSO4838 skips step - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Hardware (/forum-7.html) +--- Forum: Remotes and CEC support (/forum-26.html) +--- Thread: [SOLVED] LIRC TSO4838 skips step (/thread-526.html) Pages: 1 2 |
LIRC TSO4838 skips step - mightymike82 - 26th Feb, 2013 02:20 AM Hi all, I've succesfully soldered my TSOP4838 to my Rpi and configured it (thnx to Curly Mo). All is working fine except for one small thing, My remote (harmony 700) skips a step with every press on de direction keys, taking it one step to far (left, right up down). This problem is resolved by a restart of lirc (/etc/init.d/lirc restart) So everytime I boot up my Pi I have to restart LIRC. Anyone got a solution to the problem? or a way to restart lirc when xbmc is loaded. Thanx RE: LIRC TSO4838 skips step - CurlyMo - 26th Feb, 2013 02:23 AM First try to add the restart of lirc to /etc/rc.local RE: LIRC TSO4838 skips step - mightymike82 - 26th Feb, 2013 04:57 AM (26th Feb, 2013 02:23 AM)CurlyMo Wrote: First try to add the restart of lirc to /etc/rc.local unfortunatly that didn´t work (or I´m doing it wrong ,which is a possibility I've changed my rc.local as below and added an execution bit (chmod +x) Terminal #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. /etc/init.d/lirc restart exit 0 RE: LIRC TSO4838 skips step - CurlyMo - 26th Feb, 2013 05:09 AM What does irw output? RE: LIRC TSO4838 skips step - mightymike82 - 28th Feb, 2013 05:17 AM (26th Feb, 2013 05:09 AM)CurlyMo Wrote: What does irw output? The following Terminal root@xbian:/etc/lirc# irw 000000037ff07bde 00 KEY_RIGHT mceusb 000000037ff07bdf 00 KEY_LEFT mceusb 000000037ff07be1 00 KEY_UP mceusb 000000037ff07be0 00 KEY_DOWN mceusb 000000037ff07bde 00 KEY_RIGHT mceusb 000000037ff07bde 00 KEY_RIGHT mceusb 000000037ff07bdf 00 KEY_LEFT mceusb 000000037ff07bdf 00 KEY_LEFT mceusb 000000037ff07be1 00 KEY_UP mceusb 000000037ff07be0 00 KEY_DOWN mceusb 000000037ff07bde 00 KEY_RIGHT mceusb 000000037ff07bdf 00 KEY_LEFT mceusb 000000037ff07bdf 00 KEY_LEFT mceusb 000000037ff07bde 00 KEY_RIGHT mceusb 000000037ff07be1 00 KEY_UP mceusb 000000037ff07bde 00 KEY_RIGHT mceusb ^C RE: LIRC TSO4838 skips step - CurlyMo - 28th Feb, 2013 05:25 AM Try commenting the mceusb section from /usr/local/share/xbmc/system/Lircmap.xml. RE: LIRC TSO4838 skips step - mightymike82 - 28th Feb, 2013 05:47 AM (28th Feb, 2013 05:25 AM)CurlyMo Wrote: Try commenting the mceusb section from /usr/local/share/xbmc/system/Lircmap.xml. That workt, it's not skipping steps anymore but now I'm missing a lot of buttons, especially the ok button to select. RE: LIRC TSO4838 skips step - CurlyMo - 28th Feb, 2013 05:54 AM You have two options. Remove the double keypresses from either the lircmap.xml or from lirc itself and leave the rest in. RE: LIRC TSO4838 skips step - mightymike82 - 28th Feb, 2013 06:12 AM (28th Feb, 2013 05:54 AM)CurlyMo Wrote: You have two options. Remove the double keypresses from either the lircmap.xml or from lirc itself and leave the rest in. Yes this solves my problem, thanx a lot ! RE: LIRC TSO4838 skips step - matej9o - 2nd Mar, 2013 11:21 PM Hi ! I have a sort of the same problem as mightymike82, but after restarting I'm again getting duple movement with remote. I have tsop 38438 soldered to 3.3V. Here is my remote.conf : Terminal begin remote name Gigabyte_Remote bits 16 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100 header 9043 4450 one 611 1638 zero 611 513 ptrail 609 repeat 9041 2200 pre_data_bits 16 pre_data 0xE896 gap 107966 toggle_bit_mask 0x0 begin codes KEY_UP 0x22DD KEY_DOWN 0xB847 KEY_RIGHT 0x12ED KEY_LEFT 0x38C7 KEY_MUTE 0x48B7 KEY_OK 0x3AC5 KEY_BACK 0x50AF KEY_INFO 0x2AD5 KEY_TITLE 0x20DF KEY_PAUSE 0x9867 KEY_PLAY 0xD827 KEY_STOP 0x9A65 KEY_VOLUMEUP 0x926D KEY_VOLUMEDOWN 0xC23D KEY_HOME 0x1AE5 KEY_1 0xC837 KEY_2 0x08F7 KEY_3 0x8877 KEY_4 0xF00F KEY_5 0x30CF KEY_6 0xB04F KEY_7 0xD02F KEY_8 0x10EF KEY_9 0x906F KEY_0 0xF20D end codes end remote and lircmap.xml Terminal <lircmap> <remote device="Gigabyte_Remote"> <left>KEY_LEFT</left> <right>KEY_RIGHT</right> <up>KEY_UP</up> <down>KEY_DOWN</down> <select>KEY_OK</select> <start>KEY_HOME</start> <back>KEY_BACK</back> <record>KEY_RECORD</record> <play>KEY_PLAY</play> <pause>KEY_PAUSE</pause> <stop>KEY_STOP</stop> <forward>KEY_FORWARD</forward> <reverse>KEY_REWIND</reverse> <volumeplus>KEY_VOLUMEUP</volumeplus> <volumeminus>KEY_VOLUMEDOWN</volumeminus> <mute>KEY_MUTE</mute> <power>KEY_POWER</power> <one>KEY_1</one> <two>KEY_2</two> <three>KEY_3</three> <four>KEY_4</four> <five>KEY_5</five> <six>KEY_6</six> <seven>KEY_7</seven> <eight>KEY_8</eight> <nine>KEY_9</nine> <zero>KEY_0</zero> <enter>KEY_ENTER</enter> </remote> </lircmap> irw: Terminal 00000000e8963ac5 00 KEY_OK Gigabyte_Remote 00000000e8963ac5 01 KEY_OK Gigabyte_Remote 00000000e89612ed 00 KEY_RIGHT Gigabyte_Remote 00000000e89612ed 01 KEY_RIGHT Gigabyte_Remote 00000000e89638c7 00 KEY_LEFT Gigabyte_Remote 00000000e89638c7 01 KEY_LEFT Gigabyte_Remote 00000000e896b847 00 KEY_DOWN Gigabyte_Remote 00000000e896b847 01 KEY_DOWN Gigabyte_Remote 00000000e89622dd 00 KEY_UP Gigabyte_Remote 00000000e89622dd 01 KEY_UP Gigabyte_Remote 00000000e8962ad5 00 KEY_INFO Gigabyte_Remote 00000000e8962ad5 01 KEY_INFO Gigabyte_Remote 00000000e89648b7 00 KEY_MUTE Gigabyte_Remote 00000000e89648b7 01 KEY_MUTE Gigabyte_Remote 00000000e89650af 00 KEY_BACK Gigabyte_Remote 00000000e89650af 01 KEY_BACK Gigabyte_Remote Also I tried with different remote and different tsop IR and always I have the same problem. RE: LIRC TSO4838 skips step - CurlyMo - 3rd Mar, 2013 04:36 AM Can you add "suppress_repeats 2" to you remote.conf header. RE: LIRC TSO4838 skips step - matej9o - 3rd Mar, 2013 04:56 AM After adding "suppress_repeats 2" in /home/xbian/remote.conf and /etc/lirc/lircd.conf : Terminal begin remote name Gigabyte_Remote bits 16 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100 header 9043 4450 one 611 1638 zero 611 513 ptrail 609 repeat 9041 2200 pre_data_bits 16 pre_data 0xE896 gap 107966 toggle_bit_mask 0x0 suppress_repeats 2 my remote don't work at all. RE: LIRC TSO4838 skips step - CurlyMo - 3rd Mar, 2013 04:58 AM http://www.lirc.org/faq.html Point 5. RE: LIRC TSO4838 skips step - matej9o - 3rd Mar, 2013 05:22 AM (3rd Mar, 2013 04:58 AM)CurlyMo Wrote: http://www.lirc.org/faq.html Now I managed to make it work, but only when trying in irw. Irw show only one line for one button. When I'm tried it on xbmc it works like before, 2 movement for 1 button press. RE: LIRC TSO4838 skips step - CurlyMo - 3rd Mar, 2013 05:24 AM What keys... |