public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: Bastien Nocera <hadess@hadess.net>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: dun profile
Date: Thu, 15 Oct 2009 11:22:43 -0300	[thread overview]
Message-ID: <2d5a2c100910150722x3fb617fbgc01c0fb4476b3d6d@mail.gmail.com> (raw)
In-Reply-To: <1255599537.3797.63.camel@localhost.localdomain>

Hi,

On Thu, Oct 15, 2009 at 6:38 AM, Bastien Nocera <hadess@hadess.net> wrote:
> Same questions as Stefan I'm afraid.
>
> In any case, I think the front-ends should be creating the port
> themselves, so they would know which one to handle.
>
> See the recent (and less recent) work done in NetworkManager for DUN
> support.


Basically I want to avoid the code done in NetworkManager, simply
because it doesn't work for anything but the one that create the port.
So what Im proposing is that udev take care of setting the
capabilities to the port, not the applet manually doing it, but to
make it possible there must be something indicating that it is a port
to dun profile channel (or spp if that matters). The other suggestion
is that this port should be somehow stored so it is recreated after
boot, but as Stefan cleverly point out this would be a bit difficult
since some device insist in changing the channel/hide the service each
time the profile got in use, so perhaps it is not a good idea in the
end.

What Im still missing is how I attach the information to the port so
that udev properly recognized and nobody has to do workarounds, store
the return of Serial.Connect("dun") and then wait it to be announced
by udev, than I can do it directly on bluetoothd and has to duplicate
this code on front-ends.

-- 
Luiz Augusto von Dentz
Engenheiro de Computação

  reply	other threads:[~2009-10-15 14:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15  1:15 dun profile Luiz Augusto von Dentz
2009-10-15  7:02 ` Stefan Seyfried
2009-10-15  9:38 ` Bastien Nocera
2009-10-15 14:22   ` Luiz Augusto von Dentz [this message]
2009-10-15 15:19     ` Bastien Nocera

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=2d5a2c100910150722x3fb617fbgc01c0fb4476b3d6d@mail.gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=hadess@hadess.net \
    --cc=linux-bluetooth@vger.kernel.org \
    /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