Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1509166lqz; Mon, 1 Apr 2024 08:22:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVE8Tb8t1hvPAJ7yRUZpPiZ9DmPWLGwx5jgt0htq4u3La62/tn9gPJUEuXxqNNBBS6Xz/oOiw4HgpIKCe8/pREIg/cU+7hzdRvjaEgHkg== X-Google-Smtp-Source: AGHT+IEd+zG7noF33c3XQBZg6D4mHmZz4jdMabYLGH01mCbR6sAlwoQsIn/vPIQBSS/KFDDz+a6w X-Received: by 2002:a05:6359:4594:b0:17f:88fb:4164 with SMTP id no20-20020a056359459400b0017f88fb4164mr15147302rwb.7.1711984929252; Mon, 01 Apr 2024 08:22:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711984929; cv=pass; d=google.com; s=arc-20160816; b=b6Ty3/WV+ctf4Cif2cskGcaOhSeWz9xp5MtrdXDq3FhmkZXFvQv1YJHz2Wuk64+n/f vBlAYNzFdrBuvgB9KVIicDivg9fVWaZx3kbxPGCwdJN8p4yyXQ6/j34qNPfA5lbr0EnH AfcktGU18tDga4X07rpfw407yxS5v5eXQfmqekYTKX2DgzgRNLHe1zTCPHwan8Rsl/NY BXEXVC9HTD1buFfBYNWfvyHJp1Tj3tNy0IKgW1xZSQKbpVsvEUTztxBkZIR2RF78hrnq QovswWsYTTToeufZ0Nf6Pw1ir3vGRkrnXJGpcHYR1/+/it+yHX7uh+LrPSWr4M2m+QGI WcZw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=3Kyf88o4qsQlO/wR+KsemeXOmT0rB7nYlUY+SaWAaQc=; fh=hPSvNDzAawdcXK2gdoG7scuXI3h3+HNGB9JJuhZqZuA=; b=Berlc5Pb5AmVzCCAuh+3oLKU+3evVCmhSsuuAgkuzd7B8slzmUyiqC614sF/o6HbJq QZ0lwtmCMw/wXwLPtz0h0F4vikXSabmek5EutcIF6TmMoG+EXxWPYnlYA4er4cyHS4AN FXk3oT2HdqLSxv0zEQvRBheiWplLmxKtZCfiCrsdLyNSwovOVEbisCbOO5NPg01x8e39 +3ee4ue6wi2tn5wvrFffIoPUOsuKZFd2p87tcrihOFbeBrDiNy0N4D/dd01X1hvZBl2n yhqMBxpqEagN/C88mhrHLhfDufX0WQVyIDGRMAfluJ05pg4Dewcftdu26+fwjlNgiP7s iWPQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fireburn-co-uk.20230601.gappssmtp.com header.s=20230601 header.b=CDoC1mx2; arc=pass (i=1 dkim=pass dkdomain=fireburn-co-uk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-bluetooth+bounces-3041-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3041-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bx10-20020a056a02050a00b005e683d7391asi10404891pgb.470.2024.04.01.08.22.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 08:22:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-3041-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@fireburn-co-uk.20230601.gappssmtp.com header.s=20230601 header.b=CDoC1mx2; arc=pass (i=1 dkim=pass dkdomain=fireburn-co-uk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-bluetooth+bounces-3041-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3041-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E4869282DC2 for ; Mon, 1 Apr 2024 15:22:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 931784CB35; Mon, 1 Apr 2024 15:21:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fireburn-co-uk.20230601.gappssmtp.com header.i=@fireburn-co-uk.20230601.gappssmtp.com header.b="CDoC1mx2" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 99A934AEF0 for ; Mon, 1 Apr 2024 15:21:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711984864; cv=none; b=OPsvgeaBQHJ/gQ/BYtjZHtbET4yuZeukQjWkx8e8bZC6+1kHR3vMCGx6C/bfWlRJPZNS52olocw4+T8kzt2VrQDqad0Xi4ZPbv62aMN8YGrB8co9fW8K8kGCUS2+psEXc06ALZ73ohJ7BUdYcqUL9CtR+y1w02O0CpV7OahgTCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711984864; c=relaxed/simple; bh=nW4KVcUljnrqT34rDqiJ5XMz9R+fw396kTItAuhWVC0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=koiwBuc83Vydh6fvMEAqg/zuFu8X2c4c80PYdnv4QGpG3sIxVfIM0wnxSadylHKJGqp+TMmFgsrJz+PKUkBOJoldeN4uXDvF91oFplJt+LD/yQ7HgT57ux9GWodShlTxHKV3NuppQ8YJ+ov7LqeC05IxqyF6sqwagY4zRaq3LsE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fireburn.co.uk; spf=none smtp.mailfrom=fireburn.co.uk; dkim=pass (2048-bit key) header.d=fireburn-co-uk.20230601.gappssmtp.com header.i=@fireburn-co-uk.20230601.gappssmtp.com header.b=CDoC1mx2; arc=none smtp.client-ip=209.85.216.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fireburn.co.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=fireburn.co.uk Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-2a2317c8756so973193a91.2 for ; Mon, 01 Apr 2024 08:21:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fireburn-co-uk.20230601.gappssmtp.com; s=20230601; t=1711984862; x=1712589662; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3Kyf88o4qsQlO/wR+KsemeXOmT0rB7nYlUY+SaWAaQc=; b=CDoC1mx2Yrpa5tdATcbKXMf/VAxsAtlJixpbZxmsulMQsRE20IcUtRBfX+r6vfV46W UTFlx6kCqA+yragjAWVU9/GcsszkgvygORS1RB1OqkM6icoJtfE7Se60X9gr7QV7LPoz l87mC1XGoOM3Qq9ES62I1cQu8QpcB4AjcTmhFfzVJ7/drTVsrn93Yl4V9qJagJYvgaoS gbGse+HBBnERS1GJfhvsoC1eADa7DisXXvTLG1jYXccbv5vIiJi+MNknIa1U98BufZp1 DRSzVVRCxFq7A3PqNupj0hVp8mi05qBx42f32eklsgkvhGAMlUhbCg3MJBcGhRxq8FYO BRiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711984862; x=1712589662; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3Kyf88o4qsQlO/wR+KsemeXOmT0rB7nYlUY+SaWAaQc=; b=MCva3f4H8R3OyEihPlBCPLrYuttKkFUOqifBFDLnwxUwa8yRWstjTgXLR88EW5rJIt PYsiVPzp8i2s9ZqGsGqD6h+I1PhItH49Q0UuoU36awKLUabjGkiDEbbn3WHUuRNYRGhu 07aSq+zWJR+wAoghjSdN+CuyMHdf5N55b6Mgp1RhmPQ3z9ybeTtioaFxBkSayn65m2tv 1MfU947Tw08yFambRPy4Tb7jBVbso+lGcrojQFpe8UlZaD2ZsJ4SvOKuh+G/AxxQQ06O Mtf3btNYQdYst9oDM91CrjZETFT9R2NRUxe4uX6h/TQy4e7YXQgwS7J/bfwH3KpvmlIf cSEA== X-Forwarded-Encrypted: i=1; AJvYcCU+gaxdVhaZfKeZDgHMcXZiw0yht5hIT7IKv14bIIn/RSIE0bEJG6dwEzzX6mDszOTH3QfnuodGqnoEuRVatUhqNMysXfaRk1Jj8RIcU27t X-Gm-Message-State: AOJu0YwgUwkYfBlyH+nmg+tt2FLNMuOP4W6sYftNPFxoL+mea+jUR4mc hiFJfPsQToVLnK5qGuCf/KPEvDdGb4GqdQ5XyEfkDvZw7+AcJvUhDXBU+EtfYVhneOTKKigbfRg nn7W/tNdi0nSC4+yqp9/EWE4eLrpvMTTke0EI X-Received: by 2002:a17:90a:f3c6:b0:2a0:5234:6842 with SMTP id ha6-20020a17090af3c600b002a052346842mr8533728pjb.31.1711984861895; Mon, 01 Apr 2024 08:21:01 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240304144844.2042-1-peter.tsao@mediatek.com> <20240401144424.1714-1-mike@fireburn.co.uk> In-Reply-To: <20240401144424.1714-1-mike@fireburn.co.uk> From: Mike Lothian Date: Mon, 1 Apr 2024 16:20:50 +0100 Message-ID: Subject: Re: [PATCH] [PATCH] Bluetooth: btusb: Add support Mediatek MT7920 To: peter.tsao@mediatek.com Cc: aaron.hou@mediatek.com, chris.lu@mediatek.com, deren.Wu@mediatek.com, johan.hedberg@gmail.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, luiz.dentz@gmail.com, marcel@holtmann.org, sean.wang@mediatek.com, steve.lee@mediatek.com Content-Type: text/plain; charset="UTF-8" On Mon, 1 Apr 2024 at 15:44, Mike Lothian wrote: > > Hi > > I think this patch is causing issues with older firmware > > Bus 003 Device 002: ID 13d3:3563 IMC Networks Wireless_Device > > [ 0.315064] Bluetooth: Core ver 2.22 > [ 0.315064] NET: Registered PF_BLUETOOTH protocol family > [ 0.315064] Bluetooth: HCI device and connection manager initialized > [ 0.315064] Bluetooth: HCI socket layer initialized > [ 0.315064] Bluetooth: L2CAP socket layer initialized > [ 0.315064] Bluetooth: SCO socket layer initialized > [ 4.670811] Bluetooth: RFCOMM TTY layer initialized > [ 4.671029] Bluetooth: RFCOMM socket layer initialized > [ 4.671790] Bluetooth: RFCOMM ver 1.11 > [ 4.673416] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 > [ 4.673659] Bluetooth: BNEP filters: protocol multicast > [ 4.673895] Bluetooth: BNEP socket layer initialized > [ 4.674125] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 > [ 4.674360] Bluetooth: HIDP socket layer initialized > [ 5.016365] bluetooth hci0: Direct firmware load for mediatek/BT_RAM_CODE_MT7961_1a_2_hdr.bin failed with error -2 > [ 5.017163] Bluetooth: hci0: Failed to load firmware file (-2) > [ 5.017557] Bluetooth: hci0: Failed to set up firmware (-2) > [ 5.018129] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported. > > The correct name should be mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin > > Reverting this patch fixes things > > Cheers > > Mike If it helps, the device ID is 0x7961 and the fw_flavour is 24 or 0x18 in hex