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

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

Post Reply
The Robman
Site Owner
Posts: 21944
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

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

Post 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.
Last edited by The Robman on Fri Feb 10, 2012 12:37 pm, edited 1 time in total.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
The Robman
Site Owner
Posts: 21944
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post 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.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
3FG
Expert
Posts: 3436
Joined: Mon May 18, 2009 11:48 pm

Post 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.
The Robman
Site Owner
Posts: 21944
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post 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?
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
The Robman
Site Owner
Posts: 21944
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post 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?
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Post Reply