Gentoo Archives: gentoo-user

From: marco restelli <mrestelli@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: preventing a module from being loaded
Date: Sun, 11 Feb 2007 17:03:12
Message-Id: bf36c5560702110855n43e12f72uf59d8aaeace5d60a@mail.gmail.com
In Reply to: [gentoo-user] Re: preventing a module from being loaded by Remy Blank
1 On 2/10/07, Remy Blank <remy.blank@×××××.com> wrote:
2 > (Sorry if this appears twice, but I sent the message three hours ago and
3 > it hasn't appeared on the list yet)
4 >
5 > marco restelli wrote:
6 > > Now, at boot, the module bcm43xx is loaded, while
7 > > I have been using ndiswrapper.
8 >
9 > I had the same problem here. You can block the automatic loading of the
10 > module by udev as follows:
11 >
12 > Find out the module alias used by udev:
13 >
14 > cat /sys/class/net/wlan0/device/modalias
15 >
16 > (Replace wlan0 by the name of your interface). Here this gives:
17 >
18 > pci:v000014E4d00004324sv00001028sd00000003bc02sc80i00
19 >
20 > Create the file /etc/modules.d/blacklist with the following content:
21 >
22 > alias pci:v000014E4d00004324sv00001028sd00000003bc02sc80i00 off
23 >
24 > (Use the alias you got with the command above). Then run modules-update.
25
26 Remy, it works. Thanks very much.
27
28 >
29 > Easy, isn't it? ;-)
30
31 Uh, I am glad we have this great mailing list and great community!
32 Marco
33 --
34 gentoo-user@g.o mailing list