[Pkg-bluetooth-commits] r807 - in /packages/bluez/trunk/debian: NEWS bluez.bluetooth.default bluez.bluetooth.init changelog rules

filippo at users.alioth.debian.org filippo at users.alioth.debian.org
Fri May 22 13:25:43 UTC 2009


Author: filippo
Date: Fri May 22 13:25:43 2009
New Revision: 807

URL: http://svn.debian.org/wsvn/pkg-bluetooth/?sc=1&rev=807
Log:
Change usage for hid2hci: install udev rules and issue a warning from init
script

Modified:
    packages/bluez/trunk/debian/NEWS
    packages/bluez/trunk/debian/bluez.bluetooth.default
    packages/bluez/trunk/debian/bluez.bluetooth.init
    packages/bluez/trunk/debian/changelog
    packages/bluez/trunk/debian/rules

Modified: packages/bluez/trunk/debian/NEWS
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/NEWS?rev=807&op=diff
==============================================================================
--- packages/bluez/trunk/debian/NEWS (original)
+++ packages/bluez/trunk/debian/NEWS Fri May 22 13:25:43 2009
@@ -1,3 +1,18 @@
+bluez-utils (4.40-1) unstable; urgency=low
+
+  This version includes a new hid2hci program which expects the vendor ID and
+  product ID of the device to be switched to HID/HCI mode, this means the
+  switching is no longer done in init script but via udev rules for supported
+  devices. Adding new devices can be done by dropping rules into
+  /etc/udev/rules.d/ similar to ones found in
+  /lib/udev/rules.d/62-bluez-hid2hci.rules or by manually running hid2hci, see
+  hid2hci(8) manpage for further information.
+
+  This version also ships a simple commandline agent (bluetooth-agent) to do
+  pairing on the command line 
+
+ -- Filippo Giunchedi <filippo at debian.org>  Fri, 22 May 2009 15:21:35 +0200
+
 bluez-utils (3.36-3) unstable; urgency=low
 
   This version includes an new d-bus policy with updated access control.

Modified: packages/bluez/trunk/debian/bluez.bluetooth.default
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez.bluetooth.default?rev=807&op=diff
==============================================================================
--- packages/bluez/trunk/debian/bluez.bluetooth.default (original)
+++ packages/bluez/trunk/debian/bluez.bluetooth.default Fri May 22 13:25:43 2009
@@ -5,9 +5,13 @@
 # start
 BLUETOOTH_ENABLED=1
 
-# This setting will switch HID devices (e.g mouse/keyboad) to HCI mode, that is
+# This setting used to switch HID devices (e.g mouse/keyboad) to HCI mode, that is
 # you will have bluetooth functionality from your dongle instead of only HID.
+# This is now done by udev rules in /lib/udev/rules.d/62-bluez-hid2hci.rules
+# for supported devices by invoking hid2hci with correct parameters.
+# See /usr/share/doc/bluez/NEWS.Debian.gz for further information.
+
 # Note that not every bluetooth dongle is capable of switching back to HID
 # mode, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355497
-HID2HCI_ENABLED=1
-HID2HCI_UNDO=1
+HID2HCI_ENABLED=0
+HID2HCI_UNDO=0

Modified: packages/bluez/trunk/debian/bluez.bluetooth.init
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez.bluetooth.init?rev=807&op=diff
==============================================================================
--- packages/bluez/trunk/debian/bluez.bluetooth.init (original)
+++ packages/bluez/trunk/debian/bluez.bluetooth.init Fri May 22 13:25:43 2009
@@ -67,22 +67,12 @@
 
 enable_hci_input()
 {
-       if [ "$VERBOSE" != no ]; then
-               log_progress_msg "hid_devices"
-               $HID2HCI -rhci
-       else
-               $HID2HCI -rhci -q
-       fi
+    log_progress_msg "switching to HID/HCI no longer done in init script, see /usr/share/doc/bluez/NEWS.Debian.gz"
 }
 
 disable_hci_input()
 {
-       if [ "$VERBOSE" != no ]; then
-               log_progress_msg "hid_devices"
-               $HID2HCI -rhid
-       else
-               $HID2HCI -rhid -q
-       fi
+    log_progress_msg "switching to HID/HCI no longer done in init script, see /usr/share/doc/bluez/NEWS.Debian.gz"
 }
 
 start_uarts()

Modified: packages/bluez/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/changelog?rev=807&op=diff
==============================================================================
--- packages/bluez/trunk/debian/changelog (original)
+++ packages/bluez/trunk/debian/changelog Fri May 22 13:25:43 2009
@@ -2,11 +2,11 @@
 
   * New upstream release
     - scripts/bluetooth.rules -> scripts/bluetooth-serial.rules
-    - switch to new syntax for hid2hci in init script
   * Upload to unstable
-  * Install udev rules for hid2hci
-
- -- Filippo Giunchedi <filippo at debian.org>  Wed, 20 May 2009 19:19:24 +0200
+  * Change usage for hid2hci: install udev rules and issue a warning from init
+    script
+
+ -- Filippo Giunchedi <filippo at debian.org>  Fri, 22 May 2009 14:56:07 +0200
 
 bluez (4.34-0exp1) experimental; urgency=low
 

Modified: packages/bluez/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/rules?rev=807&op=diff
==============================================================================
--- packages/bluez/trunk/debian/rules (original)
+++ packages/bluez/trunk/debian/rules Fri May 22 13:25:43 2009
@@ -11,10 +11,9 @@
 DEB_CONFIGURE_EXTRA_FLAGS := --enable-gstreamer \
                              --enable-alsa \
                              --enable-usb \
-                             --enable-hal \
                              --enable-netlink \
                              --enable-tools \
-							 --enable-test \
+                             --enable-test \
                              --enable-bccmd \
                              --enable-hid2hci \
                              --enable-dfutool \




More information about the Pkg-bluetooth-commits mailing list