public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthias Thomae <bluez@thomae-privat.de>
To: Edd Dumbill <edd@usefulinc.com>
Cc: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] starting order in debian init script for bluez
Date: Sat, 10 Jul 2004 20:27:50 +0200	[thread overview]
Message-ID: <40F03526.3000900@thomae-privat.de> (raw)

Hi Edd, all,

I noticed that in /etc/init.d/bluez-utils from bluez-utils 2.7-4, the 
hcd2hci command is executed after starting all other bluez stuff:

case "$1" in
   start)
         echo -n "Starting $DESC:"
         start-stop-daemon --start --quiet --exec $HCID || true
         echo -n " $HCID_NAME"
         start_uarts || true
         start_rfcomm || true
         start-stop-daemon --start --quiet --exec $SDPD || true
         echo -n " $SDPD_NAME"
         start_pan || true
         start_hid || true
         echo "."
         enable_hci_input || true
         ;;

Wouldn't it be better to start it before rfcomm/sdpd/pand/hidd, to allow 
these services to use the dongle immediately?

I had a problem connection a Logitech-Hub-dongled PC to a NAP, and 
changing the order (and adding 'sleep 2' before start_pan, but that's a 
different story I guess) helped here.

Regards.
Matthias


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2004-07-10 18:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-10 18:27 Matthias Thomae [this message]
2004-07-10 18:55 ` [Bluez-devel] starting order in debian init script for bluez Marcel Holtmann
2004-07-11 10:25   ` Matthias Thomae
2004-07-11 15:22     ` Marcel Holtmann
2004-07-11 15:27       ` Matthias Thomae
2004-07-11 17:17         ` Edd Dumbill
2004-07-11 19:32           ` Matthias Thomae

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40F03526.3000900@thomae-privat.de \
    --to=bluez@thomae-privat.de \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=edd@usefulinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox