UBUNTU 12.04, how to black list a driver


modified blacklist.conf, to blacklist snd-intel8x0m
http://paste.ubuntu.com/1294101/

check key word “modem" and related

lspci -vvv log before black-list snd-intel8x0m
http://paste.ubuntu.com/1291556/

lscpi -vv log after snd-intel8x0m is black-listed
http://paste.ubuntu.com/1294121/

ASUS M2400N
blacklist snd-intel8x0m
test

how to –
http://oldpapyrus.wordpress.com/2012/05/26/blacklist-modules-in-ubuntu-12-04-precise/
http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=257730#forumpost257730

.
.
.
.
file location
/etc/modprobe.d/blacklist.conf


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

blacklist snd-intel8x0m

## xiaolaba
## 2012-oct-21, block snd-intel8x0m, then test lspci -vv
## http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=257730#forumpost257730
## http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=257730#forumpost257730
## the module options for snd-intel8x0m
## 這個 snd-intel8x0m 模組 適用於
## Intel 82801AA,82901AB,i810,i820,i830,i840,i845,MX440; SiS 7013; NVidia MCP/2/2S/3 modems
## 並沒有 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller
## 所以可能 你需要 阻擋它 被載入
## 然後 重開機 看看
## Kernel driver in use: snd_intel8x0m
## Kernel modules: snd-intel8x0m
## 有沒有改變
## 備註
## snd-intelxxxx 是 音效卡驅動模組
## 已經打包在 linux-kernel 裏
## 開機 只要偵測型號品牌正確
## 就會自動載入
## 不需自己再打包 (除非是 驅動模組雖然正確驅動 但是少了一些 新功能)

# 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

.
.
.
.
.
.

ASUS M2400N
sudo lsmod log (black-listed snd-intel8x0m)
http://paste.ubuntu.com/1294137/

Module                  Size  Used by
lib80211_crypt_ccmp    12789  2
joydev                 17393  0
snd_intel8x0           33455  2
snd_ac97_codec        106082  1 snd_intel8x0
ac97_bus               12642  1 snd_ac97_codec
snd_pcm                80845  2 snd_intel8x0,snd_ac97_codec
snd_seq_midi           13132  0
snd_rawmidi            25424  1 snd_seq_midi
snd_seq_midi_event     14475  1 snd_seq_midi
snd_seq                51567  2 snd_seq_midi,snd_seq_midi_event
snd_timer              28931  2 snd_pcm,snd_seq
snd_seq_device         14172  3 snd_seq_midi,snd_rawmidi,snd_seq
pcmcia                 39791  0
ipw2100                77954  0
libipw                 46701  1 ipw2100
lib80211               14040  2 lib80211_crypt_ccmp,libipw
snd                    62064  11 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
cfg80211              178679  2 ipw2100,libipw
i915                  414979  2
yenta_socket           27428  0
pcmcia_rsrc            18367  1 yenta_socket
soundcore              14635  1 snd
psmouse                96684  0
serio_raw              13027  0
pcmcia_core            21511  3 pcmcia,yenta_socket,pcmcia_rsrc
snd_page_alloc         14115  2 snd_intel8x0,snd_pcm
shpchp                 32325  0
irda                  185517  0
crc_ccitt              12595  1 irda
rfcomm                 38139  0
bnep                   17830  2
parport_pc             32114  1
bluetooth             158438  10 rfcomm,bnep
ppdev                  12849  0
drm_kms_helper         45466  1 i915
asus_laptop            23693  0
drm                   197599  3 i915,drm_kms_helper
sparse_keymap          13658  1 asus_laptop
binfmt_misc            17292  1
i2c_algo_bit           13199  1 i915
input_polldev          13648  1 asus_laptop
video                  19068  1 i915
mac_hid                13077  0
lp                     17455  0
parport                40930  3 parport_pc,ppdev,lp
usbhid                 41906  0
hid                    77367  1 usbhid
firewire_ohci          40180  0
8139too                23283  0
firewire_core          56906  1 firewire_ohci
crc_itu_t              12627  1 firewire_core
8139cp                 22633  0
floppy                 60310  0

廣告

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s