From owner-freebsd-bluetooth@FreeBSD.ORG Mon Jun 20 20:58:11 2005 Return-Path: X-Original-To: bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DF6516A41C for ; Mon, 20 Jun 2005 20:58:11 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 154A043D1F for ; Mon, 20 Jun 2005 20:58:10 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 5FCAC3BF1D; Mon, 20 Jun 2005 15:58:10 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30876-01-94; Mon, 20 Jun 2005 15:58:10 -0500 (CDT) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44]) by mailgate1b.savvis.net (Postfix) with ESMTP id 290003BE24; Mon, 20 Jun 2005 15:58:10 -0500 (CDT) Received: from s228130hz1ew031.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Mon, 20 Jun 2005 15:58:04 -0500 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew031.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Mon, 20 Jun 2005 15:57:41 -0500 Message-ID: <42B72DC4.2090104@savvis.net> Date: Mon, 20 Jun 2005 13:57:40 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: vova@fbsd.ru References: <1119297124.1045.11.camel@localhost> In-Reply-To: <1119297124.1045.11.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Jun 2005 20:57:41.0491 (UTC) FILETIME=[B2E9BC30:01C575DA] X-Virus-Scanned: amavisd-new at savvis.net Cc: bluetooth Subject: Re: Problem with Logitech Mx900 again X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2005 20:58:11 -0000 Hello Vladimir, > At some moment my Mx900 stop work when connected directly to notebook BT > adapter. please explain. what os runs of your notebook? what software were you using on your notebook? > It does not work in bot WinXP and FreeBSD (works for both before), but > it still works with native cradle. what do you mean with native cradle? is it some sort of wired interface? bluetooth usb receiver? or bluetooth usb receiver which os detects as usb mouse (i.e. bluetooth usb receiver with hid proxy feature activated)? > Nothing was changed in notebook, nothing in FreeBSD kernel/userland when > problem arise. ok > mouse still pingable with l2ping: > # l2ping -a mouse > 44 bytes from mouse seq_no=-664775869 time=327.503 ms result=0 > 44 bytes from mouse seq_no=-664775869 time=22.231 ms result=0 > ^C that is a strange sequence number, but i do not think this is your problem. > # bthidd -d > bthidd[1486]: Opening outbound session for 00:07:61:17:9b:27 (new_device=1, reconnect_initiate=1) > bthidd[1486]: Could not connect to 00:07:61:17:9b:27. Socket is not connected (57) not good. > (cp /dev/null /var/db/bthidd.hids, before, all possible reset and reconnects on mouse initiated) just a suggestion - you might want to disconnect batteries from the mouse and leave it like that for few (10-15) minutes. just to make sure it "forgets" everything. > there hcidump while this operation > # hcidump next time *please* send me binary dump > HCIDump - HCI packet analyzer ver 1.5 > device: any snap_len: 65535 filter: 0xffffffff > < HCI Command: Create Connection(0x01|0x0005) plen 13 >>HCI Event: Command Status(0x0f) plen 4 >>HCI Event: Connect Complete(0x03) plen 11 ok, baseband link is established > < HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4 > < ACL data: handle 0x0029 flags 0x02 dlen 12 > L2CAP(s): Connect req: psm 17 scid 0x004d >>HCI Event: Number of Completed Packets(0x13) plen 5 >>HCI Event: Command Complete(0x0e) plen 6 >>ACL data: handle 0x0029 flags 0x02 dlen 16 > L2CAP(s): Connect rsp: dcid 0x004f scid 0x004d result 1 status 2 >>ACL data: handle 0x0029 flags 0x02 dlen 16 > L2CAP(s): Connect rsp: dcid 0x0000 scid 0x004d result 2 status 0 ok. bthidd(8) has failed to establish l2cap connection on psm 17 (0x11 - HID control). the mouse first has sent l2cap "connect rsp" message with PENDING (1) result and AUTHORIZATION PENDING (2) status. then it has sent l2cap "connect rsp" with PSM NOT SUPPORTED (2) result. >>HCI Event: QoS Setup Complete(0x0d) plen 21 >>HCI Event: Disconn Complete(0x05) plen 4 and finally baseband link goes down. > In attachment result of > # bthidcontrol -a mouse query looks fine to me. hcidump got confused about sdp packets, but its known problem and its fine. > Any hints what it is and how can be cured ? from what i can see, it looks like the mouse does not like new host. most hid devices will "lock" on the first device that contacted it. that is why you need to "reset" the mouse to make sure it "forgets" about previous host. another thing you could try to do is to force paring between the mouse and pc. you need to know default pin-code for the mouse. check the manual to see if its there, if not - try "0000" - four zeros. 1) man hcsecd(8) 2) man hcsecd.conf(5) 3) man hccontrol(8) 4) hccontrol help write_authentication_enable thanks, max