From nobody Mon Oct 11 20:29:06 2021 X-Original-To: freebsd-questions@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 595AA180D006 for ; Mon, 11 Oct 2021 20:29:20 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HSr4H2bn5z4n4b for ; Mon, 11 Oct 2021 20:29:18 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ot1-x336.google.com with SMTP id u20-20020a9d7214000000b0054e170300adso23092408otj.13 for ; Mon, 11 Oct 2021 13:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=soQr+WFwMQ7cve1r8PG+dO3LhHy9L4g3zxk8REwlf10=; b=S9U3CGZ8mdrxE3+Kro7Avk6Guvdq5tBMLXa7OLt9j6B5y8E6svXQFVhZs/aX/g2IGu wDmeFCYARUcki3YnGtMS/LhHRKfRIbrDUUl2uPwns0gvknJPjnux2m65yeOSN9ND7Rg6 X14sOTGRlpFUkY4X1cPl0h9QsaYgt2ZkFG17eWImypcuUEBKL6DBaKTZDaU6IPuraYoV m8IXydLmAuMQbvWq+9M/nWkEfYUCi5SyBirowsoUMKQC+Vcx7NGYex1i7Xu0nXH4FVwF v7WZxRuDHlGAeaQAJtjvMT9KEFSQ3A//rW4z7kFTGp3TJ1WwDy2VMXflt44wM58I5djl X0og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=soQr+WFwMQ7cve1r8PG+dO3LhHy9L4g3zxk8REwlf10=; b=Th7YcSjLOpUG9QhLrRtS3jh3+nHpj/Ga4tmrBZYvnhdtkrGIEGNqHGb11sNhFpQi9O gvCsN17TZF9sonSXfD0WkjsMkcaDHVBagTnRiyBOzelTRkZZ/RmpnGP+tFtDOCY/EbBG 2fpHQm4XIKEFCini2OkVUSIecL9WNYzBVnhPII+KKf4Qv4YI9Dgpst/TpjA4l9KhGXYa w5XhmkO70p57dtqF57GQpMqYffyaDnslcXzpBmZeR8kPP8ON5q/s1PSbW5OujeKyXBuD CC7BqwkMUTypxbIAdvB2yhtL+oHdm7yMcmrxggs7B8YHPohLbHbOHg1dFNbm9emxMbfy 6QGw== X-Gm-Message-State: AOAM530UTJt9hr45h00uIIbNNhjm/C389WU6LqVx+OzAx5NaK8k0nJmf wLt/ff2PW+2/OlWrKJMTG40Gti+rSCwfdxX5xyKTVNy6n6UHUw== X-Google-Smtp-Source: ABdhPJz/3ve0qO8gH7TVJCbhFhSk8q8CkPOFO7bwVy4VfBG9ka9wov88+bH8K2Q93IxG6UmN8XHE0OR1LnTTITLfZ9Q= X-Received: by 2002:a9d:ee6:: with SMTP id 93mr1767032otj.340.1633984158247; Mon, 11 Oct 2021 13:29:18 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Tomasz CEDRO Date: Mon, 11 Oct 2021 22:29:06 +0200 Message-ID: Subject: Re: Intel 7265 Bluetooth VID=0x8087 PID=0x0a2a ng_ubt / firmware problem To: FreeBSD Questions Mailing List , freebsd-desktop@freebsd.org Cc: wulf@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4HSr4H2bn5z4n4b X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=S9U3CGZ8; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::336) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.22 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.96)[-0.965]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; NEURAL_HAM_SHORT(-0.96)[-0.958]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::336:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Mon, Oct 11, 2021 at 8:00 PM Tomasz CEDRO wrote: > > Hello world :-) > > I have problem running Intel Bluetooth adapter that seems to be a part > of Intel WiFi AC7265 card (wifi works fine). This VID/PID seems to be > already inside ng_ubt module. > > I have tried iwmbt-firmware with iwmbtfw utility but no success. > Running 13.0-STABLE. > > # uname -a > FreeBSD 0xCFMX4 13.0-STABLE FreeBSD 13.0-STABLE #1 > stable/13-n247289-13b194766e2: Wed Sep 15 02:49:53 CEST 2021 > root@0xCFMX4:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 > > # hccontrol -n ubt0hci inquiry > hccontrol: Could not find HCI nodes > # hccontrol inquiry > hccontrol: Could not find HCI nodes > > # usbconfig > (...) > ugen0.6: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) > > # grep -ri 0x0a2a /usr/src/* > (...) > sys/netgraph/bluetooth/drivers/ubt/ng_ubt_intel.c: { > USB_VPI(USB_VENDOR_INTEL2, 0x0a2a, UBT_INTEL_DEVICE_7260) }, > > # iwmbtfw -D -d ugen0.6 > main: opening dev 0.6 > iwmbtfw: main: device not found > iwmbtfw: main: Firmware download failed! > > I even tried providing every single firmware file in a scripted loop > but none matches. > > Did anyone run this interface with success on FreeBSD? :-) > > Any hints appreciated :-) > Tomek Allright, the new version of iwmbtfw from git supports 72XX BT interfaces and the firmware directory needs to be specified: iwmbtfw -D -d ugen0.3 -f /usr/local/share/iwmbt-firmware/ Also the /etc/devd/iwmbtfw.conf needs a tiny update so it also flashes firmware to PID=0x0a2a automaticaly with devd: match "product" "(0x0a2a|0x0a2b|0x0aaa|0x0025|0x0026|0x0029)"; Thank you for this stuff ! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info