Problem with IR command

Everything related to learning and capturing of IR Codes

Moderator: marcus

Problem with IR command

Postby fkai8025 » Mon 4. May 2009, 05:32

I have make IRTrans LAN learned with irtrans client. But send the command have learned twice, then the device can work.
Could you help me?
The .rem file is as below:
[REMOTE]
[NAME]123

[TIMING]
[0][N]0[RC]2[FL]105[FREQ]36[RC6][SB][RS]

[COMMANDS]
[HELP][T]0[D]S11100000000000000010000001
[LEFT_ARROW][T]0[D]S11100000000000000001011010
[RIGHT_ARROW][T]0[D]S11100000000000000001011011
[DOWN_ARROW][T]0[D]S11100000000000000001011001
[UP_ARROW][T]0[D]S11100000000000000001011000
[ON_OFF][T]0[D]S11100000000000000000001100
[0][T]0[D]S11100000000000000000000000
[1][T]0[D]S11100000000000000000000001
[2][T]0[D]S11100000000000000000000010
[3][T]0[D]S11100000000000000000000011
[4][T]0[D]S11100000000000000000000100
[5][T]0[D]S11100000000000000000000101
[6][T]0[D]S11100000000000000000000110
[7][T]0[D]S11100000000000000000000111
[8][T]0[D]S11100000000000000000001000
[9][T]0[D]S11100000000000000000001001
[CANCEL][T]0[D]S11100000000000000010000011
[ENTER][T]0[D]S11100000000000110001011100
[STOP][T]0[D]S11100000000000110000111111
[PLAY][T]0[D]S11100000000000110000111110
[PAUSE][T]0[D]S11100000000000110000100100
[RECORD][T]0[D]S11100000000000110001000000
[RED][T]0[D]S11100000000000000001101101
[GREEN][T]0[D]S11100000000000000001101110
[BLUE][T]0[D]S11100000000000000001110000
[YELLOW][T]0[D]S11100000000000000001101111
[CHANNEL_DOWN][T]0[D]S11100000000000000000100001
[CHANNEL_UP][T]0[D]S11100000000000000000100000
[GUIDE][T]0[D]S11100000000000000011001100
[BOX_OFFICE][T]0[D]S11100000000000000001111101
[SERVICES][T]0[D]S11100000000000000001111110
[INTERACTIVE][T]0[D]S11100000000000000011110101
[ON_OFF][T]0[D]S11100000000000000000001100
fkai8025
 
Posts: 16
Joined: Mon 4. May 2009, 05:19

Re: Problem with IR command

Postby IRTrans » Mon 4. May 2009, 10:30

Hi,
no problem. Please change the repeat count in the .rem file:

From
[0][N]0[RC]2[FL]105[FREQ]36[RC6][SB][RS]

to

[0][N]0[RC]3[FL]105[FREQ]36[RC6][SB][RS]

or

[0][N]0[RC]4[FL]105[FREQ]36[RC6][SB][RS]

That should fix it.

Please restart the software after changing the file.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Problem with IR command

Postby fkai8025 » Tue 5. May 2009, 01:59

I have done as you described, but the result is below:
From
[0][N]0[RC]2[FL]105[FREQ]36[RC6][SB][RS]

to

[0][N]0[RC]3[FL]105[FREQ]36[RC6][SB][RS]
I send command "down arrow" twice, the focus move down only once.
this result is the same to the before.
From
[0][N]0[RC]2[FL]105[FREQ]36[RC6][SB][RS]

to

[0][N]0[RC]4[FL]105[FREQ]36[RC6][SB][RS]
I send the command "down arrow" firstly, the focus doesn't move, then I send the command secondly, the focus move down twice continually.
It is that the focus cann't response to the command as soon as the command sent.

I think that whether I have made some mistakes in the mode setting.
Could you help me???
Thank you!!!
fkai8025
 
Posts: 16
Joined: Mon 4. May 2009, 05:19

Re: Problem with IR command

Postby IRTrans » Tue 5. May 2009, 10:39

Hmm, that is really strange - never seen that before.

What kind of device do you want to control ?

