System wait for a connection before start my application
I had write a custom application in C language to control a inkjet printer; this software works on this hardware:
1) Motherboard Avalue EPI-LX800 (Geode processor)
2) Custom PCI board to interface Motherboard with printer head
We have build a custom distro with Pengutronix application.
The printer work fine but we have the following problem:
1) At the end of system boot, our application in launch automatically
2) During this phase, if we haven't a network connection attached, or we have a network connection to a PC via crosscable, the system goes in a wait state. A simple plug/unplug of the network cable, or attaching a mouse or keyboard (PS2 or USB), awake system from wait state and system complete start correctly.
If the system have a network connection attached to a switch / hub of a domain with DNS server the system doesn't go on wait state and application start correctly without the need of plug/unplug network cable.
I don't understand which is the item that system wait for whe it is on "wait state previously described". Can someone help me to find problem ?
Thanks in advance.