-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
Using Raspberry as IR remote with gpio controlled ir-led using lirc_rpi
uname -a
Linux raspberrypi 3.12.18+ #679 PREEMPT Thu May 1 14:40:27 BST 2014 armv6l GNU/Linux
lircd -v
lircd 0.9.0-pre1
Sending and receiving SPACE_ENC remote codes works perfectly fine.
receiving RCMM codes with irw works, but sending with irsend does not.
command executed: irsend SEND_ONCE KathreinRC660 KEY_OK
symptoms: IR-led flashes once, than nothing happens. Following irsend runs into a timeout
running lirc in debug mode:
sudo lircd -n -d /dev/lirc0
lircd-0.9.0-pre1[6020]: lircd(default) ready, using /var/run/lirc/lircd
lircd-0.9.0-pre1[6020]: accepted new client on /var/run/lirc/lircd
lircd-0.9.0-pre1[6020]: removed client
lircd-0.9.0-pre1[6020]: accepted new client on /var/run/lirc/lircd
client is after approx 30 sec removed again, during this time irsend runs into the timeout
problem occurs/reproduced in raspbian, openelec and archlinux
Used lircd.conf:
begin remote
name KathreinRC660
bits 16
flags RCMM|CONST_LENGTH
eps 10
aeps 130
header 500 185
three 217 700
two 217 560
one 217 367
zero 210 185
ptrail 250
pre_data_bits 16
pre_data 0x2290
gap 16777215
toggle_bit 17
min_repeat 0
frequency 36000
duty_cycle 50
begin codes
KEY_0 0x0000
KEY_1 0x0001
KEY_2 0x0002
KEY_3 0x0003
KEY_4 0x0004
KEY_5 0x0005
KEY_6 0x0006
KEY_7 0x0007
KEY_8 0x0008
KEY_9 0x0009
KEY_INFO 0x000F
KEY_OK 0x005C
KEY_STAND_BY 0x000C
KEY_MUTE 0x000D
KEY_CURSOR_RIGHT 0x005B
KEY_CURSOR_LEFT 0x005A
KEY_CURSOR_UP 0x0058
KEY_CURSOR_DOWN 0x0059
KEY_VOLUME_UP 0x0010
KEY_VOLUME_DOWN 0x0011
KEY_RED 0x006D
KEY_GREEN 0x006E
KEY_YELLOW 0x006F
KEY_BLUE 0x0070
KEY_EPG 0x00CC
KEY_EXIT 0x0055
KEY_MENU 0x0054
KEY_CHANNEL_UP 0x001E
KEY_CHANNEL_DOWN 0x001F
KEY_PLAY 0x0038
KEY_STOP 0x0031
KEY_RECORD 0x0037
KEY_PAUSE 0x0039
KEY_FASTFORWARD 0x0020
KEY_REWIND 0x0021
KEY_TEXT 0x003C
end codes
end remote