瀏覽代碼

add scripts to enable and disable hid modules

Noah Vogt 1 年之前
父節點
當前提交
a1b04e4df1
共有 2 個文件被更改,包括 10 次插入0 次删除
  1. 5 0
      disable-hid
  2. 5 0
      enable-hid

+ 5 - 0
disable-hid

@@ -0,0 +1,5 @@
+#!/bin/sh
+
+rfkill block bluetooth
+modprobe -r usbhid
+modprobe -r i2c_hid_acpi

+ 5 - 0
enable-hid

@@ -0,0 +1,5 @@
+#!/bin/sh
+
+rfkill unblock bluetooth
+modprobe usbhid
+modprobe i2c_hid_acpi