Kodi Community Forum

Full Version: [LINUX] How do I edit blacklist.conf?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've spent all day trying different versions of live and ubuntu and I'm finally almost done. I've just ran into one problem I can't find by searching.

I have this wireless USB adapter:
http://www.newegg.com/Product/Product.as...6833166025

No matter what I tried it wouldn't work. Then I found these posts:
http://www.newegg.com/Product/ProductRev...th%20Linux

Which led me to this post:
http://ubuntuforums.org/showpost.php?p=8...ostcount=8

However this is my problem. I can't access blacklist.conf. If I use nano it just opens up a blank file.

I used FileZilla to confirm the file existed, and it already has this in it:

Code:
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2

# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp

# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr

# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac

However I can't edit it in FileZilla either, it says I don't have the proper permissions.

I've tried using "sudo su" to run it as ROOT but the file still appeared blank.

Any ideas? Thanks in advance!
Maconi Wrote:I've spent all day trying different versions of live and ubuntu and I'm finally almost done. I've just ran into one problem I can't find by searching.

I have this wireless USB adapter:
http://www.newegg.com/Product/Product.as...6833166025

No matter what I tried it wouldn't work. Then I found these posts:
http://www.newegg.com/Product/ProductRev...th%20Linux

Which led me to this post:
http://ubuntuforums.org/showpost.php?p=8...ostcount=8

However this is my problem. I can't access blacklist.conf. If I use nano it just opens up a blank file.

I used FileZilla to confirm the file existed, and it already has this in it:

Code:
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2

# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp

# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr

# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac

However I can't edit it in FileZilla either, it says I don't have the proper permissions.

I've tried using "sudo su" to run it as ROOT but the file still appeared blank.

Any ideas? Thanks in advance!

did you login as root with filezilla?

sudo nano /etc/modprobe.d/blacklist.conf <-- does it have .conf or just blacklist

also i recommend winscp+putty
Show us the actual commands you used to try and edit it from the console.
m3g4tr0n Wrote:did you login as root with filezilla?

sudo nano /etc/modprobe.d/blacklist.conf <-- does it have .conf or just blacklist

also i recommend winscp+putty
I tried both (with and without .conf).

How do you login as ROOT with FileZilla?

tslayer Wrote:Show us the actual commands you used to try and edit it from the console.

Code:
sudo nano etc/modprobe.d/blacklist
sudo nano etc/modprobe.d/blacklist.conf

sudo su
    sudo nano etc/modprobe.d/blacklist
    sudo nano etc/modprobe.d/blacklist.conf
    nano etc/modprobe.d/blacklist
    nano etc/modprobe.d/blacklist.conf

Maybe it has to do with my xbmc user? I installed Ubuntu minimum, set the user as xbmc, and then just gave it rights for XBMC with this.
Code:
sudo usermod --group audio,video,fuse,cdrom,plugdev xbmc
( taken from http://wiki.xbmc.org/index.php?title=XBM..._Test_XBMC )

I tried to use:
Code:
sudo adduser xbmc --gecos XBMC

Like it said to but since xbmc already existed it of course it did nothing.

Here's a pic:
Image
...

I just figured out the problem.

Code:
sudo nano etc/modprobe.d/blacklist.conf

Doesn't work.

Code:
sudo nano [size=x-large][b]/[/b][/size]etc/modprobe.d/blacklist.conf

Works.

Damn that forward slash... three hours just for that lol.

Oh well, thanks for the assistance guys.
As you found out the slash is pretty essential Wink. It's the difference between a relative and an absolute path Smile.