Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Re: USB Bluetooth works manually, but won't hotplug with the SAME script
Date: Tue, 22 Feb 2005 00:02:09 +0100	[thread overview]
Message-ID: <1109026929.7626.21.camel@pegasus> (raw)
In-Reply-To: <20050221185035.98722.qmail@web53003.mail.yahoo.com>

Hi Alfredo,

> I've tried the script... unfortunately, again, it
> works manually, but doesn't work with hotplug :( ... I
> had to remove the "modprobe bluetooth", because it
> didn't find the module, but AFAIK, the functionality
> is implemented in hci_usb... I might be wrong on this
> :(

don't start any daemons from hotplug. You can run them without having
any device plugged in.

> What the last 2 lines do, is what other people are
> suggesting to do with an rfcomm-kernel patch :)...
> basically, the second to last line:
> sdptool add --channel=3 SP
> adds the Serial Port service to sdpd, and the last
> line, fires up a pppd connection everytime a
> connection request comes from channel 3, establishing
> a connection to the palm :)

This specific stuff is only needed for WinCE connection and actually
someone should test the --mrouter option from dund and report or fix any
problems.

> Is there a chance that the problem is caused by the
> environment the kernel uses to execute the script is
> more restricted than when I do it manually? If so, how
> do I determine the difference? :S

Don't call it from hotplug. There is no need for it.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2005-02-21 23:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-19 18:24 [Bluez-users] USB Bluetooth works manually, but won't hotplug with the SAME script Alfredo Meraz
2005-02-20 16:45 ` [Bluez-users] " Sebastian Roth
2005-02-21 18:50   ` Alfredo Meraz
2005-02-21 23:02     ` Marcel Holtmann [this message]

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=1109026929.7626.21.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /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