With my UIRT2 hardware, and lircd started as
lircd --driver=uirt2_raw --device=/dev/ttyS1
irsend SEND_ONCE my_remote my_code
gives the error
This happens with both lirc-0.8.0 and current cvs.
I think I have found a fix for this - it seems to fix the
problem, but someone who knows the code should check to make
sure it is correct.
The problem seems to be in send_core() in daemons/lircd.c
I assume the return(1) here should in fact be
return(send_success(fd,message)), otherwise irsend will
never get the response it is expecting.
I'm not sure why this problem hasn't shown up
before....maybe this section of send_core is only executed
for certain remote types?
> irsend SEND_ONCE my_remote my_code
> gives the error
> irsend: timeout
> I assume the return(1) here should in fact be
> return(send_success(fd,message)), otherwise irsend will
> never get the response it is expecting.
No, the response is sent later. You can increase the timeout instead.
If you remove min_repeat from you config file, or if you decrease the
value, you should not get the timeout.
Get latest updates about Open Source Projects, Conferences and News.