[Pkg-bluetooth-commits] r1509 - in /packages/bluez/trunk/debian: changelog patches/fix_udevadm_in_hid2hci.patch

iwamatsu at users.alioth.debian.org iwamatsu at users.alioth.debian.org
Mon Oct 24 20:48:46 UTC 2016


Author: iwamatsu
Date: Mon Oct 24 20:48:45 2016
New Revision: 1509

URL: http://svn.debian.org/wsvn/pkg-bluetooth/?sc=1&rev=1509
Log:
Add patches/fix_udevadm_in_hid2hci.patch

Added:
    packages/bluez/trunk/debian/patches/fix_udevadm_in_hid2hci.patch
Modified:
    packages/bluez/trunk/debian/changelog

Modified: packages/bluez/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/changelog?rev=1509&op=diff
==============================================================================
--- packages/bluez/trunk/debian/changelog	(original)
+++ packages/bluez/trunk/debian/changelog	Mon Oct 24 20:48:45 2016
@@ -8,6 +8,8 @@
       iCade support by autopair.
     - Add patches/0004-agent-Assert-possible-infinite-loop.patch.
       Show assert if possible infinite loop.
+    - Add patches/fix_udevadm_in_hid2hci.patch.
+      Change path of udevadm from /sbin to /bin.
 
  -- Nobuhiro Iwamatsu <iwamatsu at debian.org>  Sat, 01 Oct 2016 08:17:01 +0900
 

Added: packages/bluez/trunk/debian/patches/fix_udevadm_in_hid2hci.patch
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/patches/fix_udevadm_in_hid2hci.patch?rev=1509&op=file
==============================================================================
--- packages/bluez/trunk/debian/patches/fix_udevadm_in_hid2hci.patch	(added)
+++ packages/bluez/trunk/debian/patches/fix_udevadm_in_hid2hci.patch	Mon Oct 24 20:48:45 2016
@@ -0,0 +1,13 @@
+diff --git a/tools/hid2hci.rules b/tools/hid2hci.rules.x
+index db6bb03..36be9d2 100644
+--- a/tools/hid2hci.rules
++++ b/tools/hid2hci.rules.x
+@@ -20,7 +20,7 @@ ENV{DEVTYPE}!="usb_device", GOTO="hid2hci_end"
+ # Unfortunately the only event seen is the BT device disappearing, so the mouse
+ # device needs to be chased down on the USB bus.
+ ATTR{bDeviceClass}=="e0", ATTR{bDeviceSubClass}=="01", ATTR{bDeviceProtocol}=="01", ATTR{idVendor}=="413c", \
+-  ENV{REMOVE_CMD}="/sbin/udevadm trigger --action=change --subsystem-match=usb --property-match=HID2HCI_SWITCH=1"
++  ENV{REMOVE_CMD}="/bin/udevadm trigger --action=change --subsystem-match=usb --property-match=HID2HCI_SWITCH=1"
+ 
+ # CSR devices
+ ATTR{idVendor}=="0a12|0458|05ac", ATTR{idProduct}=="1000", RUN+="hid2hci --method=csr --devpath=%p"




More information about the Pkg-bluetooth-commits mailing list