public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Jouni.Lohikoski@iki.fi
Cc: BlueZ Mailing List <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 15:02:17 +0200	[thread overview]
Message-ID: <1098018136.4911.87.camel@pegasus> (raw)
In-Reply-To: <20041017125132.GA274769@kosh.hut.fi>

Hi Jouni,

> I have Epox BT-dongle, Epox CP-BT-MS02B HID mouse, Nokia S60-phone (v6.1),
> Bemused v1.71, bemusedlinuxserver v1.7, Linux kernel 2.6.8, bluez-libs v2.8,
> bluez-utils v2.8
>  
> hcid is in security mode 3, auth+encryption turned on.

as I always said, do this only if you know what you are doing ;)

> When previously paired HID-mouse is in sleep mode and there is a open but
> yet idle BT connection between Bemused and bemusedlinuxserver, the mouse
> cannot reconnect to the hidd daemon. When mouse button 1 is pressed, mouse
> turns itself on and I assume it tries to connect, but hcid never gets or
> understands to authenticate as the usual lines in the /var/log/messages do
> not appear.
>  
> The usual lines which should appear when reconnection is made:
> "
> Oct 17 14:52:22 localhost hcid[2237]: link_key_request (sba=00:04:61:80:5D:88, dba=00:04:61:82:00:88)
> Oct 17 14:52:23 localhost hidd[1135]: New HID device 00:04:61:82:00:88 (CSR HIDEngine Three Button Mouse)
> Oct 17 14:52:24 localhost udev[5715]: creating device node '/udev/input/mouse0'
> "
>  
> After the Bemused-application is closed in the S60-phone, the HID mouse can
> reconnect again as normal.
>  
> Is this a known limitation of the current bluez-implementation or in other
> resource? And no, I haven't tested yet if the problem is there also when in
> security mode 0 without authentication and encryption.

This is maybe a limitation of the Nokia phone, too. The Debian Sid and
SuSE 9.2 packages include a workaround for the hidd and phones with
limited capability for role switching.

What does "hciconfig -a" and "hcitool info <phone>" say?

Regards

Marcel




-------------------------------------------------------
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 13:02 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 [this message]
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
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=1098018136.4911.87.camel@pegasus \
    --to=marcel@holtmann.org \
    --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