Basic DSM question

This is the JP1 beginners forum. There's no such thing as a stupid question in here, so post away, but this forum is just for JP1 users and people considering JP1, non-JP1 users please use the appropriate forum above!

Moderator: Moderators

MrDetermination
Posts: 11
Joined: Fri Jul 08, 2005 12:55 pm

Basic DSM question

Post by MrDetermination »

DVD device code is 522. I want to reassign the Power button to actually send a tiny macro of:

Select, 0

Thats it :) Just have the Power button send DVD Select then DVD 0 with 0 delay.

Easy? How (using IR)?
The Robman
Site Owner
Posts: 21897
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Which remote are you using? If it's a remote that doesn't accept 2-byte keymoves (like the un-extended URC-6131), the process is a bit more tricky. Plus, you'll need to check whether the Special Protocols section has been added to the RDF for this remote already or not.

1. If it hasn't, the first thing you should do is open the RDF using a text editor like Notepad and add the following section after the [General] section...

[SpecialProtocols]
DSM=01FC


2. Then, download the Special Protocols spreadsheet.

3. Select Device Specific Macro
4. Select your remote (if it's not available, come back here and tell us).
5. Fire up IR.exe and open your current file (or download from your remote).
6. Copy the device upgrade and protocol upgrade from the SP spreadsheet over to IR.
7. Click on the "Spcl Prot Fns" tab
8. Click the ADD button.
9. Select...

Device = DVD
Key = Power
Type = DSM
Then select DVD, SELECT, 0 as your macro keys.

Then save and upload into your remote, that should do it.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
MrDetermination
Posts: 11
Joined: Fri Jul 08, 2005 12:55 pm

Post by MrDetermination »

http://www.mrdetermination.com/jp1/dsm.JPG

Lots going on there:

1) The SP protocols bit was already in the RDF (#5 in the above screenshot)
2) In the "Spcl Prot Fns" tab, after I select DVD -> Power (Device and Key), even with any other key, the "Type" field is grey.
3) I can paste the protocol upgrade bit from the spreadsheet (#2 in screenshot) in to the Protocols tab in IR but that doesn't change anything.
4) I can't get Devide Upgrade (#1 in screenshot) stuff to paste in to Device tab in IR.

Note: I manually put in the "0522" bit on the SP spreadsheet.
Nils_Ekberg
Expert
Posts: 1689
Joined: Sat Aug 02, 2003 2:08 pm
Location: Near Albany, NY

Post by Nils_Ekberg »

For some reason the device upgrade in SP is not getting generated correctly so that is why it won't paste. This is what it should look like:

Code: Select all

Upgrade code 0 = 2A 0A (DVD/522)			
 FC 00 01				
End
Try pasting the 3 lines within the code above
MrDetermination
Posts: 11
Joined: Fri Jul 08, 2005 12:55 pm

Post by MrDetermination »

Okay,

Now it looks like I've done everything I need to do but the remote ony sends a dim pulse in DVD mode when I hit power and no pulse when I hit any other keys (select should still turn it on, etc)

Can anyone tell me what I've done wrong, here?

http://www.mrdetermination.com/jp1/dsm.ir
Nils_Ekberg
Expert
Posts: 1689
Joined: Sat Aug 02, 2003 2:08 pm
Location: Near Albany, NY

Post by Nils_Ekberg »

I think the problem is that you created the SP with the device name and number of the real device and you are not getting the real device protocol signals sent.

Go into the device tab and edit the DVD:0522 device to change the device to TV and the device number to 1103. Then go back to the keymove panel and change the device to TV and the device number to 1103 and the keymoves will go back to the SP tab.
ElizabethD
Advanced Member
Posts: 2348
Joined: Mon Feb 09, 2004 12:07 pm

Post by ElizabethD »

