Page 1 of 1

Sony 12/15/20 device 26 and KM

Posted: Mon Sep 06, 2004 10:00 pm
by cgunther
Hmmm, I've been playing stump-the-dummy and I've lost.... :cry:

Sony's DVP-CX985V 400 disc changer uses the Sony20 protocol, device 26, with sub-devices 73 & 98. For example:

Power: Sony20,dev=26,sub=73,obc/efc=21/79
Folder: Sony20,dev=26,sub=98,obc/efc=64/34

So, to create a device with KM 8.27 that has two subdevices it looks like I need to use the Sony12/15/20 protocol. This is the first time I've used this protocol. I set it up like this:

Sony20 subdev 1: 73
Sony20 subdev 2: 98
POWER, OBC=021, byte2=1 11010
FOLDER, OBC=064, byte2=2 11010

What I get back when I upload this device/protocol into my 2117 is:
Power: Sony20,dev=14,sub=73,obc=21
Folder: Sony20,dev=14,sub=98,obc=64

Why dev=14 instead of 26?

So I must be screwing something up in the byte2 setup. In the case of POWER I use byte2=1(space)11010. This to me means use subdevice 1 (configured as 73), and device 11010 (decimal 26). The subdevice works okay, but the device comes up wrong. I tried other 5-bit patterns but I get strange device code results.

Here are some 5 bit device codes I tried and the resulting device code I decode:
00000=0
00001=0
00010=0
00011=0
00100=1
00101=1
00110=1
00111=1
01000=10
01001=10
01010=10
01011=10
01100=11
01101=11
01110=11
01111=11
10000=4
10001=4
10010=4
10011=4
10110=5
11000=14
11010=14
11111=15

What am I missing? Or is the Sony12/15/20 protocol broken? Is there a better way to do this?

Thank for any help,
Craig

Re: Sony 12/15/20 device 26 and KM

Posted: Mon Sep 06, 2004 10:36 pm
by mr_d_p_gumby
cgunther wrote:POWER, OBC=021, byte2=1 11010
FOLDER, OBC=064, byte2=2 11010
...
Why dev=14 instead of 26?
You are too close to the forest to see the trees! :lol: You need to enter the main device in decimal, not binary. When the Protocol Help refers to the 5-bit main device code, I guess it seems as if it were asking you to enter it in binary, but it's not.
  • POWER, OBC=021, byte2=1 26
    FOLDER, OBC=064, byte2=2 26

Posted: Tue Sep 07, 2004 8:04 am
by cgunther
Mike,

You are 100% correct. When the doc said "5-bit device code" I thought it meant binary! I just tried "1 26" and "2 26" as you suggested and everything is working great. :D

Thank you VERY much,
Craig

Posted: Mon Feb 12, 2007 11:04 am
by naiLS1
I have this same DVD player and I'm curious about this whole thing. Is there a glossary of the terms used in this thread?

I read the tutorial on using KM and RM and that's pretty straight forward, but-- subdevices? Sony12/15/20 protocol?

All I want to do is make sure the following devices have discrete on and off:

Panny TV PT-52LCX66
Panny AMP SA-XR55
Sony DVD Player DVP-CX985V
Sony DVD Player DVP-NC655P

It looks like this DVD player does have them and the other DVD can be controlled with the same remote, so I would assume it has discrete on and off as well. I'm hoping my Panny amp would respond to the same commands as the SA-XR57--if so, then it should have discreets as well. That just leaves the TV.

The DVD changer has an option to change the codeset so you can have up to three of them in the same HT and only control one at a time--is that what the subdevice is?