Re: Mouse not reconnecting after Timeout

Marcel Holtmann <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.