[haiku-development] Re: USB cannot find host controllers modules at boot time.

Siarzhuk Zharski <zharik@xxxxxx> wrote:
> Of course, I have all those host controller binaries at right place, 
> but 
> see the "**USB Stack: no bus managers available\n**" message in my 
> syslog during boot time.  I have also created links to ehci,ohci and 
> uhci binaries in "...../add-ons/kernel/boot/" subdirectory. It 
> doesn't 
> help. Looks like modules iteration functions do not working at boot 
> time. Are there any alternatives that work in such circumstances? As 
> solution we can replace that code with direct loading of ehci, ohci 
> and 
> uhci controller modules?

This is what the comment to open_module_list() in module.cpp says:
/**     [...]
 *      During early boot, when there is no boot device accessible,
 *      it will only find built-in modules, not those that have
 *      been preloaded - use get_next_loaded_module_name() instead
 *      if you need to have a list of loaded modules.
 *      ToDo: this could be changed
 */

If you don't want to do it yourself, I could probably pretty pleased 
into doing this soon :-)

Bye,
   Axel.


Other related posts: