-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lirc - irsend timeout when using rcmm encoding #590
Comments
any comments an that? or should I report this issue somewhere else? |
The pi specific lirc driver was contributed by community and it's not something I know much about. I was hoping someone who knows more about this will chime in. |
I followed the issue you have mentioned as I thought it is related, but after the fix the RCMM problem still occurs. I also found a few discussions of that RCMM problem in the mailing list archive from 2012 but without a real explanation or solution. For me at the moment it looks like that this is more likely a general problem in lirc and not related to raspberry pi or lirc_rpi I will try contact the mailing list and/or the developers, maybe they can help. |
Okay. I'll leave this issue open for now in case any users who have found a solution can comment. |
Problem solved I used the lirc.conf from the remote controlled system (a Linux based satellite receiver) which caused the problem (the vendor supplied config file, so to say). It's a little bit confusing because receiving works and sending doesn't. However, I exchanged the vendor header with the one from lirc supplied rcmm32.conf template and now it works. see also mailing list thread: http://sourceforge.net/p/lirc/mailman/lirc-list/thread/537DD50F.40904%40gmail.com/ so this was clearly a program/config issue. |
Okay, good to hear. |
So what was the confirmation problem that solved this? I'm encourting the same problem where I get a timeout. I've read the mailing list discussion half a dozen times, but I don't see what the problem was with the config. |
specific problem in my case: the header of the vendor supplied config file (took the file from the linux based receiving device) was faulty. the solution: so in short and general - |
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
end remote
The text was updated successfully, but these errors were encountered: