On Mon, Jul 21, 2008 at 4:29 PM, Tomas Winkler <tomasw@xxxxxxxxx> wrote: > On Mon, Jul 21, 2008 at 4:04 PM, drago01 <drago01@xxxxxxxxx> wrote: >> On Mon, Jul 21, 2008 at 2:37 PM, Tomas Winkler <tomasw@xxxxxxxxx> wrote: >>> On Mon, Jul 21, 2008 at 10:18 AM, Tomas Winkler <tomasw@xxxxxxxxx> wrote: >>>> On Mon, Jul 21, 2008 at 4:25 AM, Henrique de Moraes Holschuh >>>> <hmh@xxxxxxxxxx> wrote: >>>>> On Mon, 21 Jul 2008, Tomas Winkler wrote: >>>>>> This series of patches renames iwl4965 driver to iwlagn driver >>>>> >>>>> Maybe MODULE_ALIAS with the old name would be a good idea? >>>> >>>> I wasn't aware of this one I'll give it a try. Thanks >>> >>> It doesn't work much >>> if I rename the module name to iwlagn.ko and just add >>> MODULE_ALIAS("iwl4965") or alias line in /etc/modprobe.conf. I've >>> checked modules.alias it's updated. >>> Still modprobe iwl4965 cannot catch it. >>> So it's still will create mess when switching between to version of the kernel. >> >> thats odd ... just tested it with a webcam driver (m5602 added >> MODULE_ALIAS("bisoncam") and it worked) >> does modinfo iwlagn list the alias? > > yes it does show the alias but modprobe fails with Module iwl4965 not > found. I did strace it's really reads the modules.alias but found > nothing > Hope I'm wasting my time on some stupid typo...just cannot find it :) > > Tomas Okay I resolved the problem. I put iwlagn to blacklist as a little hack for development so it won't be loaded during boot. While for not aliases modprobe works even if the modules is in blacklist this is not the case for aliases. Thanks for the help. Now I can release the 3rd patch with rename. Tomas > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html