From 99fd27b4fe5b627703baf7e460f1776289c65d11 Mon Sep 17 00:00:00 2001 From: Anthony Serna Date: Wed, 24 Feb 2016 20:35:03 -0600 Subject: [PATCH] [udev] Added udev rule for GC adapter Added rule for DolphinBar --- Data/51-usb-device.rules | 5 +++++ Readme.md | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 Data/51-usb-device.rules diff --git a/Data/51-usb-device.rules b/Data/51-usb-device.rules new file mode 100644 index 0000000000..96d8e6bf1d --- /dev/null +++ b/Data/51-usb-device.rules @@ -0,0 +1,5 @@ +#GameCube Controller Adapter +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0337", TAG+="uaccess" + +#Mayflash DolphinBar +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0306", TAG+="uaccess" diff --git a/Readme.md b/Readme.md index 4adabbbe5e..c7719ed176 100644 --- a/Readme.md +++ b/Readme.md @@ -155,6 +155,12 @@ These folders are installed read-only and should not be changed: * `Resources`: icons that are theme-agnostic * `Wii`: default Wii NAND contents +## Packaging and udev +The Data folder contains a udev rule file for the official GameCube controller +adapter and the Mayflash DolphinBar. Package maintainers can use that file in their packages for Dolphin. +Users compiling Dolphin on Linux can also just copy the file to their udev +rules folder. + ## User Folder Structure A number of user writeable directories are created for caching purposes or for allowing the user to edit their contents. On OS X and Linux these folders are