From owner-freebsd-bluetooth@freebsd.org Fri Mar 27 18:14:47 2020 Return-Path: Delivered-To: freebsd-bluetooth@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7E8F227CCEE for ; Fri, 27 Mar 2020 18:14:47 +0000 (UTC) (envelope-from jason-fbsd-bluetooth@shalott.net) Received: from waffle.shalott.net (waffle.shalott.net [209.151.236.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.shalott.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48pqkW6f7qz4Pl8 for ; Fri, 27 Mar 2020 18:14:27 +0000 (UTC) (envelope-from jason-fbsd-bluetooth@shalott.net) Received: (qmail 11679 invoked by uid 2034); 27 Mar 2020 18:14:18 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 27 Mar 2020 18:14:18 -0000 Date: Fri, 27 Mar 2020 11:14:16 -0700 (PDT) From: jason-fbsd-bluetooth@shalott.net X-X-Sender: jason@waffle.shalott.net To: Adrian Chadd cc: Chris H , freebsd-bluetooth@freebsd.org Subject: Re: ath3k USB bluetooth card not detected by ng_ubt, possible regression In-Reply-To: Message-ID: References: User-Agent: Alpine 2.22 (LRH 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 48pqkW6f7qz4Pl8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jason-fbsd-bluetooth@shalott.net designates 209.151.236.43 as permitted sender) smtp.mailfrom=jason-fbsd-bluetooth@shalott.net X-Spamd-Result: default: False [-2.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:shalott.net]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[shalott.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NO_DN(0.00)[]; IP_SCORE(-0.01)[country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11051, ipnet:209.151.224.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2020 18:14:48 -0000 > Ok so the device ID via USB changes when you've loaded firmware, and > ng_ubt should attach to it. Yes, the device ID does change; no, ng_ubt does not attach to the changed, correct device ID. When the device is plugged, it gets: ugen1.4: at usbus1 After loading firmware, it becomes: ugen1.4: at usbus1 Your change, below, instructed ng_ubt to not attach to this device: https://svnweb.freebsd.org/base?view=revision&revision=249178 static const STRUCT_USB_HOST_ID ubt_ignore_devs[] = { /* ... */ { USB_VPI(0x0cf3, 0x3002, 0) }, Please see my full original email: https://lists.freebsd.org/pipermail/freebsd-bluetooth/2020-March/002129.html And the followup: https://lists.freebsd.org/pipermail/freebsd-bluetooth/2020-March/002133.html Thanks. -Jason