From e6d753321e2ce4749cbe12b0f9d18dc6c6b5e0dd Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sun, 10 Jul 2011 01:27:59 -0500
Subject: udev: added LinHES.rules

---
 abs/core/udev/81-LinHES.rules | 23 +++++++++++++++++++++++
 abs/core/udev/PKGBUILD        |  6 +++++-
 abs/core/udev/changelog       |  4 ++++
 3 files changed, 32 insertions(+), 1 deletion(-)
 create mode 100644 abs/core/udev/81-LinHES.rules
 create mode 100644 abs/core/udev/changelog

diff --git a/abs/core/udev/81-LinHES.rules b/abs/core/udev/81-LinHES.rules
new file mode 100644
index 0000000..5e324d1
--- /dev/null
+++ b/abs/core/udev/81-LinHES.rules
@@ -0,0 +1,23 @@
+# 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"
+
diff --git a/abs/core/udev/PKGBUILD b/abs/core/udev/PKGBUILD
index b80fd77..f37d158 100644
--- a/abs/core/udev/PKGBUILD
+++ b/abs/core/udev/PKGBUILD
@@ -7,7 +7,7 @@
 pkgbase="udev"
 pkgname=('udev' 'udev-compat')
 pkgver=171
-pkgrel=2
+pkgrel=3
 arch=(i686 x86_64)
 url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
 license=('GPL')
@@ -17,6 +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-LinHES.rules
 	static-audio-nodes-group.patch
 	static-nodes-permissions.patch)
 
@@ -45,6 +46,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 LinHES rules
+  install -D -m644 $srcdir/81-LinHES.rules $pkgdir/lib/udev/rules.d/81-LinHES.rules
 
   # create framebuffer blacklist
   mkdir -p $pkgdir/etc/modprobe.d/
@@ -97,5 +100,6 @@ package_udev-compat() {
 }
 md5sums=('bdf4617284be2ecac11767437417e209'
          '6ee44e3feb8e0f037947e7d4ca273f12'
+         '53dbdd039979ef87cf45ae0571be2fd0'
          '4f625aea95a5597afd8cdf189421f193'
          'f9e50b8dfcd2215f5423ff9bc04ecf68')
diff --git a/abs/core/udev/changelog b/abs/core/udev/changelog
new file mode 100644
index 0000000..e5da487
--- /dev/null
+++ b/abs/core/udev/changelog
@@ -0,0 +1,4 @@
+7/10/11 Britney Fransen
+- Added changelog
+- Added 81-LinHES.rules
+- Added 81-LinHES.rules to PKGBUILD
-- 
cgit v0.12