From owner-freebsd-bluetooth@freebsd.org Mon Jul 6 18:30:16 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 F3FF3A2E8 for ; Mon, 6 Jul 2015 18:30:15 +0000 (UTC) (envelope-from t06224eafa6-eccd16d0b-54350d8f3a854b1595cec3efa399f66a@bounce.twitter.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D50A814C1 for ; Mon, 6 Jul 2015 18:30:15 +0000 (UTC) (envelope-from t06224eafa6-eccd16d0b-54350d8f3a854b1595cec3efa399f66a@bounce.twitter.com) Received: by mailman.ysv.freebsd.org (Postfix) id D4221A2E5; Mon, 6 Jul 2015 18:30:15 +0000 (UTC) Delivered-To: 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 D34B8A2E4 for ; Mon, 6 Jul 2015 18:30:15 +0000 (UTC) (envelope-from t06224eafa6-eccd16d0b-54350d8f3a854b1595cec3efa399f66a@bounce.twitter.com) Received: from spring-chicken-ay.twitter.com (spring-chicken-ay.twitter.com [199.16.156.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 83A8D14BE for ; Mon, 6 Jul 2015 18:30:15 +0000 (UTC) (envelope-from t06224eafa6-eccd16d0b-54350d8f3a854b1595cec3efa399f66a@bounce.twitter.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=twitter.com; s=dkim-201406; t=1436207405; bh=LeIEwGwGtgpSOR3tO4SE3j32ZnuZMhJHPJd1m2L/YaA=; h=Date:From:To:Subject:MIME-Version:Content-Type:Message-ID; b=l1AM+YmHjHR5C8PXHj9IpZ9cTvsm8GqI/Ioipjx53hd4RJx+0SkNs0CPG/JQ4OxYy J+LqGw1Szv4HIYLAr51RD84Q92yd4+7jr+qhuWI0cLmwT2QOi8IUAVzXsO71KKEQCn IvfYsFgNwJHr6xPqfQvZ5G+QIRAnBxOtfLWqOhJ+r2Q/scE/XGRdhQd+Oh66wIJaqc ln4naYInJvHlWFO4qsqePbSw5RR4N64Si12NEt/pd/M1rlxZnY1CeCJiws4A7Gkm3a 8HIYeGIqe3d+HZoGH12LNS65lBZe2uM71A2xsTU62gAxo0VvZODgH9d2n1kzELKA/s deZ+gi0w2JwLg== X-MSFBL: eyJnIjoiRXZlcnl0aGluZyIsImIiOiJhdGxhLWF4dC0wNy1zcjEtRXZlcnl0aGlu Zy4xODQiLCJyIjoiYmx1ZXRvb3RoQGZyZWVic2Qub3JnIiwidSI6ImJsdWV0b290 aEBmcmVlYnNkLm9yZ0B1c2IjIzI0QDI0NEAzMzYyODQwNDIzQDBAMDBiOTUxZGJh ODc0OTVlNWMwODk2ZjYxNTI0Yzg1OTY5YjMyMzEyNCJ9 Date: Mon, 06 Jul 2015 18:30:05 +0000 From: Twitter To: =?UTF-8?B?2KfZhNi52YbZiNiv?= Subject: =?UTF-8?Q?Confirm_your_Twitt?= =?UTF-8?Q?er_account,_=D8=A7=D9=84=D8=B9=D9=86=D9=88=D8=AF?= MIME-Version: 1.0 Feedback-ID: 0040162518f58f41d1f0:16481b2a2bd9895cc9f3f73eb2597daffdce:none:twitterESP Message-ID: <71.4C.42740.D29CA955@twitter.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Mon, 06 Jul 2015 18:30:16 -0000 =D8=A7=D9=84=D8=B9=D9=86=D9=88=D8=AF, Confirm your email address to complete your Twitter account. It's easy - ju= st click on the button below. Click on the link below or copy and paste it into a browser: https://twitter.com/i/redirect?url=3Dhttps%3A%2F%2Ftwitter.com%2Faccount%2F= confirm_user_email%2F3362840423%2F62AAH-A27AG-143620%3Ft%3D1%26cn%3DZW1haWx= fY29uZmlybV9pbml0%26sig%3Db23f17aa8e815d75f5e70e42e4535257f1bea53c%26al%3D1= %26iid%3D54350d8f3a854b1595cec3efa399f66a%26ac%3D1%26autoactions%3D14362074= 05%26uid%3D3362840423%26nid%3D244%2B308&t=3D1&cn=3DZW1haWxfY29uZmly= bV9pbml0&sig=3Dc70241c43f37c419f49e9a7de3941c9b0b33df11&iid=3D54350= d8f3a854b1595cec3efa399f66a&uid=3D3362840423&nid=3D244+308 From owner-freebsd-bluetooth@freebsd.org Tue Jul 7 05:40:35 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 49F0E994601 for ; Tue, 7 Jul 2015 05:40:35 +0000 (UTC) (envelope-from takawata@init-main.com) Received: from sana.init-main.com (sana.init-main.com [IPv6:2001:240:28::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB51E1A1A for ; Tue, 7 Jul 2015 05:40:34 +0000 (UTC) (envelope-from takawata@init-main.com) Received: from ns.init-main.com (localhost [127.0.0.1]) by sana.init-main.com (8.14.3/8.14.3) with ESMTP id t675d8gm030156; Tue, 7 Jul 2015 14:39:09 +0900 (JST) (envelope-from takawata@ns.init-main.com) Message-Id: <201507070539.t675d8gm030156@sana.init-main.com> To: Claudius Chan Cc: freebsd-bluetooth@freebsd.org Subject: Re: T630 Logitech Bluetooth Mouse not re-connect after disconnect In-reply-to: Your message of "Sun, 05 Jul 2015 10:19:28 +0800." Date: Tue, 07 Jul 2015 14:39:08 +0900 From: Takanori Watanabe 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: Tue, 07 Jul 2015 05:40:35 -0000 In message , Claudius Chan さんいわく: >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. > I found a bug on my change. How about this patch ? Index: ng_l2cap_ulpi.c =================================================================== --- ng_l2cap_ulpi.c (revision 285236) +++ ng_l2cap_ulpi.c (working copy) @@ -398,6 +398,7 @@ ip->lcid = ch->scid; ip->psm = ch->psm; ip->ident = ch->ident; + ip->linktype = ch->con->linktype; NG_SEND_MSG_HOOK(error, l2cap->node, msg, l2cap->l2c, 0); }