Advertisement
Guest User

Untitled

a guest
Jun 11th, 2022
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.40 KB | None | 0 0
  1. cat /etc/modprobe.d/* ; echo ; ls -1 /etc/modprobe.d/ ; echo ; cat /etc/modprobe.d/uas_blacklist.conf
  2. # autoloader aliases
  3. install sound-slot-0 /sbin/modprobe snd-card-0
  4. install sound-slot-1 /sbin/modprobe snd-card-1
  5. install sound-slot-2 /sbin/modprobe snd-card-2
  6. install sound-slot-3 /sbin/modprobe snd-card-3
  7. install sound-slot-4 /sbin/modprobe snd-card-4
  8. install sound-slot-5 /sbin/modprobe snd-card-5
  9. install sound-slot-6 /sbin/modprobe snd-card-6
  10. install sound-slot-7 /sbin/modprobe snd-card-7
  11.  
  12. # Cause optional modules to be loaded above generic modules
  13. install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
  14. #
  15. # Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
  16. install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
  17. install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
  18. 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 ; : ; }
  19. #
  20. install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
  21. # Cause optional modules to be loaded above sound card driver modules
  22. install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
  23. install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }
  24.  
  25. # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
  26. install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
  27. # Prevent abnormal drivers from grabbing index 0
  28. options bt87x index=-2
  29. options cx88_alsa index=-2
  30. options saa7134-alsa index=-2
  31. options snd-atiixp-modem index=-2
  32. options snd-intel8x0m index=-2
  33. options snd-via82xx-modem index=-2
  34. options snd-usb-audio index=-2
  35. options snd-usb-caiaq index=-2
  36. options snd-usb-ua101 index=-2
  37. options snd-usb-us122l index=-2
  38. options snd-usb-usx2y index=-2
  39. # Ubuntu #62691, enable MPU for snd-cmipci
  40. options snd-cmipci mpu_port=0x330 fm_port=0x388
  41. # Keep snd-pcsp from being loaded as first soundcard
  42. options snd-pcsp index=-2
  43. # Keep snd-usb-audio from beeing loaded as first soundcard
  44. options snd-usb-audio index=-2
  45. # The microcode module attempts to apply a microcode update when
  46. # it autoloads. This is not always safe, so we block it by default.
  47. blacklist microcode
  48. # For some Atheros 5K RF MACs, the madwifi driver loads buts fails to
  49. # correctly initialize the hardware, leaving it in a state from
  50. # which ath5k cannot recover. To prevent this condition, stop
  51. # madwifi from loading by default. Use Jockey to select one driver
  52. # or the other. (Ubuntu: #315056, #323830)
  53. blacklist ath_pci
  54.  
  55. # This file lists those modules which we don't want to be loaded by
  56. # alias expansion, usually so some other driver will be loaded for the
  57. # device instead.
  58.  
  59. # evbug is a debug tool that should be loaded explicitly
  60. blacklist evbug
  61.  
  62. # these drivers are very simple, the HID drivers are usually preferred
  63. blacklist usbmouse
  64. blacklist usbkbd
  65.  
  66. # replaced by e100
  67. blacklist eepro100
  68.  
  69. # replaced by tulip
  70. blacklist de4x5
  71.  
  72. # causes no end of confusion by creating unexpected network interfaces
  73. blacklist eth1394
  74.  
  75. # snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
  76. # hardware on its own (Ubuntu bug #2011, #6810)
  77. blacklist snd_intel8x0m
  78.  
  79. # Conflicts with dvb driver (which is better for handling this device)
  80. blacklist snd_aw2
  81.  
  82. # replaced by p54pci
  83. blacklist prism54
  84.  
  85. # replaced by b43 and ssb.
  86. blacklist bcm43xx
  87.  
  88. # most apps now use garmin usb driver directly (Ubuntu: #114565)
  89. blacklist garmin_gps
  90.  
  91. # replaced by asus-laptop (Ubuntu: #184721)
  92. blacklist asus_acpi
  93.  
  94. # low-quality, just noise when being used for sound playback, causes
  95. # hangs at desktop session start (Ubuntu: #246969)
  96. blacklist snd_pcsp
  97.  
  98. # ugly and loud noise, getting on everyone's nerves; this should be done by a
  99. # nice pulseaudio bing (Ubuntu: #77010)
  100. blacklist pcspkr
  101.  
  102. # EDAC driver for amd76x clashes with the agp driver preventing the aperture
  103. # from being initialised (Ubuntu: #297750). Blacklist so that the driver
  104. # continues to build and is installable for the few cases where its
  105. # really needed.
  106. blacklist amd76x_edac
  107. # Select the legacy firewire stack over the new CONFIG_FIREWIRE one.
  108.  
  109. blacklist ohci1394
  110. blacklist sbp2
  111. blacklist dv1394
  112. blacklist raw1394
  113. blacklist video1394
  114.  
  115. #blacklist firewire-ohci
  116. #blacklist firewire-sbp2
  117. # Framebuffer drivers are generally buggy and poorly-supported, and cause
  118. # suspend failures, kernel panics and general mayhem. For this reason we
  119. # never load them automatically.
  120. blacklist aty128fb
  121. blacklist atyfb
  122. blacklist radeonfb
  123. blacklist cirrusfb
  124. blacklist cyber2000fb
  125. blacklist cyblafb
  126. blacklist gx1fb
  127. blacklist hgafb
  128. blacklist i810fb
  129. blacklist intelfb
  130. blacklist kyrofb
  131. blacklist lxfb
  132. blacklist matroxfb_base
  133. blacklist neofb
  134. blacklist nvidiafb
  135. blacklist pm2fb
  136. blacklist rivafb
  137. blacklist s1d13xxxfb
  138. blacklist savagefb
  139. blacklist sisfb
  140. blacklist sstfb
  141. blacklist tdfxfb
  142. blacklist tridentfb
  143. #blacklist vesafb
  144. blacklist vfb
  145. blacklist viafb
  146. blacklist vt8623fb
  147. blacklist udlfb
  148. # Uncomment these entries in order to blacklist unwanted modem drivers
  149. # blacklist snd-atiixp-modem
  150. # blacklist snd-intel8x0m
  151. # blacklist snd-via82xx-modem
  152. blacklist ac97
  153. blacklist ac97_codec
  154. blacklist ac97_plugin_ad1980
  155. blacklist ad1848
  156. blacklist ad1889
  157. blacklist adlib_card
  158. blacklist aedsp16
  159. blacklist ali5455
  160. blacklist btaudio
  161. blacklist cmpci
  162. blacklist cs4232
  163. blacklist cs4281
  164. blacklist cs461x
  165. blacklist cs46xx
  166. blacklist emu10k1
  167. blacklist es1370
  168. blacklist es1371
  169. blacklist esssolo1
  170. blacklist forte
  171. blacklist gus
  172. blacklist i810_audio
  173. blacklist kahlua
  174. blacklist mad16
  175. blacklist maestro
  176. blacklist maestro3
  177. blacklist maui
  178. blacklist mpu401
  179. blacklist nm256_audio
  180. blacklist opl3
  181. blacklist opl3sa
  182. blacklist opl3sa2
  183. blacklist pas2
  184. blacklist pss
  185. blacklist rme96xx
  186. blacklist sb
  187. blacklist sb_lib
  188. blacklist sgalaxy
  189. blacklist sonicvibes
  190. blacklist sound
  191. blacklist sscape
  192. blacklist trident
  193. blacklist trix
  194. blacklist uart401
  195. blacklist uart6850
  196. blacklist via82cxxx_audio
  197. blacklist v_midi
  198. blacklist wavefront
  199. blacklist ymfpci
  200. blacklist ac97_plugin_wm97xx
  201. blacklist ad1816
  202. blacklist audio
  203. blacklist awe_wave
  204. blacklist dmasound_core
  205. blacklist dmasound_pmac
  206. blacklist harmony
  207. blacklist sequencer
  208. blacklist soundcard
  209. blacklist usb-midi
  210. # Many less commonly used network protocols have recently had various
  211. # security flaws discovered. In an effort to reduce the scope of future
  212. # vulnerability exploitations, they are being blacklisted here so that
  213. # unprivileged users cannot use them by default. System owners can still
  214. # either modify this file, or specifically modprobe any needed protocols.
  215.  
  216. # ax25
  217. alias net-pf-3 off
  218. # netrom
  219. alias net-pf-6 off
  220. # x25
  221. alias net-pf-9 off
  222. # rose
  223. alias net-pf-11 off
  224. # decnet
  225. alias net-pf-12 off
  226. # econet
  227. alias net-pf-19 off
  228. # rds
  229. alias net-pf-21 off
  230. # af_802154
  231. alias net-pf-36 off
  232. options usb-storage quirks=174c:55aa:u
  233. options usb-storage quirks=357d:7788:u
  234. # modprobe information used for DKMS modules
  235. #
  236. # This is a stub file, should be edited when needed,
  237. # used by default by DKMS.
  238. # The microcode module attempts to apply a microcode update when
  239. # it autoloads. This is not always safe, so we block it by default.
  240. blacklist microcode
  241. # /etc/modprobe.d/iwlwifi.conf
  242. # iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
  243. # microcode file installed on the system. When removing iwlwifi, first
  244. # remove the iwl?vm module and then iwlwifi.
  245. remove iwlwifi \
  246. (/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
  247. && /sbin/modprobe -r mac80211
  248. uas
  249.  
  250. alsa-base.conf
  251. amd64-microcode-blacklist.conf
  252. blacklist-ath_pci.conf
  253. blacklist.conf
  254. blacklist-firewire.conf
  255. blacklist-framebuffer.conf
  256. blacklist-modem.conf
  257. blacklist-oss.conf
  258. blacklist-rare-network.conf
  259. blacklist_uas_174c.conf
  260. blacklist_uas_357d.conf.ORIG
  261. dkms.conf
  262. intel-microcode-blacklist.conf
  263. iwlwifi.conf
  264. uas_blacklist.conf
  265.  
  266. uas
  267.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement