Re: Best practice for loading platform modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 29, 2009 at 03:53:53PM -0400, Chris Hallinan wrote:
> On Wed, Apr 29, 2009 at 3:46 PM, Kay Sievers <kay.sievers@xxxxxxxx> wrote:
> > On Wed, Apr 29, 2009 at 21:35, Chris Hallinan <challinan@xxxxxxxxx> wrote:
> >
> >> Erm, I am the distro maintainer!

Heh, my condolences...

You should possibly post from your company email address if you expect
us to know this, gmail.com doesn't exactly specify much :)

> >> I tried just today w/ 2.6.29.  The
> >> problem seems like a mismatch.  Kernel passes "platform:musb_hdrc".
> >> Udev receives and passes same to modprobe.  The answer I'm seeking is
> >> "what is the correct/proper approach?"  Should I seek to modify the
> >> kernel and remove the "platform:" prefix, or should I seek a
> >> modification to modprobe to be able to understand and strip off the
> >> "platform:" prefix?  Or should udev have a construct/rules syntax to
> >> strip the "platform:" prefix?
> >
> > The module itself, if that's still needed.
> >
> 
> OK, the light bulb just came on!
> 
> Thanks, Kay, and Greg for hanging in there with me.  I added
> MODULE_ALIAS("platform:musb_hdrc) to musb_core.c, and all works as advertised.

But that alias is already there, it was added in the 2.6.27-rc kernel,
in commit 550a7375.

So I'm confused as to why 2.6.29 would not work properly for you.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux