summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/mythpywii/wiimote.rules
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verison.net>2010-03-19 19:58:12 (GMT)
committerMichael Hanson <hansonorders@verison.net>2010-03-19 19:58:12 (GMT)
commit91eecacd35bd5d4fe98e5d2c17e7612f6eea593c (patch)
tree6655eba1f71ae8aa9d343b5aed9e5bdd9a356648 /abs/extra-testing/community/mythpywii/wiimote.rules
parent6480b6a385303388a8227ab02aa76fd96d5482c7 (diff)
downloadlinhes_pkgbuild-91eecacd35bd5d4fe98e5d2c17e7612f6eea593c.zip
linhes_pkgbuild-91eecacd35bd5d4fe98e5d2c17e7612f6eea593c.tar.gz
linhes_pkgbuild-91eecacd35bd5d4fe98e5d2c17e7612f6eea593c.tar.bz2
mythpywii: Update in an attempt to automate.
Changed program version to reflect that of the headder in the script.
Diffstat (limited to 'abs/extra-testing/community/mythpywii/wiimote.rules')
-rw-r--r--abs/extra-testing/community/mythpywii/wiimote.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/abs/extra-testing/community/mythpywii/wiimote.rules b/abs/extra-testing/community/mythpywii/wiimote.rules
new file mode 100644
index 0000000..4bb2d9d
--- /dev/null
+++ b/abs/extra-testing/community/mythpywii/wiimote.rules
@@ -0,0 +1,6 @@
+# For Bluetooth/Wiimote
+ KERNEL=="uinput", MODE="0660", GROUP="mythtv"
+
+# Automaticly bring up/down the bluetooth interface
+ ACTION=="add", KERNEL=="hci%n", SUBSYSTEM=="bluetooth", RUN+="/usr/sbin/hciconfig hci%n up"
+ ACTION=="remove", KERNEL=="hci%n", SUBSYSTEM=="bluetooth", RUN+="/usr/sbin/hciconfig hci%n down"