You are not logged in.

#1 2011-07-04 17:25:24

glenn69
Member
Registered: 2007-09-26
Posts: 125

[SOLVED] Module blacklist not working using .conf

I am trying to blacklist usblp so that my usb printer will function.

I have created the file:   /etc/modprobe.d/.conf

with the following contents:

blacklist usblp

The module usblp continues to load at boot.  What am I missing in this process?

Thanks

Last edited by glenn69 (2011-07-04 17:41:50)

Offline

#2 2011-07-04 17:29:18

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: [SOLVED] Module blacklist not working using .conf

Using only blacklist let the module be loaded when it's needed by another module though.

Use

install usblp /bin/false

instead

Source: http://www.archlinux.org/news/changes-t … cklisting/

Offline

#3 2011-07-04 17:31:11

glenn69
Member
Registered: 2007-09-26
Posts: 125

Re: [SOLVED] Module blacklist not working using .conf

install usblp /bin/false

I did try that as well with the same results

Offline

#4 2011-07-04 17:34:34

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: [SOLVED] Module blacklist not working using .conf

# mv /etc/modprobe.d/.conf /etc/modprobe.de/blacklist.conf

OR

Write it into /etc/modprobe.d/modprobe.conf

Offline

#5 2011-07-04 17:40:16

glenn69
Member
Registered: 2007-09-26
Posts: 125

Re: [SOLVED] Module blacklist not working using .conf

I followed the wiki and named the file .conf, however that did not seem to work.  It works when I renamed the file modprobe.conf.

Thanks for the help

Offline

#6 2011-07-04 17:43:18

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: [SOLVED] Module blacklist not working using .conf

man modprobe.d:

All  files underneath the /etc/modprobe.d directory which end with the .conf extension specify those options as required. (the /etc/modprobe.conf file can also be used if  it  exists, but  that  will  be removed in a future version)

.conf is just the extension that is required for files under /etc/modprobe.d/
You can also see that modprobe.conf will be removed in the future.

Offline

#7 2011-07-04 18:05:24

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Module blacklist not working using .conf

If you got incorrect information from the wiki, correct it.

Offline

Board footer

Powered by FluxBB