On Fri, Apr 5, 2013 at 6:16 PM, Hans Beckérus <[email protected]>wrote:
> > > On Fri, Apr 5, 2013 at 5:51 PM, Paul Eggleton < > [email protected]> wrote: > >> On Friday 05 April 2013 16:13:32 Hans Beckérus wrote: >> > On Fri, Apr 5, 2013 at 3:59 PM, Gary Thomas <[email protected]> wrote: >> > > As for the timing, maybe I've just been very lucky :-) I can see that >> > > if the device isn't present when the system runs 'ifup eth0' (or the >> > > equivalent) you'll have a problem. That's what connman is for - I >> don't >> > > use it, but it might help you out. >> > >> > I should take a look at it. But it already sounds like something much >> > bigger than this simple system should really need. >> > Thanks for all the help so far. If anything else comes to your mind, >> please >> > tell me. I guess I will have to live with my Q&D patch for now ;) >> >> One other possibility I can think of would be using a udev rule to run a >> script when the actual hardware detection/insertion event happens. >> >> Cheers, >> Paul >> >> > Yea. In this case mdev. But I guess mdev as provided by poky/busybox > should provide this facility too? > But I can no see any mdev configuration files :( > > Ah. Found it in busybox config. CONFIG_FEATURE_MDEV_CONF=y should do the trick. Also CONFIG_FEATURE_MDEV_EXEC is needed to run a script I think. Hans
_______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
