On 6/12/06, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:
On Monday 12 June 2006 11:46, Richard Fish wrote:
> The most reliable method I have found is to remove the ipwNNNN lines
> from /lib/modules/`uname -r`/modules.alias and modules.pcimap.

Surely they must have plans to make this possible in a config file? Anyway it
works. Thx.

Ok, here is the 'correct' way to do it (I was too lazy to figure it
out until now...)

In /lib/modules/`uname -r`/modules.alias, you will find lines for the
ipw adapter liike this (run depmod -a to regenerate this file after
following my previous advice)

alias pci:v00008086d00004222sv*sd*bc*sc*i* ipw3945
alias pci:v00008086d00004227sv*sd*bc*sc*i* ipw3945

Add those same lines to a file in /etc/modules.d/.  I used ipw3945,
you will probably want ipw2100:

grep ipw /lib/modules/`uname -r`/modules.alias >>/etc/modules.d/ipw3945

Now edit the /etc/modules.d/ file and change the last setting from
ipw3945/ipw2100 to 'off':

carcharias rjf # grep alias /etc/modules.d/ipw3945
alias pci:v00008086d00004222sv*sd*bc*sc*i* off
alias pci:v00008086d00004227sv*sd*bc*sc*i* off

Now run modules-update, and udev should no longer load the module for
the ipw adapater.

HTH,
-Richard

--
gentoo-user@gentoo.org mailing list

Reply via email to