Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1465694rdg; Sat, 12 Aug 2023 02:19:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGoIT3G6d4WgKIFMJQvtzHltymUoVf07sK/htJOM1XCnxoRVcXPGkPmlP5OOIbdr01/sKdo X-Received: by 2002:a17:90b:51c9:b0:268:f56:a2d6 with SMTP id sf9-20020a17090b51c900b002680f56a2d6mr2199812pjb.22.1691831962093; Sat, 12 Aug 2023 02:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691831962; cv=none; d=google.com; s=arc-20160816; b=kPzuynVSf4wE2Ig03OE9dL+wro6wMga3LM1cQvqGouBbVP7kNdJclPKB7nEX9jxQWp 5CjcilSm2avEJoU1kjvUUwzWK8vZBOpsL4QGveUdYcT2SleeAz0xWGjfSrY+l1J4iteQ LqGacF2NINwgaF2q9jdfEcoRBJmFejjHCZZtbIHAxq4u/cGV2n6jfKjLJNnzeLughUsw BCmYG8EwEuDC8cAQ2HGQ1K010XqH+5vzQCnzyBSPg0bopIIxUI2wIku8v5Z8GAAJj535 7qnLMxiSy8MkD6tjn5uvw05Axx6I+ESOuQ4KMqAQB1yCiA+ahy3+XboMAh7kpnoy3maV 0/AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id; bh=UXgrVthnQI2XnwTOdWpSqQhcFAUL5a7cq3AMpjR+El0=; fh=mJq/HOMaX9lU1Go1PpMv84T6AUPzqyNYtnqk5Gp1PJM=; b=G8bdLSPFFYY2rzJ4IJp+BDxgDMIUaqucdwgNanGv6e5KYIT4hxzavDbWVxlt1P0uLo e837MqYghixrxqlCE2LiBsSu97o07Qykgkh/kV+K8wskl/BaRhJbRXaPBKmfhCFej2he uuz3GQtg+18l0+V9BFPkELG+WwLhZzqdl2j7UcjibZhQB9JzECNrumH9gS/NgstNg4l9 q3dDhEyDruohzAX9OoZvNe8TzKVNmz+fptYw2ZBzl7Ov1WRJlQQfzrvSfXzFsTP9J2Ux 29xCrofFkUT2TCLshJkQoBcNZQUIg3lCRJzc4oWrick8J1BQcKB+biBWrBwny9050C4h aa/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d12-20020a170902cecc00b001bb7906cf34si4731811plg.261.2023.08.12.02.18.55; Sat, 12 Aug 2023 02:19:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236864AbjHLJCY (ORCPT + 99 others); Sat, 12 Aug 2023 05:02:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236901AbjHLJCY (ORCPT ); Sat, 12 Aug 2023 05:02:24 -0400 Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89462E60 for ; Sat, 12 Aug 2023 02:02:25 -0700 (PDT) Received: from [192.168.0.185] (unknown [95.90.238.123]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id E93C061E5FE03; Sat, 12 Aug 2023 11:02:05 +0200 (CEST) Message-ID: Date: Sat, 12 Aug 2023 11:02:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Paul Menzel Subject: Re: Firmware for MT7922 missing in initrd; bluetooth disabled after update To: =?UTF-8?Q?J=C3=BCrgen_Hofmann?= Cc: linux-bluetooth@vger.kernel.org, Takashi Iwai , Qu Wenruo , Chris Lu References: <8ddaee26-b4d7-f694-ac8b-2aaf4d3c5f8e@shiphrah.com> Content-Language: en-US In-Reply-To: <8ddaee26-b4d7-f694-ac8b-2aaf4d3c5f8e@shiphrah.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org [Cc: +Qu, +Chris] Dear Jürgen, Am 10.08.23 um 22:24 schrieb Jürgen Hofmann: > I updated openSuse Tumbleweed 20230806 with a bluetooth keyboard > attached to the PC. After the update to 20230808 and rebooting bluetooth > was disabled and it was impossible to enable it again. Before the update > bluetooth was working fine. Sorry, I do not know what software versions changed updating to openSUSE Tumbleweed. Could you please mention that for the Linux kernel and BlueZ and the initrd generator? > The attached bluetooth keyboard caused the bluetooth module being added > to initrd. However, the corresponding firmware for MT7922 is not added. > > dmesg shows: > > [    4.368031] bluetooth hci0: Direct firmware load for mediatek/BT_RAM_CODE_MT7922_1_1_hdr.bin failed with error -2 > > In fact the file is present on the system > > ls -l /usr/lib/firmware/mediatek/BT_RAM_CODE* > -rw-r--r-- 1 root root 512104  3. Aug 17:36 /usr/lib/firmware/mediatek/BT_RAM_CODE_MT7922_1_1_hdr.bin.xz > -rw-r--r-- 1 root root 343052  3. Aug 17:36 /usr/lib/firmware/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin.xz > > but missing in initrd > > lsinitrd | grep BT_RAM_CODE > -rw-r--r--   1 root     root       343052 Aug  3 17:36 usr/lib/firmware/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin.xz > > Manually adding the file to initrd makes bluetooth work again. > > I reported the bug here > https://bugzilla.suse.com/show_bug.cgi?id=1214133 > and was requested to report here. > > If I can be of any help or you need further information please let me > know. From Qu’s answer in the thread *[PATCH v3 1/2] Bluetooth: btusb: Add new VID/PID 0489/e102 for MT7922* [1] it sounds to me, support for chip was only added recently, and is going to be in Linux v6.6. Kind regards, Paul [1]: https://lore.kernel.org/linux-bluetooth/8a261418-17ca-405f-b340-7e6634c169bc@suse.com/