From nobody Fri Dec 27 14:41:35 2024 X-Original-To: dev-commits-src-all@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 4YKSqk5qPwz5hcPZ; Fri, 27 Dec 2024 14:41:38 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YKSqk5KF1z4fGs; Fri, 27 Dec 2024 14:41:38 +0000 (UTC) (envelope-from avg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735310498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=i/x17kdCE7YLtryqGGLueKds92oAmmS1hkA3luaTiOQ=; b=YTazIy7zVx7oul2+K0Q86AHOwb76wU5jlXPtC92o7T0Oons45u/KLzc8FqmjFZKjWt01tp qTnU6JA4ZhR2yBN8YrbpL7xRMu+Ju0umTOmY0uGWKRSv80zwlMUSbLEvOmfmZX2Nn2Z8Ao U5+Hg8vBWt9aone7cSX9WOUOHL8GXm/bt1gjXC6b4d+ky7dIBvdbN4jqATfKsLED5r+Bai HUX3jY5p+YP5zQolXtDAR7eGBkMp+nT2yW5/vZDjfRx/JYpoRfD95Qa0XOG8FsDBOfXm6e QACCrvD5owef4Dfv0Ak6vJjxu/yfdfTfqbnXWCj21lvwrSiMorHeKCSwt32zzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735310498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=i/x17kdCE7YLtryqGGLueKds92oAmmS1hkA3luaTiOQ=; b=n+QYZlhS/2HGPLPFAGAUx9IY5dKZOcpKJLubvHJ4++pRnMB5R25EiSGrK/BjoE+InbV/Rx FTImzWDw9tsAmE0vBZ8SKCu0aEyKyYVIHJsAOwOYZOG6DrZp99mtFaTQj65mcrOQ+4WNeg HFUHro9ILs3J514CMj8MOIbL8rZWr40iQVkj2AyEKbfBwbxf3rBG8c2SgQmAoiOD2KVs1y deT4RCfiEaMzlsP+35KqaLaDet8tdoRKU5xmZCgpyxr5k5XSD/FKeWLkgFrS7/xgnKEX7Z YRR3WwXxkXSk/NozcipdiL6xWdxBtahVVuiSs/8k04wx2iDbDl5f/pwYqZmwGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735310498; a=rsa-sha256; cv=none; b=fyTNwlFfVUqxhrQT7zvrY5ygNCv0NEIKK6bz1QmVf38IpAf/Xtu3pqWMnOqjWiJmSznerb mT1erFhBQKlSYHgBnckYoe1wv9TJffFOQiQzWcrZgwuma9oiFS8yPOyNf2o+5zvGiunXUN /wTxUyB18JXYi12poH+wPc/E7d43YJPC1OB0pg3N5mAyoPjUuMuAIOplH2oxRTp9CF7Xm9 Rg97UQaQ4/g5Ng1ktWRNiZXltjzmT4DgT807pGyMS6cnKfR176R2fGpXr+KDKs+DmPaTrw V2q2O0yiyDJ4P4vyGCFzIE17zfJz4K4yvlqLphmS9T1nJ7n5q8BCe4YALRYBEg== Received: from [192.168.0.88] (unknown [93.188.39.137]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: avg/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YKSqk0jFczjWh; Fri, 27 Dec 2024 14:41:37 +0000 (UTC) (envelope-from avg@FreeBSD.org) Message-ID: <14efd79e-75be-4f96-8a04-7ffc9ed1012c@FreeBSD.org> Date: Fri, 27 Dec 2024 16:41:35 +0200 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: git: 24ae172a5035 - main - ng_ubt(4): do not attach Realtek 87XX/88XX adaptors in bootloader mode. To: Vladimir Kondratyev , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202411062331.4A6NVuiE070018@gitrepo.freebsd.org> Content-Language: en-US From: Andriy Gapon Autocrypt: addr=avg@FreeBSD.org; keydata= xsDNBGcKrHEBDADRvwQOK0b/yo4ys5cs6bOQMhEh4xtfbaZ/CU00cpPgUip3sOZCdrtMWlRC g25z97prxE9pKueZi+HXDhIPpa9xl14ghqF4oYScuJ1i18HyiOH2y5Q3Vv/TtFiSzicd3EAu QgS3jVidpgDSPDdj2Yz3UxYpZ+PuFl6nOnvCvqOFcjUlzKCyPaiN2b86l1Nscmhnc+zQ/faB erUOEFEDQbWMA5YfXi8HrbeR16hfRfGt7E0aMDlIj9FIPIq71UWMN9CimPgs4+rbNr1MAlLa z4GxSDhVYZEY5rqtCzr+PLXboRQWnaUwXl0/biw9enf17NHdYv1SNAFTX2eC4dZ3qBVI74dS PgNprm+PMfz+6Hhs/dAv+Nan5nVhg3EFIjYTiy0MnjMSq8uI0v0ykpAGAcJJ5xl6d23aLxgN 6f0z6pJRCO0hGPgU7UzvFD0MxJxmbzqdT1R51KDan1oD41b+tjl2LMBuCDCoB0U44Pu0zLdp x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ousfl7JRoYxA4MRL ls7E2sSoJvrEBTJB3Pc34xu8rsJ1A5V3NgN6djX8yEZYpTRkcmrBeWy/ofDqZPVqneAx0LRm eldDS9msXDW4KXODyPZ+9unvmHAcoH0xaBYaSH44CDZDQDg4LNcmbOvuu1TEXBJhjQARAQAB wsD8BBgBCAAmFiEEmXvSmjiQFHPVOpLnzDOt5NLj67sFAmcKrHMFCQeEzgACGwwACgkQzDOt 5NLj67sUCAv5AXqgWnYN9EblapMbZjkiqL8pZQ0GNqh+Pg9FwbyULxjtRTO6rD4D0IxizByb ef+neeUNyYlagt5nfKMysEr0SU/gHKCi8vyTF/63ukMrGUNGmJJxrndl5ZYKC6j6eX7twrZF L1Uvlmn6FnQ22red5kHO93fDjG4zaDIZvHfwj7kzjZ4tpC7Byinf88s14mdZeScc0PnU2hj4 UGYju/wg2FF4YxaZYhcmdTiRYY0Wx85XSMZv19pnn78sadEuRvfRd4JTmw++j1xGXeqQGWzz /CTG5/Ex9GAkQ02hZbmi236byDXoet4G8TEyOph9QFVkV9bNd0jQZaFZPGEj4PSPUYGAF7s5 xJaNGgctC3aZ7WjEv1FBoo44XCU4xcjJ1wZQUrHxRhx6TW0Jtcl0U9qfKFW30TSPo6RyiXuj X4ltWKAtjoXB8nUmEJckaz7IRu2b4pXDeazZuz5JBygUs10yJjDxh2vFQZo0KaBAPx9MZlPn gpPTjT15L8xGftEjQXF6 In-Reply-To: <202411062331.4A6NVuiE070018@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 07/11/2024 01:31, Vladimir Kondratyev wrote: > The branch main has been updated by wulf: > > URL: https://cgit.FreeBSD.org/src/commit/?id=24ae172a50352ad4fd22989477f29ecca5aed6e3 > > commit 24ae172a50352ad4fd22989477f29ecca5aed6e3 > Author: Vladimir Kondratyev > AuthorDate: 2024-11-06 23:28:11 +0000 > Commit: Vladimir Kondratyev > CommitDate: 2024-11-06 23:28:11 +0000 > > ng_ubt(4): do not attach Realtek 87XX/88XX adaptors in bootloader mode. Perhaps this change deserves an UPDATING entry? Today I upgraded only to find out that my bluetooth related things stopped working. It turned out that ng_ubt didn't attach to my USB bluetooth adapter. Only then I discovered this change, installed the firmware package, etc. As strange as it may seem, previously my adapter worked without uploading any extra firmware. Some data points, just in case: idVendor = 0x0b05 idProduct = 0x190e bcdDevice = 0x0200 iManufacturer = 0x0001 iProduct = 0x0002 rtlbt_is_realtek: found USB Realtek rtlbt_dump_version: hci_version 0x0a rtlbt_dump_version: hci_revision 0x000b rtlbt_dump_version: lmp_version 0x0a rtlbt_dump_version: lmp_subversion 0x8761 main: loading firmware /usr/local/share/rtlbt-firmware/rtl8761bu_fw.bin main: loading config /usr/local/share/rtlbt-firmware/rtl8761bu_config.bin main: Firmware download complete rtlbt_dump_version: hci_version 0x0a rtlbt_dump_version: hci_revision 0xdfc6 rtlbt_dump_version: lmp_version 0x0a rtlbt_dump_version: lmp_subversion 0xd922 main: Firmware download is successful! > Attempt to initialize FreeBSD bluetooth stack while such a device is in > bootloader mode locks the adapter hardly so it requires power on/off > cycle to restore. > > This change blocks ng_ubt attachment unless operational firmware is > loaded thus preventing the lock up. > > Sponsored by: Future Crew LLC > MFC after: 1 month > Differential Revision: https://reviews.freebsd.org/D46738 -- Andriy Gapon