rendered paste body== ATTEMPT FRESH START ==
1 04/26/08 07:54:32 /usr/pluto/bin/Spawn_Device.sh 81 (spawning-device) [1;00m18152 Dev: 81; Already Running list: 70,71,72,74,76,73,75,77,78,79,[1;00m
== FRESH START ==
1 04/26/08 07:54:32 /usr/pluto/bin/Spawn_Device.sh 81 (spawning-device) [1;00mdevice: 81 ip: dcerouter cmd_line: Generic_Serial_Device[1;00m
0 04/26/08 07:54:32 81 (spawning-device) [1;00mEntering 81[1;00m
========== NEW LOG SECTION ==========
1 04/26/08 07:54:32 81 (spawning-device) [1;00mStarting... 1[1;00m
1 04/26/08 07:54:32 81 (spawning-device) [1;00mFound /usr/pluto/bin/Generic_Serial_Device[1;00m
05 04/26/08 7:54:33.040 [33;1mConnection for client socket reported NEED RELOAD IP=192.168.80.2 MAC=00:1E:8C:1C:81:2A, device 81 last error 2[0m <0x2af30e4556d0>
05 04/26/08 7:54:33.040 [33;1mThe router must be reloaded before this device is fully functional[0m <0x2af30e4556d0>
05 04/26/08 7:54:33.043 [33;1mvoid ClientSocket::Disconnect() on this socket: 0x679e30 (m_Socket: 5)[0m <0x2af30e4556d0>
05 04/26/08 7:54:33.050 [33;1mConnection for client socket reported NEED RELOAD IP=192.168.80.2 MAC=00:1E:8C:1C:81:2A, device 81 last error 2[0m <0x2af30e4556d0>
05 04/26/08 7:54:33.051 [33;1mRunning without DeviceData, will try to add device[0m <0x42003950>
RCODE:
0:require 'Ruby_Generic_Serial_Device'
1:class Command < Ruby_Generic_Serial_Device::RubyCommandWrapper
2:end
3:class Device_81 < Ruby_Generic_Serial_Device::RubySerialIOWrapper
4:#### 193 ####################################################################
5:def cmd_193(pk_pipe, cmd=nil)
6:@returnParamArray.clear
7:conn_.Send("\0x02**POF\0x03")
8:
9:return @returnParamArray
10:end
11:#### 350 ####################################################################
12:def cmd_350(cmd=nil)
13:@returnParamArray.clear
14:buf = conn_.Recv(1,3000);
15:print "got: ",buf,"\n"
16:
17:
18:return @returnParamArray
19:end
20:#### 355 ####################################################################
21:def cmd_355(cmd=nil)
22:@returnParamArray.clear
23:#31-May-06 14:13 init Pioneer Plasma
24:
25:initok=false
26:
27:for iRetry in 0...4
28: print "Initializing unit\n"
29: conn_.Send("\0201AMN\03")
30: buf = conn_.Recv(200, 1000)
31: if( !buf.nil? && (!buf.index("\02XXX").nil? || !buf.index("\02AMN").nil?) )
32: print "Initialized ok\n"
33: initok=true
34: break
35: else
36: print "Didn't respond to command\n"
37: end
38:end
39:
40:if initok==false
41: DisableDevice( device_.devid_, true )
42: print "The device wouldn't respond. Disabling it.\n"
43: return
44:end
45:
46:print "Initialized ok, doing log\n"
47:
48:return @returnParamArray
49:end
50:#### 374 ####################################################################
51:def cmd_374(cmd=nil)
52:@returnParamArray.clear
53:conn_.Send("\0x02**INPS01\0x03")
54:
55:return @returnParamArray
56:end
57:#### 375 ####################################################################
58:def cmd_375(cmd=nil)
59:@returnParamArray.clear
60:conn_.Send("\0x02**INPS02\0x03")
61:
62:return @returnParamArray
63:end
64:#### 376 ####################################################################
65:def cmd_376(cmd=nil)
66:@returnParamArray.clear
67:conn_.Send("\0x02**INPS03\0x03")
68:
69:return @returnParamArray
70:end
71:#### 377 ####################################################################
72:def cmd_377(cmd=nil)
73:@returnParamArray.clear
74:conn_.Send("\0x02**INPS04\0x03")
75:
76:return @returnParamArray
77:end
78:#### 378 ####################################################################
79:def cmd_378(cmd=nil)
80:@returnParamArray.clear
81:conn_.Send("\0x02**INPS05\0x03")
82:
83:return @returnParamArray
84:end
85:#### START SETTERS ####################################################################
86:def initialize()
87:super
88:@returnParamArray=Array.new
89:end
90:#### END SETTERS ####################################################################
91:end
93:05 04/26/08 7:54:52.511 [33;1mGot a reload command from 0 [0m <0x42003950>
05 04/26/08 7:54:52.913 [33;1mvoid ClientSocket::Disconnect() on this socket: 0x673b60 (m_Socket: 8)[0m <0x2af30e4556d0>
Return code: 2
2 04/26/08 07:54:53 81 (spawning-device) [1;33mDevice requests restart... count=1/50 dev=81[1;00m
2 04/26/08 07:54:53 81 (spawning-device) [1;33mDevice was disabled or removed. Stopping and marking as not running.[1;00m
== ATTEMPT FRESH START ==
1 04/26/08 07:57:22 /usr/pluto/bin/Spawn_Device.sh 81 (spawning-device) [1;00m21307 Dev: 81; Already Running list: 70,71,72,74,76,73,75,77,78,79,[1;00m
== FRESH START ==
1 04/26/08 07:57:23 /usr/pluto/bin/Spawn_Device.sh 81 (spawning-device) [1;00mdevice: 81 ip: dcerouter cmd_line: Generic_Serial_Device[1;00m
0 04/26/08 07:57:23 81 (spawning-device) [1;00mEntering 81[1;00m
========== NEW LOG SECTION ==========
1 04/26/08 07:57:23 81 (spawning-device) [1;00mStarting... 1[1;00m
1 04/26/08 07:57:23 81 (spawning-device) [1;00mFound /usr/pluto/bin/Generic_Serial_Device[1;00m
RCODE:
0:require 'Ruby_Generic_Serial_Device'
1:class Command < Ruby_Generic_Serial_Device::RubyCommandWrapper
2:end
3:class Device_81 < Ruby_Generic_Serial_Device::RubySerialIOWrapper
4:#### 193 ####################################################################
5:def cmd_193(pk_pipe, cmd=nil)
6:@returnParamArray.clear
7:conn_.Send("\0x02**POF\0x03")
8:
9:return @returnParamArray
10:end
11:#### 350 ####################################################################
12:def cmd_350(cmd=nil)
13:@returnParamArray.clear
14:buf = conn_.Recv(1,3000);
15:print "got: ",buf,"\n"
16:
17:
18:return @returnParamArray
19:end
20:#### 355 ####################################################################
21:def cmd_355(cmd=nil)
22:@returnParamArray.clear
23:#31-May-06 14:13 init Pioneer Plasma
24:
25:initok=false
26:
27:for iRetry in 0...4
28: print "Initializing unit\n"
29: conn_.Send("\0201AMN\03")
30: buf = conn_.Recv(200, 1000)
31: if( !buf.nil? && (!buf.index("\02XXX").nil? || !buf.index("\02AMN").nil?) )
32: print "Initialized ok\n"
33: initok=true
34: break
35: else
36: print "Didn't respond to command\n"
37: end
38:end
39:
40:if initok==false
41: DisableDevice( device_.devid_, true )
42: print "The device wouldn't respond. Disabling it.\n"
43: return
44:end
45:
46:print "Initialized ok, doing log\n"
47:
48:return @returnParamArray
49:end
50:#### 374 ####################################################################
51:def cmd_374(cmd=nil)
52:@returnParamArray.clear
53:conn_.Send("\0x02**INPS01\0x03")
54:
55:return @returnParamArray
56:end
57:#### 375 ####################################################################
58:def cmd_375(cmd=nil)
59:@returnParamArray.clear
60:conn_.Send("\0x02**INPS02\0x03")
61:
62:return @returnParamArray
63:end
64:#### 376 ####################################################################
65:def cmd_376(cmd=nil)
66:@returnParamArray.clear
67:conn_.Send("\0x02**INPS03\0x03")
68:
69:return @returnParamArray
70:end
71:#### 377 ####################################################################
72:def cmd_377(cmd=nil)
73:@returnParamArray.clear
74:conn_.Send("\0x02**INPS04\0x03")
75:
76:return @returnParamArray
77:end
78:#### 378 ####################################################################
79:def cmd_378(cmd=nil)
80:@returnParamArray.clear
81:conn_.Send("\0x02**INPS05\0x03")
82:
83:return @returnParamArray
84:end
85:#### START SETTERS ####################################################################
86:def initialize()
87:super
88:@returnParamArray=Array.new
89:end
90:#### END SETTERS ####################################################################
91:end
93:05 04/26/08 8:01:34.333 [33;1mGot a reload command from 0 [0m <0x42003950>
05 04/26/08 8:01:34.763 [33;1mvoid ClientSocket::Disconnect() on this socket: 0x673b60 (m_Socket: 8)[0m <0x2b2682d676d0>
Return code: 2
2 04/26/08 08:01:35 81 (spawning-device) [1;33mDevice requests restart... count=1/50 dev=81[1;00m
Sat Apr 26 08:01:35 CEST 2008 Restart
========== NEW LOG SECTION ==========
1 04/26/08 08:01:43 81 (spawning-device) [1;00mStarting... 1[1;00m
1 04/26/08 08:01:43 81 (spawning-device) [1;00mFound /usr/pluto/bin/Generic_Serial_Device[1;00m
01 04/26/08 8:01:43.980 [31;1mGSD Port is not specified. Instantiating non-IO Wrapper.[0m <0x42003950>
RCODE:
0:require 'Ruby_Generic_Serial_Device'
1:class Command < Ruby_Generic_Serial_Device::RubyCommandWrapper
2:end
3:class Device_81 < Ruby_Generic_Serial_Device::RubySerialWrapper
4:#### 192 ####################################################################
5:def cmd_192(pk_pipe, pk_device_pipes, cmd=nil)
6:@returnParamArray.clear
7:conn_.Send("\0x02**PON\0x03")
8:
9:return @returnParamArray
10:end
11:#### 193 ####################################################################
12:def cmd_193(pk_pipe, cmd=nil)
13:@returnParamArray.clear
14:conn_.Send("\0x02**POF\0x03")
15:
16:return @returnParamArray
17:end
18:#### 350 ####################################################################
19:def cmd_350(cmd=nil)
20:@returnParamArray.clear
21:buf = conn_.Recv(1,3000);
22:print "got: ",buf,"\n"
23:
24:
25:return @returnParamArray
26:end
27:#### 355 ####################################################################
28:def cmd_355(cmd=nil)
29:@returnParamArray.clear
30:#31-May-06 14:13 init Pioneer Plasma
31:
32:initok=false
33:
34:for iRetry in 0...4
35: print "Initializing unit\n"
36: conn_.Send("\0201AMN\03")
37: buf = conn_.Recv(200, 1000)
38: if( !buf.nil? && (!buf.index("\02XXX").nil? || !buf.index("\02AMN").nil?) )
39: print "Initialized ok\n"
40: initok=true
41: break
42: else
43: print "Didn't respond to command\n"
44: end
45:end
46:
47:if initok==false
48: DisableDevice( device_.devid_, true )
49: print "The device wouldn't respond. Disabling it.\n"
50: return
51:end
52:
53:print "Initialized ok, doing log\n"
54:
55:return @returnParamArray
56:end
57:#### 374 ####################################################################
58:def cmd_374(cmd=nil)
59:@returnParamArray.clear
60:conn_.Send("\0x02**INPS01\0x03")
61:
62:return @returnParamArray
63:end
64:#### 375 ####################################################################
65:def cmd_375(cmd=nil)
66:@returnParamArray.clear
67:conn_.Send("\0x02**INPS02\0x03")
68:
69:return @returnParamArray
70:end
71:#### 376 ####################################################################
72:def cmd_376(cmd=nil)
73:@returnParamArray.clear
74:conn_.Send("\0x02**INPS03\0x03")
75:
76:return @returnParamArray
77:end
78:#### 377 ####################################################################
79:def cmd_377(cmd=nil)
80:@returnParamArray.clear
81:conn_.Send("\0x02**INPS04\0x03")
82:
83:return @returnParamArray
84:end
85:#### 378 ####################################################################
86:def cmd_378(cmd=nil)
87:@returnParamArray.clear
88:conn_.Send("\0x02**INPS05\0x03")
89:
90:return @returnParamArray
91:end
92:#### START SETTERS ####################################################################
93:def initialize()
94:super
95:@returnParamArray=Array.new
96:end
97:#### END SETTERS ####################################################################
98:end
100:01 04/26/08 8:01:44.035 [31;1mError while calling method: Cannot call class method: cmd_355
error: undefined local variable or method `conn_' for #<Device_81:0x2aaaaaae1be8>, line: 36
backtrace:
in: (eval): 36
from (eval):36:in `cmd_355'
from (eval):34:in `each'
from (eval):34:in `cmd_355'
[0m <0x42804950>
05 04/26/08 8:03:12.818 [33;1mGSDMessageTranslator isCmdImplemented = true[0m <0x42003950>
05 04/26/08 8:03:12.818 [33;1m#### Pre-Process Queue = 1[0m <0x42003950>
05 04/26/08 8:03:12.852 [33;1mGSDMessageTranslator isCmdImplemented = false[0m <0x42003950>
05 04/26/08 8:03:12.901 [33;1mGSDMessageTranslator isCmdImplemented = true[0m <0x42003950>
05 04/26/08 8:03:12.901 [33;1m#### Pre-Process Queue = 2[0m <0x42003950>
05 04/26/08 8:03:12.902 [33;1m_QueueProc Pre - 192 : 0[0m <0x40800950>
05 04/26/08 8:03:12.902 [33;1mGSD-Sleep Pre 192 : 0[0m <0x40800950>
05 04/26/08 8:03:12.902 [33;1mProcess Queue = 1[0m <0x40800950>
05 04/26/08 8:03:12.928 [33;1mParameter: [0m <0x42804950>
05 04/26/08 8:03:12.928 [33;1mParameter: [0m <0x42804950>
01 04/26/08 8:03:12.928 [31;1mError while calling method: Cannot call class method: cmd_192
error: undefined local variable or method `conn_' for #<Device_81:0x2aaaaaae1be8>, line: 7
backtrace:
in: (eval): 7
from (eval):7:in `cmd_192'
from (eval):36
[0m <0x42804950>
01 04/26/08 8:03:12.928 [31;1mFor obscure reasons could not handle the message[0m <0x42804950>
05 04/26/08 8:03:16.007 [33;1mGot a reload command from 0 [0m <0x42003950>
05 04/26/08 8:03:19.953 [33;1mGSD-Sleep Post 192 : 7000[0m <0x40800950>
05 04/26/08 8:03:19.953 [33;1m_QueueProc Post - 192 : 7000[0m <0x40800950>
05 04/26/08 8:03:19.953 [33;1mvoid ClientSocket::Disconnect() on this socket: 0x673b60 (m_Socket: 8)[0m <0x2b2192b466d0>
Return code: 2
2 04/26/08 08:03:20 81 (spawning-device) [1;33mDevice requests restart... count=1/50 dev=81[1;00m
2 04/26/08 08:03:20 81 (spawning-device) [1;33mDevice was disabled or removed. Stopping and marking as not running.[1;00m