Preventing loading of modules

Magnus Therning magnus at therning.org
Fri Apr 29 08:30:51 UTC 2005


On Thu, Apr 28, 2005 at 04:27:41PM -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.

Putting them in a file located in /etc/hotplub/blacklist.d/ should have
the same effect as adding them in /etc/hotplub/blacklist.

Nevertheless I added them to /etc/hotplug/blacklist. That had no effect
either!

/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.

We act as though comfort and luxury were the chief requirements of
life, when all that we need to make us happy is something to be
enthusiastic about.
     -- Albert Einstein
-------------- 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/19475132/attachment.sig>


More information about the ubuntu-users mailing list