From owner-freebsd-bluetooth@freebsd.org Sun Jul 5 02:19:29 2015 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7F60A29A for ; Sun, 5 Jul 2015 02:19:29 +0000 (UTC) (envelope-from ccs189@gmail.com) Received: from mail-oi0-x236.google.com (mail-oi0-x236.google.com [IPv6:2607:f8b0:4003:c06::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6ADC41C24 for ; Sun, 5 Jul 2015 02:19:29 +0000 (UTC) (envelope-from ccs189@gmail.com) Received: by oiyy130 with SMTP id y130so98236616oiy.0 for ; Sat, 04 Jul 2015 19:19:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=mF9eE1qeQl81fBr38ZbKZ8/UOmfMeyTDuvtrApQ1XTQ=; b=NFiWzfaCtOUz2N0BWxKqSTXuNqLwFhRyK0gTXEHCPaxSknbytLyKY9RYhAxMfDmaG2 HNICqG+Prch1q9p4YcQfVFCCmegPVJ4z+PuBJDVXdHEkG1p3i96wNEtZAp+r1OzqVFq+ 62rTV7WX0pTTS7/yiaDqj4cErw5PtYdP1145Hqx0NYbEXCnP77LIIktcUiycBruXxVKI MEmRj22GAgLNsn+uIC7/xB3m7W4fG4I35zK9iS68v41Lujqt+BIdKZKc0/kt8jWN0kCY yMIH+8HxAnpd2vj4rtSwW072KR0xtLLP3sGraY1Zd4vReU0TmVlI/zjgT0atSG21cb/2 3r4g== MIME-Version: 1.0 X-Received: by 10.202.53.136 with SMTP id c130mr39815001oia.2.1436062768250; Sat, 04 Jul 2015 19:19:28 -0700 (PDT) Received: by 10.60.42.2 with HTTP; Sat, 4 Jul 2015 19:19:28 -0700 (PDT) Date: Sun, 5 Jul 2015 10:19:28 +0800 Message-ID: Subject: T630 Logitech Bluetooth Mouse not re-connect after disconnect From: Claudius Chan To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jul 2015 02:19:29 -0000 Hi FreeBSD Bluetooth team, I currently running FreeBSD-current r279881 and appreciate the quality and stability of the FreeBSD. It would be perfect if my mouse working flawlessly. I have issue with my T630 bluetooth mouse to my X1 Carbon Laptop. Every time the mouse disconnect (turn off/on) or wake up OS wake up from sleep, the mouse just can't re-connect. I have to set my mouse to discover mode and re-connect the mouse. I tried with another bluetooth mouse(sony bluetooth mouse) is working fine. Not sure what went wrong. The following steps is what I done in order to reconnect the mouse: 1. Set the mouse to discover mode 2. Stop bthidd daemon 3. run the commad: sudo bthidcontrol -a logitech-mouse forget 4. start the bthidd daemon and doing mouse activity such as click or moving mouse. ====================== [chan@x1-carbon-bsd ~]$ sudo /usr/sbin/bthidd -d -c /etc/bluetooth/bthidd.conf -H /var/db/bthidd.hids -p /var/run/bthidd.pid bthidd[1490]: Opening outbound session for 00:1f:20:d4:59:28 (new_device=1, reconnect_initiate=1) bthidd[1490]: Could not connect to 00:1f:20:d4:59:28. Connection reset by peer (54) bthidd[1490]: Opening outbound session for 00:1f:20:d4:59:28 (new_device=1, reconnect_initiate=1) bthidd[1490]: Could not connect to 00:1f:20:d4:59:28. Host is down (64) bthidd[1490]: Opening outbound session for 00:1f:20:d4:59:28 (new_device=1, reconnect_initiate=1) bthidd[1490]: Could not connect to 00:1f:20:d4:59:28. Connection reset by peer (54) bthidd[1490]: Opening outbound session for 00:1f:20:d4:59:28 (new_device=1, reconnect_initiate=1) bthidd[1490]: Could not connect to 00:1f:20:d4:59:28. Connection reset by peer (54) bthidd[1490]: Opening outbound session for 00:1f:20:d4:59:28 (new_device=1, reconnect_initiate=1) bthidd[1490]: Could not connect to 00:1f:20:d4:59:28. Connection reset by peer (54) bthidd[1490]: Opening outbound session for 00:1f:20:d4:59:28 (new_device=1, reconnect_initiate=1) ======================== **Currently the mouse is still in discover mode. 5. l2ping the mouse: l2ping -a logitech-mouse ** Not too sure why it make the connection working. if not I keep seeing the Connection reset by peers (54) from the bthidd. If need more testing or log I can try my best to do it :) Thanks Chan