udev: rules: make usbdevfs use plugdev group
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 8 Nov 2014 22:31:28 +0000 (00:31 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 8 Nov 2014 22:36:06 +0000 (00:36 +0200)
also rm dupe file

recipes/udev/files/omap3-pandora/local.rules [deleted file]
recipes/udev/udev-151/omap3-pandora/local.rules
recipes/udev/udev_151.bb

diff --git a/recipes/udev/files/omap3-pandora/local.rules b/recipes/udev/files/omap3-pandora/local.rules
deleted file mode 100644 (file)
index c94e0df..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-# There are a number of modifiers that are allowed to be used in some
-# of the different fields. They provide the following subsitutions:
-#
-# %n the "kernel number" of the device.
-#    For example, 'sda3' has a "kernel number" of '3'
-# %e the smallest number for that name which does not matches an existing node
-# %k the kernel name for the device
-# %M the kernel major number for the device
-# %m the kernel minor number for the device
-# %b the bus id for the device
-# %c the string returned by the PROGRAM
-# %s{filename} the content of a sysfs attribute
-# %% the '%' char itself
-#
-
-# Media automounting
-SUBSYSTEM=="block", ACTION=="add"    RUN+="/etc/udev/scripts/mount.sh"
-SUBSYSTEM=="block", ACTION=="remove" RUN+="/etc/udev/scripts/mount.sh"
-
-# Handle network interface setup
-SUBSYSTEM=="net", ACTION=="add" RUN+="/etc/udev/scripts/network.sh"
-SUBSYSTEM=="net", ACTION=="remove" RUN+="/etc/udev/scripts/network.sh"
-
-# Local UDEV rule changes for the Pandora system.
-
-# Let all users access the event devices using EVDEV (the OpenPandora is not multiuser after all).
-KERNEL=="event[0-9]", MODE="0666"
-KERNEL=="mice",                        NAME="input/%k", MODE="0666"
-KERNEL=="mouse[0-9]*",         NAME="input/%k", MODE="0666"
-KERNEL=="event[0-9]*",         NAME="input/%k", MODE="0666"
-KERNEL=="js[0-9]*",            NAME="input/%k", MODE="0666"
-KERNEL=="ts[0-9]*",            NAME="input/%k", MODE="0666"
-KERNEL=="uinput",              NAME="input/%k", MODE="0666"
index b867408..dfe0100 100644 (file)
@@ -45,5 +45,8 @@ KERNEL=="js[0-9]*",           NAME="input/%k", MODE="0666"
 KERNEL=="ts[0-9]*",            NAME="input/%k", MODE="0666"
 KERNEL=="uinput",              NAME="input/%k", MODE="0666"
 
+# give usb to plugdev
+SUBSYSTEMS=="usb",             MODE="664", GROUP="plugdev"
+
 # reserve fb2 for the system
 KERNEL=="fb2", ACTION=="add",  MODE="0600"
index 9d0ee10..05ce8f7 100644 (file)
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
 the hotplug package and requires a kernel not older than 2.6.12."
 LICENSE = "GPLv2+"
 
-PR = "r23"
+PR = "r24"
 
 # Untested
 DEFAULT_PREFERENCE = "-1"