Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Create Blacklist
- drivers=(
- # Framebuffer drivers are generally buggy and poorly-supported, and cause
- # suspend failures, kernel panics and general mayhem. For this reason we
- # never load them automatically.
- aty128fb
- atyfb
- radeonfb
- cirrusfb
- cyber2000fb
- cyblafb
- gx1fb
- hgafb
- i810fb
- intelfb
- kyrofb
- lxfb
- matroxfb_base
- neofb
- nvidiafb
- pm2fb
- rivafb
- s1d13xxxfb
- savagefb
- sisfb
- sstfb
- tdfxfb
- tridentfb
- vesafb
- vfb
- viafb
- vt8623fb
- ac97
- ac97_codec
- ac97_plugin_ad1980
- ad1848
- ad1889
- adlib_card
- aedsp16
- ali5455
- btaudio
- cmpci
- cs4232
- cs4281
- cs461x
- cs46xx
- emu10k1
- es1370
- es1371
- esssolo1
- forte
- gus
- i810_audio
- kahlua
- mad16
- maestro
- maestro3
- maui
- mpu401
- nm256_audio
- opl3
- opl3sa
- opl3sa2
- pas2
- pss
- rme96xx
- sb
- sb_lib
- sgalaxy
- sonicvibes
- sound
- sscape
- trident
- trix
- uart401
- uart6850
- via82cxxx_audio
- v_midi
- wavefront
- ymfpci
- ac97_plugin_wm97xx
- ad1816
- audio
- awe_wave
- dmasound_core
- dmasound_pmac
- harmony
- sequencer
- soundcard
- usb-midi
- # Watchdog drivers should not be loaded automatically, but only if a
- # watchdog daemon is installed.
- acquirewdt
- advantechwdt
- alim1535_wdt
- alim7101_wdt
- booke_wdt
- cpu5wdt
- eurotechwdt
- i6300esb
- i8xx_tco
- ib700wdt
- ibmasr
- indydog
- iTCO_wdt
- it8712f_wdt
- it87_wdt
- ixp2000_wdt
- ixp4xx_wdt
- machzwd
- mixcomwd
- mpc8xx_wdt
- mpcore_wdt
- mv64x60_wdt
- pc87413_wdt
- pcwd
- pcwd_pci
- pcwd_usb
- s3c2410_wdt
- sa1100_wdt
- sbc60xxwdt
- sbc7240_wdt
- sb8360
- sc1200wdt
- sc520_wdt
- sch311_wdt
- scx200_wdt
- shwdt
- smsc37b787_wdt
- softdog
- twl4030_wdt
- w83627hf_wdt
- w83697hf_wdt
- w83697ug_wdt
- w83877f_wdt
- w83977f_wdt
- wafer5823wdt
- wdt
- wdt_pci
- wm8350_wdt
- ac97
- ac97_codec
- ac97_plugin_ad1980
- ad1848
- ad1889
- adlib_card
- aedsp16
- ali5455
- btaudio
- cmpci
- cs4232
- cs4281
- cs461x
- cs46xx
- emu10k1
- es1370
- es1371
- esssolo1
- forte
- gus
- i810_audio
- kahlua
- mad16
- maestro
- maestro3
- maui
- mpu401
- nm256_audio
- opl3
- opl3sa
- opl3sa2
- pas2
- pss
- rme96xx
- sb
- sb_lib
- sgalaxy
- sonicvibes
- sound
- sscape
- trident
- trix
- uart401
- uart6850
- via82cxxx_audio
- v_midi
- wavefront
- ymfpci
- ac97_plugin_wm97xx
- ad1816
- audio
- awe_wave
- dmasound_core
- dmasound_pmac
- harmony
- sequencer
- soundcard
- usb-midi
- # 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
- evbug
- ar9170usb
- r8187
- ath_pci
- # these drivers are very simple, the HID drivers are usually preferred
- usbmouse
- usbkbd
- # replaced by e100
- eepro100
- # replaced by tulip
- de4x5
- # causes no end of confusion by creating unexpected network interfaces
- eth1394
- # snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
- # hardware on its own (Ubuntu bug #2011, #6810)
- snd_intel8x0m
- # Conflicts with dvb driver (which is better for handling this device)
- snd_aw2
- # causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
- i2c_i801
- # replaced by p54pci
- prism54
- # replaced by b43 and ssb.
- bcm43xx
- # most apps now use garmin usb driver directly (Ubuntu: #114565)
- garmin_gps
- # replaced by asus-laptop (Ubuntu: #184721)
- asus_acpi
- # low-quality, just noise when being used for sound playback, causes
- # hangs at desktop session start (Ubuntu: #246969)
- snd_pcsp
- # ugly and loud noise, getting on everyone's nerves; this should be done by a
- # nice pulseaudio bing (Ubuntu: #77010)
- pcspkr
- # EDAC driver for amd76x clashes with the agp driver preventing the aperture
- # from being initialised (Ubuntu: #297750). so that the driver
- # continues to build and is installable for the few cases where its
- # really needed.
- amd76x_edac
- )
- for x in ${drivers[@]}; do
- if ! cat /etc/modprobe.d/blacklist.conf |egrep "blacklist $x"; then
- echo "blacklist $x" |sudo tee -a /etc/modprobe.d/blacklist.conf
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement