Convert JP1 upgrade to lircd.conf

If you're not a JP1 user, but would like help from the JP1 experts, post your question here.

Moderator: Moderators

Post Reply
sixSixSeven
Posts: 5
Joined: Sun Jun 12, 2011 6:54 pm

Convert JP1 upgrade to lircd.conf

Post by sixSixSeven »

Is it possible to convert one of your "JP1 upgrade text files" to a configuration that I could use with lirc to send IR to a device?

Here's the story. I picked up a DLO homedock (original) at goodwill but they didn't have the remote. I found a JP1 file on this forum that should work. I have a modded PSP that has lirc on it, and I'd like to use that to control the homedock. I don't have a JP1 remote at the moment.
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

I'm really interested in learning about lirc, now that I've been exposed to linux. I've been playing with puppy linux so that I can use an old laptop to access the online TVguide without going downstairs to my desktop. Unfortunately I don't have the IR equipment to work with the IR file.

If we had a lirc file for a nec1 signal, we could probably help you fill in the values for the homedock.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
sixSixSeven
Posts: 5
Joined: Sun Jun 12, 2011 6:54 pm

Post by sixSixSeven »

The LIRC project apparently keeps a database of remote files. Perhaps we could find another remote that we have on this forum that uses a NEC1 signal protocol and compare it to the LIRC file?

The database is located at: http://lirc.sourceforge.net/remotes/
3FG
Expert
Posts: 3442
Joined: Mon May 18, 2009 11:48 pm

Post by 3FG »

Here's an example of a rmdu file and the corresponding LIRC file (I think).
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

I see we have two DLC_Homedocks. You stated this is the original. Can you confirm that this unit does not say Deluxe anywhere. The Deluxe uses a different code than the 12 button version that just4fun put together for the slingbox.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
sixSixSeven
Posts: 5
Joined: Sun Jun 12, 2011 6:54 pm

Post by sixSixSeven »

The label on the bottom says "HomeDock(tm) for iPod". The model number is 009-9764.

I believe this is the original model.

Edit: I looked in my LIRC directory. There is a script called "pronto2lirc.py" that appears to be some type of converter. If we can find a "pronto" file, it appears that that will also work.

This is the output of pronto2lirc --help:

Pronto codes converter to lircd.conf format (version 1.11)

Code: Select all

Pronto codes converter to lircd.conf format (version 1.11)

Usage:   pronto2lirc.py inputfile

Inputfile can be:
         1.An xml file output by CCFTools/CCFDecompiler.
         2.Text file where each line contains the name of the button and 
         all codes associated with it
         Button1:0000 00ac 000b 00de ...

Result:  lircd.conf file is written to the current directory
         containing all the Pronto codes extracted from
         the input file

vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

I found an untested NEC1 file that Rob created and attempted to create the file for a Nec1 64, 189

I believe the pre data needs to be the LSB of 64 and 189 which would be
0x02BD

I believe all of the obc's need to be converted to LSB and then the complement of the for the bytes.

so
06 Backlight
would be 0x609f


If I did this right, this might load.

https://www.hifi-remote.com/forums/dload ... le_id=9692
Let us know if this loads and /or controls your equipment,
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
sixSixSeven
Posts: 5
Joined: Sun Jun 12, 2011 6:54 pm

Post by sixSixSeven »

Every button appears to work, except for Volume Up. I turned the volume all the way down, so I can't test Mute...

I got the original file.
The 248 (which I'm assuming is the right number from the original file) is decimal, right? That would make the hex = F8, which has a complement of 07 right? And that in reverse is 70.
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

sixSixSeven wrote:Every button appears to work, except for Volume Up. I turned the volume all the way down, so I can't test Mute...

The 248 (which I'm assuming is the right number from the original file) is decimal, right? That would make the hex = F8, which has a complement of 07 right? And that in reverse is 70.
No we need to use the OBC not the EFC. And we need to complement the value, not reverse it. Volume up was 29. I see it was just an eyesight problem. I saw the B ans an 8.

29 should be B847.

I updated the file with the corrected value.
Last edited by vickyg2003 on Mon Jun 13, 2011 5:03 pm, edited 1 time in total.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
sixSixSeven
Posts: 5
Joined: Sun Jun 12, 2011 6:54 pm

Post by sixSixSeven »

It works! Thank you so much!
vickyg2003
Site Admin
Posts: 7109
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

:D
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
Post Reply