Thread (8 messages) 8 messages, 3 authors, 2012-04-19

Can request_firmware be called from a platform_driver ?

From: Holmes, Michael A Mike <hidden>
Date: 2012-04-18 18:07:44

Hi

I have a fully working system to which I want to add the request firmware mechanism to an existing platform driver I have working.
I instrumented mdev in busybox 1.5.1 and in firmware_class.c 2.6.35 so that I could figure this out.

What I see with firmware_request() is that the kernel makes the firmware request and does not find any firmware and mdev sees nothing.
However if I change my code to do request_firmare_nowait(), the entire system comes up and about 30seconds in the timeout calls my kernel side continue for request_firmare_nowait() and I DO now see my request handled by mdev, however it is a REMOVE request not the ADD request.


All this makes me think that platform drivers exist before the hotplug mechanism is able to operate, is this true ?

Many thanks

Mike


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120418/368edd49/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help