From 5207d9e719b9a17ff9991efcbbaa10c6cc2134e3fe9ad7a00f5883d052a53174 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 8 Jan 2009 16:55:14 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bluez?expand=0&rev=19 --- bluetooth.modprobe | 3 +++ bluez-gstreamer.spec | 4 ++-- bluez.changes | 13 +++++++++---- bluez.spec | 12 +++++++++--- 4 files changed, 23 insertions(+), 9 deletions(-) create mode 100644 bluetooth.modprobe diff --git a/bluetooth.modprobe b/bluetooth.modprobe new file mode 100644 index 0000000..c57d961 --- /dev/null +++ b/bluetooth.modprobe @@ -0,0 +1,3 @@ +# use "reset=1" as default, since it should be safe for recent devices and +# solves all kind of problems. +option btusb reset=1 diff --git a/bluez-gstreamer.spec b/bluez-gstreamer.spec index 178323d..0d72509 100644 --- a/bluez-gstreamer.spec +++ b/bluez-gstreamer.spec @@ -1,7 +1,7 @@ # # spec file for package bluez-gstreamer (Version 4.22) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: alsa-devel libsndfile-devel BuildRequires: gstreamer-0_10-devel gstreamer-0_10-plugins-base-devel Url: http://www.bluez.org Version: 4.22 -Release: 1 +Release: 2 Summary: Bluetooth Sound Support Group: Productivity/Multimedia/Sound/Utilities License: GPL v2 or later diff --git a/bluez.changes b/bluez.changes index 3769cee..67541ed 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 8 17:09:02 CET 2009 - seife@suse.de + +- add a modprobe.d config, setting reset=1 for btusb (bnc#461369) + ------------------------------------------------------------------- Sun Dec 7 22:39:05 CET 2008 - seife@suse.de @@ -14,10 +19,10 @@ Sun Dec 7 22:39:05 CET 2008 - seife@suse.de ------------------------------------------------------------------- Mon Dec 1 18:16:55 CET 2008 - seife@suse.de -- update to bluez-4.21: - - Fix adapter initialization logic. - - Fix adapter setup and start security manager early. - - Fix usage issue with first_init variable. +- update to bluez-4.21: + - Fix adapter initialization logic. + - Fix adapter setup and start security manager early. + - Fix usage issue with first_init variable. ------------------------------------------------------------------- Mon Dec 1 00:44:09 CET 2008 - seife@suse.de diff --git a/bluez.spec b/bluez.spec index 0341a42..d0ed5be 100644 --- a/bluez.spec +++ b/bluez.spec @@ -1,7 +1,7 @@ # # spec file for package bluez (Version 4.22) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ BuildRequires: glib2-devel libnl-devel libusb-devel BuildRequires: alsa-devel libsndfile-devel Url: http://www.bluez.org Version: 4.22 -Release: 1 +Release: 2 Summary: Bluetooth Stack for Linux Group: Hardware/Mobile License: GPL v2 or later @@ -37,6 +37,7 @@ Source3: bluetooth.sysconfig Source4: bluetooth.sh Source5: org.bluez.service Source6: README.SUSE +Source7: bluetooth.modprobe Patch1: bluez-4.20-bluetooth.rules.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: bluez-utils = 3.36 @@ -144,7 +145,7 @@ Authors: %package compat Group: Hardware/Mobile License: GPL v2 or later -Summary: Bluetooth Stack for Linux. +Summary: Bluetooth Stack for Linux Requires: libbluetooth3 = %{version} %description compat @@ -225,6 +226,7 @@ install --mode=0755 -D %{S:2} $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/bluetooth-co install --mode=0644 -D %{S:3} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.bluetooth install --mode=0755 -D %{S:4} $RPM_BUILD_ROOT/lib/udev/bluetooth.sh install --mode=0644 -D %{S:5} $RPM_BUILD_ROOT/usr/share/dbus-1/system-services/org.bluez.service +install --mode=0755 -D %{S:7} $RPM_BUILD_ROOT/%{_sysconfdir}/modprobe.d/bluetooth ln -s ../../etc/init.d/bluetooth $RPM_BUILD_ROOT/usr/sbin/rcbluetooth %clean @@ -295,6 +297,8 @@ rm -rf $RPM_BUILD_ROOT %config /usr/share/dbus-1/system-services/org.bluez.service #%doc %{_defaultdocdir}/bluez-utils/ %dir /var/lib/bluetooth +%dir %{_sysconfdir}/modprobe.d +%config(noreplace) %{_sysconfdir}/modprobe.d/bluetooth %files devel %defattr(-, root, root) @@ -349,6 +353,8 @@ rm -rf $RPM_BUILD_ROOT %doc %{_mandir}/man1/dund.1.gz %changelog +* Thu Jan 08 2009 seife@suse.de +- add a modprobe.d config, setting reset=1 for btusb (bnc#461369) * Sun Dec 07 2008 seife@suse.de - update to bluez-4.22: - Add deny statements to D-Bus access policy.