From 013f9eb6ada48060acd6ffbf930331d204d7ba68 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 5 Mar 2015 21:38:51 -0500 Subject: [PATCH] add some udev and modprobe rules --- other/modprobe/hid_apple.conf | 1 + other/modprobe/snd_hda_intel.conf | 1 + other/modprobe/usbcore.conf | 1 + other/udev/50-bluetooth.rules | 2 ++ other/udev/90-xhc_sleep.rules | 2 ++ 5 files changed, 7 insertions(+) create mode 100644 other/modprobe/hid_apple.conf create mode 100644 other/modprobe/snd_hda_intel.conf create mode 100644 other/modprobe/usbcore.conf create mode 100644 other/udev/50-bluetooth.rules create mode 100644 other/udev/90-xhc_sleep.rules diff --git a/other/modprobe/hid_apple.conf b/other/modprobe/hid_apple.conf new file mode 100644 index 0000000..25c96dc --- /dev/null +++ b/other/modprobe/hid_apple.conf @@ -0,0 +1 @@ +options hid_apple iso_layout=0 diff --git a/other/modprobe/snd_hda_intel.conf b/other/modprobe/snd_hda_intel.conf new file mode 100644 index 0000000..8bf2a4f --- /dev/null +++ b/other/modprobe/snd_hda_intel.conf @@ -0,0 +1 @@ +options snd_hda_intel power_save=1 diff --git a/other/modprobe/usbcore.conf b/other/modprobe/usbcore.conf new file mode 100644 index 0000000..db61794 --- /dev/null +++ b/other/modprobe/usbcore.conf @@ -0,0 +1 @@ +options usbcore autosuspend=1 diff --git a/other/udev/50-bluetooth.rules b/other/udev/50-bluetooth.rules new file mode 100644 index 0000000..a8c5dc8 --- /dev/null +++ b/other/udev/50-bluetooth.rules @@ -0,0 +1,2 @@ +# disable bluetooth +SUBSYSTEM=="rfkill", ATTR{type}=="bluetooth", ATTR{state}="0" diff --git a/other/udev/90-xhc_sleep.rules b/other/udev/90-xhc_sleep.rules new file mode 100644 index 0000000..25cb20d --- /dev/null +++ b/other/udev/90-xhc_sleep.rules @@ -0,0 +1,2 @@ +# disable wake from S3 on XHC1 +SUBSYSTEM=="pci", KERNEL=="0000:00:14.0", ATTR{device}=="0x9c31" RUN+="/bin/sh -c '/bin/echo disabled > /sys$env{DEVPATH}/power/wakeup'" -- 2.20.1