Preventing loading of modules

ZIYAD A. M. AL-BATLY zamb at spymac.com
Fri Apr 29 00:54:20 UTC 2005


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?),
add the following to "/etc/modules":
        alias sony_acpi off
        alias pcc_acpi off


Ziyad.





More information about the ubuntu-users mailing list