Hi!
I've an RS232 IRTrans. I installed the softwares on Fedora 9, but I can't teach that for noting (no timing, no RAW commands, etc). For the testing I connected the module to a laptop over an USB-Serial adapter. I'm using a AC-DC adapter to power IRTrans. I've tried IRServer Version 6.01.04 and IRServer Version 5.12.08 too.
I tried Denon (RC-1022), Yamaha (RAV323) and Samsung (LE40M87) remotes. If I push the buttons on remotes, the irserver prints in -debug_code mode:
[0.0]: 010001011000100301000010011101120100010110001000 48
[0.0]: 010000011000100301000110011101120100000110001000 48
every each short push on the same button prints the same "code".
The LED of the IR module is green and red for a short time after I switch on my laptop. After the boot I do:
old$ sudo ./irserver -debug_code -loglevel 10 -baudrate 38400 /dev/ttyUSB0 &
[...]
Init Server Socket done
Init Events done
IRTRans Send Done: 1
Name : IRTrans RS232
Version: S5.11.10
FW SNo : 36915
Capab : Power On; Soft ID; Dual Transmitter Drivers;
FW Cap : 0x1854d7
FW Cap2: 0x9
USB SNo:
Node : /dev/ttyUSB0
Init communication ...
IRServer Version 5.12.08
[ 0]: IRTrans RS232 S5.11.10 SN: 36915
[...]
IRTRans Send status: 0 - 0
IRTRans Send status: 0 - 0
IRTRans Send status: 1 - 69
IRTRans Send Done: 4
- irserver is quiet now -
$ old/irclient localhost
IRTrans ASCII Client Version 5.11.04
1 - Send
2 - Learn
3 - Status
99 - Exit
Select command 3
1 Device(s) Found:
0: - S5.11.10
99 - Exit
Select command 0
Device [0]: S5.11.10
Repeat Mask: x x x x x x x x x x x x x x x x
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Device Mode Send [20]: x
IR [21]: x
SBUS [22]: x
SBUS RemoteCtrl [24]: x
RAW [25]: o
SBUS send Repeat [27]: x
Internal LEDs [30]: x
External LEDs [31]: x
Self Repeat [36]: o
via Internal LEDs [32]: x
Learn Timeout 5ms [37]: o
Learn Timeout 15ms [38]: o
Learn Timeout 30ms [39]: o
Learn Timeout 60ms [40]: o
Learn Timeout 90ms [41]: x
Learn Timeout 120ms [42]: o
Learn Timeout 150ms [43]: o
Learn Timeout 250ms [44]: o
Repeat Timeout 5ms [45]: x
Repeat Timeout 25ms [46]: o
SBUS Classic [47]: o
SBUS 4800 Baud [48]: o
SBUS 9600 Baud [49]: o
SBUS 19200 Baud [50]: o
SBUS 38400 Baud [51]: x
PowerOn Remote [52]:
PowerOn Command [53]:
Cancel [88]
Save & Exit [99]
Select command 88
1 - Send
2 - Learn
3 - Status
99 - Exit
Select command 2
**Selected Remote: []
1 - Select remote
2 - Learn Timing
3 - Learn Command [Based on timing]
4 - Learn Command [Command with timing]
5 - Learn Command [RAW Data]
99 - Exit
Select command 1
Enter Remote Name: d
**Selected Remote: [d]
1 - Select remote
2 - Learn Timing
3 - Learn Command [Based on timing]
4 - Learn Command [Command with timing]
5 - Learn Command [RAW Data]
99 - Exit
Select command 2
Press Remote Button to record timing ....
- irserver begins to print meanwhile I shortly push the button on the remote -
Netcommand: 3 [0]
IRTRans Send Done: 1
IRTRans Send status: 0 - 0
IRTRans Send status: 0 - 0
IRTRans Send status: 1 - 69
IRTRans Send Done: 4
IRTRans Send status: 0 - 0
IRTRans Send status: 0 - 0
IRTRans Send status: 1 - 69
IRTRans Send status: 1 - 0
IRTRans Send status: 0 - 0
IRTRans Send status: 0 - 0
IRTRans Send status: 1 - 69
IRTRans Send Done: 4
IRTRans Send status: 0 - 0
IRTRans Send status: 0 - 0
IRTRans Send status: 1 - 69
IRTRans Send Done: 4
IRTRans Send status: 0 - 0
IRTRans Send status: 0 - 0
IRTRans Send status: 1 - 69
IRTRans Send Done: 4
IRTRans Send status: 0 - 0
IRTRans Send status: 0 - 0
IRTRans Send status: 1 - 69
[and so on...]
- the irclient prints after 8-10 seconds -
Press Remote Button to record timing ....OK
- but the irserver prints the messages for 40-50 seconds after that, so I think the statement of the irclient is wrong -
[...]
IRTRans Send status: 0 - 0
IRTRans Send status: 0 - 0
IRTRans Send status: 1 - 69
IRTRans Send Done: 4
IRTRans Send status: 0 - 0
IRTRans Send status: 0 - 0
IRTRans Send status: 1 - 69
IRTRans Send Done: 4
IRTRans Send Done: 1 # here 20-30 more lines of that
[...]
IRTRans Send Done: 1
IRTRans Send status: 1 - 69
IRTRans Send status: 1 - 69
IRTRans Send status: 0 - 0
IRTRans Send status: 0 - 0
IRTRans Send status: 1 - 69
IRTRans Send Done: 6
IRTRans Send status: 1 - 69
IRTRans Send status: 0 - 0
IRTRans Send status: 0 - 0
IRTRans Send status: 1 - 69
IRTRans Send Done: 5
IRTRans Send status: 1 - 69
IRTRans Send status: 0 - 0
IRTRans Send status: 1 - 69
IRTRans Send status: 1 - 69
IRTRans Send status: 0 - 0
IRTRans Send status: 0 - 0
IRTRans Send status: 1 - 69
IRTRans Send status: 1 - 69
IRTRans Send status: 1 - 69
IRTRans Send status: 1 - 69
IRTRans Send Done: 10
[0.0]: 01000101100010020100001001110110 32
- and here is the end, irserver now quiet again. if I try to learn a command in irclient -
Select command 3
Command Name: power
Press Remote Button to learn ....Timeout
OK
Segmentation fault
Please, help!