Your Universal Remote Control Center
RemoteCentral.com
Original Equipment Remotes Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
IR sending issue
This thread has 9 replies. Displaying all posts.
Post 1 made on Friday May 20, 2011 at 13:17
GoldenEye
Lurking Member
Joined:
Posts:
May 2011
5
Hello to everybody, I just registered to the forum as I am desperately looking for a solution to my issue.

I am using Mediaportal and have changed my digital TV box to a Pace DCR6230 delivered by my provider Cablecom.

I am using USBUIRT to control the settop box which used to work perfectly with my old box. After learning the Pace remote's IR codes which worked perfectly I realised that the box does not accept numbers which contain the same digit twice after each other (11, 22, ..., 110, 111, 122 etc.).

I have tried several different settings (changed ms between digits, repeat counts etc.) without success. The same issues appears with the Hauppage IR blaster, btw.

Do you have any suggestions about what I could do?

Thx a lot, G.
Post 2 made on Friday May 20, 2011 at 18:05
3FG
Select Member
Joined:
Posts:
August 2009
1,861
Probably your Pace box uses a toggle bit in the IR signals to distinguish between a long button press that sends multiple repeats of the signals and two button presses that send repeats of the same signal. In the first case wou want the box to understand "1", and in the second case "11".

So the original remote (probably) inverts one bit (the "toggle" bit) of the IR signal each time a button is newly pressed, and the box uses that information to determine if you intend for "1" or "11". However, a learned signal has only one state of the toggle bit learned, and so it can't invert the toggle bit.

I assume that USBUIRT is capable of handling toggle bits, but you'll need to decode the learned signals. Can you post some UIRT info on your learned signals here? Maybe we can recognize the IR protocol.
OP | Post 3 made on Saturday May 21, 2011 at 13:13
GoldenEye
Lurking Member
Joined:
Posts:
May 2011
5
Thanks a lot for your reply!

My uploaded IR codes are available on Mediafire (I didn't find a file upload option in this forum). Is this what you expected?

Thanks again

G.

Post 4 made on Saturday May 21, 2011 at 17:31
3FG
Select Member
Joined:
Posts:
August 2009
1,861

Yes, your files are in the Pronto Hex Format. The Ir signals are Nokia32 IR protocol, device 32, subdevice 192. The X field is either 38 or 166-- note that 166-38 = 128. The most significant bit of the X field is the toggle bit.

Here for example is digit 9 (which has a function number of 9)
20C0A609 (hexadecimal format)
20 = 32 Device
C0 = 192 Subdevice
A6 = 166 X
09 = 9 Function number
I believe that MediaPortal has support for the Nokia protocol (usually seen in 12 or 32 bit versions, and this one is 32 bits.)

General support for Nokia would include the possibiity to keep the toggle bit fixed, to alternate it with each button press, or to flip it on repeated signals when the button is released. I believe, based on the fairly small set of learned sgnals, that the Pace box uses an alternating toggle bit.

So I hope that you can figure out how to use MediaPortal to send these signals with correct toggle behavior.  Below are function codes from a Pace DC-621KU STB, which match your codes for 0-9 and Select.

You can use IRScope to see the decodes of each of your IR files, using the Import button.  Highlight each imported code to see the IRP notation for the signal and look at the part starting "A=".  If the following string contains 8 hex digits, then that is the exact decode.  If there are 16 digits, it is an erroneous decode.

0

0

1

1

2

2

3

3

4

4

5

5

6

6

7

7

8

8

9

9

vol up

16

vol down

17

mute

13

channel up

32

channel down

33

power

12

last (prev ch)

77

menu

219

program guide

204

up arrow

88

down arrow

89

left arrow

90

right arrow

91

select

92

page+

206

page-

207

display

203

teletext

60

tv/radio

57

play

44

pause

48

rewind

41

fast fwd

40

stop

49

record

55

red

109

blue

112

green

110

yellow

111

help

129

interactive

215

ondemand

245

upc

56

OP | Post 5 made on Monday May 23, 2011 at 14:32
GoldenEye
Lurking Member
Joined:
Posts:
May 2011
5
Thanks a lot for your help. Frankly, I am a bit overstrained even after some hours of research

As far as I understand you,

a) Mediaportal together with the USB-UIRT would need to be able to handle the toggle bit and hence to decide which IR codes to send in a specific situation and

