[Pkg-bluetooth-commits] r846 - in /packages/bluez/trunk/debian: bluez-compat.README.Debian bluez.bluetooth.default bluez.bluetooth.init changelog
filippo at users.alioth.debian.org
filippo at users.alioth.debian.org
Fri Jun 19 16:49:42 UTC 2009
Author: filippo
Date: Fri Jun 19 16:49:41 2009
New Revision: 846
URL: http://svn.debian.org/wsvn/pkg-bluetooth/?sc=1&rev=846
Log:
Mention pand/hidd/dund move to bluez-compat in init script and default
(Closes: #532622)
Added:
packages/bluez/trunk/debian/bluez-compat.README.Debian
Modified:
packages/bluez/trunk/debian/bluez.bluetooth.default
packages/bluez/trunk/debian/bluez.bluetooth.init
packages/bluez/trunk/debian/changelog
Added: packages/bluez/trunk/debian/bluez-compat.README.Debian
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez-compat.README.Debian?rev=846&op=file
==============================================================================
--- packages/bluez/trunk/debian/bluez-compat.README.Debian (added)
+++ packages/bluez/trunk/debian/bluez-compat.README.Debian Fri Jun 19 16:49:41 2009
@@ -1,0 +1,14 @@
+bluez compatibility daemons
+===========================
+This package contains old daemons like dund/pand/hidd which have been obsoleted
+by bluetoothd and the D-Bus API, they are provided for backward compatibility.
+
+It is possibile to start the daemons at boot if needed via /etc/rc.local file.
+
+If options were used via /etc/default/bluetooth this can be accomplished by a
+snippet like:
+
+test -f /etc/default/bluetooth && . /etc/default/bluetooth
+[ "$HIDD_ENABLED" -eq 1 ] && /usr/bin/hidd $HIDD_OPTIONS
+[ "$PAND_ENABLED" -eq 1 ] && /usr/bin/pand $PAND_OPTIONS
+[ "$DUND_ENABLED" -eq 1 ] && /usr/bin/dund $DUND_OPTIONS
Modified: packages/bluez/trunk/debian/bluez.bluetooth.default
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/bluez.bluetooth.default?rev=846&op=diff
==============================================================================
--- packages/bluez/trunk/debian/bluez.bluetooth.default (original)
+++ packages/bluez/trunk/debian/bluez.bluetooth.default Fri Jun 19 16:49:41 2009
@@ -1,17 +1,20 @@
# Defaults for bluez
# start bluetooth on boot?
-# compatibility note: If this variable is not found bluetooth will
-# start
+# compatibility note: if this variable is _not_ found bluetooth will start
BLUETOOTH_ENABLED=1
-# 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.
+# 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 accomplished for supported devices by udev in
+# /lib/udev/rules.d/62-bluez-hid2hci.rules 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
+# Older daemons like pand dund and hidd can be found in bluez-compat package as
+# they are deprecated and provided for backward compatibility only.
+
+# 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=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=846&op=diff
==============================================================================
--- packages/bluez/trunk/debian/bluez.bluetooth.init (original)
+++ packages/bluez/trunk/debian/bluez.bluetooth.init Fri Jun 19 16:49:41 2009
@@ -17,8 +17,8 @@
#
# Updated for bluez 4.7 by Mario Limonciello <mario_limonciello at dell.com>
#
-# startup control over dund and pand can be changed by editing
-# /etc/default/bluetooth
+# Note: older daemons like dund pand hidd are now shipped inside the
+# bluez-compat package
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DESC=bluetooth
@@ -153,8 +153,15 @@
enable_hci_input || true
fi
start_rfcomm || true
+
+ if [ "$HIDD_ENABLED" -eq 1 ] ||
+ [ "$PAND_ENABLED" -eq 1 ] ||
+ [ "$DUND_ENABLED" -eq 1 ]; then
+ log_progress_msg "compatibily daemons not started, see bluez-compat package"
+ fi
+
log_end_msg 0
- ;;
+ ;;
stop)
log_daemon_msg "Stopping $DESC"
if test "$BLUETOOTH_ENABLED" = "0"; then
@@ -170,14 +177,14 @@
log_progress_msg "bluetoothd"
stop_uarts || true
log_end_msg 0
- ;;
+ ;;
restart|force-reload)
$0 stop
$0 start
- ;;
+ ;;
status)
status_of_proc "$DAEMON" "$DESC" && exit 0 || exit $?
- ;;
+ ;;
*)
N=/etc/init.d/bluetooth
# echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2
Modified: packages/bluez/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk/debian/changelog?rev=846&op=diff
==============================================================================
--- packages/bluez/trunk/debian/changelog (original)
+++ packages/bluez/trunk/debian/changelog Fri Jun 19 16:49:41 2009
@@ -5,8 +5,10 @@
* Install README.Debian in binary bluez (Closes: #532018)
* Make bluez-{alsa,gstreamer} depend on bluez
* Switch to group bluetooth from netdev for authorized users
-
- -- Filippo Giunchedi <filippo at debian.org> Fri, 19 Jun 2009 12:52:26 +0200
+ * Mention pand/hidd/dund move to bluez-compat in init script and default
+ (Closes: #532622)
+
+ -- Filippo Giunchedi <filippo at debian.org> Fri, 19 Jun 2009 18:48:51 +0200
bluez (4.40-2) unstable; urgency=low
More information about the Pkg-bluetooth-commits
mailing list