Preventing loading of modules

Magnus Therning magnus at therning.org
Fri Apr 29 08:32:50 UTC 2005


On Fri, Apr 29, 2005 at 03:54:20AM +0300, ZIYAD A. M. AL-BATLY wrote:
>On Thu, 2005-04-28 at 16:27 -0700, Bob Nielsen wrote:
>> On Thu, 2005-04-28 at 20:12 +0100, Magnus Therning wrote:
>> > I've just installed Hoary on my laptop. I noticed that the following two
>> > modules get loaded automatically:
>> > 
>> > sony_acpi               6280  0 
>> > pcc_acpi               11264  0 
>> > 
>> > Since the laptop is neither a Sony nor a Panasonic I'd like to prevent
>> > them being loaded. I've put the following in
>> > /etc/hotplug/blacklist.d/local:
>> > 
>> >  sony_acpi
>> >  pcc_acpi
>> > 
>> > I've also put the following in /etc/discover.d/local:
>> > 
>> >  skip sony_acpi
>> >  skip pcc_acpi
>> > 
>> > Still both modules are loaded at boot :(
>> > 
>> > Any ideas?
>> 
>> Try adding them to /etc/hotplug/blacklist.
>> 
>> 
>And if that didn't work (maybe because they are not loaded by hotplug?),

What else besides hotplug and discover loads modules?

>add the following to "/etc/modules":
>        alias sony_acpi off
>        alias pcc_acpi off

I'll give it a try.

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://magnus.therning.org/

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Some operating systems are called 'user friendly', Linux however is
'expert friendly'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050429/7bf593cb/attachment.sig>


More information about the ubuntu-users mailing list