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 21:15, Chris Hallinan <challinan@xxxxxxxxx> wrote:

> # modprobe -n -v musb_hdrc
> insmod /lib/modules/2.6.24_mvl5024/kernel/drivers/usb/core/usbcore.ko
> insmod /lib/modules/2.6.24_mvl5024/kernel/drivers/usb/musb/musb_hdrc.ko

The kernel module itself needs an alias like this:
  modinfo pcspkr
  filename:
/lib/modules/2.6.30-rc3-00425-g27b1833-dirty/kernel/drivers/input/misc/pcspkr.ko
  alias:          platform:pcspkr
  license:        GPL
  description:    PC Speaker beeper driver
  ...

If it does not show that, you need to add it to the kernel module
itself, as Greg pointed out earlier with the MODULE_ALIAS() thing.

Thanks,
Kay
--
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