First IR command sends, subsequent are lost

All LINUX related questions (Installation & usage)

Moderator: marcus

First IR command sends, subsequent are lost

Postby ocgltd » Tue 3. Dec 2013, 21:43

I have a IRTrans USB plugged into a server running Linux 64 bit. The irtrans device is correctly detected, and I can start the irtrans server software (see below) Version 6.08.37

When I send the first command for the irtrans to send, the light on the irtrans box flash and the infrared command is correctly sent. However, after that there is a problem. Every subsequent command does NOT flash the light on the irtrans box, and the infrared command is NOT sent.

Strangely, the software log below shows the additional commands are received and processed by the irtrans device. Can you help??

2013-12-03 10:49:49.408 Init communication ...
2013-12-03 10:49:49.409 [ 0]: IRTrans USB U6.04.51 SN: 25823
2013-12-03 10:49:49.409 Chdir to DB OK
2013-12-03 10:49:49.409 Read routing OK
2013-12-03 10:49:49.409 Read Switches OK
2013-12-03 10:49:49.409 Open DIR: 12
2013-12-03 10:49:49.409 Get Dirent: 200
2013-12-03 10:49:49.409 Remote satellite compiled:2013-12-03 10:49:49.409 9 Timings - 2013-12-03 10:49:49.409 32 Commands
2013-12-03 10:49:49.409 Remote automation compiled:2013-12-03 10:49:49.409 1 Timings - 2013-12-03 10:49:49.409 11 Commands
2013-12-03 10:49:49.409 Get Dirent: 0
2013-12-03 10:49:49.409 Total: 2 Remotes - 10 Timings - 43 Commands - 0 Calib. Commands
2013-12-03 10:49:49.409 0 Togglec. - 2 CCF Data - 0 CCF RAW - 0 CCF Error
2013-12-03 10:49:49.910 IRTRans Send status: 0 - 0 SEQ:124 TO:500
2013-12-03 10:49:50.434 IRTRans Send status: 1 - 69 SEQ:124 TO:500
2013-12-03 10:49:51.115 IRTRans Send status: 0 - 0 SEQ:124 TO:500
2013-12-03 10:49:51.288 IRTRans Send Done: 4
2013-12-03 10:49:51.788 IRTRans Send status: 0 - 0 SEQ:125 TO:500
2013-12-03 10:49:52.314 IRTRans Send status: 1 - 69 SEQ:125 TO:500
2013-12-03 10:49:52.995 IRTRans Send status: 0 - 0 SEQ:125 TO:500
2013-12-03 10:49:53.170 IRTRans Send Done: 4
2013-12-03 10:49:54.193 Select Return: 1
2013-12-03 10:49:58.747 Select Return: 1
2013-12-03 10:49:58.747 IRTRANS TCP/IP Socket connection request
2013-12-03 10:49:58.747 IRTRANS TCP/IP Client 0 accepted from 127.0.0.1
2013-12-03 10:49:58.748 Select Return: 1
2013-12-03 10:49:58.748 Netcommand Size: 112/112
2013-12-03 10:49:58.748 Netcommand: 1 [0]
2013-12-03 10:49:58.748 Send [0] satellite - sel [0 - B:0 M:0x0 LED: Default]
2013-12-03 10:49:59.248 IRTRans Send status: 0 - 0 SEQ:126 TO:500
2013-12-03 10:49:59.421 IRTRans Send Done: 2
2013-12-03 10:49:59.421 Send Status 8 - 8 [0]
2013-12-03 10:49:59.422 Select Return: 1
2013-12-03 10:49:59.422 Client [0] disconnect
2013-12-03 10:50:00.813 Select Return: 1
2013-12-03 10:50:58.395 Select Return: 1
2013-12-03 10:50:58.396 IRTRANS TCP/IP Socket connection request
2013-12-03 10:50:58.396 IRTRANS TCP/IP Client 0 accepted from 127.0.0.1
2013-12-03 10:50:58.396 Select Return: 1
2013-12-03 10:50:58.396 Netcommand Size: 112/112
2013-12-03 10:50:58.396 Netcommand: 1 [0]
2013-12-03 10:50:58.396 Send [0] satellite - info [0 - B:0 M:0x0 LED: Default]
2013-12-03 10:50:58.897 IRTRans Send status: 0 - 0 SEQ:127 TO:500
2013-12-03 10:50:59.066 IRTRans Send Done: 2
2013-12-03 10:50:59.066 Send Status 8 - 8 [0]
2013-12-03 10:50:59.067 Select Return: 1
2013-12-03 10:50:59.067 Client [0] disconnect
2013-12-03 10:51:00.095 Select Return: 1
ocgltd
 
Posts: 40
Joined: Tue 30. Dec 2008, 03:34

Re: First IR command sends, subsequent are lost

Postby ocgltd » Wed 4. Dec 2013, 00:35

More information to help debug:

If I send an ir command to a *different* remote, and then back to the original remote, then it works! So alternating commands to different remotes works around the problem.

I can reproduce the same using the GUI client. Only by sending a command for a different remote does it work!
ocgltd
 
Posts: 40
Joined: Tue 30. Dec 2008, 03:34


Return to LINUX

Who is online

Users browsing this forum: No registered users and 2 guests

cron