Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp437798pxj; Thu, 13 May 2021 08:19:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEnNZMnk4W7x353qXdeFfW8Cdxj0WCirqhSfaK94a84lDty50BY1oGcBTfDjR7SCf2zTCQ X-Received: by 2002:a05:6402:2696:: with SMTP id w22mr20493478edd.223.1620919194871; Thu, 13 May 2021 08:19:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620919194; cv=none; d=google.com; s=arc-20160816; b=p+FueVgOKBarv8ecpHJB5tNTxelV8Nj7Fh3jmM6+qR1whgW5T+B0sP+ga2Gya4jE1g 1dS8uGR9SwiS2zovfTyrR8Xeu05cSS4DqRRJKJabcxTkxRgxKPWhU0NT1O0dbO3qprK+ 91nfOe1N5XKPIpqEUWGeYbCccZ+M0xtdiIX2jjWv5JGWEtCMXKpCTss0WS6QTrJlx9Lu 56ojmWR6zdIdcCjfZq7K58f5964opdM0CP3VJ3QAdhb0xbUNqA5qTIYKZp0xH/fLr4h1 Qk3eq4Zp7LUpG4IBuF8LVqmxdYepPJfoPfMKWY+HI/wp7h1rriFRGxKu4siLl7wvks+3 CIUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=mlTouhN7xq9hCMJ1dTZgel/92fBJDypmopHEIzbNjCY=; b=meHqAVCOfaLDIo+glFKO6XvIwr4rkMf9NtEcjUdk0z6fCgehZfXpmdwTzy7xI4jf1y +thYb+ptGK+4gRpP0FGNytKCpNGVLJCRx12E1l3NnP8dr23U2/2bWox2Fo5eaEKjATnD mlinmZ9z77WgU66l/BVm+TP3d21/IiP4O6Ts3KdahT3Z6M8AL0tCAVzkW/Piez+TpWCN +sU6ybvryF0c1g9cSvwNJVAEr1daTdd5tKHMCV5+OilM4e+/0BliK6TnEi6do/OLba9R OPU4YACujC1RwwWNkQqxutezf11ChwZd2u1UMDkJY36woiF7u1gk7TAVLYUf9iAfVTIX 7jvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qh24si3325069ejb.194.2021.05.13.08.19.29; Thu, 13 May 2021 08:19:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230406AbhEMPSI convert rfc822-to-8bit (ORCPT + 99 others); Thu, 13 May 2021 11:18:08 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:32873 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234825AbhEMPSF (ORCPT ); Thu, 13 May 2021 11:18:05 -0400 Received: from smtpclient.apple (p4fefc9d6.dip0.t-ipconnect.de [79.239.201.214]) by mail.holtmann.org (Postfix) with ESMTPSA id 74460CED28; Thu, 13 May 2021 17:24:45 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: Re: [PATCH] Bluetooth: btusb: Fix failing to init controllers with operation firmware From: Marcel Holtmann In-Reply-To: Date: Thu, 13 May 2021 17:16:52 +0200 Cc: youling257 , "linux-bluetooth@vger.kernel.org" Content-Transfer-Encoding: 8BIT Message-Id: References: <20210430230501.603111-1-luiz.dentz@gmail.com> <20210511042654.8549-1-youling257@gmail.com> To: Luiz Augusto von Dentz X-Mailer: Apple Mail (2.3654.80.0.2.43) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Luiz, >> I test this patch no help. rmmod btusb, modprobe btusb. >> >> >> [ 7.661739] Bluetooth: Core ver 2.22 >> [ 7.661762] NET: Registered protocol family 31 >> [ 7.661763] Bluetooth: HCI device and connection manager initialized >> [ 7.661767] Bluetooth: HCI socket layer initialized >> [ 7.661768] Bluetooth: L2CAP socket layer initialized >> [ 7.661772] Bluetooth: SCO socket layer initialized >> [ 7.686106] usbcore: registered new interface driver btusb >> [ 7.689317] iwlwifi 0000:07:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340 >> [ 7.689789] Bluetooth: hci0: Firmware revision 0.0 build 118 week 15 2021 >> [ 7.694911] bluetooth hci0: Direct firmware load for intel/ibt-20-0-0.sfi failed with error -2 >> >> [ 230.746397] usbcore: registered new interface driver btusb >> [ 230.750827] Bluetooth: hci0: Firmware revision 0.0 build 118 week 15 2021 >> [ 230.756450] bluetooth hci0: Direct firmware load for intel/ibt-20-0-0.sfi failed with error -2 > > The error shall be ignored in this case since it comes from > request_firmware we can't prevent it, if you don't see another error > after that means it can be ignored, that said perhaps we detect it > sooner by either attempting to stat the file or perhaps check if > revision comes back as all 0. any reason you don’t use firmware_request_nowarn()? Regards Marcel