Page 2 of 2
Re: Probleme mit Harmony / IRTransServer
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Tue 12. Jul 2011, 19:48
by toldap
irserver läuft mit loglevel 4 und debug_code....in den logs taucht definitiv nichts weiter auf als die drei bekannten Zeilen.
Als Basis habe ich ein Debian. Ich werde schauen, dass ich ein Hexdump machen kann. Einer mit dem nicht funktionierenden
und einen mit dem gleichen aber dann funktionierendem IR Code.
Re: Probleme mit Harmony / IRTransServer
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Tue 12. Jul 2011, 20:31
by toldap
Ok, hier ist die Ausgabe;
Die Logs auf dem IRServer bei dem funktionierendem (jedoch nicht angelerntem Befehl) sieht wie folgt aus;
[1.0]: 11000000000010 14
[2.0]: 11000000000010 14
und folgender Dump => "dumpOKhex.dump" per PN da ich keine Dateien hochladen kann
Bei dem ersten, nicht funktionierendem gleichen Befehl sahen die Logs auf dem IRServer so aus;
Time ACK Wait: 4.000000 ms[SEQ: 85]
Time ACK End : 141.000000 ms
Time ACK End : 1.000000 ms
Time ACK End : 6.000000 ms
und folgender Dump => dumpFAILhex.dump
Edit:
Leider kann ich auch bei PN keine Dateien senden. Darum poste ich diese hier;
dumpOKhex.dump:
- Code: Select all
00000000 32 32 3a 30 34 3a 33 35 2e 37 30 33 32 38 30 20 |22:04:35.703280 |
00000010 49 50 20 28 74 6f 73 20 30 78 30 2c 20 74 74 6c |IP (tos 0x0, ttl|
00000020 20 31 30 30 2c 20 69 64 20 34 30 30 31 2c 20 6f | 100, id 4001, o|
00000030 66 66 73 65 74 20 30 2c 20 66 6c 61 67 73 20 5b |ffset 0, flags [|
00000040 6e 6f 6e 65 5d 2c 20 70 72 6f 74 6f 20 55 44 50 |none], proto UDP|
00000050 20 28 31 37 29 2c 20 6c 65 6e 67 74 68 20 38 37 | (17), length 87|
00000060 29 0a 20 20 20 20 31 39 32 2e 31 36 38 2e 78 2e |). 192.168.x.|
00000070 39 37 2e 32 31 30 30 30 20 3e 20 6d 65 69 6e 2e |97.21000 > mein.|
00000080 6c 69 6e 75 78 2e 73 65 72 76 65 72 2e 32 31 30 |linux.server.210|
00000090 30 30 3a 20 5b 75 64 70 20 73 75 6d 20 6f 6b 5d |00: [udp sum ok]|
000000a0 20 55 44 50 2c 20 6c 65 6e 67 74 68 20 35 39 0a | UDP, length 59.|
000000b0 09 30 78 30 30 30 30 3a 20 20 34 35 30 30 20 30 |.0x0000: 4500 0|
000000c0 30 35 37 20 30 66 61 31 20 30 30 30 30 20 36 34 |057 0fa1 0000 64|
000000d0 31 31 20 39 63 65 31 20 63 30 61 38 20 31 34 36 |11 9ce1 c0a8 146|
000000e0 31 0a 09 30 78 30 30 31 30 3a 20 20 63 30 61 38 |1..0x0010: c0a8|
000000f0 20 31 34 36 32 20 35 32 30 38 20 35 32 30 38 20 | 1462 5208 5208 |
00000100 30 30 34 33 20 65 32 31 66 20 65 36 33 61 20 30 |0043 e21f e63a 0|
00000110 30 30 31 0a 09 30 78 30 30 32 30 3a 20 20 30 30 |001..0x0020: 00|
00000120 30 30 20 30 30 30 65 20 32 34 30 34 20 30 30 30 |00 000e 2404 000|
00000130 30 20 30 30 30 30 20 30 30 30 30 20 30 30 30 30 |0 0000 0000 0000|
00000140 20 30 30 30 30 0a 09 30 78 30 30 33 30 3a 20 20 | 0000..0x0030: |
00000150 30 30 30 30 20 30 30 30 30 20 30 30 30 30 20 30 |0000 0000 0000 0|
00000160 30 30 30 20 30 30 30 30 20 30 30 30 30 20 30 30 |000 0000 0000 00|
00000170 30 30 20 30 30 30 30 0a 09 30 78 30 30 34 30 3a |00 0000..0x0040:|
00000180 20 20 30 30 30 30 20 30 30 30 30 20 30 30 30 30 | 0000 0000 0000|
00000190 20 30 30 38 32 20 37 32 33 31 20 33 31 33 30 20 | 0082 7231 3130 |
000001a0 33 30 33 30 20 33 30 33 30 0a 09 30 78 30 30 35 |3030 3030..0x005|
000001b0 30 3a 20 20 33 30 33 30 20 33 30 33 30 20 33 30 |0: 3030 3030 30|
000001c0 33 31 20 33 30 0a 32 32 3a 30 34 3a 33 35 2e 37 |31 30.22:04:35.7|
000001d0 30 33 36 30 32 20 49 50 20 28 74 6f 73 20 30 78 |03602 IP (tos 0x|
000001e0 30 2c 20 74 74 6c 20 31 30 30 2c 20 69 64 20 31 |0, ttl 100, id 1|
000001f0 30 34 36 31 2c 20 6f 66 66 73 65 74 20 30 2c 20 |0461, offset 0, |
00000200 66 6c 61 67 73 20 5b 6e 6f 6e 65 5d 2c 20 70 72 |flags [none], pr|
00000210 6f 74 6f 20 55 44 50 20 28 31 37 29 2c 20 6c 65 |oto UDP (17), le|
00000220 6e 67 74 68 20 38 37 29 0a 20 20 20 20 31 39 32 |ngth 87). 192|
00000230 2e 31 36 38 2e 78 2e 39 35 2e 32 31 30 30 30 20 |.168.x.95.21000 |
00000240 3e 20 6d 65 69 6e 2e 6c 69 6e 75 78 2e 73 65 72 |> mein.linux.ser|
00000250 76 65 72 2e 32 31 30 30 30 3a 20 5b 75 64 70 20 |ver.21000: [udp |
00000260 73 75 6d 20 6f 6b 5d 20 55 44 50 2c 20 6c 65 6e |sum ok] UDP, len|
00000270 67 74 68 20 35 39 0a 09 30 78 30 30 30 30 3a 20 |gth 59..0x0000: |
00000280 20 34 35 30 30 20 30 30 35 37 20 32 38 64 64 20 | 4500 0057 28dd |
00000290 30 30 30 30 20 36 34 31 31 20 38 33 61 37 20 63 |0000 6411 83a7 c|
000002a0 30 61 38 20 31 34 35 66 0a 09 30 78 30 30 31 30 |0a8 145f..0x0010|
000002b0 3a 20 20 63 30 61 38 20 31 34 36 32 20 35 32 30 |: c0a8 1462 520|
000002c0 38 20 35 32 30 38 20 30 30 34 33 20 65 32 32 31 |8 5208 0043 e221|
000002d0 20 65 36 33 61 20 30 30 30 31 0a 09 30 78 30 30 | e63a 0001..0x00|
000002e0 32 30 3a 20 20 30 30 30 30 20 30 30 30 65 20 32 |20: 0000 000e 2|
000002f0 34 30 34 20 30 30 30 30 20 30 30 30 30 20 30 30 |404 0000 0000 00|
00000300 30 30 20 30 30 30 30 20 30 30 30 30 0a 09 30 78 |00 0000 0000..0x|
00000310 30 30 33 30 3a 20 20 30 30 30 30 20 30 30 30 30 |0030: 0000 0000|
00000320 20 30 30 30 30 20 30 30 30 30 20 30 30 30 30 20 | 0000 0000 0000 |
00000330 30 30 30 30 20 30 30 30 30 20 30 30 30 30 0a 09 |0000 0000 0000..|
00000340 30 78 30 30 34 30 3a 20 20 30 30 30 30 20 30 30 |0x0040: 0000 00|
00000350 30 30 20 30 30 30 30 20 30 30 38 32 20 37 32 33 |00 0000 0082 723|
00000360 31 20 33 31 33 30 20 33 30 33 30 20 33 30 33 30 |1 3130 3030 3030|
00000370 0a 09 30 78 30 30 35 30 3a 20 20 33 30 33 30 20 |..0x0050: 3030 |
00000380 33 30 33 30 20 33 30 33 31 20 33 30 0a 0a |3030 3031 30..|
0000038e
dumpFAILhex.dump
- Code: Select all
00000000 32 32 3a 30 34 3a 30 38 2e 34 32 32 30 33 37 20 |22:04:08.422037 |
00000010 49 50 20 28 74 6f 73 20 30 78 30 2c 20 74 74 6c |IP (tos 0x0, ttl|
00000020 20 31 30 30 2c 20 69 64 20 33 39 39 39 2c 20 6f | 100, id 3999, o|
00000030 66 66 73 65 74 20 30 2c 20 66 6c 61 67 73 20 5b |ffset 0, flags [|
00000040 6e 6f 6e 65 5d 2c 20 70 72 6f 74 6f 20 55 44 50 |none], proto UDP|
00000050 20 28 31 37 29 2c 20 6c 65 6e 67 74 68 20 38 37 | (17), length 87|
00000060 29 0a 20 20 20 20 31 39 32 2e 31 36 38 2e 78 2e |). 192.168.x.|
00000070 39 37 2e 32 31 30 30 30 20 3e 20 6d 65 69 6e 2e |97.21000 > mein.|
00000080 6c 69 6e 75 78 2e 73 65 72 76 65 72 2e 32 31 30 |linux.server.210|
00000090 30 30 3a 20 5b 75 64 70 20 73 75 6d 20 6f 6b 5d |00: [udp sum ok]|
000000a0 20 55 44 50 2c 20 6c 65 6e 67 74 68 20 35 39 0a | UDP, length 59.|
000000b0 09 30 78 30 30 30 30 3a 20 20 34 35 30 30 20 30 |.0x0000: 4500 0|
000000c0 30 35 37 20 30 66 39 66 20 30 30 30 30 20 36 34 |057 0f9f 0000 64|
000000d0 31 31 20 39 63 65 33 20 63 30 61 38 20 31 34 36 |11 9ce3 c0a8 146|
000000e0 31 0a 09 30 78 30 30 31 30 3a 20 20 63 30 61 38 |1..0x0010: c0a8|
000000f0 20 31 34 36 32 20 35 32 30 38 20 35 32 30 38 20 | 1462 5208 5208 |
00000100 30 30 34 33 20 65 32 31 66 20 65 36 33 61 20 30 |0043 e21f e63a 0|
00000110 30 30 31 0a 09 30 78 30 30 32 30 3a 20 20 30 30 |001..0x0020: 00|
00000120 30 30 20 30 30 30 65 20 32 34 30 34 20 30 30 30 |00 000e 2404 000|
00000130 30 20 30 30 30 30 20 30 30 30 30 20 30 30 30 30 |0 0000 0000 0000|
00000140 20 30 30 30 30 0a 09 30 78 30 30 33 30 3a 20 20 | 0000..0x0030: |
00000150 30 30 30 30 20 30 30 30 30 20 30 30 30 30 20 30 |0000 0000 0000 0|
00000160 30 30 30 20 30 30 30 30 20 30 30 30 30 20 30 30 |000 0000 0000 00|
00000170 30 30 20 30 30 30 30 0a 09 30 78 30 30 34 30 3a |00 0000..0x0040:|
00000180 20 20 30 30 30 30 20 30 30 30 30 20 30 30 30 30 | 0000 0000 0000|
00000190 20 30 30 38 32 20 37 32 33 31 20 33 31 33 30 20 | 0082 7231 3130 |
000001a0 33 30 33 30 20 33 30 33 30 0a 09 30 78 30 30 35 |3030 3030..0x005|
000001b0 30 3a 20 20 33 30 33 30 20 33 30 33 30 20 33 30 |0: 3030 3030 30|
000001c0 33 31 20 33 30 0a 32 32 3a 30 34 3a 30 38 2e 34 |31 30.22:04:08.4|
000001d0 32 32 33 34 35 20 49 50 20 28 74 6f 73 20 30 78 |22345 IP (tos 0x|
000001e0 30 2c 20 74 74 6c 20 31 30 30 2c 20 69 64 20 31 |0, ttl 100, id 1|
000001f0 30 34 35 38 2c 20 6f 66 66 73 65 74 20 30 2c 20 |0458, offset 0, |
00000200 66 6c 61 67 73 20 5b 6e 6f 6e 65 5d 2c 20 70 72 |flags [none], pr|
00000210 6f 74 6f 20 55 44 50 20 28 31 37 29 2c 20 6c 65 |oto UDP (17), le|
00000220 6e 67 74 68 20 38 37 29 0a 20 20 20 20 31 39 32 |ngth 87). 192|
00000230 2e 31 36 38 2e 78 2e 39 35 2e 32 31 30 30 30 20 |.168.x.95.21000 |
00000240 3e 20 6d 65 69 6e 2e 6c 69 6e 75 78 2e 73 65 72 |> mein.linux.ser|
00000250 76 65 72 2e 32 31 30 30 30 3a 20 5b 75 64 70 20 |ver.21000: [udp |
00000260 73 75 6d 20 6f 6b 5d 20 55 44 50 2c 20 6c 65 6e |sum ok] UDP, len|
00000270 67 74 68 20 35 39 0a 09 30 78 30 30 30 30 3a 20 |gth 59..0x0000: |
00000280 20 34 35 30 30 20 30 30 35 37 20 32 38 64 61 20 | 4500 0057 28da |
00000290 30 30 30 30 20 36 34 31 31 20 38 33 61 61 20 63 |0000 6411 83aa c|
000002a0 30 61 38 20 31 34 35 66 0a 09 30 78 30 30 31 30 |0a8 145f..0x0010|
000002b0 3a 20 20 63 30 61 38 20 31 34 36 32 20 35 32 30 |: c0a8 1462 520|
000002c0 38 20 35 32 30 38 20 30 30 34 33 20 65 32 32 31 |8 5208 0043 e221|
000002d0 20 65 36 33 61 20 30 30 30 31 0a 09 30 78 30 30 | e63a 0001..0x00|
000002e0 32 30 3a 20 20 30 30 30 30 20 30 30 30 65 20 32 |20: 0000 000e 2|
000002f0 34 30 34 20 30 30 30 30 20 30 30 30 30 20 30 30 |404 0000 0000 00|
00000300 30 30 20 30 30 30 30 20 30 30 30 30 0a 09 30 78 |00 0000 0000..0x|
00000310 30 30 33 30 3a 20 20 30 30 30 30 20 30 30 30 30 |0030: 0000 0000|
00000320 20 30 30 30 30 20 30 30 30 30 20 30 30 30 30 20 | 0000 0000 0000 |
00000330 30 30 30 30 20 30 30 30 30 20 30 30 30 30 0a 09 |0000 0000 0000..|
00000340 30 78 30 30 34 30 3a 20 20 30 30 30 30 20 30 30 |0x0040: 0000 00|
00000350 30 30 20 30 30 30 30 20 30 30 38 32 20 37 32 33 |00 0000 0082 723|
00000360 31 20 33 31 33 30 20 33 30 33 30 20 33 30 33 30 |1 3130 3030 3030|
00000370 0a 09 30 78 30 30 35 30 3a 20 20 33 30 33 30 20 |..0x0050: 3030 |
00000380 33 30 33 30 20 33 30 33 31 20 33 30 0a 32 32 3a |3030 3031 30.22:|
00000390 30 34 3a 30 38 2e 34 32 35 36 37 31 20 49 50 20 |04:08.425671 IP |
000003a0 28 74 6f 73 20 30 78 30 2c 20 74 74 6c 20 36 34 |(tos 0x0, ttl 64|
000003b0 2c 20 69 64 20 33 32 39 35 32 2c 20 6f 66 66 73 |, id 32952, offs|
000003c0 65 74 20 30 2c 20 66 6c 61 67 73 20 5b 44 46 5d |et 0, flags [DF]|
000003d0 2c 20 70 72 6f 74 6f 20 55 44 50 20 28 31 37 29 |, proto UDP (17)|
000003e0 2c 20 6c 65 6e 67 74 68 20 31 31 31 29 0a 20 20 |, length 111). |
000003f0 20 20 6d 65 69 6e 2e 6c 69 6e 75 78 2e 73 65 72 | mein.linux.ser|
00000400 76 65 72 2e 35 31 32 30 30 20 3e 20 31 39 32 2e |ver.51200 > 192.|
00000410 31 36 38 2e 78 2e 39 36 2e 32 31 30 30 30 3a 20 |168.x.96.21000: |
00000420 5b 62 61 64 20 75 64 70 20 63 6b 73 75 6d 20 66 |[bad udp cksum f|
00000430 37 38 21 5d 20 55 44 50 2c 20 6c 65 6e 67 74 68 |78!] UDP, length|
00000440 20 38 33 0a 09 30 78 30 30 30 30 3a 20 20 34 35 | 83..0x0000: 45|
00000450 30 30 20 30 30 36 66 20 38 30 62 38 20 34 30 30 |00 006f 80b8 400|
00000460 30 20 34 30 31 31 20 30 66 62 33 20 63 30 61 38 |0 4011 0fb3 c0a8|
00000470 20 31 34 36 32 0a 09 30 78 30 30 31 30 3a 20 20 | 1462..0x0010: |
00000480 63 30 61 38 20 31 34 36 30 20 63 38 30 30 20 35 |c0a8 1460 c800 5|
00000490 32 30 38 20 30 30 35 62 20 61 61 37 66 20 63 38 |208 005b aa7f c8|
000004a0 35 35 20 30 30 30 30 0a 09 30 78 30 30 32 30 3a |55 0000..0x0020:|
000004b0 20 20 30 30 30 30 20 30 30 30 30 20 30 30 30 30 | 0000 0000 0000|
000004c0 20 30 30 30 30 20 30 30 30 30 20 30 30 30 30 20 | 0000 0000 0000 |
000004d0 30 30 30 30 20 30 30 30 30 0a 09 30 78 30 30 33 |0000 0000..0x003|
000004e0 30 3a 20 20 30 30 30 30 20 30 30 30 30 20 30 30 |0: 0000 0000 00|
000004f0 30 30 20 30 30 30 30 20 30 30 30 30 20 30 30 30 |00 0000 0000 000|
00000500 30 20 30 30 30 30 20 30 30 30 30 0a 09 30 78 30 |0 0000 0000..0x0|
00000510 30 34 30 3a 20 20 30 30 30 30 20 30 30 30 30 20 |040: 0000 0000 |
00000520 30 30 30 30 20 30 30 30 30 20 30 30 30 30 20 30 |0000 0000 0000 0|
00000530 30 30 30 20 30 30 30 30 20 30 30 30 30 0a 09 30 |000 0000 0000..0|
00000540 78 30 30 35 30 3a 20 20 30 30 30 30 20 30 30 30 |x0050: 0000 000|
00000550 30 20 30 30 30 30 20 30 30 30 30 20 30 30 30 30 |0 0000 0000 0000|
00000560 20 30 30 30 30 20 30 30 30 30 20 30 30 30 30 0a | 0000 0000 0000.|
00000570 09 30 78 30 30 36 30 3a 20 20 30 66 33 61 20 30 |.0x0060: 0f3a 0|
00000580 36 30 30 20 66 66 66 66 20 30 30 30 30 20 32 38 |600 ffff 0000 28|
00000590 64 38 20 63 34 31 63 20 34 65 30 38 20 30 30 0a |d8 c41c 4e08 00.|
000005a0 0a |.|
000005a1
Re: Probleme mit Harmony / IRTransServer
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed 13. Jul 2011, 07:31
by toldap
Noch ein kleiner Nachtrag:
Ich habe heute Morgen, wo eigentlich die erst gedrückte IRTaste nicht bei dem IRServer ankommt, diesen zuerst neu gestartet.
Nach dem neu starten, ist auch der erst gedrückte IRBefehl auf dem Server angekommen. Es scheint wohl auch kein Problem mit der
IRTrans HW zu sein, sondern mit dem Server. Ich würde auch behaupten, dass die direkt weitergeleiteten Befehle auch nach dem "Timeout"
funktionieren jedoch einfach nicht an dem Server ankommen. Das werde ich aber noch testen.
Ist es möglich dass der IRServer irgendwie in ein "Timeout" verfällt..?
Ich könnte mir natürlich ein kleines Script basteln, dass alle Stunden irgendein IRBefehl dem Server zukommen lässt, damit dieser "aktiv" bleibt.
Aber das ist nicht so schön und würde ich lieber vermeiden....
Re: Probleme mit "standby" bei IRTrans Server
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed 13. Jul 2011, 11:06
by IRTrans
Hallo,
danke für den Hinweis. Das hilft schonmal das Problem etwas einzukreisen.
Ich habe allerdings noch keine rechte Idee woran das liegen könnte.
Sind da vielleicht vom Betriebssystem her Energiesparmaßnahmen aktiv? Der Server legt sich auf jeden Fall nicht schlafen.
Gruß, IRTrans
Re: Probleme mit "standby" bei IRTrans Server
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed 13. Jul 2011, 16:15
by toldap
So, nun hat sich meine Vermutung bestätigt. Ein "Relay" über die IRTrans Geräte direkt z.B. auf den Onkyo funktioniert
auch nach x Stunden direkt. Parallel zu diesem Befehl kommt in den Server Logs jedoch - nach wie vor - die bekannten 3 Zeilen.
Natürlich auch bei diesem Test nur bei dem ersten mal drücken. Sobald ich das zweite mal drücke kommt der Befehl sowohl bei
dem zu schaltenden Gerät als auch in den Server Logs richtig an....
Im BS sind definitiv keine Energiesparmassnahmen o.Ä. vorhanden. Wie gesagt, sobald ich unmittelbar das zweite mal drücke kommen die Befehle an.
Auch die ersten Befehle werden im Server mit den bekannten drei Zeilen zumindest "signalisiert".
Re: Probleme mit "standby" bei IRTrans Server
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Fri 12. Aug 2011, 09:04
by erru
Habe dasselbe Problem mit einem IRTrans WLAN. Die erste Taste wird nicht erkannt.
Die Zeitdauer, also zwischen dem letzten Tastendruck und dem ersten Tastendruck der dann nicht mehr funktioniert, habe ich noch nicht ermitteln können.
Gibt es inzwischen schon eine Lösung dazu??
Gruß erru
Re: Probleme mit "standby" bei IRTrans Server
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu 25. Aug 2011, 09:37
by alexirion
Ich habe das gleiche Problem schon vor ein paar Monaten geschildert (auch in Verbindung mit einer Logitech Harmony), siehe hier:
viewtopic.php?f=24&t=777Als Workaround baue ich die Verbindung zum IRServer ständig neu auf.
--Alex
Re: Probleme mit "standby" bei IRTrans Server
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Sun 4. Sep 2011, 19:24
by kobza
Hallo,
Ich hab auch das Problem, mit einem rs232 irtrans und einem linux server...
Was heisst, "ich baue die Verbindung immer neu auf" hilft es?
Gruss
Thomas
Re: Probleme mit "standby" bei IRTrans Server
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Sun 4. Sep 2011, 21:05
by kobza
Hi,
was ich noch festgetsellt habem dass das erste Befehl wird im Logfile gezeugt aber nicht weitergeleitet.
(Ich habe eine externe LED angeschlossen). Das 2te und die nächsten funktionieren...
Gruß
Thomas
Re: Probleme mit "standby" bei IRTrans Server
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon 5. Sep 2011, 06:20
by IRTrans
Hmm, wenn der Befehl im Logfile erscheint dann wird er auch verarbeitet ...
Gruß, IRTrans