From: Pratap P. <per...@pa...> - 2005-02-10 17:14:52
|
> > >A patch for the IRA-3 has been posted here by Ross Biro. >I can"t include the patch as long as nobody verifies that it does not >break support for the TIRA. With some use of minicom got to the bottom of the problem. The IRA-3 returns a "NO" if the handshake gap is too short, bumping it up makes it return "OK" and everything works as expected. This should be a safe patch to use. IRA-3 uses libirman and this is a safe patch to use. Since I have only an IRA-3 I do not know if something like this needs to be done for TIRA. Thanks, -p *** irman.h.orig Sat Feb 5 23:43:01 2005 --- irman.h Sat Feb 5 23:43:21 2005 *************** *** 22,28 **** /* time we allow the port to sort itself out with */ #define IR_POWER_ON_LATENCY (50 MSEC) /* gap between sending 'I' and 'R' */ ! #define IR_HANDSHAKE_GAP (500 USEC) /* successive initial garbage characters should not be more than this apart */ #define IR_GARBAGE_TIMEOUT (50 MSEC) --- 22,28 ---- /* time we allow the port to sort itself out with */ #define IR_POWER_ON_LATENCY (50 MSEC) /* gap between sending 'I' and 'R' */ ! #define IR_HANDSHAKE_GAP (2000 USEC) /* successive initial garbage characters should not be more than this apart */ #define IR_GARBAGE_TIMEOUT (50 MSEC) |