public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jouni.Lohikoski@iki.fi" <jlohikos@cc.hut.fi>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] HID mouse doesnt reconnect after sleep if bemused-bemusedlinuxserver connection is open
Date: Sun, 17 Oct 2004 19:53:48 +0300	[thread overview]
Message-ID: <20041017165348.GA292044@kosh.hut.fi> (raw)
In-Reply-To: <1098026676.4911.96.camel@pegasus>

On Sun, Oct 17, 2004 at 05:24:37PM +0200, Marcel Holtmann wrote:
> fine for me as long as you are aware of the side effects of using
> security mode 3.

Well, not all side effects I am aware of.
Couple of weeks ago I read few comments on bluez-users archives, but
maybe didn't quite get what is so bad in security mode 3, except as an
extra layer it brings additional complexity to the implementation and
debugging.

> Check with "hciconfig hci0 revision" (as root) your firmware version of

        HCI 14.3
        Chip version: BlueCore02 (ES2)
        Max key size: 56 bit
        SCO mapping:  HCI

> your dongle, but it is not a HCI 16.x one and so it does not support any
> kind of scatternet stuff and this is maybe the reason why it fails. Use
> "hcidump -x" to check for the real HCI error codes and look them up in
> the Bluetooth specification.
oI did this, but there was nothing to be seen. When Bemused connection
was active, ofcourse there was ACL data going between devices. When the
bemused connection was open but idle, hcidump didn't show anything. Then
I tried to reconnect the HID mouse by pressing mouse button 1. The mouse
woke up (red led started blinking on the bottom of the mouse). Running
hcidump didn't show anything, like hcid wasn't receiving or sending
anything. Doing something on the Bemused client then again showed data
sent and received.

So either bluetooth dongle or hcid desn't see connection requests when
one ACL connection which uses SP profile is open (and in sec.mode 3)

For bemused this is run in rc.local
sdptool add --channel=10 SP

But when HID connection is open and active, bemused connection can be
opened without problems. What I currently quite not understand, is why
other connection type is different that it blocks new connections, but
other one does not. Both uses AUTH+ENCRYPT+MASTER when checked with
hcitool con.


I did try the hciconfig -a and hcitool info <phone> when the mouse had
gone to sleep mode. There was no differences in the outputs, except the
packet counters were ofcourse increased.
But the mouse could not reconnect.

// jouni



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2004-10-17 16:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-17 12:51 [Bluez-users] HID mouse doesnt reconnect after sleep if bemused-bemusedlinuxserver connection is open Jouni.Lohikoski@iki.fi
2004-10-17 13:02 ` Marcel Holtmann
2004-10-17 13:30   ` Jouni.Lohikoski@iki.fi
2004-10-17 13:34     ` Michal Semler
2004-10-17 15:24     ` Marcel Holtmann
2004-10-17 16:53       ` Jouni.Lohikoski@iki.fi [this message]
2004-10-17 16:57         ` Marcel Holtmann
2004-10-17 18:40           ` Jouni.Lohikoski@iki.fi
2004-10-17 19:41             ` Marcel Holtmann
2004-10-17 20:15               ` Jouni.Lohikoski@iki.fi
2004-10-17 21:31                 ` Marcel Holtmann
2004-10-18 22:11                   ` Jouni.Lohikoski@iki.fi
2004-10-18 22:23                     ` Marcel Holtmann
2004-10-17 13:03 ` Jouni.Lohikoski@iki.fi

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=20041017165348.GA292044@kosh.hut.fi \
    --to=jlohikos@cc.hut.fi \
    --cc=Jouni.Lohikoski@iki.fi \
    --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