Advertisement
Guest User

Untitled

a guest
Oct 10th, 2015
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.41 KB | None | 0 0
  1. # autoloader aliases
  2. install sound-slot-0 /sbin/modprobe snd-card-0
  3. install sound-slot-1 /sbin/modprobe snd-card-1
  4. install sound-slot-2 /sbin/modprobe snd-card-2
  5. install sound-slot-3 /sbin/modprobe snd-card-3
  6. install sound-slot-4 /sbin/modprobe snd-card-4
  7. install sound-slot-5 /sbin/modprobe snd-card-5
  8. install sound-slot-6 /sbin/modprobe snd-card-6
  9. install sound-slot-7 /sbin/modprobe snd-card-7
  10.  
  11. # Cause optional modules to be loaded above generic modules
  12. install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
  13. #
  14. # Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
  15. install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
  16. install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
  17. install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
  18. #
  19. install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
  20. # Cause optional modules to be loaded above sound card driver modules
  21. install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
  22. install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }
  23.  
  24. # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
  25. install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
  26. # Prevent abnormal drivers from grabbing index 0
  27. options bt87x index=-2
  28. options cx88_alsa index=-2
  29. options saa7134-alsa index=-2
  30. options snd-atiixp-modem index=-2
  31. options snd-intel8x0m index=-2
  32. options snd-via82xx-modem index=-2
  33. options snd-usb-audio index=-2
  34. options snd-usb-caiaq index=-2
  35. options snd-usb-ua101 index=-2
  36. options snd-usb-us122l index=-2
  37. options snd-usb-usx2y index=-2
  38. # Ubuntu #62691, enable MPU for snd-cmipci
  39. options snd-cmipci mpu_port=0x330 fm_port=0x388
  40. # Keep snd-pcsp from being loaded as first soundcard
  41. options snd-pcsp index=-2
  42. # Keep snd-usb-audio from beeing loaded as first soundcard
  43. options snd-usb-audio index=-2
  44. # For some Atheros 5K RF MACs, the madwifi driver loads buts fails to
  45. # correctly initialize the hardware, leaving it in a state from
  46. # which ath5k cannot recover. To prevent this condition, stop
  47. # madwifi from loading by default. Use Jockey to select one driver
  48. # or the other. (Ubuntu: #315056, #323830)
  49. blacklist ath_pci
  50.  
  51. # This file lists those modules which we don't want to be loaded by
  52. # alias expansion, usually so some other driver will be loaded for the
  53. # device instead.
  54.  
  55. # evbug is a debug tool that should be loaded explicitly
  56. blacklist evbug
  57.  
  58. # these drivers are very simple, the HID drivers are usually preferred
  59. blacklist usbmouse
  60. blacklist usbkbd
  61.  
  62. # replaced by e100
  63. blacklist eepro100
  64.  
  65. # replaced by tulip
  66. blacklist de4x5
  67.  
  68. # causes no end of confusion by creating unexpected network interfaces
  69. blacklist eth1394
  70.  
  71. # snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
  72. # hardware on its own (Ubuntu bug #2011, #6810)
  73. blacklist snd_intel8x0m
  74.  
  75. # Conflicts with dvb driver (which is better for handling this device)
  76. blacklist snd_aw2
  77.  
  78. # causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
  79. blacklist i2c_i801
  80.  
  81. # replaced by p54pci
  82. blacklist prism54
  83.  
  84. # replaced by b43 and ssb.
  85. blacklist bcm43xx
  86.  
  87. # most apps now use garmin usb driver directly (Ubuntu: #114565)
  88. blacklist garmin_gps
  89.  
  90. # replaced by asus-laptop (Ubuntu: #184721)
  91. blacklist asus_acpi
  92.  
  93. # low-quality, just noise when being used for sound playback, causes
  94. # hangs at desktop session start (Ubuntu: #246969)
  95. blacklist snd_pcsp
  96.  
  97. # ugly and loud noise, getting on everyone's nerves; this should be done by a
  98. # nice pulseaudio bing (Ubuntu: #77010)
  99. blacklist pcspkr
  100.  
  101. # EDAC driver for amd76x clashes with the agp driver preventing the aperture
  102. # from being initialised (Ubuntu: #297750). Blacklist so that the driver
  103. # continues to build and is installable for the few cases where its
  104. # really needed.
  105. blacklist amd76x_edac
  106. # Select the legacy firewire stack over the new CONFIG_FIREWIRE one.
  107.  
  108. blacklist ohci1394
  109. blacklist sbp2
  110. blacklist dv1394
  111. blacklist raw1394
  112. blacklist video1394
  113.  
  114. #blacklist firewire-ohci
  115. #blacklist firewire-sbp2
  116. # Framebuffer drivers are generally buggy and poorly-supported, and cause
  117. # suspend failures, kernel panics and general mayhem. For this reason we
  118. # never load them automatically.
  119. blacklist aty128fb
  120. blacklist atyfb
  121. blacklist radeonfb
  122. blacklist cirrusfb
  123. blacklist cyber2000fb
  124. blacklist cyblafb
  125. blacklist gx1fb
  126. blacklist hgafb
  127. blacklist i810fb
  128. blacklist intelfb
  129. blacklist kyrofb
  130. blacklist lxfb
  131. blacklist matroxfb_base
  132. blacklist neofb
  133. blacklist nvidiafb
  134. blacklist pm2fb
  135. blacklist rivafb
  136. blacklist s1d13xxxfb
  137. blacklist savagefb
  138. blacklist sisfb
  139. blacklist sstfb
  140. blacklist tdfxfb
  141. blacklist tridentfb
  142. #blacklist vesafb
  143. blacklist vfb
  144. blacklist viafb
  145. blacklist vt8623fb
  146. blacklist udlfb
  147. # Uncomment these entries in order to blacklist unwanted modem drivers
  148. # blacklist snd-atiixp-modem
  149. # blacklist snd-intel8x0m
  150. # blacklist snd-via82xx-modem
  151. blacklist ac97
  152. blacklist ac97_codec
  153. blacklist ac97_plugin_ad1980
  154. blacklist ad1848
  155. blacklist ad1889
  156. blacklist adlib_card
  157. blacklist aedsp16
  158. blacklist ali5455
  159. blacklist btaudio
  160. blacklist cmpci
  161. blacklist cs4232
  162. blacklist cs4281
  163. blacklist cs461x
  164. blacklist cs46xx
  165. blacklist emu10k1
  166. blacklist es1370
  167. blacklist es1371
  168. blacklist esssolo1
  169. blacklist forte
  170. blacklist gus
  171. blacklist i810_audio
  172. blacklist kahlua
  173. blacklist mad16
  174. blacklist maestro
  175. blacklist maestro3
  176. blacklist maui
  177. blacklist mpu401
  178. blacklist nm256_audio
  179. blacklist opl3
  180. blacklist opl3sa
  181. blacklist opl3sa2
  182. blacklist pas2
  183. blacklist pss
  184. blacklist rme96xx
  185. blacklist sb
  186. blacklist sb_lib
  187. blacklist sgalaxy
  188. blacklist sonicvibes
  189. blacklist sound
  190. blacklist sscape
  191. blacklist trident
  192. blacklist trix
  193. blacklist uart401
  194. blacklist uart6850
  195. blacklist via82cxxx_audio
  196. blacklist v_midi
  197. blacklist wavefront
  198. blacklist ymfpci
  199. blacklist ac97_plugin_wm97xx
  200. blacklist ad1816
  201. blacklist audio
  202. blacklist awe_wave
  203. blacklist dmasound_core
  204. blacklist dmasound_pmac
  205. blacklist harmony
  206. blacklist sequencer
  207. blacklist soundcard
  208. blacklist usb-midi
  209. # Many less commonly used network protocols have recently had various
  210. # security flaws discovered. In an effort to reduce the scope of future
  211. # vulnerability exploitations, they are being blacklisted here so that
  212. # unprivileged users cannot use them by default. System owners can still
  213. # either modify this file, or specifically modprobe any needed protocols.
  214.  
  215. # ax25
  216. alias net-pf-3 off
  217. # netrom
  218. alias net-pf-6 off
  219. # x25
  220. alias net-pf-9 off
  221. # rose
  222. alias net-pf-11 off
  223. # decnet
  224. alias net-pf-12 off
  225. # econet
  226. alias net-pf-19 off
  227. # rds
  228. alias net-pf-21 off
  229. # af_802154
  230. alias net-pf-36 off
  231. # Watchdog drivers should not be loaded automatically, but only if a
  232. # watchdog daemon is installed.
  233. blacklist acquirewdt
  234. blacklist advantechwdt
  235. blacklist alim1535_wdt
  236. blacklist alim7101_wdt
  237. blacklist booke_wdt
  238. blacklist cpu5wdt
  239. blacklist eurotechwdt
  240. blacklist i6300esb
  241. blacklist i8xx_tco
  242. blacklist ib700wdt
  243. blacklist ibmasr
  244. blacklist indydog
  245. blacklist iTCO_wdt
  246. blacklist it8712f_wdt
  247. blacklist it87_wdt
  248. blacklist ixp2000_wdt
  249. blacklist ixp4xx_wdt
  250. blacklist machzwd
  251. blacklist mixcomwd
  252. blacklist mpc8xx_wdt
  253. blacklist mpcore_wdt
  254. blacklist mv64x60_wdt
  255. blacklist pc87413_wdt
  256. blacklist pcwd
  257. blacklist pcwd_pci
  258. blacklist pcwd_usb
  259. blacklist s3c2410_wdt
  260. blacklist sa1100_wdt
  261. blacklist sbc60xxwdt
  262. blacklist sbc7240_wdt
  263. blacklist sb8360
  264. blacklist sc1200wdt
  265. blacklist sc520_wdt
  266. blacklist sch311_wdt
  267. blacklist scx200_wdt
  268. blacklist shwdt
  269. blacklist smsc37b787_wdt
  270. blacklist softdog
  271. blacklist twl4030_wdt
  272. blacklist w83627hf_wdt
  273. blacklist w83697hf_wdt
  274. blacklist w83697ug_wdt
  275. blacklist w83877f_wdt
  276. blacklist w83977f_wdt
  277. blacklist wafer5823wdt
  278. blacklist wdt
  279. blacklist wdt_pci
  280. blacklist wm8350_wdt
  281. # installed by bumblebee-nvidia
  282.  
  283. # do not automatically load nouveau as it may prevent nvidia from loading
  284. blacklist nouveau
  285. # do not automatically load nvidia as it's unloaded anyway when bumblebeed
  286. # starts and may fail bumblebeed to disable the card in a race condition.
  287. blacklist nvidia
  288. blacklist nvidia-current
  289. blacklist nvidia-current-updates
  290. # 304
  291. blacklist nvidia-304
  292. blacklist nvidia-304-updates
  293. blacklist nvidia-experimental-304
  294. # 310
  295. blacklist nvidia-310
  296. blacklist nvidia-310-updates
  297. blacklist nvidia-experimental-310
  298. # 313
  299. blacklist nvidia-313
  300. blacklist nvidia-313-updates
  301. blacklist nvidia-experimental-313
  302. # 319
  303. blacklist nvidia-319
  304. blacklist nvidia-319-updates
  305. blacklist nvidia-experimental-319
  306. # 325
  307. blacklist nvidia-325
  308. blacklist nvidia-325-updates
  309. blacklist nvidia-experimental-325
  310. # 331
  311. blacklist nvidia-331
  312. blacklist nvidia-331-updates
  313. blacklist nvidia-experimental-331
  314. # modprobe information used for DKMS modules
  315. #
  316. # This is a stub file, should be edited when needed,
  317. # used by default by DKMS.
  318. # This file blacklists most old-style PCI framebuffer drivers.
  319.  
  320. blacklist arkfb
  321. blacklist aty128fb
  322. blacklist atyfb
  323. blacklist radeonfb
  324. blacklist cirrusfb
  325. blacklist cyber2000fb
  326. blacklist gx1fb
  327. blacklist gxfb
  328. blacklist kyrofb
  329. blacklist matroxfb_base
  330. blacklist mb862xxfb
  331. blacklist neofb
  332. blacklist nvidiafb
  333. blacklist pm2fb
  334. blacklist pm3fb
  335. blacklist s3fb
  336. blacklist savagefb
  337. blacklist sisfb
  338. blacklist tdfxfb
  339. blacklist tridentfb
  340. blacklist viafb
  341. blacklist vt8623fb
  342. # /etc/modprobe.d/iwlwifi.conf
  343. # iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
  344. # microcode file installed on the system. When removing iwlwifi, first
  345. # remove the iwl?vm module and then iwlwifi.
  346. remove iwlwifi \
  347. (/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
  348. && /sbin/modprobe -r mac80211
  349. # mlx4_core gets automatically loaded, load mlx4_en also (LP: #1115710)
  350. softdep mlx4_core post: mlx4_en
  351. # This file was installed by nvidia-346
  352. # Do not edit this file manually
  353.  
  354. blacklist nouveau
  355. blacklist lbm-nouveau
  356. alias nouveau off
  357. alias lbm-nouveau offoptions vmwgfx enable_fbdev=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement