[arch-commits] Commit in udev/trunk (PKGBUILD logitech-rules.patch)

Tobias Powalowski tpowa at archlinux.org
Mon Jul 5 16:16:52 EDT 2010


    Date: Monday, July 5, 2010 @ 16:16:51
  Author: tpowa
Revision: 84947

upgpkg: udev 158-2
fix logitech rules

Added:
  udev/trunk/logitech-rules.patch
Modified:
  udev/trunk/PKGBUILD

----------------------+
 PKGBUILD             |   10 +++++++---
 logitech-rules.patch |   14 ++++++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-05 18:44:22 UTC (rev 84946)
+++ PKGBUILD	2010-07-05 20:16:51 UTC (rev 84947)
@@ -6,7 +6,7 @@
 pkgbase="udev"
 pkgname=('udev' 'udev-compat')
 pkgver=158
-pkgrel=1
+pkgrel=2
 arch=(i686 x86_64)
 url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
 license=('GPL')
@@ -16,16 +16,20 @@
 makedepends=('glibc' 'coreutils' 'util-linux' 'libusb' 'glib2' 'kernel26' 'gperf' 'libxslt' 'gobject-introspection')
 source=(http://www.kernel.org/pub/linux/utils/kernel/hotplug/$pkgname-$pkgver.tar.bz2
         81-arch.rules load-modules.sh cdsymlinks.sh root-link.sh
-        arch-udev-rules.patch)
+        arch-udev-rules.patch
+        logitech-rules.patch)
 md5sums=('26f99dde11f8e393d659614d7d1a3964'
          '6393ee81993f8b9beb776ca904005864'
          'f91fddc67609b45b244a624977c4247b'
          '2e808ee78d237c478b57af2a68d43769'
          '2d6dc6842464f107bccc68cd505a6c31'
-         '70198227b7bbe3852e1cd2299693af66')
+         '70198227b7bbe3852e1cd2299693af66'
+         '817537bdcfc1a4fa79e853fd38df4528')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
+  # fix logitech rules
+  patch -Np0 -i $srcdir/logitech-rules.patch 
   ./configure --prefix="" --mandir=/usr/share/man\
                           --includedir=/usr/include\
                           --libexecdir=/lib/udev\

Added: logitech-rules.patch
===================================================================
--- logitech-rules.patch	                        (rev 0)
+++ logitech-rules.patch	2010-07-05 20:16:51 UTC (rev 84947)
@@ -0,0 +1,14 @@
+--- -	2010-07-04 14:50:15.979139552 +0200
++++ extras/hid2hci/70-hid2hci.rules	2010-07-03 21:03:40.685341704 +0200
+@@ -11,9 +11,9 @@
+   RUN+="hid2hci --method=dell --devpath=%p", ENV{HID2HCI_SWITCH}="1"
+ 
+ # Logitech devices (hidraw)
+-KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345bce]|c71[34bc]", \
++KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345e]|c71[34]", \
+   RUN+="hid2hci --method=logitech-hid --devpath=%p"
+-KERNEL=="hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70a", \
++KERNEL=="hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[abc]|c71[bc]", \
+   RUN+="hid2hci --method=logitech-hid --devpath=%p"
+ 
+ ENV{DEVTYPE}!="usb_device", GOTO="hid2hci_end"



More information about the arch-commits mailing list