summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/mythpywii/wiimote.rules
blob: 4bb2d9d510ee8f6be53f4f264386906b4a3971e6 (plain)
1
2
3
4
5
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"