In addition to what Nils is saying, perhaps this will help, I hope I'm not wrong:
1 DVD PIP DSM DiscreteON $2A
2 DVD Power DSM DVD;Select;0 $21 $35 $1F
IR window title indicates this is not an extender RDF. Is it? Is it not?
If not, DSM can only call one keymove.
Macro sequence DVD;Select;0 (perhaps without DVD) should be defined as a macro and then call that macro key in the DSM.
I don't see a keymove for DiscreteON - needed in extended or unextended version. I presume DiscreteON is some sort of a virtual key.
MrDetermination
Posts: 11
Joined: Fri Jul 08, 2005 12:55 pm

Post by MrDetermination »

Nils,

If I do that then then I rewrite the real TV stuff back to TV will it just put me back where I started?

Or can I use any device instead of TV as long as I use that device number?

Liz,

I have not even thought about extenders... you see how confusing this is for me already :)

I'm going to have to be able to call more than one keymove. I need to make a custom assignment to PIP, under DVD (I wanted to send the signal formerly bound to Power).

The other one has to be DVD;Select, DVD; 0 (and I want that bound to Power under DVD device).

So are you telling me to assign that macro to some other key and then bind Power to that key?

TOTALLY LOST :)
Nils_Ekberg
Expert
Posts: 1689
Joined: Sat Aug 02, 2003 2:08 pm
Location: Near Albany, NY

Post by Nils_Ekberg »

The SP for DSM is a standalone protocol that does not even have to be assigned to a button. If you make it TV 1003 then it will not conflict with any real device protocols like DVD 522 is doing now. Effectively it is overriding the built in device code DVD 522.

You then put the actual macro you want to execute on a button in the device you want to run it on like DVD Shift-1. In the SP tab you then set up the DSM to run that button on whichever button you want to press to execute the DSM.
The Robman
Site Owner
Posts: 21897
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

This is what they're trying to describe...
http://www.hifi-remote.com/forums/dload ... le_id=1931
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
MrDetermination
Posts: 11
Joined: Fri Jul 08, 2005 12:55 pm

Post by MrDetermination »

Thanks for the effort Rob but...

That only gets me back to where I was before this all started :oops:

...well, almost...

The DVD Power button now emits only a faint and brief light when you press the power button and the signals are not sent. If you press Select and or 0 these keys still operate the device like they should.

I'm looking at the SPF tab and I can't see anything that could be done differently.

The "almost" is that the power button doesn't do what it used to do :) So its trying to do something new but it doesn't seem to be working.
mtakahar
Expert
Posts: 281
Joined: Sun Aug 03, 2003 2:46 pm

Post by mtakahar »

The DSM on the Power button in the DVD mode in that file won't work without the extender. Do as Liz said.

For example,
  1. Change the contents of the DSM on the Power button from "DVD; Power; 0" to "Phantom1"
  2. Go to the Macros tab and crate a macro on Phantom1 that has the content: "DVD; Power; 0"
These steps are explained in the help message in the Special Protocols spreadsheet.


Nils: I think it's the time to replace "DSM" with "UDSM" for all non-extended remotes.

Hal
Nils_Ekberg
Expert
Posts: 1689
Joined: Sat Aug 02, 2003 2:08 pm
Location: Near Albany, NY

Post by Nils_Ekberg »

Agree Hal. I already did that with the ULKP but didn't do it for the DSM. Will be in the next distribution.
The Robman
Site Owner
Posts: 21897
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

I haven't used the DSM Special Protocol feature in IR in quite a while, and I forgot that it wasn't implemented the way I had suggested.

I just updated the file so that the DSM uses a phantom key which holds the macro.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
ElizabethD
Advanced Member
Posts: 2348
Joined: Mon Feb 09, 2004 12:07 pm

Post by ElizabethD »

Nils_Ekberg wrote:Agree Hal. I already did that with the ULKP but didn't do it for the DSM. Will be in the next distribution.
If this remote is 2116 (I don't have the file anymore), the unextended version of LKP includes DSM for free or am I confused? If not, he can use that instead and it will ride off the U-thing. It's the one not in the spreadsheet. The Mr.D is plowing ahead, he'll want LKP at some point soon :D
Post Reply