Page 1 of 1

protocols.ini bug: Panasonic (Old) - fix is available

Posted: Thu Feb 09, 2012 10:22 am
by The Robman
re: https://www.hifi-remote.com/forums/viewtopic.php?t=13850

There is a bug in how the 2nd and 3rd device codes are handled for this mini-combo protocol in protocols.ini

Basically, the two bits used to select the correct fixed data byte are reversed, so if you select the 2nd device code you actually get the 3rd device code, and vice versa.

Posted: Fri Feb 10, 2012 7:35 am
by The Robman
Hopefully this is a really simple fix for someone who knows how to edit protocols.ini but the syntax has always proven too difficult for me. I did try to fix it myself but RM would blow up after all my fix attempts.

Posted: Fri Feb 10, 2012 10:59 am
by 3FG
Try replacing
(bad)CmdTranslator=Translator(lsb,comp,0,2,6) Translator(lsb,1,6,0)
with

Code: Select all

CmdTranslator=Translator(comp,0,2,6) Translator(lsb,1,6,0)
This removes the incorrect "lsb". The selector bits are msb.

Posted: Fri Feb 10, 2012 12:36 pm
by The Robman
That's so close to what I tried, but I think I replaced "lsb" with "msb".

Just gave it a quick test and it does appear to work, thanks Dave.

Could somebody incorporate this into the official version please?

Posted: Tue Feb 21, 2012 9:30 am
by The Robman
The Robman wrote:Could somebody incorporate this into the official version please?
Can anyone confirm that this has been picked up for the next official version?