Skip to main content
Topic: IR TOY V2 with WINLIRC and HUMAX STB help (Read 4509 times) previous topic - next topic

IR TOY V2 with WINLIRC and HUMAX STB help

Hi all,

First of all i want to say hello to everyone since i just registered.

Im a proud user of IR TOY V2. I've been using it for two years now. But i have some issues with it.

I used WINLIRC to record the remote signals of my Humax STB, it recorded it correctly but when sending the signals IR TOY/WINLIRC sends the signals to fast or to short? So i can send one signal once but not twice, to do so i need to send a different signal first to be able to send the same signal egain EG:

1. I send channel up. If i want to send channel up again i first need to send exit and then channel up again. If i sen channel up twice the second time the stb just wont pick up the signal.
2. If i send the following signals 3, 4, 5 i expect it to go to channel 345. Instead of doing this it just jumps to either 34, 35 or 5 or stays at 3.

So what should i do? I already tried to record the signals all over again, this did not help.

Re: IR TOY V2 with WINLIRC and HUMAX STB help

Reply #1
What if you send the same code twice or 3 times? I am not sure the toggle bit flips when sending. It might be that

Re: IR TOY V2 with WINLIRC and HUMAX STB help

Reply #2
[quote author="sambir"]Hi all,

First of all i want to say hello to everyone since i just registered.

Im a proud user of IR TOY V2. I've been using it for two years now. But i have some issues with it.

I used WINLIRC to record the remote signals of my Humax STB, it recorded it correctly but when sending the signals IR TOY/WINLIRC sends the signals to fast or to short? So i can send one signal once but not twice, to do so i need to send a different signal first to be able to send the same signal egain EG:

1. I send channel up. If i want to send channel up again i first need to send exit and then channel up again. If i sen channel up twice the second time the stb just wont pick up the signal.
2. If i send the following signals 3, 4, 5 i expect it to go to channel 345. Instead of doing this it just jumps to either 34, 35 or 5 or stays at 3.

So what should i do? I already tried to record the signals all over again, this did not help.[/quote]

It sounds like this Humax STB is using one of the numerous RC5/RC6 etc so-called "toggle" codes.  That is where one specific bit in the sequence toggles 1 to 0 or 0 to 1 on each successive press of a given remote button.  I can't say that I've heard of a device that enforces toggle codes between different keys, but there are all kinds of crazy implementations of Philips RCx IR protocols.  Normally for devices that do not enforce toggle codes between different keys, you only run into the issue when attempting to send the same key multiple times in a row and so you can simply record both the "odd" and "even" toggle versions of each key and alternate them.  Most Philips RCx implementations, cancel the expected toggle when receiving a different key.

You could record the "odd" and "even" toggle versions for each key and keep track of which toggle was sent last when choosing the next key to send.  It's a bit of a pain, but that is what the original remote does.  It keeps a count of keys sent and ORs in the LSB of the count as the toggle bit.  Some folks prefer to call the toggle bit "parity", though it does not meet the definition of that at all.

Re: IR TOY V2 with WINLIRC and HUMAX STB help

Reply #3
[quote author="dukey"]What if you send the same code twice or 3 times? I am not sure the toggle bit flips when sending. It might be that[/quote]

If i send the code more then twice it picks it up but sometimes it even flips a bit and reacts like it picked it up more then it was sent. So for instance i press channel up = it zaps, when i send it again = nothing then again = it zaps two channels, send again = nothing.

But it's not just that. Like i said in my previous post.  I am not even able to send a sequence of numbers. If i want to send 250 for instance i send 2, 5 and 0. It should open 250 but it just goes to either 5 or 0 or 25 or 0.

Maybe it's like Qwlciguk said.

Re: IR TOY V2 with WINLIRC and HUMAX STB help

Reply #4
u could try patching winlirc to alternate the toggle bit between subsequent sends

Re: IR TOY V2 with WINLIRC and HUMAX STB help

Reply #5
[quote author="dukey"]u could try patching winlirc to alternate the toggle bit between subsequent sends[/quote]

Is there a guide for this? Because i really dont know what you are talking about :P

Re: IR TOY V2 with WINLIRC and HUMAX STB help

Reply #6
Nope, you'll just have to get dirty with the code :p But all the code for transmission is in a file called send.cpp :)

Re: IR TOY V2 with WINLIRC and HUMAX STB help

Reply #7
Great :S Since i have 0% programming knowledge i will not able to do this. Can one of you guys help me out if i send my remote config and the cpp file? :P

Re: IR TOY V2 with WINLIRC and HUMAX STB help

Reply #8
[quote author="sambir"]Great :S Since i have 0% programming knowledge i will not able to do this. Can one of you guys help me out if i send my remote config and the cpp file? :P[/quote]

After perusing the JP1 lookup tool that spells out what IR protocols are used by what devices, I don't see a high likelihood that this Humax STB is using an RCx toggle code protocol.

http://www.hifi-remote.com/jp1/lookup/

Of all the Humax cable and sat boxes listed, only one is using RC5.  The overwhelming majority are using NEC1 protocol, with a Nokia32, Thomson and RESC80 thrown in for good measure.

To move forward, I think we need to know with some certainty, exactly what IR protocol is used by the Humax remote that you're attempting to emulate.  Personally, I'm no good with figuring out protocols from IRToy learns, but there are some folks over on the JP1 board that are able to.  Post some of your Humax IRToy learns on the JP1 board and I'm fairly certain that someone there will be able to identify the protocol and perhaps be able to offer some help with why replaying the learns is not working for you.  Do keep in mind that it's a JP1 support board and as such, you may not get the same quality of help as someone asking JP1 questions.  Still, the JP1 guys are probably the most knowledgable bunch out there on IR protocols.

Technically, it is possible to re-flash the IR Toy with the so-called "Widget" FW, that can then be used with the IRScope software.  With that software, just about anybody can be an expert with IR protocols.