JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Decoding hdmi switch's weird remote.
Goto page Previous  1, 2
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Protocol Decodes
View previous topic :: View next topic  
Author Message
dinomight



Joined: 16 Mar 2006
Posts: 43

                    
PostPosted: Tue Jul 01, 2008 12:38 pm    Post subject: Reply with quote

Cool, i didn't even look at the predata. But yeah thats what i saw (with a little help of RM (and knowing what you had already came up with it made seeing the significant data easier). By the way how do you know that it's the LSB-comp and not the LSB. You suggested using the values of the lsb-comp (not the lsb). the predata is nice since lsb-comp of xFE = lsb x01 but the values for the 1 (lsb-comp xBF != lsb x40)

Oh and i'm very impressed you can do those conversions in your head.
-D
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Tue Jul 01, 2008 12:53 pm    Post subject: Reply with quote

If the NEC upgrade doesn't work, try this...

Upgrade Code 0 = 08 80 (Cable/0128) HDMI switch (KM v9.10)
FF 00 81 FE 00 BF DF 5F 9F EF 00 00 00 00
End

Upgrade protocol 0 = 01 FF (S3C8+) HMDI switch (PB v4.00)
43 8C 11 8B 12 E5 4D 08 08 00 96 01 EC 00 96 04
20 4F 04 00 96 1A 30 8D 01 46
End
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Tue Jul 01, 2008 1:25 pm    Post subject: Reply with quote

dinomight wrote:
how do you know that it's the LSB-comp and not the LSB.


Code:
begin remote
  one           300  1025
  zero          300  2152


In most protocols, including nec1, "one" is the larger value and "zero" is the smaller value.

LIRC gets that backwards in the majority of cases, including this time.

UEIC executors also get that backwards in the majority of cases including NEC1.

When "one"/"zero" is backwards, the OBC to hex conversion is comp. So for this example, it is comp for both the LIRC file and the NEC1 executor.

For an unknown protocol (which this might be) I also look at which pattern of OBC numbers is most plausible in selecting LSB vs. MSB and selecting whether "one" is the larger or smaller burst. In this case, the OBC numbers are more plausible for LSB with "one" as the larger burst.

Quote:
lsb-comp xBF != lsb x40


I think you are mistaken.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dinomight



Joined: 16 Mar 2006
Posts: 43

                    
PostPosted: Tue Jul 01, 2008 1:44 pm    Post subject: Reply with quote

johnsfine wrote:

dinomight wrote:
lsb-comp xBF != lsb x40


I think you are mistaken.


Your right, i was doing the conversion wrong, sorry.
-D
Back to top
View user's profile Send private message
dinomight



Joined: 16 Mar 2006
Posts: 43

                    
PostPosted: Tue Jul 01, 2008 7:31 pm    Post subject: Thanks Reply with quote

So the NEC1 protocol, device 128 with codes 2,4,5,6,8 did the trick. i will post an upgrade file to the devices upgrades tonight. Thanks so much for the help. I'm so excited this works. I can finally hook all of my hdmi appliances up. This is awesome.
Back to top
View user's profile Send private message
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Tue Jul 01, 2008 7:55 pm    Post subject: Reply with quote

I'm curious whether the timing difference was in LIRC and the original protocol really was nec1, or whether the original protocol really was different and the device just isn't very picky about timing.

If it isn't too hard, please do the lirc capture of the nec1 upgrade to see how similar it is to the original lirc capture.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dinomight



Joined: 16 Mar 2006
Posts: 43

                    
PostPosted: Wed Jul 02, 2008 6:48 pm    Post subject: Reply with quote

Ok so here is the winlirc config for the nec1 upgrade that i created. Let me know what you think... is the timing problem an issue with the reciever or is the hdmi switch just not picky

Code:

begin remote

  name  nec1
  bits           16
  flags SPACE_ENC
  eps            25
  aeps          100

  header        300 13360
  one           300  1018
  zero          300  2136
  ptrail        300
  repeat        300 11138
  pre_data_bits   16
  pre_data       0xFE01
  gap          40745
  toggle_bit      0


      begin codes
          1                        0x000000000000BF40
          2                        0x000000000000DF20
          3                        0x0000000000005FA0
          4                        0x0000000000009F60
          5                        0x000000000000EF10
      end codes

end remote
Back to top
View user's profile Send private message
Evan_s



Joined: 24 Mar 2007
Posts: 313

                    
PostPosted: Wed Jul 02, 2008 6:57 pm    Post subject: Reply with quote

The timing for both learns look pretty close to me so I'd say the device is probably just NEC and the learns are a little off on the timing.
Back to top
View user's profile Send private message
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Wed Jul 02, 2008 7:29 pm    Post subject: Reply with quote

The match is nearly perfect. So nec1 is correct.

I'm not sure why the numbers are this far from what I'd expect for nec1. I guess there things about the logitech/ast ir sensor and/or winlirc that I don't understand.

I guess, when looking at lirc data, I should pay more attention to the signal structure and less to the time scale, so I don't repeat this mistake of thinking I am seeing a new protocol, when it is really the most common old one.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Wed Jul 02, 2008 10:03 pm    Post subject: Reply with quote

I have created a KM file for this upgrade...
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=5631
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Protocol Decodes All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control