From: Marcel Holtmann <marcel@holtmann.org>
To: Kutschenreuter Matthias <Matthias.Kutschenreuter@siemens.com>
Cc: "'Bluez-devel@lists.sourceforge.net'"
<Bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] hciattach killed
Date: Wed, 03 Mar 2004 14:32:33 +0100 [thread overview]
Message-ID: <1078320753.2787.63.camel@pegasus> (raw)
In-Reply-To: <AFE91B59A185A5439840B43AB79190470938E6@mchp997a.mch.sbs.de>
Hi Matthias,
> I run Bluez (PAN) on an arm processor device with a kernel with all
> bluez drivers built-in.
> I can perfectly PAN (ping, ftp, etc.) with other devices.
>
> The problem is now, when I stop any program (l2ping, ping or higher
> application e.g. upnp)
> with <Ctrl-C>, the BT chip is always detached :
> "hciconfig" shows only 00:00:00:00:00:00 MAC-adress
> I have to hciattach again.
> If I stop programs regular, e.g. ftp with "quit", then it is NOT
> detached, only
> Crtl-C causes the problem.
> (I also observed similar "automatic detach" when devices (e.g. a
> Zaurus) go into power save
> mode, but I think this is due to a voltage drop at the BT chip, which
> Ctrl-C shouldnt
> cause.)
>
> I didnt experience this on arm processor devices, where the bluez
> modules (l2cap,
> hci_uart, bnep) havent been built in, so my only idea at the moment
> is, that the
> problem is due to the fact, that all is built-in. Can it be, that
> killing a program
> with Ctrl-C kills also a socket / port / whatever used by the
> build-in-hciattach.
the strange thing is that if hciattach is killed, the Bluetooth device
must disappear and hciconfig couldn't show it anymore. Check in detail
what is going on there. And btw the hciattach uses the TTY ldisc of the
hci_uart driver to attach the serial port.
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2004-03-03 13:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-03 13:21 [Bluez-devel] hciattach killed Kutschenreuter Matthias
2004-03-03 13:32 ` Marcel Holtmann [this message]
[not found] <AFE91B59A185A5439840B43AB79190470938E7@mchp997a.mch.sbs.de>
2004-03-03 14:10 ` Marcel Holtmann
[not found] <AFE91B59A185A5439840B43AB79190470938E8@mchp997a.mch.sbs.de>
2004-03-03 15:04 ` Marcel Holtmann
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=1078320753.2787.63.camel@pegasus \
--to=marcel@holtmann.org \
--cc=Bluez-devel@lists.sourceforge.net \
--cc=Matthias.Kutschenreuter@siemens.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