You might also try to set the device setting "Ignore RC6 toggle bit" in the IR Codes page.
You will need to make this setting before learning the commands. Then try to learn a few IR codes into a different remote file to see if it is working.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Problem with IR command

Postby fkai8025 » Wed 6. May 2009, 08:52

I want to control a STB, philips sky+.
Few days before another engineer in our company gave me a .rem file created by him and learned with another irtrans LAN(1). And this .rem works well with other irtrans LAN but mine.
I use this .rem file to flash in my irtrans LAN(2), the STB and the remote light on the STB have no response. But this .rem file used by USB irtrans to contronl the same STB, the STB works well.
I think that whether there are some mistakes in the setting irtrans LAN(2).
But the engineer have checked the setting between (1) and (2), it seemed no difference.
I will be crazy!!
fkai8025
 
Posts: 16
Joined: Mon 4. May 2009, 05:19

Re: Problem with IR command

Postby IRTrans » Wed 6. May 2009, 10:33

Maybe it uses a different firmware setting.

What device type are you using (IRTrans Ethernet or LAN Controller) and with which firmware version ?

Could you please post the .rem file that is working with the IRTrans USB ?

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Problem with IR command

Postby fkai8025 » Fri 8. May 2009, 13:37

IRTrans LAN Controller XL (the black box on your home page). LAN we use TCP/IP.
We found that if the learning command setting is "RAW DATA", the IRTrans can work well with my STB.
But we will use the leaning command setting "timming", then the command must be sent twice, the IRTrans xl can drive the STB.
(use "timming mode")When you send the fisrt, the remote light on the STB has no response, but the second the light has response and the STB works.
(use "RAW DATA")the STB can response to the IRTrans XL correctly.
The .rem file (works well with USB IRtrans and other IRTrans XL) is this:

[REMOTE]
[NAME]SkyRemote

[TIMING]
[0][N]0[RC]1[NOTOG1][RP]81[FREQ]36[SB][RS][RC6]
[1][N]0[RC]1[RP]0[FREQ]36[SB][RC6]

[COMMANDS]
[HELP][T]0[D]S11100000000000000010000001
[HOME][T]1[D]S11100000000000110010000000
[LEFT_ARROW][T]0[D]S11100000000000000001011010
[RIGHT_ARROW][T]0[D]S11100000000000000001011011
[DOWN_ARROW][T]0[D]S11100000000000000001011001
[UP_ARROW][T]0[D]S11100000000000000001011000
[ON_OFF][T]0[D]S11100000000000000000001100
[0][T]0[D]S11100000000000000000000000
[1][T]0[D]S11100000000000000000000001
[2][T]0[D]S11100000000000000000000010
[3][T]0[D]S11100000000000000000000011
[4][T]0[D]S11100000000000000000000100
[5][T]0[D]S11100000000000000000000101
[6][T]0[D]S11100000000000000000000110
[7][T]0[D]S11100000000000000000000111
[8][T]0[D]S11100000000000000000001000
[9][T]0[D]S11100000000000000000001001
[CANCEL][T]0[D]S11100000000000000010000011
[ENTER][T]0[D]S11100000000000110001011100
[STOP][T]0[D]S11100000000000110000111111
[PLAY][T]0[D]S11100000000000110000111110
[PAUSE][T]0[D]S11100000000000110000100100
[RECORD][T]0[D]S11100000000000110001000000
[RED][T]0[D]S11100000000000000001101101
[GREEN][T]0[D]S11100000000000000001101110
[BLUE][T]0[D]S11100000000000000001110000
[YELLOW][T]0[D]S11100000000000000001101111
[FAST_FORWARD][T]1[D]S11100000000000110000101000
[FAST_REVERSE][T]1[D]S11100000000000110000111101
[CHANNEL_DOWN][T]0[D]S11100000000000000000100001
[CHANNEL_UP][T]0[D]S11100000000000000000100000
[GUIDE][T]0[D]S11100000000000000011001100
[BOX_OFFICE][T]0[D]S11100000000000000001111101
[SERVICES][T]0[D]S11100000000000000001111110
[INTERACTIVE][T]0[D]S11100000000000000011110101
[ON_OFF][T]0[D]S11100000000000000000001100


