On Mon, Oct 12, 2015 at 01:50:47PM +0200, Hans Verkuil wrote:
Yet the rc-cec is a module in the filesystem, but it doesn't seem to be loaded automatically - even after the system has booted, the module hasn't been loaded.
It looks like it _should_ be loaded, but this plainly isn't working:
map = seek_rc_map(name);
#ifdef MODULE
This is the problem. MODULE is only set when _this_ file is built as a module. If this is built in, but your rc maps are modules, then they won't get loaded because this symbol will not be defined.
It needs to be CONFIG_MODULES - and when it is, the rc-cec module is automatically loaded.