summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hanson <mihanson@linhes.org>2012-01-25 23:46:30 (GMT)
committerMichael Hanson <mihanson@linhes.org>2012-01-25 23:46:30 (GMT)
commit70aa1658649b701402c54728ed13ea3228ec4862 (patch)
tree65f09c46035328d32ac1a41e371d15f1aa213c6a
parent6a019dc07b35afed0f44cc77410cd133d3f3f809 (diff)
downloadlinhes_pkgbuild-70aa1658649b701402c54728ed13ea3228ec4862.zip
linhes_pkgbuild-70aa1658649b701402c54728ed13ea3228ec4862.tar.gz
linhes_pkgbuild-70aa1658649b701402c54728ed13ea3228ec4862.tar.bz2
Revert "udev: add 81-dvicoIR.rules; move 81-LinHES.rules to more descriptive filenames."
This reverts commit 98f897a6b29ef9f3a9c88a0e4d2cf49d5188b6fb.
-rw-r--r--abs/core/udev/81-LinHES.rules (renamed from abs/core/udev/81-CD_DVD_symlinks.rules)21
-rw-r--r--abs/core/udev/81-OSS_Emulation.rules6
-rw-r--r--abs/core/udev/81-dvicoIR.rules18
-rw-r--r--abs/core/udev/PKGBUILD18
-rw-r--r--abs/core/udev/__changelog14
-rw-r--r--abs/core/udev/changelog7
6 files changed, 32 insertions, 52 deletions
diff --git a/abs/core/udev/81-CD_DVD_symlinks.rules b/abs/core/udev/81-LinHES.rules
index 6d278ac..112c46d 100644
--- a/abs/core/udev/81-CD_DVD_symlinks.rules
+++ b/abs/core/udev/81-LinHES.rules
@@ -1,6 +1,25 @@
-# Udev rules for creating CD/DVD symlinks
+# Udev rules for LinHES
# do not edit this file, it will be overwritten on update
+#
+# 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'
+# %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.
+#
+# There are a number of modifiers that are allowed to be used in some of the
+# fields. See the udev man page for a full description of them.
+# OSS Emulation SOUND addon modules
+SUBSYSTEM=="sound", RUN+="/sbin/modprobe snd-pcm-oss"
+SUBSYSTEM=="sound", RUN+="/sbin/modprobe snd-seq-oss"
#####################################
###### CD/DVD symlinks - begin
diff --git a/abs/core/udev/81-OSS_Emulation.rules b/abs/core/udev/81-OSS_Emulation.rules
deleted file mode 100644
index 373537e..0000000
--- a/abs/core/udev/81-OSS_Emulation.rules
+++ /dev/null
@@ -1,6 +0,0 @@
-# Udev rules for OSS Emulation
-# do not edit this file, it will be overwritten on update
-
-# OSS Emulation SOUND addon modules
-SUBSYSTEM=="sound", RUN+="/sbin/modprobe snd-pcm-oss"
-SUBSYSTEM=="sound", RUN+="/sbin/modprobe snd-seq-oss"
diff --git a/abs/core/udev/81-dvicoIR.rules b/abs/core/udev/81-dvicoIR.rules
deleted file mode 100644
index dcaf081..0000000
--- a/abs/core/udev/81-dvicoIR.rules
+++ /dev/null
@@ -1,18 +0,0 @@
-# Udev rules for Dvico remotes
-# do not edit this file, it will be overwritten on update
-
-# This rule is for the Dvico Dual Digital 4 Rev 2. It has 2 IR modules
-# identified, only the first of which is connected to the receiver.
-# The KERNELS=="*-1" part of this rule makes sure that the first
-# device is the one that gets the symlink.
-KERNEL=="event*", \
- KERNELS=="*-1", \
- ATTRS{manufacturer}=="Dvico", \
- ATTRS{idVendor}=="0fe9", \
- ATTRS{idProduct}=="db98", \
- SYMLINK="input/irremote"
-
-# This rule is for the older style USB DVICO remote dongles.
-SUBSYSTEMS=="usb", KERNEL=="hiddev*", \
- ATTRS{product}=="DVICO USB HID Remocon V1.00", \
- SYMLINK+="usb/dvicoIR"
diff --git a/abs/core/udev/PKGBUILD b/abs/core/udev/PKGBUILD
index 4208c7b..996bf6a 100644
--- a/abs/core/udev/PKGBUILD
+++ b/abs/core/udev/PKGBUILD
@@ -7,7 +7,7 @@
pkgbase="udev"
pkgname=('udev' 'udev-compat')
pkgver=171
-pkgrel=5
+pkgrel=4
arch=(i686 x86_64)
url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
license=('GPL')
@@ -17,9 +17,7 @@ options=(!makeflags !libtool)
makedepends=('glibc' 'coreutils' 'util-linux' 'pciutils' 'libusb-compat' 'glib2' 'kernel26' 'gperf' 'libxslt' 'gobject-introspection')
source=(http://www.kernel.org/pub/linux/utils/kernel/hotplug/$pkgbase-$pkgver.tar.bz2
81-arch.rules
- 81-OSS_Emulation.rules
- 81-dvicoIR.rules
- 81-CD_DVD_symlinks.rules
+ 81-LinHES.rules
static-audio-nodes-group.patch
static-nodes-permissions.patch
cdsymlinks.sh)
@@ -49,12 +47,8 @@ package_udev() {
make DESTDIR=${pkgdir} install
# Install our rule for permissions and symlinks
install -D -m644 $srcdir/81-arch.rules $pkgdir/lib/udev/rules.d/81-arch.rules
- # Install OSS Emulation rules
- install -D -m644 $srcdir/81-OSS_Emulation.rules $pkgdir/lib/udev/rules.d/81-OSS_Emulation.rules
- # Install dvicoIR rules
- install -D -m644 $srcdir/81-dvicoIR.rules $pkgdir/lib/udev/rules.d/81-dvicoIR.rules
- # Install CD/DVD symlink rules
- install -D -m644 $srcdir/81-CD_DVD_symlinks.rules $pkgdir/lib/udev/rules.d/81-CD_DVD_symlinks.rules
+ # Install LinHES rules
+ install -D -m644 $srcdir/81-LinHES.rules $pkgdir/lib/udev/rules.d/81-LinHES.rules
# install cdsymlinks.sh
install -D -m755 $srcdir/cdsymlinks.sh $pkgdir/lib/udev/cdsymlinks.sh
@@ -109,9 +103,7 @@ package_udev-compat() {
}
md5sums=('bdf4617284be2ecac11767437417e209'
'6ee44e3feb8e0f037947e7d4ca273f12'
- '18170020347b181b155ff5a1a8a904b4'
- '3a920447b11744ecb1b57f0de683db93'
- '48845542d8250d6f2eddf07944f78014'
+ 'd931178ca56f98f21f733fe535684ef8'
'4f625aea95a5597afd8cdf189421f193'
'f9e50b8dfcd2215f5423ff9bc04ecf68'
'2e808ee78d237c478b57af2a68d43769')
diff --git a/abs/core/udev/__changelog b/abs/core/udev/__changelog
deleted file mode 100644
index 1881493..0000000
--- a/abs/core/udev/__changelog
+++ /dev/null
@@ -1,14 +0,0 @@
-7/10/11 Britney Fransen
-- Added changelog
-- Added 81-LinHES.rules
-- Added 81-LinHES.rules to PKGBUILD
-
-8/9/11 Britney Fransen
-- Add cdsymlinks.sh to PKGBUILD
-
-1/24/2012
-- Renamed changelog to __changelog
-- Added 81-dvicoIR.rules
-- Moved OSS Emulation rules from 81-LinHES.rules to 81-OSS_Emulation.rules
-- Moved CD/DVD rules from 81-LinHES.rules to 81-CD_DVD_symlinks.rules
-- Removed 81-LinHES.rules
diff --git a/abs/core/udev/changelog b/abs/core/udev/changelog
new file mode 100644
index 0000000..3112650
--- /dev/null
+++ b/abs/core/udev/changelog
@@ -0,0 +1,7 @@
+7/10/11 Britney Fransen
+- Added changelog
+- Added 81-LinHES.rules
+- Added 81-LinHES.rules to PKGBUILD
+
+8/9/11 Britney Fransen
+- Add cdsymlinks.sh to PKGBUILD