From nobody Mon Sep 20 07:12:37 2021 X-Original-To: wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E49A217CF351 for ; Mon, 20 Sep 2021 07:12:40 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HCbNm68fpz4qhH for ; Mon, 20 Sep 2021 07:12:40 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from [192.168.0.88] (unknown [195.64.148.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: avg/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 7954CCD68 for ; Mon, 20 Sep 2021 07:12:40 +0000 (UTC) (envelope-from avg@FreeBSD.org) To: wireless@freebsd.org From: Andriy Gapon Subject: ubt0hci - HCI command failed, OGF=0x3, OCF=0x22, status=0x1 Message-ID: Date: Mon, 20 Sep 2021 10:12:37 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.14.0 List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-ThisMailContainsUnwantedMimeParts: N I've got a new USB BT dongle. When I plug it in I get: kernel: ng_hci_process_command_complete: ubt0hci - HCI command failed, OGF=0x3, OCF=0x22, status=0x1 root[54563]: /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 As far as I could find out, GF=0x3 / OCF=0x22 is Write_Encryption_Mode command. I've also verified that the rc script fails on hccontrol -n ubt0hci write_encryption_mode. Status 1 seems to mean 'Unknown HCI Command'? Is this possible / allowed? My intended use for the device is to scan / listen for advertisements from BLE devices, so I am not bothered with the full bluetooth configuration. But I wanted to let you know that such devices exist. P.S. My references: https://lisha.ufsc.br/teaching/shi/ine5346-2003-1/work/bluetooth/hci_commands.html https://github.com/takawata/FreeBSD-BLE P.P.S. I hope that this is a right mailing list for bluetooth matters. -- Andriy Gapon