On Sat, 25 Aug 2012 20:11:53 +0200, Michael Haberler wrote: > ... > > In particular, it tries to start TASK, EMCIO plus linuxcncserver even > if there is no ini section telling it to do so. For extra confusion, > even if you dont have an EMCIO section, iocontrol gets started but > fails miserably because it wont find a tool table. > > My suggestions longer term are: > > 1. a component not specified in the ini does not get started. Only > arguable exceptions I could think of: RTAPI.
I would vote not to make an exception for that. Think Linux-preempt and simulation mode. > 2. as for linuxcncserver: that could be started if NML is clearly > used, e.g. if TASK and EMCIO are specified. Do you have/can you generate/ a useful dependency graph from the components? > 3. ALL guis, not just Axis, need to eventually learn how to start a > POSTGUI_HALFILE if there is any chance itself or a subprocess creates > additional HAL objects. To do so, they need to understand that they > are the primary UI component. This suggests a per-ui command line > flag > like '--primary-ui'. OK. can you think of a generic way to do this? I have not wrapped my head around this yet, but wouldn't it be possible to start some new commands in hal and then access them via an environment or some other generic interface? > ... > > For now I will do 1) and 2) for linuxcnc.in, 3) for gladevcp, and 4) > for gladevcp and will give a complete ini config for a Gladevcp+HAL > application, plus a cursory check of all the configs such that TASK > and EMCIO sections are completely specified. > > I'll merge that into master and when the dust settles it could be > backpatched into v2.5ff . and Michael for the win ;-) This all sounds good to me. EBo -- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
