Advertisement
noes1s

BlackBuntu's Blacklist

Jul 14th, 2011
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.78 KB | None | 0 0
  1. ### Create Blacklist
  2. drivers=(
  3. # Framebuffer drivers are generally buggy and poorly-supported, and cause
  4. # suspend failures, kernel panics and general mayhem.  For this reason we
  5. # never load them automatically.
  6. aty128fb
  7. atyfb
  8. radeonfb
  9. cirrusfb
  10. cyber2000fb
  11. cyblafb
  12. gx1fb
  13. hgafb
  14. i810fb
  15. intelfb
  16. kyrofb
  17. lxfb
  18. matroxfb_base
  19. neofb
  20. nvidiafb
  21. pm2fb
  22. rivafb
  23. s1d13xxxfb
  24. savagefb
  25. sisfb
  26. sstfb
  27. tdfxfb
  28. tridentfb
  29. vesafb
  30. vfb
  31. viafb
  32. vt8623fb
  33. ac97
  34. ac97_codec
  35. ac97_plugin_ad1980
  36. ad1848
  37. ad1889
  38. adlib_card
  39. aedsp16
  40. ali5455
  41. btaudio
  42. cmpci
  43. cs4232
  44. cs4281
  45. cs461x
  46. cs46xx
  47. emu10k1
  48. es1370
  49. es1371
  50. esssolo1
  51. forte
  52. gus
  53. i810_audio
  54. kahlua
  55. mad16
  56. maestro
  57. maestro3
  58. maui
  59. mpu401
  60. nm256_audio
  61. opl3
  62. opl3sa
  63. opl3sa2
  64. pas2
  65. pss
  66. rme96xx
  67. sb
  68. sb_lib
  69. sgalaxy
  70. sonicvibes
  71. sound
  72. sscape
  73. trident
  74. trix
  75. uart401
  76. uart6850
  77. via82cxxx_audio
  78. v_midi
  79. wavefront
  80. ymfpci
  81. ac97_plugin_wm97xx
  82. ad1816
  83. audio
  84. awe_wave
  85. dmasound_core
  86. dmasound_pmac
  87. harmony
  88. sequencer
  89. soundcard
  90. usb-midi
  91. # Watchdog drivers should not be loaded automatically, but only if a
  92. # watchdog daemon is installed.
  93. acquirewdt
  94. advantechwdt
  95. alim1535_wdt
  96. alim7101_wdt
  97. booke_wdt
  98. cpu5wdt
  99. eurotechwdt
  100. i6300esb
  101. i8xx_tco
  102. ib700wdt
  103. ibmasr
  104. indydog
  105. iTCO_wdt
  106. it8712f_wdt
  107. it87_wdt
  108. ixp2000_wdt
  109. ixp4xx_wdt
  110. machzwd
  111. mixcomwd
  112. mpc8xx_wdt
  113. mpcore_wdt
  114. mv64x60_wdt
  115. pc87413_wdt
  116. pcwd
  117. pcwd_pci
  118. pcwd_usb
  119. s3c2410_wdt
  120. sa1100_wdt
  121. sbc60xxwdt
  122. sbc7240_wdt
  123. sb8360
  124. sc1200wdt
  125. sc520_wdt
  126. sch311_wdt
  127. scx200_wdt
  128. shwdt
  129. smsc37b787_wdt
  130. softdog
  131. twl4030_wdt
  132. w83627hf_wdt
  133. w83697hf_wdt
  134. w83697ug_wdt
  135. w83877f_wdt
  136. w83977f_wdt
  137. wafer5823wdt
  138. wdt
  139. wdt_pci
  140. wm8350_wdt
  141. ac97
  142. ac97_codec
  143. ac97_plugin_ad1980
  144. ad1848
  145. ad1889
  146. adlib_card
  147. aedsp16
  148. ali5455
  149. btaudio
  150. cmpci
  151. cs4232
  152. cs4281
  153. cs461x
  154. cs46xx
  155. emu10k1
  156. es1370
  157. es1371
  158. esssolo1
  159. forte
  160. gus
  161. i810_audio
  162. kahlua
  163. mad16
  164. maestro
  165. maestro3
  166. maui
  167. mpu401
  168. nm256_audio
  169. opl3
  170. opl3sa
  171. opl3sa2
  172. pas2
  173. pss
  174. rme96xx
  175. sb
  176. sb_lib
  177. sgalaxy
  178. sonicvibes
  179. sound
  180. sscape
  181. trident
  182. trix
  183. uart401
  184. uart6850
  185. via82cxxx_audio
  186. v_midi
  187. wavefront
  188. ymfpci
  189. ac97_plugin_wm97xx
  190. ad1816
  191. audio
  192. awe_wave
  193. dmasound_core
  194. dmasound_pmac
  195. harmony
  196. sequencer
  197. soundcard
  198. usb-midi
  199. # This file lists those modules which we don't want to be loaded by
  200. # alias expansion, usually so some other driver will be loaded for the
  201. # device instead.
  202.  
  203. # evbug is a debug tool that should be loaded explicitly
  204. evbug
  205. ar9170usb
  206. r8187
  207. ath_pci
  208.  
  209. # these drivers are very simple, the HID drivers are usually preferred
  210. usbmouse
  211. usbkbd
  212.  
  213. # replaced by e100
  214. eepro100
  215.  
  216. # replaced by tulip
  217. de4x5
  218.  
  219. # causes no end of confusion by creating unexpected network interfaces
  220. eth1394
  221.  
  222. # snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
  223. # hardware on its own (Ubuntu bug #2011, #6810)
  224. snd_intel8x0m
  225.  
  226. # Conflicts with dvb driver (which is better for handling this device)
  227. snd_aw2
  228.  
  229. # causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
  230. i2c_i801
  231.  
  232. # replaced by p54pci
  233. prism54
  234.  
  235. # replaced by b43 and ssb.
  236. bcm43xx
  237.  
  238. # most apps now use garmin usb driver directly (Ubuntu: #114565)
  239. garmin_gps
  240.  
  241. # replaced by asus-laptop (Ubuntu: #184721)
  242. asus_acpi
  243.  
  244. # low-quality, just noise when being used for sound playback, causes
  245. # hangs at desktop session start (Ubuntu: #246969)
  246. snd_pcsp
  247.  
  248. # ugly and loud noise, getting on everyone's nerves; this should be done by a
  249. # nice pulseaudio bing (Ubuntu: #77010)
  250. pcspkr
  251.  
  252. # EDAC driver for amd76x clashes with the agp driver preventing the aperture
  253. # from being initialised (Ubuntu: #297750). so that the driver
  254. # continues to build and is installable for the few cases where its
  255. # really needed.
  256. amd76x_edac
  257. )
  258. for x in ${drivers[@]}; do
  259.     if ! cat /etc/modprobe.d/blacklist.conf |egrep "blacklist $x"; then
  260.         echo "blacklist $x" |sudo tee -a /etc/modprobe.d/blacklist.conf
  261.     fi
  262. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement