Bug#389716: [Pkg-bluetooth-maintainers] Bug#389716: bluez-utils: sdptool fail silently on boot

Filippo Giunchedi filippo at debian.org
Mon Mar 12 13:30:19 CET 2007


Hi,

On Wed, Sep 27, 2006 at 01:22:47PM +0200, Alessandro Valente wrote:
> Package: bluez-utils
> Version: 3.5-1
> Severity: normal
> 
> I have SDPTOOL_OPTIONS="add --channel=3 SP" in my /etc/default/bluetooth.
> The command fails because kernel modules need time to load. 
> I need to insert a "sleep 1" to make things work.
> 
> Also sdptool outputs and errors are redirected to /dev/null
> and no check is done for errors.

sorry for the late reply, I implemented the error checking as follows:

if [ "$VERBOSE" != no ]; then
    $SDPTOOL $o
else
    $SDPTOOL $o >/dev/null 2>&1
fi

so by default you'll get sdptool messages, but they won't be fatal to the init
script

for your delay issue I'm not sure how to proceed but preloading modules via
/etc/modules seems like a sensible solution for you, if that's a common
issue the sleep command can be taken into account for addition, though.

thanks for your report,

filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

What a strange illusion it is to suppose that beauty is goodness.
-- Lev Tolstoj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-bluetooth-maintainers/attachments/20070312/e04bbbb0/attachment.pgp


More information about the Pkg-bluetooth-maintainers mailing list