From owner-freebsd-bluetooth@freebsd.org Tue Sep 25 07:40:57 2018 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C054410A9D12 for ; Tue, 25 Sep 2018 07:40:57 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7008D85F77 for ; Tue, 25 Sep 2018 07:40:57 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0535921F87 for ; Tue, 25 Sep 2018 03:40:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 25 Sep 2018 03:40:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=mvh4MHoVkuctljuLHwGhtfB+cl2oWz37Yo95zOBCuTU=; b=wRDUQikS kEacTKN89A1QZ7w8oa9sSr712T09HMbJ5h2lVV+p9/gtm2+qfaBr9IDLc+hcsRYh /lJkpBRo3hnzuyWvfF6QUFNUB5LTPm/Ss3JJNOjz94jLRQovp/0OETmGrfohw7I5 PamP7JW/5XEZIXBK80JkYP4ncBVCR9VZYAvWbYsb7H5wNEk1eRRWhemX8FohyEQD PREZN084sr+EUqkoSN7oCUr+T3sSFuznwj5aAkw+DmDyKnwpKkNfwnvN7ZyozTJh TZmEqBcjYM8tcOtvRcv+5hpOGcIB5qeYZfLO6MzjuZsm6pcqzFU9HSXtV7XXQFGA RPYJLfnCnW+n5A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=mvh4MHoVkuctljuLHwGhtfB+cl2oW z37Yo95zOBCuTU=; b=tJgFBBuCukiRccOhQL8oB1vX9b91FQeUXPrW3mKFVLWgm ixiviEZ1OO7uQChpMEALNtY/U0X/MaGnIFltlWXQEL+2kJk5CNjglVToMB2Gpa8p mCEqa3tXxpijgfAdnP0MNAMSoweGuM+LlyRVuOD0vU6k9H+3G3p3J66P+3Qw6RMg U0b0mnO8veT99pRhZvMBPAVDiBz+pqNBBJSoYB+HVE1TvgCcIxhqh2U8sFITJ9JP LpdsJ+QFlACnmqpGYO4uEtl18pkxXrYw8ynwWEaLF8bJkODujWnLhSSGUZbUDMry XqCOHJ2txuL5MsHzGbkPVwMrpHTIJseMIHG44pwNQ== X-ME-Proxy: X-ME-Sender: Received: from thor.yuripv.net (unknown [62.183.127.62]) by mail.messagingengine.com (Postfix) with ESMTPA id 3DF2EE44DF for ; Tue, 25 Sep 2018 03:40:49 -0400 (EDT) To: freebsd-bluetooth@freebsd.org From: Yuri Pankov Subject: Lenovo P51 and Intel Bluetooth 8265 Message-ID: <94a60594-fe69-f00c-d384-3e63575d4905@yuripv.net> Date: Tue, 25 Sep 2018 10:40:47 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2018 07:40:58 -0000 Hi, I'm seeing the following problem on Lenovo P51 laptop with "Intel Bluetooth 8265" (as identified by Linux): ubt0: ubt_ctrl_write_callback:782: control transfer failed: USB_ERR_TIMEOUT ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3, OCF=0x3. Timeout The device in question: ugen0.7: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x00e0 bDeviceSubClass = 0x0001 bDeviceProtocol = 0x0001 bMaxPacketSize0 = 0x0040 idVendor = 0x8087 idProduct = 0x0a2b bcdDevice = 0x0010 iManufacturer = 0x0000 iProduct = 0x0000 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 I noticed that if I boot into Windows, and then back in FreeBSD *without* shutting down the laptop, errors seem to be gone (I haven't tested that it actually work, and now the Windows partition is gone, sigh). What am I missing here, firmware or something else? From owner-freebsd-bluetooth@freebsd.org Tue Sep 25 12:47:27 2018 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6724210B141F for ; Tue, 25 Sep 2018 12:47:27 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0301770326 for ; Tue, 25 Sep 2018 12:47:26 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id DA53B21F5C; Tue, 25 Sep 2018 08:47:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 25 Sep 2018 08:47:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=e/pRPBOOzEA7cuNqo7vYkYkCq4dcS pCrbbuQschC1E0=; b=Jcgr05bnHlhn1vbvE/RgBB5a5u5FMjnvVP3qXZpXpF5/b c+gmH0v8ZelshwQd4l7ch4qxfzhYPJ4A0irIS9yVe/clfyLLZGwcy1JrkxXqd/Dh 9pj7weclF/CSb3Z745fRmCnFGU8x3N6iZ8GtVxDx2H+ZLDRTMN4a0NI3hmz/cs7D MZRbGKAwnWGPE2Xngh55sC/90AfIkvQqeirKFDK7sRtexM+lm1GI2aRCMWW7Na56 mMSY5UbPYpCF5bg1Fa8exJHy34Oa/APefgnxIOCzkwJfJEtSi781nQXVPmC31Xt6 aHJc7ulQwCEOMZwMUBBWTzSQinwn7iHWr5frXQXUg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=e/pRPB OOzEA7cuNqo7vYkYkCq4dcSpCrbbuQschC1E0=; b=s6VLJ9KtoG+Oh7TGS2xzIT R6TupicNu03jtLwl1pHF9Kzy5tyKIqtV5YdujxMwljgx2bTlCiIoiwPucomb8vOk GwdtjmFOqt3SHeF0XON1grAqkIPZZgDg+uUo4mDO7wj06XfzcmP+Djyq5HoFD/71 QF6LGgQmQY3IDOY5vetZQZm40VY2TZlscX4YCbZJerkslZJlthVnArNbA8SxgJ6Q HmFGJCiCNoWmWDmip19VqUc+d+9YDXvtYdhYBwbjAC3gN6W5BhFRh6/3GlyF5VTI vNz1osyoyX/xygOBth/VvFGDcRuOM0v3xqo3So0rU8Gb8KQpTXendvRCgmlhdTEg == X-ME-Proxy: X-ME-Sender: Received: from thor.yuripv.net (unknown [62.183.127.62]) by mail.messagingengine.com (Postfix) with ESMTPA id C7BF8102D3; Tue, 25 Sep 2018 08:47:24 -0400 (EDT) Subject: Re: Lenovo P51 and Intel Bluetooth 8265 To: Takanori Watanabe , freebsd-bluetooth@freebsd.org References: <94a60594-fe69-f00c-d384-3e63575d4905@yuripv.net> <20180925123939.GA76196@sana.init-main.com> From: Yuri Pankov Message-ID: Date: Tue, 25 Sep 2018 15:47:57 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180925123939.GA76196@sana.init-main.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2018 12:47:27 -0000 Takanori Watanabe wrote: > On Tue, Sep 25, 2018 at 10:40:47AM +0300, Yuri Pankov wrote: >> Hi, >> >> I'm seeing the following problem on Lenovo P51 laptop with "Intel >> Bluetooth 8265" (as identified by Linux): >> >> ubt0: ubt_ctrl_write_callback:782: control transfer failed: USB_ERR_TIMEOUT >> ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command >> OGF=0x3, OCF=0x3. Timeout >> >> The device in question: >> >> ugen0.7: at usbus0, cfg=0 md=HOST >> spd=FULL (12Mbps) pwr=ON (100mA) >> >> bLength = 0x0012 >> bDescriptorType = 0x0001 >> bcdUSB = 0x0200 >> bDeviceClass = 0x00e0 >> bDeviceSubClass = 0x0001 >> bDeviceProtocol = 0x0001 >> bMaxPacketSize0 = 0x0040 >> idVendor = 0x8087 >> idProduct = 0x0a2b >> bcdDevice = 0x0010 >> iManufacturer = 0x0000 >> iProduct = 0x0000 >> iSerialNumber = 0x0000 >> bNumConfigurations = 0x0001 > > I have never succeeded to use bluetooth on Intel WiFi. > I used external USB dongle. It's sad, I'll look into what linux drivers are doing then. >> I noticed that if I boot into Windows, and then back in FreeBSD >> *without* shutting down the laptop, errors seem to be gone (I haven't >> tested that it actually work, and now the Windows partition is gone, sigh). > > I tried boot windows and select reboot and select FreeBSD partition, > but I still receive HCI reset error. > How did you do that? TBH, this laptop had Windows 10 installed, and I used bluetooth to connect keyboard/mouse, so all drivers were installed/used. Then I installed FreeBSD on top of it, all without shutdown, and I didn't get errors while booting installer or installed system. It's only when I did finally poweroff it I started getting these errors on boot. From owner-freebsd-bluetooth@freebsd.org Tue Sep 25 12:47:27 2018 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 064F510B141D for ; Tue, 25 Sep 2018 12:47:27 +0000 (UTC) (envelope-from takawata@sana.init-main.com) Received: from sana.init-main.com (104.194.138.210.bn.2iij.net [210.138.194.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "amnesiac", Issuer "amnesiac" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 35AF770325 for ; Tue, 25 Sep 2018 12:47:24 +0000 (UTC) (envelope-from takawata@sana.init-main.com) Received: from sana.init-main.com (localhost [127.0.0.1]) by sana.init-main.com (8.15.2/8.15.2) with ESMTPS id w8PCdfC7076223 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 25 Sep 2018 21:39:51 +0900 (JST) (envelope-from takawata@sana.init-main.com) Received: (from takawata@localhost) by sana.init-main.com (8.15.2/8.15.2/Submit) id w8PCddmZ076222; Tue, 25 Sep 2018 21:39:39 +0900 (JST) (envelope-from takawata) Date: Tue, 25 Sep 2018 21:39:39 +0900 From: Takanori Watanabe To: Yuri Pankov , freebsd-bluetooth@freebsd.org Subject: Re: Lenovo P51 and Intel Bluetooth 8265 Message-ID: <20180925123939.GA76196@sana.init-main.com> References: <94a60594-fe69-f00c-d384-3e63575d4905@yuripv.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <94a60594-fe69-f00c-d384-3e63575d4905@yuripv.net> User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2018 12:47:27 -0000 On Tue, Sep 25, 2018 at 10:40:47AM +0300, Yuri Pankov wrote: > Hi, > > I'm seeing the following problem on Lenovo P51 laptop with "Intel > Bluetooth 8265" (as identified by Linux): > > ubt0: ubt_ctrl_write_callback:782: control transfer failed: USB_ERR_TIMEOUT > ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command > OGF=0x3, OCF=0x3. Timeout > > The device in question: > > ugen0.7: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON (100mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x00e0 > bDeviceSubClass = 0x0001 > bDeviceProtocol = 0x0001 > bMaxPacketSize0 = 0x0040 > idVendor = 0x8087 > idProduct = 0x0a2b > bcdDevice = 0x0010 > iManufacturer = 0x0000 > iProduct = 0x0000 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 I have never succeeded to use bluetooth on Intel WiFi. I used external USB dongle. > I noticed that if I boot into Windows, and then back in FreeBSD > *without* shutting down the laptop, errors seem to be gone (I haven't > tested that it actually work, and now the Windows partition is gone, sigh). I tried boot windows and select reboot and select FreeBSD partition, but I still receive HCI reset error. How did you do that? From owner-freebsd-bluetooth@freebsd.org Tue Sep 25 15:23:12 2018 Return-Path: Delivered-To: freebsd-bluetooth@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CEAB910B4462 for ; Tue, 25 Sep 2018 15:23:12 +0000 (UTC) (envelope-from plunky@ogmig.net) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5E4AE75634 for ; Tue, 25 Sep 2018 15:23:12 +0000 (UTC) (envelope-from plunky@ogmig.net) X-Originating-IP: 92.40.96.189 Received: from galant.ogmig.net (92.40.96.189.threembb.co.uk [92.40.96.189]) (Authenticated sender: plunky@ogmig.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 46CEC1C000E; Tue, 25 Sep 2018 15:23:05 +0000 (UTC) Received: by galant.ogmig.net (Postfix, from userid 1000) id 72818222C8F; Tue, 25 Sep 2018 16:22:48 +0100 (BST) Date: Tue, 25 Sep 2018 16:22:48 +0100 (BST) From: Iain Hibbert To: Yuri Pankov , freebsd-bluetooth@freebsd.org Subject: Re: Lenovo P51 and Intel Bluetooth 8265 In-Reply-To: <94a60594-fe69-f00c-d384-3e63575d4905@yuripv.net> Message-ID: References: <94a60594-fe69-f00c-d384-3e63575d4905@yuripv.net> User-Agent: Alpine 2.20 (NEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2018 15:23:13 -0000 On Tue, 25 Sep 2018, Yuri Pankov wrote: > Hi, > > I'm seeing the following problem on Lenovo P51 laptop with "Intel Bluetooth > 8265" (as identified by Linux): I think this device needs some initialisation before it will appear as a proper Bluetooth USB adaptor. > What am I missing here, firmware or something else? it does require some firmware, and maybe a way to load it. iain