public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Mouse not reconnecting after Timeout
Date: Thu, 15 May 2008 11:39:09 +0200	[thread overview]
Message-ID: <1210844349.7025.33.camel@violet.holtmann.net> (raw)
In-Reply-To: <482AE9AB.8060105@suse.de>

Hi Stefan,

> My Logitech MX LASER does not reconnect after the idle timeout.
> If i either pull the dongle and replug it or switch off the mouse and switch
> it back on or do a
> 
>  dbus-send --system --type=method_call \
>            --dest=org.bluez /org/bluez/hci0 \
>            org.bluez.Adapter.DisconnectRemoteDevice \
>            string:"00:07:61:3F:1B:6D"
> 
> then it reconnects fine.
> This happens with all dongles (The internal one in my hp2510p, one of the CSR
> based HAMA mini-dongles, ...)
> 
> I'm running 2.6.25.3 and bluez-{libs,utils}-3.31 with btusb (but it also
> happened with hci_usb).
> My DELL BT Keyboard and other mice are working fine and reconnecting after
> timeout. I have reports of similar symptoms from apple bt-keyboard users.

so the first assumption is that we are causing this disconnect with the
idle timeout setting. I committed a patch to the CVS that disables the
timeout and provides a input.conf setting that would allow to change it
without re-compiling. So we can actually set this to 1 minute for
testing and see what happens.

If this actually fixes it, then it is only an interim fix since the real
problem is that we are disconnecting the remote device wrongly. Current
guess is that we still keep a reference count somewhere. Either inside
the kernel or in user-space.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2008-05-15  9:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14 13:31 [Bluez-devel] Mouse not reconnecting after Timeout Stefan Seyfried
2008-05-15  9:39 ` Marcel Holtmann [this message]

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=1210844349.7025.33.camel@violet.holtmann.net \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@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