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
First try to add the restart of lirc to /etc/rc.local
(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
Try commenting the mceusb section from /usr/local/share/xbmc/system/Lircmap.xml.
(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.
You have two options. Remove the double keypresses from either the lircmap.xml or from lirc itself and leave the rest in.
(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 !
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.
Can you add "suppress_repeats 2" to you remote.conf header.
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.
(3rd Mar, 2013 04:58 AM)CurlyMo Wrote: [ -> ]http://www.lirc.org/faq.html
Point 5.
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.