Author Topic: Orbiter on Zaurus III  (Read 17136 times)

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Orbiter on Zaurus III
« Reply #15 on: January 15, 2007, 08:55:23 am »
I'm not sure what version of sources you have. Try comment "extern int errno;" line.

Cristian

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Orbiter on Zaurus III
« Reply #16 on: January 15, 2007, 05:26:05 pm »
I'm using version 13999. I will give it a try removing the extern int errno; line.

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Orbiter on Zaurus III
« Reply #17 on: January 15, 2007, 11:48:46 pm »
Ok, That worked, now I am getting an error on Orbiter Build:
It looks like I am missing a hid.h file. What provides this?

Code: newbielink:javascript:void(0); [nonactive]

| In file included from Linux/HIDInterface.cpp:3:
| Linux/HIDInterface.h:8:19: hid.h: No such file or directory
| Linux/HIDInterface.cpp: In constructor `PlutoHIDInterface::PlutoHIDInterface(DCE::Orbiter*)':
| Linux/../Orbiter.h:435: error: `pthread_mutexattr_t DCE::Orbiter::m_MutexAttr' is protected
| Linux/HIDInterface.cpp:22: error: within this context
| Linux/HIDInterface.cpp: In member function `void PlutoHIDInterface::ProcessHIDEvents()':
| Linux/../Orbiter.h:402: error: `OrbiterFileBrowser_Collection*DCE::Orbiter::m_pOrbiterFileBrowser_Collection' is protected
| Linux/HIDInterface.cpp:111: error: within this context
| Linux/HIDInterface.cpp: In member function `bool PlutoHIDInterface::ProcessBindRequest(char*)':
| Linux/../Orbiter.h:402: error: `OrbiterFileBrowser_Collection*DCE::Orbiter::m_pOrbiterFileBrowser_Collection' is protected
| Linux/HIDInterface.cpp:148: error: within this context
| Linux/../Orbiter.h:402: error: `OrbiterFileBrowser_Collection*DCE::Orbiter::m_pOrbiterFileBrowser_Collection' is protected
| Linux/HIDInterface.cpp:160: error: within this context
| Linux/../Orbiter.h:402: error: `OrbiterFileBrowser_Collection*DCE::Orbiter::m_pOrbiterFileBrowser_Collection' is protected
| Linux/HIDInterface.cpp:161: error: within this context
| Linux/../Orbiter.h:402: error: `OrbiterFileBrowser_Collection*DCE::Orbiter::m_pOrbiterFileBrowser_Collection' is protected
| Linux/HIDInterface.cpp:164: error: within this context
| Linux/HIDInterface.cpp: In member function `bool PlutoHIDInterface::SetActiveRemote(int, bool)':
| Linux/../Orbiter.h:402: error: `OrbiterFileBrowser_Collection*DCE::Orbiter::m_pOrbiterFileBrowser_Collection' is protected
| Linux/HIDInterface.cpp:239: error: within this context
| make: *** [Linux/HIDInterface.o] Error 1
| FATAL: oe_runmake failed
NOTE: Task failed: /home/oc60174/oe/build/tmp/work/orbiter-13999.1.1-r0/temp/log.do_compile.3152
NOTE: package orbiter-13999.1.1-r0: task do_compile: failed
ERROR: Error in executing: /home/oc60174/oe/org.openembedded.oz354x/packages/Orbiter/orbiter_13999.1.1.bb
ERROR: Exception:<class 'bb.build.EventException'> Message:('Function failed in task: /home/oc60174/oe/build/tmp/work/orbiter-13999.1.1-r0/temp/log.do_compile.3152', <bb.build.TaskFailed instance at 0x9f2952c>)
ERROR: Printing the environment of the function
ERROR: Error in executing: /home/oc60174/oe/org.openembedded.oz354x/packages/Orbiter/orbiter_13999.1.1.bb
ERROR: Exception:<class 'bb.build.EventException'> Message:('Function failed in task: /home/oc60174/oe/build/tmp/work/orbiter-13999.1.1-r0/temp/log.do_compile.3152', <bb.build.TaskFailed instance at 0x9f2952c>)
ERROR: Printing the environment of the function
ERROR: TaskFailed event exception, aborting
NOTE: package orbiter-13999.1.1: failed
ERROR: Build of orbiter failed

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Orbiter on Zaurus III
« Reply #18 on: January 16, 2007, 08:42:54 am »
You won't need that for zaurus. It's "human interface device", used to control your computer with exotic mice or remotes.
Remove "HIDInterface.cpp" from the Makefile and any references (includes) to that unit.

Cristian

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Orbiter on Zaurus III
« Reply #19 on: January 16, 2007, 11:37:39 pm »
Chris.m,
Now I'm getting a whole bunch of undefined references.

Code: newbielink:javascript:void(0); [nonactive]

arm-linux-g++ -o Orbiter Main.o Orbiter.o /home/oc60174/oe/build/tmp/staging/arm-linux/include/Gen_Devices/OrbiterBase.o /home/oc60174/oe/build/tmp/staging/arm-linux/include/utilities/linux/window_manager/WMController/WMController.o /home/oc60174/oe/build/tmp/staging/arm-linux/include/utilities/linux/window_manager/wmctrl/wmctrl.o /home/oc60174/oe/build/tmp/staging/arm-linux/include/utilities/linux/wrapper/wrapper_x11.o /home/oc60174/oe/build/tmp/staging/arm-linux/include/utilities/linux/wrapper/image_file.o Linux/win_list_manager.o -L/home/oc60174/oe/build/tmp/staging/arm-linux/lib -Wl,-rpath-link,/home/oc60174/oe/build/tmp/staging/arm-linux/lib -Wl,-O1 -lDCECommon -lSDL -lSDL_ttf -lSDL_image -lSGE -lSDL_gfx -lXtst -lXext -lXrender -lSDL_Helpers -lX11 -lXmu -lglib-2.0 -lSerializeClass -lDCECommon -lPlutoUtils -lmysqlclient -lpthread
/home/oc60174/oe/build/tmp/cross/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld: /home/oc60174/oe/build/tmp/staging/arm-linux/lib/libDCECommon.so: invalid string offset 141687512 >= 35395 for section `.dynstr'
/home/oc60174/oe/build/tmp/cross/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld: /home/oc60174/oe/build/tmp/staging/arm-linux/lib/libPlutoUtils.so: invalid string offset 139636128 >= 14657 for section `.dynstr'
/home/oc60174/oe/build/tmp/cross/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/lib/crt1.o: In function `_start':
init.c:(.text+0x30): undefined reference to `main'
Orbiter.o: In function `DCE::Orbiter::CurrentScreen()':
/home/oc60174/oe/build/tmp/work/orbiter-13999.1.1-r0/Orbiter/Orbiter.cpp:783: undefined reference to `DCE::ScreenHistory::PK_Screen()'
Orbiter.o: In function `DCE::Orbiter::GetDataGridHighlightCell(DesignObj_DataGrid*)':
/home/oc60174/oe/build/tmp/work/orbiter-13999.1.1-r0/Orbiter/Orbiter.cpp:9050: undefined reference to `DesignObj_DataGrid::DataGridTable_Get(int, int)'
Orbiter.o: In function `DCE::Orbiter::StartCachingGrid(void*)':             /home/oc60174/oe/build/tmp/work/orbiter-13999.1.1-r0/Orbiter/Orbiter.cpp:475
3: undefined reference to `DesignObj_DataGrid::CacheGrid()'                 Orbiter.o: In function `DCE::Orbiter::GetLastScreenChangedTime()':
/home/oc60174/oe/build/tmp/work/orbiter-13999.1.1-r0/Orbiter/Orbiter.cpp:6837: undefined reference to `DCE::ScreenHistory::TimeCreated() const'
Orbiter.o: In function `DCE::Orbiter::StopSimulatorThread()':               /home/oc60174/oe/build/tmp/work/orbiter-13999.1.1-r0/Orbiter/Orbiter.cpp:706
0: undefined reference to `DCE::Simulator::GetInstance()'                   /home/oc60174/oe/build/tmp/work/orbiter-13999.1.1-r0/Orbiter/Orbiter.cpp:706
0: undefined reference to `DCE::Simulator::StopRandomEventGenerator()'      /home/oc60174/oe/build/tmp/work/orbiter-13999.1.1-r0/Orbiter/Orbiter.cpp:706
9: undefined reference to `DCE::Simulator::GetInstance()'                   /home/oc60174/oe/build/tmp/work/orbiter-13999.1.1-r0/Orbiter/Orbiter.cpp:707
2: undefined reference to `DCE::Simulator::m_pInstance'                     Orbiter.o: In function `DCE::Orbiter::CreateScreenHandler()':
/home/oc60174/oe/build/tmp/work/orbiter-13999.1.1-r0/Orbiter/Orbiter.cpp:8890: undefined reference to `ScreenHandler::ScreenHandler(DCE::Orbiter*, std::
map<int, int, std::less<int>, std::allocator<std::pair<int const, int> > >*)'
Orbiter.o: In function `DCE::Orbiter::ExecuteScreenHandlerCallback(CallBackType)':


