From: <li...@ba...> - 2007-05-11 16:47:31
|
Hi! David Frascone "da...@fr..." wrote: [...] >>>>> Attached is output from mode2 when things are *not* working >>> >>> David, try xmode2 instead when everything is ok and when it's not >>> working, if you see that the output is different, then try applying the >>> patch that I submitted yesterday, or delete these lines in lirc_serial.c >>> (if that's what you're using): >>> >>> if(!(dcd^sense)) /* sanity check */ >>> { >>> /* detecting pulse while this >>> MUST be a space! */ >>> sense=sense ? 0:1; >>> } >>> >> I updated CVS after people said that the patch went in there -- did it not? >> >> When I get home I'll re-update CVS, check for that patch, and see if it >> happens again. >> >> > This change definitely fixes my issues. The sanity check is not sane. Before I remove the code I need to understand what is happening. The mode2 data that you posted before did not show this problem. Could you please update to today's CVS version of lirc_serial. When the problem occurs again please post the output of "grep lirc_serial /var/log/messages". Christoph |