From nobody Thu Feb 10 02:49:24 2022 X-Original-To: freebsd-bluetooth@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 9E3E619BEC12 for ; Thu, 10 Feb 2022 02:49:26 +0000 (UTC) (envelope-from pauamma@gundo.com) Received: from mail.gundo.com (gibson.gundo.com [75.145.166.65]) by mx1.freebsd.org (Postfix) with ESMTP id 4JvLn10ywZz4n3H for ; Thu, 10 Feb 2022 02:49:25 +0000 (UTC) (envelope-from pauamma@gundo.com) Received: from webmail.gundo.com (variax.gundo.com [75.145.166.70]) by mail.gundo.com (Postfix) with ESMTP id 7F1DF4C062D for ; Wed, 9 Feb 2022 20:49:24 -0600 (CST) List-Id: Using Bluetooth in FreeBSD environments List-Archive: https://lists.freebsd.org/archives/freebsd-bluetooth List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bluetooth@freebsd.org MIME-Version: 1.0 Date: Thu, 10 Feb 2022 02:49:24 +0000 From: Pau Amma To: freebsd-bluetooth@freebsd.org Subject: The (incomplete) saga of Bluetooth, ath(4), AR9565, and WB335. In-Reply-To: <9693b9d7332022f233244aa30b9b09f4@gundo.com> References: <9693b9d7332022f233244aa30b9b09f4@gundo.com> User-Agent: Roundcube Webmail/1.4.8 Message-ID: X-Sender: pauamma@gundo.com Organization: Ah! As if. Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4JvLn10ywZz4n3H X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=gundo.com; spf=pass (mx1.freebsd.org: domain of pauamma@gundo.com designates 75.145.166.65 as permitted sender) smtp.mailfrom=pauamma@gundo.com X-Spamd-Result: default: False [-3.90 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[pauamma]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[75.145.166.65:from]; R_SPF_ALLOW(-0.20)[+ip4:75.145.166.64/28:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-bluetooth@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[75.145.166.65:from]; DMARC_POLICY_ALLOW(-0.50)[gundo.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-bluetooth]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7922, ipnet:75.144.0.0/13, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N (Please cc: me on replies - I'm subscribed nomail as this is likely a one-off question.) So, I'm trying to figure out whether Bluetooth can be made to work on my Lenovo Z50-70 (https://wiki.freebsd.org/Laptops/Lenovo_z50_70) running 12.2 (and soon 12.3), with 13.1 an option when it hits RC stage or maybe BETA. Relevant lines of /var/run/dmesg.boot show ath0: mem 0xc0400000-0xc047ffff irq 19 at device 0.0 on pci2 ath0: WB335 2-ANT card detected ath0:Bluetooth Antenna Diversity card detected kldstat -n ng_ubt.ko shows the module's loaded: 34 1 0xffffffff834d1000 4260 ng_ubt.ko but the "ubt0:" line https://docs.freebsd.org/en/books/handbook/advanced-networking/index.html#network-bluetooth led me to expect in /var/log/messages isn't there. Checking the wiki led me to https://wiki.freebsd.org/dev/ath_hal%284%29/BluetoothCoex (8 years old) where the "? - AR9565 + ?" line hints that my WiFi+Bluetooth Atheros hardware was New and Strangeā„¢ then, and https://wiki.freebsd.org/dev/ath_hal%284%29/AntennaDiversity (also 8 years old) led me to https://wiki.freebsd.org/dev/ath_hal%284%29/AntennaDiversityWhatChips (also... you get the picture) which doesn't even mention the hardware I have. At this point, I'm stumped. What are my options to get Bluetooth running on my laptop? Get an USB Bluetooth dongle? -- English: he/him/his (singular they/them/their/theirs OK) French: il/le/lui (iel/iel and ielle/ielle OK) Tagalog: siya/niya/kaniya (please avoid sila/nila/kanila)