It ends this way:
Code: newbielink:javascript:void(0); [nonactive]

Linux/win_list_manager.cpp:350: undefined reference to `WindowContext::Position()'
Linux/win_list_manager.cpp:351: undefined reference to `WindowContext::IsMaximized()'
Linux/win_list_manager.cpp:351: undefined reference to `WindowContext::IsFullScreen()'
Linux/win_list_manager.cpp:357: undefined reference to `WindowContext::IsActivated()'
Linux/win_list_manager.cpp:375: undefined reference to `WindowContext::ErrorFlag(bool)'
Linux/win_list_manager.cpp:297: undefined reference to `WindowContext::Layer()'
Linux/win_list_manager.cpp:300: undefined reference to `WindowContext::IsMaximized()'
Linux/win_list_manager.o: In function `WinListManager::ApplyContext(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
/home/oc60174/oe/build/tmp/cross/arm-linux/include/c++/bits/stl_tree.h:252: undefined reference to `WindowContext::IsErrorFlag()'
Linux/win_list_manager.o: In function `WinListManager::ApplyContext(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
Linux/win_list_manager.cpp:346: undefined reference to `WindowContext::IsMaximized()'
Linux/win_list_manager.cpp:345: undefined reference to `WindowContext::Layer()'
Linux/win_list_manager.cpp:347: undefined reference to `WindowContext::IsFullScreen()'
Linux/win_list_manager.cpp:347: undefined reference to `WindowContext::IsFullScreen()'
Linux/win_list_manager.cpp:303: undefined reference to `WindowContext::IsFullScreen()'
Linux/win_list_manager.cpp:307: undefined reference to `WindowContext::IsVisible()'
Linux/win_list_manager.o: In function `WinListManager::ApplyContext(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
/home/oc60174/oe/build/tmp/staging/arm-linux/include/SerializeClass/ShapesColors.h:181: undefined reference to `WindowContext::Position(PlutoRectangle)'
Linux/win_list_manager.o: In function `std::_Rb_tree<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, WindowContext>, std::_Select1st<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, WindowContext> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, WindowContext> > >::_M_erase(std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, WindowContext> >*)':
Linux/win_list_manager.cpp:396: undefined reference to `WindowContext::~WindowContext()'
collect2: ld returned 1 exit status
make: *** [Orbiter] Error 1
FATAL: oe_runmake failed


Help?

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Orbiter on Zaurus III
« Reply #20 on: January 17, 2007, 09:22:56 am »
Make sure the Makefile includes Simulator.cpp , WindowContext.cpp. See what other symbols are missing, do a grep in src/Orbiter and see what cpp files implement these missing functions and add them to the Makefile.

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Orbiter on Zaurus III
« Reply #21 on: January 19, 2007, 03:51:46 am »
Chris.m,
Ok, I finally got orbiter to compile. I compiled it with the fonts hardcoded like this:

Code: newbielink:javascript:void(0); [nonactive]

/usr/share/fonts/truetype/msttcorefonts/arial.ttf


Now when I run orbiter it still segfaults but doesn't complain about fonts. Here is the logfile:
Code: newbielink:javascript:void(0); [nonactive]

10 07/13/06 17:41:08.779 Device: 20 starting
10 07/13/06 17:41:08.902 Orbiter 0x244568 constructor
10 07/13/06 17:41:23.156 Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Event Dev #20
01 07/13/06 17:41:23.157 InternalSendCommand cannot send with return message.  type 1 id 688 to -2000 Going to quit
05 07/13/06 17:41:23.159 Orbiter reloading...
05 07/13/06 17:41:23.162 Orbiter quiting...
05 07/13/06 17:41:23.164 Got an on quit.  Pushing an event into SDL
05 07/13/06 17:41:23.166 Got an on quit.  Pushing an event into SDL
10 07/13/06 17:41:23.169 WizardLogic::Setup using host 192.168.80.1 ((nil))
13 07/13/06 17:41:23.165 Exiting MessageQueueThread_DCECI thread...
01 07/13/06 17:41:23.430 Connect failed Access denied for user: 'root@192.168.80.249' (Using password: NO)
10 07/13/06 17:41:23.504 Initialized SDL
10 07/13/06 17:41:23.515 Inside WatchDogThread
05 07/13/06 17:41:23.788 OrbiterLinux::InitializeAfterSetVideoMode() START
05 07/13/06 17:41:23.790 OrbiterLinux::InitializeAfterSetVideoMode()
10 07/13/06 17:41:23.791 OrbiterLinux::X11_Init()
10 07/13/06 17:41:23.792 SDL uses pDisplay=0x25e340, Window=39845900
10 07/13/06 17:41:23.794 OrbiterLinux::X11_Init() : X11wrapper
10 07/13/06 17:41:23.808 OrbiterLinux::X11_Init() : done
05 07/13/06 17:41:23.811 WinListManager::PendingContext: adding new entry Orbiter
10 07/13/06 17:41:23.813 WindowContext::Layer 'Orbiter' : LayerAbove
10 07/13/06 17:41:23.814 OrbiterLinux::InitializeAfterSetVideoMode() : HideOtherWindows
05 07/13/06 17:41:23.816 OrbiterLinux::HideOtherWindows: Hidding other windows...
10 07/13/06 17:41:24.126 WinListManager::GetWindows m_bExternalChange set
10 07/13/06 17:41:24.128 OrbiterLinux::HideOtherWindows, hidding SDL_App.SDL_App
05 07/13/06 17:41:24.129 WinListManager::PendingContext: adding new entry SDL_App.SDL_App
10 07/13/06 17:41:24.131 WindowContext::Visible 'SDL_App.SDL_App' : false
10 07/13/06 17:41:24.132 OrbiterLinux::InitializeAfterSetVideoMode() : done
10 07/13/06 17:41:24.133 Set video mode to 640 x 480 Window.
10 07/13/06 17:41:24.136 Created back screen surface!
05 07/13/06 17:41:24.152 Socket::ReceiveData m_Socket 21 m_bQuit_get()1
10 07/13/06 17:41:24.154 Socket::ReceiveString2 ReceiveData failed m_Socket: 21 Command_Impl1 Dev #20
01 07/13/06 17:41:24.155 Requesthandler 0x244568 (device: 20) lost connection. Command_Impl1 Dev #20
10 07/13/06 17:41:24.161 Connect OK
05 07/13/06 17:41:24.163 OrbiterLinux::Initialize()
05 07/13/06 17:41:24.164 Orbiter UI Version is 0
10 07/13/06 17:41:24.167 XRecordExtensionHandler::enableRecording(): Trying to change recording state: CurrentState[:ShouldRecord: 1, :IsRecording: 0]
10 07/13/06 17:41:24.169 XRecordExtensionHandler::enableRecording(): Waiting for state change. for condition: 0x281708
10 07/13/06 17:41:24.182 XRecordExtensionHandler::recordingThreadMainFunction(): pDisplay_ControlConnection=2608192, pDisplay_DataConnection=2759832 ->Opened
10 07/13/06 17:41:24.202 XRecordExtensionHandler::recordingThreadMainFunction(): Available XRecord extension with version 13.1.
10 07/13/06 17:41:24.205 XRecordExtensionHandler::recordingThreadMainFunction(): Enabling recording!!!
10 07/13/06 17:41:24.210 XRecordExtensionHandler::enableRecording(): State changed: CurrentState[:ShouldRecord: 1, :IsRecording: 1].
05 07/13/06 17:41:24.212 OrbiterLinux::reinitGraphics()
10 07/13/06 17:41:24.213 WindowContext::Visible 'Orbiter' : true
10 07/13/06 17:41:24.216 WindowContext::Maximize 'Orbiter' : true
10 07/13/06 17:41:24.217 WindowContext::Layer 'Orbiter' : LayerBelow
10 07/13/06 17:41:24.218 WindowContext::Activate 'Orbiter' : true
05 07/13/06 17:41:24.220 OrbiterLinux::Initialize() : done
10 07/13/06 17:41:24.221 Orbiter logic initialized!
10 07/13/06 17:41:24.235 Waiting for Maint thread to finish...
10 07/13/06 17:41:24.237 Done with Maint thread.
05 07/13/06 17:41:24.238 OrbiterLinux::Destroy()
10 07/13/06 17:41:24.241 Marking as quit
10 07/13/06 17:41:24.243 XRecordExtensionHandler::~XRecordExtensionHandler(): Disabling recording
10 07/13/06 17:41:24.244 XRecordExtensionHandler::enableRecording(): Trying to change recording state: CurrentState[:ShouldRecord: 0, :IsRecording: 1]
10 07/13/06 17:41:24.247 XRecordExtensionHandler::enableRecording(): Calling XRecord Disable: ShouldRecord: 0, IsRecording: 1
10 07/13/06 17:41:24.249 XRecordExtensionHandler::enableRecording():  XRecordDisableContext called: ShouldRecord: 0, IsRecording: 1
10 07/13/06 17:41:24.250 XRecordExtensionHandler::~XRecordExtensionHandler(): Signaling the condition
10 07/13/06 17:41:24.253 XRecordExtensionHandler::~XRecordExtensionHandler(): Joining the thread
10 07/13/06 17:41:24.257 XRecordExtensionHandler::recordingThreadMainFunction(): Recording completed!!!
05 07/13/06 17:41:24.259 XRecordExtensionHandler::recordingThreadMainFunction(): pDisplay_ControlConnection=2608192, pDisplay_DataConnection=2759832 ->Closing
05 07/13/06 17:41:24.266 XRecordExtensionHandler::recordingThreadMainFunction(): pDisplay_ControlConnection=2608192, pDisplay_DataConnection=2759832 ->Closed
10 07/13/06 17:41:24.268 XRecordExtensionHandler::~XRecordExtensionHandler(): Done
05 07/13/06 17:41:24.269 OrbiterLinux::Destroy() calling X11 Exit
10 07/13/06 17:41:24.270 OrbiterLinux::X11_Exit()
10 07/13/06 17:41:24.276 OrbiterLinux::X11_Exit() : done
05 07/13/06 17:41:24.278 OrbiterLinux::Destroy() deleting Window manager
05 07/13/06 17:41:24.279 WinListManager: deleting Window controller
05 07/13/06 17:41:24.281 OrbiterLinux::Destroy() : done
10 07/13/06 17:41:24.282 Orbiter  0x244568 is exiting
10 07/13/06 17:41:24.284 Maint thread dead
05 07/13/06 17:41:24.288 Socket::SendData socket is invalid
01 07/13/06 17:41:24.290 InternalSendCommand cannot send with return message.  type 1 id 255 to -1 Going to quit
05 07/13/06 17:41:24.292 Orbiter reloading...
05 07/13/06 17:41:24.293 Orbiter quiting...
05 07/13/06 17:41:24.294 Got an on quit.  Pushing an event into SDL
05 07/13/06 17:41:24.301 Got an on quit.  Pushing an event into SDL
10 07/13/06 17:41:24.303 about to free surface
10 07/13/06 17:41:24.304 ~OrbiterRenderer_SDL finished
10 07/13/06 17:41:24.309 Waiting for message queue thread to quit
10 07/13/06 17:41:24.311 Message queue thread quit
10 07/13/06 17:41:24.312 Message queue thread joined
10 07/13/06 17:41:24.355 ~Command_Impl finished
13 07/13/06 17:41:24.357 RequestSocket::Disconnect 0x244568 device: 20
05 07/13/06 17:41:24.358 void ClientSocket::Disconnect() on this socket: 0x244568 (m_Socket: 21)
01 07/13/06 17:41:24.362 error returned by : CreateOrbiter()
10 07/13/06 17:41:24.364 SDL_App_Object::Destroy()
10 07/13/06 17:41:24.366 SDL_Event_Loop_End()


Ideas?

Rob[/quote]

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Orbiter on Zaurus III
« Reply #22 on: January 19, 2007, 09:04:34 am »
There seems to be two issues:
1)
Quote
01   07/13/06 17:41:23.430      Connect failed Access denied for user: 'root@192.168.80.249' (Using password: NO)[0

I think this is because you'll have to grant privileges in mysql like this:
Code: newbielink:javascript:void(0); [nonactive]
grant all privileges on *.* to 'root'@'192.168.80.249';
(go to your core's console, type mysql and execute that command).

2)
Quote
10   07/13/06 17:41:23.156      Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Event Dev #20

I'm not sure about this one, but it might be related to the first one. This happens when orbiter sends a message with confirmation to a device/plugin and that device doesn't respond. You could compare DCERouter.log when this happens and see what is the problem.

Best regards,
Cristian Miron

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Orbiter on Zaurus III
« Reply #23 on: January 19, 2007, 04:34:30 pm »
Chris.m,
Number 1 confused me a bit because I was running Orbiter as a user, not sure why it tried connecting as root? I'll give it a try tonight and let you know how it goes.

Rob

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Orbiter on Zaurus III
« Reply #24 on: January 20, 2007, 03:30:51 am »
Chris.m,
Ok, I did the mysql thing, now Orbiter just hangs. This is what I get in the orbiter.log:
Code: newbielink:javascript:void(0); [nonactive]

10      07/13/06 8:15:30.995         Device: 20 Starting
10      07/13/06 8:15:31.017         Orbiter 0x244568 constructor


And this is what I get in DCERouter.log:
Code: newbielink:javascript:void(0); [nonactive]

13      01/19/07 19:02:34.299           TCPIP: Accepting incoming connection on socket 1469, port 3450, from IP 192.168.80.249.
01      01/19/07 19:02:34.299           Pthread create returned 12 Incoming_Conn Socket 1469 192.168.80.249 dev -1 ptr 0xafb3fc78                      


In the DCERouter.log I also get a whole bunch of this:
Code: newbielink:javascript:void(0); [nonactive]

10      01/19/07 19:03:07.761           PnpQueue::Run queue 114 blocked 7 time 1168318875 now 1169251387 by 0
10      01/19/07 19:03:07.761           PnpQueue::Run queue 135 blocked 7 time 1168318875 now 1169251387 by 0
10      01/19/07 19:03:07.761           PnpQueue::Run queue 178 blocked 7 time 1168318875 now 1169251387 by 0
10      01/19/07 19:03:07.761           PnpQueue::Run queue 195 blocked 7 time 1168318875 now 1169251387 by 0
10      01/19/07 19:03:07.761           PnpQueue::Run queue 385 blocked 7 time 1168318875 now 1169251387 by 0
10      01/19/07 19:03:07.761           PnpQueue::Run queue 386 blocked 7 time 1168318875 now 1169251387 by 0
10      01/19/07 19:03:07.761           PnpQueue::Run queue 599 blocked 7 time 1168318875 now 1169251387 by 0
10      01/19/07 19:03:07.761           PnpQueue::Run queue 600 blocked 7 time 1168318875 now 1169251387 by 0
10      01/19/07 19:03:07.761           PnpQueue::Run queue 816 blocked 7 time 1168318875 now 1169251387 by 0
10      01/19/07 19:03:07.761           PnpQueue::Run queue 862 blocked 7 time 1168318875 now 1169251387 by 0


Not sure what this means...

Rob

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Orbiter on Zaurus III
« Reply #25 on: January 22, 2007, 09:00:59 am »
Hi,

Orbiter should download from core the configuration file and then parse it (in DCERouter you should see a "Request File And Checksum" command). If you don't see it, it might be a problem with X11 commands, like those for window controller. You can deactivate them by typing a return at the beginning of WinListManager::ApplyContext from src/Orbiter/Linux/win_list_manager.cpp. Also, you can compile it with -DDEBUG to get more info.
If none of these helps you, use gdb -p <pid_of_orbiter> to find out more.

Best regards,
Cristian Miron

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Failed again...
« Reply #26 on: February 01, 2007, 04:53:10 am »
It looks pretty similar except for the access denied is not there any more. Here is the log:

Code: newbielink:javascript:void(0); [nonactive]

10 01/29/07 2:42:45.320 Device: 20 starting
10 01/29/07 2:42:45.450 Orbiter 0x244568 constructor
10 01/29/07 2:42:59.687 Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Event Dev #20
01 01/29/07 2:42:59.689 InternalSendCommand cannot send with return message.  type 1 id 688 to -2000 Going to quit
05 01/29/07 2:42:59.690 Orbiter reloading...
05 01/29/07 2:42:59.692 Orbiter quiting...
05 01/29/07 2:42:59.693 Got an on quit.  Pushing an event into SDL
05 01/29/07 2:42:59.695 Got an on quit.  Pushing an event into SDL
10 01/29/07 2:42:59.699 WizardLogic::Setup using host 192.168.80.1 ((nil))
13 01/29/07 2:42:59.696 Exiting MessageQueueThread_DCECI thread...
10 01/29/07 2:42:59.806 Initialized SDL
10 01/29/07 2:42:59.817 Inside WatchDogThread
05 01/29/07 2:43:00.114 OrbiterLinux::InitializeAfterSetVideoMode() START
05 01/29/07 2:43:00.116 OrbiterLinux::InitializeAfterSetVideoMode()
10 01/29/07 2:43:00.118 OrbiterLinux::X11_Init()
10 01/29/07 2:43:00.120 SDL uses pDisplay=0x264c08, Window=41943052
10 01/29/07 2:43:00.121 OrbiterLinux::X11_Init() : X11wrapper
10 01/29/07 2:43:00.131 OrbiterLinux::X11_Init() : done
05 01/29/07 2:43:00.133 WinListManager::PendingContext: adding new entry Orbiter
10 01/29/07 2:43:00.134 WindowContext::Layer 'Orbiter' : LayerAbove
10 01/29/07 2:43:00.135 OrbiterLinux::InitializeAfterSetVideoMode() : HideOtherWindows
05 01/29/07 2:43:00.137 OrbiterLinux::HideOtherWindows: Hidding other windows...
10 01/29/07 2:43:00.266 WinListManager::GetWindows m_bExternalChange set
10 01/29/07 2:43:00.268 OrbiterLinux::HideOtherWindows, hidding SDL_App.SDL_App
05 01/29/07 2:43:00.269 WinListManager::PendingContext: adding new entry SDL_App.SDL_App
10 01/29/07 2:43:00.271 WindowContext::Visible 'SDL_App.SDL_App' : false
10 01/29/07 2:43:00.272 OrbiterLinux::InitializeAfterSetVideoMode() : done
10 01/29/07 2:43:00.273 Set video mode to 640 x 480 Window.
10 01/29/07 2:43:00.275 Created back screen surface!
05 01/29/07 2:43:00.292 Socket::ReceiveData m_Socket 22 m_bQuit_get()1
10 01/29/07 2:43:00.294 Socket::ReceiveString2 ReceiveData failed m_Socket: 22 Command_Impl1 Dev #20
01 01/29/07 2:43:00.295 Requesthandler 0x244568 (device: 20) lost connection. Command_Impl1 Dev #20
10 01/29/07 2:43:00.305 Connect OK
05 01/29/07 2:43:00.307 OrbiterLinux::Initialize()
05 01/29/07 2:43:00.308 Orbiter UI Version is 0
10 01/29/07 2:43:00.311 XRecordExtensionHandler::enableRecording(): Trying to change recording state: CurrentState[:ShouldRecord: 1, :IsRecording: 0]
10 01/29/07 2:43:00.312 XRecordExtensionHandler::enableRecording(): Waiting for state change. for condition: 0x27f3e0
10 01/29/07 2:43:00.327 XRecordExtensionHandler::recordingThreadMainFunction(): pDisplay_ControlConnection=2618424, pDisplay_DataConnection=2769904 ->Opened
10 01/29/07 2:43:00.332 XRecordExtensionHandler::recordingThreadMainFunction(): Available XRecord extension with version 13.1.
10 01/29/07 2:43:00.337 XRecordExtensionHandler::recordingThreadMainFunction(): Enabling recording!!!
10 01/29/07 2:43:00.342 XRecordExtensionHandler::enableRecording(): State changed: CurrentState[:ShouldRecord: 1, :IsRecording: 1].
05 01/29/07 2:43:00.345 OrbiterLinux::reinitGraphics()
10 01/29/07 2:43:00.346 WindowContext::Visible 'Orbiter' : true
10 01/29/07 2:43:00.348 WindowContext::Maximize 'Orbiter' : true
10 01/29/07 2:43:00.349 WindowContext::Layer 'Orbiter' : LayerBelow
10 01/29/07 2:43:00.350 WindowContext::Activate 'Orbiter' : true
05 01/29/07 2:43:00.351 OrbiterLinux::Initialize() : done
10 01/29/07 2:43:00.353 Orbiter logic initialized!
10 01/29/07 2:43:00.356 Waiting for Maint thread to finish...
10 01/29/07 2:43:00.358 Done with Maint thread.
05 01/29/07 2:43:00.359 OrbiterLinux::Destroy()
10 01/29/07 2:43:00.361 Marking as quit
10 01/29/07 2:43:00.362 XRecordExtensionHandler::~XRecordExtensionHandler(): Disabling recording
10 01/29/07 2:43:00.365 XRecordExtensionHandler::enableRecording(): Trying to change recording state: CurrentState[:ShouldRecord: 0, :IsRecording: 1]
10 01/29/07 2:43:00.367 XRecordExtensionHandler::enableRecording(): Calling XRecord Disable: ShouldRecord: 0, IsRecording: 1
10 01/29/07 2:43:00.370 XRecordExtensionHandler::enableRecording():  XRecordDisableContext called: ShouldRecord: 0, IsRecording: 1
10 01/29/07 2:43:00.372 XRecordExtensionHandler::~XRecordExtensionHandler(): Signaling the condition
10 01/29/07 2:43:00.373 XRecordExtensionHandler::~XRecordExtensionHandler(): Joining the thread
10 01/29/07 2:43:00.377 XRecordExtensionHandler::recordingThreadMainFunction(): Recording completed!!!
05 01/29/07 2:43:00.379 XRecordExtensionHandler::recordingThreadMainFunction(): pDisplay_ControlConnection=2618424, pDisplay_DataConnection=2769904 ->Closing
05 01/29/07 2:43:00.386 XRecordExtensionHandler::recordingThreadMainFunction(): pDisplay_ControlConnection=2618424, pDisplay_DataConnection=2769904 ->Closed
10 01/29/07 2:43:00.388 XRecordExtensionHandler::~XRecordExtensionHandler(): Done
05 01/29/07 2:43:00.389 OrbiterLinux::Destroy() calling X11 Exit
10 01/29/07 2:43:00.391 OrbiterLinux::X11_Exit()
10 01/29/07 2:43:00.395 OrbiterLinux::X11_Exit() : done
05 01/29/07 2:43:00.397 OrbiterLinux::Destroy() deleting Window manager
05 01/29/07 2:43:00.399 WinListManager: deleting Window controller
05 01/29/07 2:43:00.402 OrbiterLinux::Destroy() : done
10 01/29/07 2:43:00.403 Orbiter  0x244568 is exiting
10 01/29/07 2:43:00.405 Maint thread dead
05 01/29/07 2:43:00.409 Socket::SendData socket is invalid
01 01/29/07 2:43:00.411 InternalSendCommand cannot send with return message.  type 1 id 255 to -1 Going to quit
05 01/29/07 2:43:00.412 Orbiter reloading...
05 01/29/07 2:43:00.413 Orbiter quiting...
05 01/29/07 2:43:00.415 Got an on quit.  Pushing an event into SDL
05 01/29/07 2:43:00.421 Got an on quit.  Pushing an event into SDL
10 01/29/07 2:43:00.422 about to free surface
10 01/29/07 2:43:00.423 ~OrbiterRenderer_SDL finished
10 01/29/07 2:43:00.430 Waiting for message queue thread to quit
10 01/29/07 2:43:00.432 Message queue thread quit
10 01/29/07 2:43:00.434 Message queue thread joined
10 01/29/07 2:43:00.456 ~Command_Impl finished
13 01/29/07 2:43:00.459 RequestSocket::Disconnect 0x244568 device: 20
05 01/29/07 2:43:00.460 void ClientSocket::Disconnect() on this socket: 0x244568 (m_Socket: 22)
01 01/29/07 2:43:00.462 error returned by : CreateOrbiter()
10 01/29/07 2:43:00.464 SDL_App_Object::Destroy()
10 01/29/07 2:43:00.466 SDL_Event_Loop_End()

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Orbiter on Zaurus III
« Reply #27 on: February 01, 2007, 09:24:08 am »
Hi Rob,

The first command orbiter is sending to DCERouter when it starts is "Get Remote Control Mapping" command (id #688), but the router doesn't seem to respond:

Quote
10   01/29/07 2:42:59.687      Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Event Dev #20
01   01/29/07 2:42:59.689      InternalSendCommand cannot send with return message.  type 1 id 688 to -2000 Going to quit


We'll need to investigate this. Maybe it's a serialization problem, we'll have to find. Going with small steps, we'll have to compile MessageSend tool (src/MessageSend) which does nothing else but to send a command to the router. After compiling it, on zaurus, run it with the following arguments:
./MessageSend dcerouter -r -o 0 7 1 688

Let me know if this works and also send me the lines of log from router when this happens.

Best regards,
Cristian Miron