Question about RMD napsyek

Questions, comments and general discussion about Ribsu
Locked
deedge
Posts: 2
Joined: Fri Apr 14, 2006 2:30 pm
Location: Los Angeles, CA
Contact:

Question about RMD napsyek

Post by deedge » Fri Apr 14, 2006 2:53 pm

Sorry to post this here, but there is no separate forum for RMD napsyek.

Thanks for creating this useful little utility. I've been playing with it in order to program a Keyspan DMR to receive from a DIRECTV remote. I was hoping someone could help me understand something.

First, I started with the JVC remote REM file that came with the DMR. I've been trying to edit it to add the keys that are on the DIRECTV remote that aren't on the JVC remote, such as the Guide key.

I tried this test using the PWR key. The PWR key works with the Keyspan DMR, and when I press PWR, I can execute an Applescript.

The JVC POWER key appears in the REM file as:

0103 0103 0101 0101 0101 0101 0103 0101 0103 0103 0101 0103 0101 0101 0101 0101 01ff

But, when I view the results of a key press with napsyek, I get the following:

In AV1 mode (JVC):

190c 0204 0204 0201 0201 0201 0201 0204 0201 0204 0201 0201 0204 0204 0201 0201 0201 0242 0204 0204 0201 0201 0201 0201 0204 0201 0204 0201 0201 0204 0204 0201 0201 0201 0240 0204 0204 0201 0201 0201 0201 0204 0201 0204 0201 0201 0204 0204 0201 0201 0201 0240 0204 0204 0201 0201 0201 0201 0204 0201 0204 0201 0201 0204 0204 0201 0201 0201 0240 0204 0204 0201 0201 0201 0201 0204 0201 0204 0201 0201 0204 0204 0201 0201 0201 0240 0204 0204 0201 0201 0201 0201 0204 0201 0204 0201 0201 0204 0204 0201 0201 0201 02ff

In DIRECTV mode (not JVC):

1203 0403 0202 0203 0203 0202 0402 0403 0402 0258 0903 0403 0202 0203 0203 0202 0402 0403 0402 0258 0903 0403 0202 0203 0203 0202 0402 0403 0402 0258 0903 0403 0202 0203 0203 0202 0402 0403 0402 02ff

If I put the string generated by napysek into the REM file, it doesn't work. I tried ending the line with 01ff, which seems to be the end-of-line code in the JVC REM, but that didn't help.

Can anyone recommend a good reference for me to look this up and better understand the process? I'm sort of winging it now by trial and error, and I'm sure there must be something that will help me understand this. I can't understand why the remote works best with the JVC REM, which is so different from any of the actual codes napsyek shows for the remote.

BTW, the PWR key is just an example. All the keys are similarly different from the codes in the REM file. Changing the codes as napsyek would indicate results in the "unrecognized data" error.

Thanks very much for any help anyone can offer!

David Green

xyster
Site Admin
Posts: 605
Joined: Thu May 19, 2005 10:15 pm
Contact:

Probably bit time

Post by xyster » Sat Apr 15, 2006 2:21 pm

David,

This appears to be a bit time issue. You need to specify on the command line the JVC remote bit time.
If you look at the REM files, the default keyspan remote bit time is 342 while for the JVC remote it is 520.
napsyek defaults to running with 342. You need to invoke napsyek from Terminal with the -b option:
napsyek -b 520
However, if the DIRECTV remote uses two different bit times - one for the JVC remote and a second for other commands you may be out of luck as it appears the Keyspan DMR HW doesn't support this.
Let me know if this works!

deedge
Posts: 2
Joined: Fri Apr 14, 2006 2:30 pm
Location: Los Angeles, CA
Contact:

Thanks

Post by deedge » Mon Apr 17, 2006 8:26 am

Thanks! That worked. I have a feeling the DIRECTV remote uses a slightly different value than the JVC remote... It works, but is a little erratic. I've put in a call to the manufacturer of the DIRECTV remote to find out what bit rate they use.

Thanks for the support. I appreciate the quick reply.

Locked