B) there is no option to change the IR codes so that it works.

Correct?

G.
Post 6 made on Monday May 23, 2011 at 15:59
3FG
Select Member
Joined:
Posts:
August 2009
1,861
a) Yes, Mediaportal needs to know how to handle the toggle bit. My understanding (which may be wrong) is that Mediaportal does know how to handle Nokia protocols, and so presumably it does know how to handle the toggle bit. I expect that the Mediaportal documentation explains how to send common IR protocols like NEC or RC-5/RC-6, and I suppose that it also tells how to send Nokia.

b) If you can't make that work, it is possible to modify each IR code so that we send two Nokia32 signals on each button press. The first one is chosen (perhaps by trial and error) so that it is recognized by the Pace as a possible IR command, but one which has no effect on the box (basically an unused function code). That will presumably reset the toggle mechanism. The second Nokia32 signal will be the desired function code. That trick works for many IR protocols that use a toggle bit; maybe it will work for Nokia also.
OP | Post 7 made on Tuesday May 24, 2011 at 01:29
GoldenEye
Lurking Member
Joined:
Posts:
May 2011
5
Ok. I have posted a question on the Mediaportal forum about the toggle bit handling, btw. In addition, I have contacted Pace and asked them to provide me the Hex code of the system.

I have to add that we talk about the TV3 blaster component of Mediaportal's IR Server suite here which has to blast the command on the server rather than about plain Mediaportal. My link above points to the wiki which shows that I could send different commands after each other using macros or that I could send a pre-change command to achieve what we need to.

Meanwhile, I have installed Girder on my system because I vaguely remembered from earlier times that it is possible to register odd and even commands with the USBUIRT. Registering the "1" button gave me the following result: 

IR Code (even)

0000 006F 0000 0024 000F 000B 0006 000B 0006 0017 0006 000B 0006 000B 0006 001D 0006 000B 0006 000B 0006 000B 0006 0017 0006 0017 0006 0011 0006 0017 0006 000B 0006 000B 0006 000B 0006 0011 0006 0D22 000F 000B 0006 000B 0006 0017 0006 000B 0006 000B 0006 001D 0006 000B 0006 000B 0006 000B 0006 0017 0006 0017 0006 0011 0006 0017 0006 000B 0006 000B 0006 000B 0006 0011 0006 0D0E

IR Code (odd)

0000 0072 0000 0024 000F 000B 0006 000B 0006 0017 0006 000B 0006 000B 0006 001D 0006 000B 0006 000B 0006 000B 0006 0017 0006 0017 0006 0011 0006 0017 0006 000B 0006 000B 0006 000B 0006 0011 0006 0CF0 000F 000B 0006 000B 0006 0017 0006 000B 0006 000B 0006 001D 0006 000B 0006 000B 0006 000B 0006 0017 0006 0017 0006 0011 0006 0017 0006 000B 0006 000B 0006 000B 0006 0011 0006 0CCA

Is this helpful? And if yes, how could I proceed?
OP | Post 8 made on Tuesday May 24, 2011 at 10:11
GoldenEye
Lurking Member
Joined:
Posts:
May 2011
5
(As my previous post contains some information other users might find useful I reply to myself)

Hi 3FG, with the kind help of Jon Rhees - the developer of the USB-UIRT device - I could solve the problem.

He has developed the learnhelper application which allows you to register toggled and non-toggled IR codes separately (which equals the Girder function I mentioned in my previous post). I had to concatenate the two strings with a # character, add the combo-code to the separate IR files Mediaportal's IR Server suite produces and I was done. Jon has provided a how-to in his USB-UIRT forum.

Thanks again for your very appreciated help.

Should I post my IR codes somewhere?

G.
Post 9 made on Wednesday May 25, 2011 at 00:12
3FG
Select Member
Joined:
Posts:
August 2009
1,861
Glad you got it solved using the learnhelper application.

I'm a little puzzled by the Girder odd/even codes above. They differ i nfrequency (37.3KHz vs. 36.4KHz) but that is the only difference-- the toggle bit doesn't change.

Anyway, I'm happy you worked it out.
Post 10 was deleted by a forum moderator.


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse