Re: [PATCH v4] Bluetooth: Fix Bluetooth for BCM4377 on T2 Intel MacBooks

From: Aditya Garg
Date: Thu Dec 28 2023 - 01:14:01 EST


I got it tested by a person and Johan's patch works.

> On 27-Dec-2023, at 4:05 PM, Johan Hovold <johan@xxxxxxxxxx> wrote:
>
> On Mon, Dec 25, 2023 at 03:21:04PM -0500, Felix Zhang wrote:
>> Starting v6.5, Bluetooth does not work at all on my T2
>> MacBookAir9,1 with the BCM4377 chip. When I boot up the computer,
>> go into bluetoothctl, and then try to run commands like scan on,
>> show, list, it returns "No default controller available." I have
>> tried reloading the kernel module, in which the log outputs
>> "{Added,Removed} hci0 (unconfigured)." With this patch, I
>> am able to use Bluetooth as normal without any errors regarding
>> hci0 being unconfigured. However, an issue is still present
>> where sometimes hci_bcm4377 will have to be reloaded in order to
>> get bluetooth to work. I believe this was still present before
>> the previously mentioned commit.
>>
>> I would also like to thank Kerem Karabay <kekrby@xxxxxxxxx> for
>> assisting me with this patch.
>>
>> Fixes: 6945795bc81a ("Bluetooth: fix use-bdaddr-property quirk")
>> Cc: <stable@xxxxxxxxxxxxxxx>
>> Signed-off-by: Felix Zhang <mrman@xxxxxxxxxxxxx>
>> ---
>> v4:
>> * Adjust the format to pass the CI (again).
>> * Shorten description
>
> As explained here:
>
> https://lore.kernel.org/all/ZYv8tp3fMiAqK8OI@xxxxxxxxxxxxxxxxxxxx/
>
> I don't this is necessarily the right fix. The BD_ADDR quirk property
> should not be set unconditionally but it is still needed for devices
> that lack storage for a unique device address.
>
> So the following fix is needed either way and is probably all that is
> needed here:
>
> https://lore.kernel.org/lkml/20231227101003.10534-1-johan+linaro@xxxxxxxxxx/
>
> Johan