The error message is: Starting advanced power management daemon: No APM support in kernel (failed.) The problem is that CONFIG_APM is not enabled in kernel, but the MACHINE_FEATURES contains 'apm'. meta/conf/machine/include/qemu.inc:MACHINE_FEATURES = "apm alsa pcmcia bluetooth irda usbgadget screen" meta-yocto-bsp/conf/machine/beagleboard.conf:MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa" The apmd package is installed because MACHINE_FEATURES contains 'apm', but CONFIG_APM is not enabled, and there's no corresponding kernel configuration fragment. //Chen Qi
Let's just update the fragments to contain the right modules, and not over design a solution to this. We already have bugzilla entries around mapping machine features -> fragments, and the balancing of the BSPs need to specify what it actually supports, versus the abstraction of a build system turning on functionality that can't actually work on the board .. simply because a recipe or high level function asks for it. That's 1.6 and beyond work. For now, let's just tweak the config appropriately.
Any reason not to drop apm from the qemu MACHINE_FEATURES, instead of adding it into the kernel config? Richard believes that it's only useful on older x86 and older arm, and mostly dead at point, it not useful in the virtual environments and questionable in beagleboard. No not adding it to kernel would be better. I am going to do a review of apmd and it's general usefulness.
Yocto-bsp http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0ca5d1fb38157564a2b9452ade32391d18a41b09 beagle board http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b04b6f96fd88c0583fc135efe2bf06d16e0cdb5d qemu http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5c5a3bf19ca60be4e5957696d000a8340740192a