Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8FD81C433F5 for ; Sat, 18 Dec 2021 10:20:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232662AbhLRKUs (ORCPT ); Sat, 18 Dec 2021 05:20:48 -0500 Received: from mx3.molgen.mpg.de ([141.14.17.11]:48371 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229779AbhLRKUr (ORCPT ); Sat, 18 Dec 2021 05:20:47 -0500 Received: from [192.168.0.3] (ip5f5aecf3.dynamic.kabel-deutschland.de [95.90.236.243]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 49BEA61E5FE02; Sat, 18 Dec 2021 11:20:45 +0100 (CET) Message-ID: <82abfb3e-2e70-736f-95dc-b3cb88b952bb@molgen.mpg.de> Date: Sat, 18 Dec 2021 11:20:44 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [RFC PATCH] Bluetooth: btintel: Fix broken LED quirk for legacy ROM device Content-Language: en-US To: Luiz Augusto von Dentz Cc: Tedd An , linux-bluetooth@vger.kernel.org, Tedd Ho-Jeong An References: <20211216033453.9806-1-hj.tedd.an@gmail.com> <904d134a-a672-72a9-dddb-1c48d151e62e@molgen.mpg.de> <7bca0b8840cc1bab1c7ea7f25d8cca6ee41ecb04.camel@intel.com> <3ae32390-a8e5-9b65-6252-9e7f201bd08a@molgen.mpg.de> From: Paul Menzel In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Dear Luiz, dear Tedd, Am 17.12.21 um 20:27 schrieb Luiz Augusto von Dentz: > On Fri, Dec 17, 2021 at 7:33 AM Paul Menzel wrote: >> Am 16.12.21 um 19:38 schrieb An, Tedd: >> >>> On Thu, 2021-12-16 at 08:52 +0100, Paul Menzel wrote: >> >>>> Am 16.12.21 um 04:34 schrieb Tedd Ho-Jeong An: >>>>> From: Tedd Ho-Jeong An >>>>> >>>>> This patch fix the broken LED quirk for Intel legacy ROM devices. >>>> >>>> fix*es* >>>> >>>> Excuse my ignorance, but what are Intel legacy ROM devices? Maybe also >>>> mention the IDs 0x0a2a and 0x0aa7 in the commit message? >>>> >>>>> Legacy device sends the SW RFKILL while shutting down the device (like >>>>> HCI interface down) to turn off the LED by putting the device in assert. >>>>> >>>>> Once the SW RFKILL is on, it needs the HCI_Reset to exit from the SW >>>>> RFKILL state. This patch checks the quirk and send the HCI_Reset before >>>> >>>> send*s* >>>> >>>>> sending the HCI_Intel_Read_Version command. >>>> >>>> Is that document in some datasheet/specification? If so, please mention it. >>>> >>>> Also, in the commit message summary you write “Fix”. If it fixes an old >>>> commit, please add a Fixes: tag. >>>> >>>>> Signed-off-by: Tedd Ho-Jeong An >>>>> --- >>>>> drivers/bluetooth/btintel.c | 13 ++++++------- >>>>> drivers/bluetooth/btusb.c | 10 ++++++++-- >>>>> 2 files changed, 14 insertions(+), 9 deletions(-) >>>> >>>> I have a Dell Latitude E7250 with the 8087:0a2a. How can I test this? >>> >>> Apply this patch on top of the bluetooth-next (or current mainline) >>> The BT interface should be available after reboot. >> >> On the laptop, I do not have any problems with missing BT interface >> after reboot with Linux 5.16-rc5. Are not all devices affected? > > If the problem is fixed for you please confirm it by replying with a > Tested-by line. Sorry, there seems to be a misunderstanding. I do not know what the problem is in the first place. On the Dell Latitude E7250 with Linux 5.16-rc5 the Bluetooth interface shows up after a warm reboot just fine. Kind regards, Paul