about summary refs log tree commit diff
path: root/etc/modprobe.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/modprobe.d')
-rw-r--r--etc/modprobe.d/aliases.conf42
-rw-r--r--etc/modprobe.d/alsa.conf38
-rw-r--r--etc/modprobe.d/blacklist.conf1
-rw-r--r--etc/modprobe.d/i386.conf4
-rw-r--r--etc/modprobe.d/iwlwifi.conf1
-rw-r--r--etc/modprobe.d/thinkpad.conf2
6 files changed, 88 insertions, 0 deletions
diff --git a/etc/modprobe.d/aliases.conf b/etc/modprobe.d/aliases.conf
new file mode 100644
index 0000000..202a93b
--- /dev/null
+++ b/etc/modprobe.d/aliases.conf
@@ -0,0 +1,42 @@
+# Aliases to tell insmod/modprobe which modules to use 
+
+# Uncomment the network protocols you don't want loaded:
+# alias net-pf-1 off		# Unix
+# alias net-pf-2 off		# IPv4
+# alias net-pf-3 off		# Amateur Radio AX.25
+# alias net-pf-4 off		# IPX
+# alias net-pf-5 off		# DDP / appletalk
+# alias net-pf-6 off		# Amateur Radio NET/ROM
+# alias net-pf-9 off		# X.25
+# alias net-pf-10 off		# IPv6
+# alias net-pf-11 off		# ROSE / Amateur Radio X.25 PLP
+# alias net-pf-19 off		# Acorn Econet
+
+alias char-major-10-175	agpgart
+alias char-major-10-200	tun
+alias char-major-81	bttv
+alias char-major-108	ppp_generic
+alias /dev/ppp		ppp_generic
+alias tty-ldisc-3	ppp_async
+alias tty-ldisc-14	ppp_synctty
+alias ppp-compress-21	bsd_comp
+alias ppp-compress-24	ppp_deflate
+alias ppp-compress-26	ppp_deflate
+
+# Crypto modules
+alias loop-xfer-gen-0	loop_gen
+alias loop-xfer-3	loop_fish2
+alias loop-xfer-gen-10	loop_gen
+alias cipher-2		des
+alias cipher-3		fish2
+alias cipher-4		blowfish
+alias cipher-6		idea
+alias cipher-7		serp6f
+alias cipher-8		mars6
+alias cipher-11		rc62
+alias cipher-15		dfc2
+alias cipher-16		rijndael
+alias cipher-17		rc5
+
+# Support for i2c and lm_sensors
+alias char-major-89    i2c-dev
diff --git a/etc/modprobe.d/alsa.conf b/etc/modprobe.d/alsa.conf
new file mode 100644
index 0000000..40e99df
--- /dev/null
+++ b/etc/modprobe.d/alsa.conf
@@ -0,0 +1,38 @@
+# Alsa kernel modules' configuration file.
+
+# ALSA portion
+alias char-major-116 snd
+# OSS/Free portion
+alias char-major-14 soundcore
+
+##
+## IMPORTANT:
+## You need to customise this section for your specific sound card(s)
+## and then run `update-modules' command.
+## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
+##
+##  ALSA portion
+## alias snd-card-0 snd-interwave
+## alias snd-card-1 snd-ens1371
+##  OSS/Free portion
+## alias sound-slot-0 snd-card-0
+## alias sound-slot-1 snd-card-1
+##
+
+# OSS/Free portion - card #1
+alias sound-service-0-0 snd-mixer-oss
+alias sound-service-0-1 snd-seq-oss
+alias sound-service-0-3 snd-pcm-oss
+alias sound-service-0-8 snd-seq-oss
+alias sound-service-0-12 snd-pcm-oss
+##  OSS/Free portion - card #2
+## alias sound-service-1-0 snd-mixer-oss
+## alias sound-service-1-3 snd-pcm-oss
+## alias sound-service-1-12 snd-pcm-oss
+
+alias /dev/mixer snd-mixer-oss
+alias /dev/dsp snd-pcm-oss
+alias /dev/midi snd-seq-oss
+
+# Set this to the correct number of cards.
+options snd cards_limit=1
diff --git a/etc/modprobe.d/blacklist.conf b/etc/modprobe.d/blacklist.conf
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/etc/modprobe.d/blacklist.conf
@@ -0,0 +1 @@
+
diff --git a/etc/modprobe.d/i386.conf b/etc/modprobe.d/i386.conf
new file mode 100644
index 0000000..b89459f
--- /dev/null
+++ b/etc/modprobe.d/i386.conf
@@ -0,0 +1,4 @@
+alias parport_lowlevel parport_pc
+alias char-major-10-144 nvram
+alias binfmt-0064 binfmt_aout
+alias char-major-10-135 rtc
diff --git a/etc/modprobe.d/iwlwifi.conf b/etc/modprobe.d/iwlwifi.conf
new file mode 100644
index 0000000..c920c66
--- /dev/null
+++ b/etc/modprobe.d/iwlwifi.conf
@@ -0,0 +1 @@
+options iwlwifi bt_coex_active=0 swcrypto=1 11n_disable=8
diff --git a/etc/modprobe.d/thinkpad.conf b/etc/modprobe.d/thinkpad.conf
new file mode 100644
index 0000000..4c68376
--- /dev/null
+++ b/etc/modprobe.d/thinkpad.conf
@@ -0,0 +1,2 @@
+options snd-hda-intel model=thinkpad
+options thinkpad_acpi fan_control=1

Consider giving Nix/NixOS a try! <3