summaryrefslogtreecommitdiffstats
path: root/other/udev
diff options
context:
space:
mode:
Diffstat (limited to 'other/udev')
-rw-r--r--other/udev/50-bluetooth.rules2
-rw-r--r--other/udev/90-xhc_sleep.rules2
2 files changed, 4 insertions, 0 deletions
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'"