From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751634AbdKVII3 (ORCPT ); Wed, 22 Nov 2017 03:08:29 -0500 Received: from mail-ot0-f173.google.com ([74.125.82.173]:39055 "EHLO mail-ot0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751573AbdKVII1 (ORCPT ); Wed, 22 Nov 2017 03:08:27 -0500 X-Google-Smtp-Source: AGs4zMZMbFLE4uSgvN3gcZZhp75/H6JzeyUu6QHHCxlUIyqbwJJ2uBWggqbvuAn2RybF8tvzCW3xFe5+wd4kuvNsXKY= MIME-Version: 1.0 In-Reply-To: References: <20171006220504.7776-1-eric@anholt.net> <910a98ca-57f6-baca-73ac-f6c8c1ff04db@i2se.com> From: Loic Poulain Date: Wed, 22 Nov 2017 09:07:45 +0100 Message-ID: Subject: Re: [GIT PULL 1/2] bcm2835-dt-fixes-2017-10-06 To: Peter Robinson Cc: Marcel Holtmann , Stefan Wahren , Matt Hart , Linux Kernel Mailing List , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel , Eric Anholt Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, > So it seems it's actually working fine albeit the strange mac addr, no > idea what I was trying before, although there's an error about loading > firmware: > > [ 31.035291] Bluetooth: hci0: BCM: chip id 94 > [ 31.035801] Bluetooth: hci0: BCM: features 0x2e > [ 31.037483] Bluetooth: hci0: BCM43430A1 > [ 31.037498] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000 > [ 31.037694] bluetooth hci0: Direct firmware load for > brcm/BCM43430A1.hcd failed with error -2 > [ 31.037704] Bluetooth: hci0: BCM: Patch brcm/BCM43430A1.hcd not found Ok, think that's why you have this kind of 'default' address, you should be able to provision a valid address with btmgmt tool. The chip can work without applying patch file, original firmware is then executed, which is potentially more or less buggy. > By adding a firmware [1] to the location it actually now stops > working, although shows up with a hciconfig, and had the following > errors. > > [ 26.078038] Bluetooth: hci0: BCM: chip id 94 > [ 26.096797] Bluetooth: hci0: BCM: features 0x2e > [ 28.130753] Bluetooth: hci0 command 0x0c14 tx timeout > [ 36.322725] Bluetooth: hci0: BCM: Reading local name failed (-110) Really weird, because these steps are prior firmware loading, moreover on HCI command timeout, the HCI core is supposed to retry sending of the command, here nothing happened between [28.13] and [36.32].... Could you please try to load hci_uart.ko manually after boot to see if it could be related to some init timings/concurrency. Regards, Loic