From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 29 Apr 2009 18:11:35 +0000 Subject: Re: Best practice for loading platform modules Message-Id: <20090429181135.GB29909@kroah.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Apr 29, 2009 at 02:05:37PM -0400, Chris Hallinan wrote: > I have an OMAP3 board, and want usb (host mode) configured as a > loadable module. Using a generic rule such as this: > RUN+="/sbin/modprobe -b $env{MODALIAS}" > > ends up passing "platform:musb_hdrc" to modprobe, which obviously > fails. Why would that fail? Do you have the proper modalias in the kernel module to handle this? If not, can you add it? thanks, greg k-h