[maemo-developers] [maemo-developers] Re: Disconnect rfcomm stays between bt_disconnected and rf_disconnected

From: koos vriezen koos.vriezen at gmail.com
Date: Thu Apr 6 18:40:48 EEST 2006
2006/4/6, Ville Tervo <ville.tervo at nokia.com>:
> Hi Koos,
>
> On Thu, Apr 06, 2006 at 04:51:16PM +0200, ext koos vriezen wrote:
> > 2006/4/6, Johan Hedberg <johan.hedberg at nokia.com>:
> > > On Thu, Apr 06, 2006, Jari Tenhunen wrote:
> > > > 'hciconfig hci0 down; hciconfig hci0 up' failed for me too, i.e. it
> > > > didn't revive the BT. So that trick isn't excactly the same as putting
> > > > the cover on or switching to offline mode.
> > >
> > > Well, that should be exactly what happens when you put the cover on,
> > > with the possible exception that btcond will also try to disconnect any
> > > open connetions. So you may also want to try
> > > hcitool dc <remote bt address>
> > > before running the hcitool hci0 down command. Also make sure that you
> > > are root when running the commands.
> >
> > Doesn't help, this is the "Connection timed out" error that I
> > mentioned (hcitool fails with that error message).
> > Doesn't do the plastic cover thingy an ACPI shutdown or something that
> > 'fixes' this?
> > Koos
>
>
> Can you notice any difference with wlan on or off? Since only difference
> that comes to my mind in doing "down and up" sequence is that also
> wlan is turned off when putting cover on or enabling offline mode.

No difference, only that indeed wlan is disconnected as well when it's
up (obviously not the case in my car), but offine/cover trick always
'fixes' this bt jam. Note that I don't have to turn off and on the GPS
receiver in this case.

Koos
More information about the maemo-developers mailing list