Page 1 of 1

Convert JP1 upgrade to lircd.conf

Posted: Sun Jun 12, 2011 6:58 pm
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.

Posted: Mon Jun 13, 2011 8:42 am
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.

Posted: Mon Jun 13, 2011 9:09 am
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/

Posted: Mon Jun 13, 2011 9:27 am
by 3FG
Here's an example of a rmdu file and the corresponding LIRC file (I think).

Posted: Mon Jun 13, 2011 10:35 am
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.

Posted: Mon Jun 13, 2011 10:54 am
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


Posted: Mon Jun 13, 2011 3:38 pm
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,

Posted: Mon Jun 13, 2011 4:24 pm
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.

Posted: Mon Jun 13, 2011 4:47 pm
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.

Posted: Mon Jun 13, 2011 4:57 pm
by sixSixSeven
It works! Thank you so much!

Posted: Mon Jun 13, 2011 5:29 pm
by vickyg2003
:D