From owner-freebsd-bluetooth@freebsd.org Tue Aug 23 05:27:44 2016 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 43F2BBC3E1F for ; Tue, 23 Aug 2016 05:27:44 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ua0-x232.google.com (mail-ua0-x232.google.com [IPv6:2607:f8b0:400c:c08::232]) (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 016B71631 for ; Tue, 23 Aug 2016 05:27:44 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: by mail-ua0-x232.google.com with SMTP id n59so226956429uan.2 for ; Mon, 22 Aug 2016 22:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=ox1FTQ2nu6Y9UxCqXsGygKUOk4yImmU1EMEK0TT9UB4=; b=S/m/oesfjYGdyvG3sxkmwJg4bXiwfV1DjbHFcl3NRun+IS8eCOrKezufj9/K/YaBRr xW/C8sDvvDxtAOksN8xRaU4JBGfT8UlRv3uIvArsh4o/nuPKj+x/2cRsUYPyFQBKwQua 5U8dJhkCTtCpvEGJE3EkcSbyFFUSWNBdHkltBQ3jPQ2gL7OKCjx/rzqe6R+xZdXauTuS z/i20k8VE9jAtz392o808rRW7WDNWaA6HVhPQn1Er7vDzHq81BzDZHSZ+m/pxZDkRNv9 0LGRkXuXTlR1NaykPBIof4E0PnrB/6YteUXRg8uBU4DAlRNby2ZhSv8M43MGFMff4cFY sfZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ox1FTQ2nu6Y9UxCqXsGygKUOk4yImmU1EMEK0TT9UB4=; b=TCzrkpj69gc8IqSSdKerlF4UFjHIwVD8ciQOPtFKAeJVUVxdUZb40Twtrbpm7V3Bmv FysOAW3sQq9hEFsoAZaeipk3vr+nnP5edr5j/mUbJGaeA9MRQn4plX1AdhURTmcSfete INVtqw9VZSpwFUnwtLoiY/wBGCXb7apWveXer8VgN01svWAzkOrJeknTom/Ek3dCkMQu tsexGoqLQC8rf7wcfCKZIRaZeEQLmKSVTn/DwhVn/QYtZpaHCuT0cOdoc0BWPbf8tbdk e70u9/4taqFzfjtuFMRPEVu0t/9FSSYeoHxI9HMWnOM/kh6kuHI1ppoYrb036VywL+iw 0Ejg== X-Gm-Message-State: AEkoouuDF1yU70gAUpZYYdQ0xsUKWoiu7d1o4B7WPk350jMdkKMmBi78Dt/6n4azdwLgmJwCDLuTuj0JcXlxug== X-Received: by 10.159.36.18 with SMTP id 18mr13468909uaq.31.1471930063018; Mon, 22 Aug 2016 22:27:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.75.79 with HTTP; Mon, 22 Aug 2016 22:27:42 -0700 (PDT) From: David Demelier Date: Tue, 23 Aug 2016 07:27:42 +0200 Message-ID: Subject: Can not get logitech m535 to work properly To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 05:27:44 -0000 Hello, I've bought a new bluetooth mouse to replace my old logitech v470 which is dying. It's a logitech m535 very close to the old one, but I can't get it to work. I've done exactly the same steps. 1. search it I press the discovery mode of the bluetooth mouse and run: # hccontrol inquiry Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:1f:20:f7:97:dd Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 00:25:80 Clock offset: 0x43e2 Inquiry complete. Status: No error [00] 2. add an entry into the /etc/bluetooth/hcsecd.conf (beginning of the file unchanged, appended this to it) device { bdaddr 00:1f:20:f7:97:dd; name "Logitech M535"; key nokey; pin nopin; } Restart the service: # service hcsecd restart (the mouse is still blinking fast) 3. connect the bthidd to it # bthidcontrol -a 00:1f:20:f7:97:dd query > /etc/bluetooth/bthidd.conf # bthidcontrol -a 00:1f:20:f7:97:dd known # service bthidd restart Now the mouse is still blinking and can not get it to work. Put the mouse off and restart and doing some bthidcontrol -a query can get it to work sometimes but it does not reconnect at all. If I shut the mouse off and on it blinks again, but slower than the discovery mode. I've also tried to use "0000" pin with not more luck. Sometimes the bthidcontrol query emits this error: Could not perform SDP query on the device 00:1f:20:f7:97:dd. File exists (17) This is the output of /etc/bluetooth/bthidd.conf device { bdaddr 00:1f:20:f7:97:dd; control_psm 0x11; interrupt_psm 0x13; reconnect_initiate true; battery_power true; normally_connectable false; hid_descriptor { 0x05 0x01 0x09 0x02 0xa1 0x01 0x85 0x02 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 0x29 0x08 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x08 0x81 0x02 0x05 0x01 0x09 0x30 0x09 0x31 0x16 0x01 0xf8 0x26 0xff 0x07 0x75 0x0c 0x95 0x02 0x81 0x06 0x09 0x38 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x01 0x81 0x06 0x05 0x0c 0x0a 0x38 0x02 0x75 0x08 0x95 0x01 0x81 0x06 0xc0 0xc0 0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x03 0x05 0x06 0x09 0x20 0x15 0x00 0x26 0x64 0x00 0x75 0x08 0x95 0x01 0x81 0x02 0xc0 0x06 0x00 0xff 0x09 0x01 0xa1 0x01 0x85 0x10 0x75 0x08 0x95 0x06 0x15 0x00 0x26 0xff 0x00 0x09 0x01 0x81 0x00 0x09 0x01 0x91 0x00 0xc0 0x06 0x00 0xff 0x09 0x02 0xa1 0x01 0x85 0x11 0x75 0x08 0x95 0x13 0x15 0x00 0x26 0xff 0x00 0x09 0x02 0x81 0x00 0x09 0x02 0x91 0x00 0xc0 0x05 0x01 0x09 0x06 0xa1 0x01 0x85 0x04 0x75 0x01 0x95 0x08 0x05 0x07 0x19 0xe0 0x29 0xe7 0x15 0x00 0x25 0x01 0x81 0x02 0x95 0x01 0x75 0x08 0x81 0x03 0x95 0x05 0x75 0x01 0x05 0x08 0x19 0x01 0x29 0x05 0x91 0x02 0x95 0x01 0x75 0x03 0x91 0x03 0x95 0x06 0x75 0x08 0x15 0x00 0x26 0xff 0x00 0x05 0x07 0x19 0x00 0x29 0xff 0x81 0x00 0xc0 0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x05 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x02 0x0a 0x25 0x02 0x0a 0x24 0x02 0x81 0x02 0x95 0x01 0x75 0x06 0x81 0x03 0xc0 }; } The mouse works fine on Linux though. Regards, -- Demelier David From owner-freebsd-bluetooth@freebsd.org Tue Aug 23 18:36:06 2016 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 69EFDBC41FC for ; Tue, 23 Aug 2016 18:36:06 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (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 00EF6199D for ; Tue, 23 Aug 2016 18:36:06 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by mail-wm0-x235.google.com with SMTP id f65so173129017wmi.0 for ; Tue, 23 Aug 2016 11:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5XZms311mjVJ8eVXWtCWftT33c/JD309C2qpnhp2+7g=; b=eaQkXxPUmMLDGQzBDK6AXfb/AqOGN2vqOld0hL03QK8QWb9yT5+8ipXe6Xdk9p7myE g8a5oLc3Ljcdy5aLpAhGUgnWry1O8KcGMZTIJJt6cJ27PYPxS9KB20NkrPFAF0EygG29 U3S9LgQhyyRlA1W+48zKNO0utlFFsZY+D6cecJJQBsZcgUiP3UfibncyPIONm0T5Wy3U Nr8pGE6EI+rxVwPL1fgT4aN4ghPeGuq6r5gFBGXlOcFRPR+3yjA5vLsl/DUVe104WioC +MSPmVoZqcpv6gTiwTnAOLJeKBJzlBukSIU9lgTR1fpbSuxVUPOt67fWpz1g+KDyAUI5 Afig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5XZms311mjVJ8eVXWtCWftT33c/JD309C2qpnhp2+7g=; b=R/sVpJnZmSGGEnI8AN8xugKJdTaS8EkP8/rsHWMN5MA3T07G+6TfC0+L9I/HgrKWu7 TA/kL1Q7vNUPk6Z2nInmJNROfPL/TvkGNuuFRNU7P2suf+tUZTNACYkL2pL94pnW5UXD A+TdAqaW0F+Y0DZcsWv50eHDZAEKBOounDSyS45xMcJBvb4++qdf15LFCvBeTiMXjho7 uG5K5hDYF4AdUP5wm25v1MgpiIZB2fKKu4zW+QEwdwFKgwAkv9NYcjULPLd0+8pJlAq+ dmfTmgNCqmx+UzDl1sWU+phhYTX7fMkkPz8imJClzrTzsyP2ieR9ruPDJhMEDGLTMfej A7Eg== X-Gm-Message-State: AEkoouuQghgM3oFqMMBgIFHCTeDqjzfNOC+eal1CoDasCvZc09+5sKWwG9OZYgsUwT4CmQqjmNyp7av0Qg/LQQ== X-Received: by 10.194.77.142 with SMTP id s14mr22079469wjw.77.1471977364257; Tue, 23 Aug 2016 11:36:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.132.73 with HTTP; Tue, 23 Aug 2016 11:36:03 -0700 (PDT) In-Reply-To: References: From: Maksim Yevmenkin Date: Tue, 23 Aug 2016 11:36:03 -0700 Message-ID: Subject: Re: Can not get logitech m535 to work properly To: David Demelier Cc: "freebsd-bluetooth@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 18:36:06 -0000 hello David, > I've bought a new bluetooth mouse to replace my old logitech v470 > which is dying. > > It's a logitech m535 very close to the old one, but I can't get it to work. > > I've done exactly the same steps. can you please try and install hcidump from the ports/ collection, and, obtain binary dump while performing those steps. after you obtain binary dump, please send it to me privately for review. thanks, max