[1][T]1[D]S11100000000000110000000001
[2][T]1[D]S11100000000000110000000010
[3][T]1[D]S11100000000000110000000011
[4][T]1[D]S11100000000000110000000100
[5][T]1[D]S11100000000000110000000101
[6][T]1[D]S11100000000000110000000110
[7][T]1[D]S11100000000000110000000111
[8][T]1[D]S11100000000000110000001000
[9][T]1[D]S11100000000000110000001001
[0][T]1[D]S11100000000000110000000000
[HELP][T]1[D]S11100000000000110010000001
[LEFT_ARROW][T]1[D]S11100000000000110001011010
[RIGHT_ARROW][T]1[D]S11100000000000110001011011
[DOWN_ARROW][T]1[D]S11100000000000110001011001
[UP_ARROW][T]1[D]S11100000000000110001011000
[CANCEL][T]1[D]S11100000000000110010000011
[RED][T]1[D]S11100000000000110001101101
[GREEN][T]1[D]S11100000000000110001101110
[BLUE][T]1[D]S11100000000000110001110000
[YELLOW][T]1[D]S11100000000000110001101111
[CHANNEL_DOWN][T]1[D]S11100000000000110000100001
[CHANNEL_UP][T]1[D]S11100000000000110000100000
[GUIDE][T]1[D]S11100000000000110011001100
[BOX_OFFICE][T]1[D]S11100000000000110001111101
[SERVICES][T]1[D]S11100000000000110001111110
[INTERACTIVE][T]1[D]S11100000000000110011110101
[ON_OFF][T]1[D]S11100000000000110000001100
[SKY][T]1[D]S11100000000000110010000000
[INFO][T]1[D]S11100000000000110011001011
[MUTE][T]1[D]S001010010000
[TEXT][T]0[D]S11100000000000110000111100

I don't know how to see the firewire version.

Another question: I want to use the USB IRTrans to receive the command as a server, when linux start up the irserver need run automatically. I put the command /usr/local/irtrans/irserver -daemon /dev/ttyUSB0 in the /etc/rc.local, but when I start up the linux, I find that irserver.log "can not IP gateway"(maybe, I cann't rember it clearly). Then I use root to run the command manually, then the server start up. Can you give me some advice to achieve the goal?
fkai8025
 
Posts: 16
Joined: Mon 4. May 2009, 05:19

Re: Problem with IR command

Postby fkai8025 » Fri 8. May 2009, 13:46

I rember the version of the firewire > 6.00.00
fkai8025
 
Posts: 16
Joined: Mon 4. May 2009, 05:19

Re: Problem with IR command

Postby IRTrans » Fri 8. May 2009, 14:28

Hi,
there is an error in the firmware of the IRTrans LAN Controller XL which is preventing it from sending these IR Codes correctly (it is a special RC6 code without toggle bit).
Please note that only the LAN Controller and LAN Controller XL with firmware > 6.00.00 and < 6.03.25 are affected - not the smaller IRTrans Ethernet devices.

Please send us an email to support@irtrans.com so that we can send you a firmware update.

Regarding the auto start problem: It looks like you try to start the irserver too early. The complete IP Stack needs to be running before you can start the server.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: Problem with IR command

Postby fkai8025 » Fri 8. May 2009, 22:55

ok, I will confirm the version of the firewire today, (you mean that if the version of IRTrans XL > 6.00.00 and < 6.03.25 the error exist???) and if the version > 6.00.00 and < 6.03.25 then I will contact with you!!!


about the start IRTrans server on linux: when the linux start up, if I start the irserver manually with user permission, the error prompt still exist, I must use the root then the server can start up. Can you give me a correct time of location to write the command "/usr/local/irtrans/server -daemon /dev/ttyUSB0" and make it run automatically????????
where is the error code description????? I can find???
fkai8025
 
Posts: 16
Joined: Mon 4. May 2009, 05:19

Next

Return to Learning of IR Codes

Who is online

Users browsing this forum: No registered users and 8 guests