public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Matthias Thomae <bluez@thomae-privat.de>
Cc: Edd Dumbill <edd@usefulinc.com>,
	BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] starting order in debian init script for bluez
Date: Sat, 10 Jul 2004 20:55:17 +0200	[thread overview]
Message-ID: <1089485717.13519.75.camel@pegasus> (raw)
In-Reply-To: <40F03526.3000900@thomae-privat.de>

Hi Matthias,

> 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?

no, because the hcid/sdpd/rfcomm/pand/hidd etc. can be started without
any real device attached. And when you run hid2hci to switch into HCI
mode, the hidd must already running to accept the reconnect from your
HID devices.

> 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.

If you start a client connection then this is really a different story.

Regards

Marcel




-------------------------------------------------------
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:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-10 18:27 [Bluez-devel] starting order in debian init script for bluez Matthias Thomae
2004-07-10 18:55 ` Marcel Holtmann [this message]
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=1089485717.13519.75.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=bluez@thomae-privat.de \
    --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