Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp461472ybg; Mon, 1 Jun 2020 06:07:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiOWmCv07xBOCOLL3dZ1fIHvUz8PAFNyV4bkcpOzXAIkQ0hNVEsYPPxs/P/n1ktGIejAiW X-Received: by 2002:a17:906:71b:: with SMTP id y27mr3667457ejb.537.1591016856478; Mon, 01 Jun 2020 06:07:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591016856; cv=none; d=google.com; s=arc-20160816; b=eFAkVltgiU9NJNpuW/ToR0caWCCx9+clhvuwGXYg28UF2mztcNKOtMDY+7M4dheAoz iZxZoS3M/lyF2MMsHm0Bw6rbVrtSVPhxXIs6RGsj35bjWSZs84jDpXhqQ4eYSUOx4tRS YrIvF+ZrO0rL6+6dlEUviNAf1OwO9CTpU4GbSzqPqhlrsv5TfMgL5Dqq8qftJlL1odBO /rGLBU14fJ5g3rZkkccvR88h16NCSYMbguPny1f95tdpxCTMrXlUFu1jE2jvP3+YImN2 hACtFoPQxW2xSf7N10e8LEaViU7yNGv1G6ZzCvWJ/i+4toIuUPvJeqLBxo/ZJledEst5 k5bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=0laGd52IgFbrpwcJizDebr/s17cCzX73jyqDIb0EbtM=; b=Vj6OP97ADAEqbDt36Pz6OVVUQxF9xR6A7pVoKxmopTonJikJEbWyKQ38s/e6a8v0hj 67dkkh9O88SY5nvnjGDv00DOMwGk2lwheaxd0yEBUV1hWHq6uON6MiSXYMK5VSdH0f4g 3IRYUv0faXeD3QCzRaEYsaafrKd+ON4QY1P8FS58hBvEdfduQfg/+LeoAswbG1p694OO 70D/94V4FaU7sWgLS3DY1yQQM2ncktyUi3jEeKB8ULD5zFJRg0Jkn2kVrepmBqWG2+x4 OMnDfmmDWP2FOZy9LhE81869u2eL4JTvu1BVb3p/TuwbK3CflUpYF+OPeNnTyv6tCV/z 4yvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cz9v73vF; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pw8si2733048ejb.83.2020.06.01.06.07.11; Mon, 01 Jun 2020 06:07:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cz9v73vF; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726067AbgFANHH (ORCPT + 99 others); Mon, 1 Jun 2020 09:07:07 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:46515 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725847AbgFANHG (ORCPT ); Mon, 1 Jun 2020 09:07:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591016824; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0laGd52IgFbrpwcJizDebr/s17cCzX73jyqDIb0EbtM=; b=cz9v73vF/SFG6rRZmCdP0/JgSdExBz9T5VvFFwcDqokkjzJoPNwPQdY9Tru9UfSl96M3mL z4dmhAjXVeILN/YNs9uhrim3npn0WcciKrl5bN4K9pk1d9cP43QIk4gl4cSch7dFYSNJtn bggTG7u+B7q2QTPCi1X7N/ULTxHpkh0= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-152-IMln4vssNCe-hNHo3r7Jjg-1; Mon, 01 Jun 2020 09:06:59 -0400 X-MC-Unique: IMln4vssNCe-hNHo3r7Jjg-1 Received: by mail-ej1-f71.google.com with SMTP id qo26so2892981ejb.1 for ; Mon, 01 Jun 2020 06:06:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0laGd52IgFbrpwcJizDebr/s17cCzX73jyqDIb0EbtM=; b=J53CFpNuYPc9YWz6YjkXbYxcCic9shPHXR12+BtynNXnSwle4CVk94cvozqHrtlu79 wWI04hrfK5QwCVaErzP1cLnM+FRdRETWitCtBD+CcjQ2SgofpImByLI46nEKH1OHZpPw xQ4cbHZHgtzRRRhgSoj4u9t+9DW1TKd2AGelv0kTzvUh1770bkkSHlClu+6gj2ie0gTe 3c+JInKLTwJft+f3ndBi+ZB61YjCE6om96GXbK9gqjhSDeRazeBy0wg7PjGTDjADMiv8 Hvz1Ngfzp6rtfAQoYkq0wFL+9wobnYMCTIb/MwgFkxVBh5WvldP6P4GFF4D870cCIgzq NGlA== X-Gm-Message-State: AOAM533P+FW278BwAsZMXDXpzE8lmXDqAFKpYHfRxfZImaV252XjssZh MKe8onKsVwrSCenKSghZRoCnYTxrCABZ48Y5uhogrAGQyX+bOthF8j7zCUkzQ54CMLfuzUciLh0 Gq/sFxyI84++E9IdA1Zt71u4OwpYW X-Received: by 2002:a17:906:cecf:: with SMTP id si15mr18553510ejb.164.1591016818292; Mon, 01 Jun 2020 06:06:58 -0700 (PDT) X-Received: by 2002:a17:906:cecf:: with SMTP id si15mr18553493ejb.164.1591016818057; Mon, 01 Jun 2020 06:06:58 -0700 (PDT) Received: from x1.localdomain (2001-1c00-0c0c-fe00-d2ea-f29d-118b-24dc.cable.dynamic.v6.ziggo.nl. [2001:1c00:c0c:fe00:d2ea:f29d:118b:24dc]) by smtp.gmail.com with ESMTPSA id b15sm16633630edk.90.2020.06.01.06.06.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Jun 2020 06:06:57 -0700 (PDT) Subject: Re: Bluetooth part of RTL8723BS To: Tobias Baumann <017623705678@o2online.de>, linux-bluetooth@vger.kernel.org Cc: alistair@alistair23.me, Larry.Finger@lwfinger.net, jwboyer@kernel.org, Martin Blumenstingl References: From: Hans de Goede Message-ID: <230c11ab-0c1a-f7c0-8b0c-c59ee4c5c49f@redhat.com> Date: Mon, 1 Jun 2020 15:06:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Tobias, On 6/1/20 8:18 AM, Tobias Baumann wrote: > REF: Linux Firmware commit e6b9001e91110c654573b8f8e2db6155d10d3b57 > > REF: rtl_bt: Add firmware and configuration files for the Bluetooth part of RTL8723BS > > > Hello Community > > Hardware : >  M8S ARM S812 RTL8723BS > ODIS Wintab8 Intel Atom RTL8723BS > > > I'm working together with Martin (xdarklight) to get the new kernel working for older Android Tv boxes with ARM chipset (Amlogic s802 - Amlogic S812; Ubuntu , Debian ). > > After Martin has successfully integrated the patch for SDIO controller . I got my internal Wlan Adapter (RTL8723BS) working. > > We are now also activating the Bluetooth part. But we encountered the problem with the config file.  Hans was nice enough to extract the RTL8723BS firmware file from the Realtek driver file. > > As Hans has already written there are almost no differences in the tablet area with config file, I can only confirm this after looking at different driver files (Realtek bluetooth UART). > > I found only 4 ACPI ID : once the already mentioned OBDA:8723 which is the default version ,one for ACER tablet OBDA:0623 and the BESTbuy ( Chuwi Hi10 ? ) OBDA:0242 ; in the driver version of 2015/2016 there were still 2 config files available(standart and ACER) in the version 2017 only ONE so that also the Default, ACER and BESTbuy use the same config files. > > I myself and Martin are currently using the two files from the firmware repro successfully. > > !! So I ask you to remove the ACPI ID from the file and rename the file to RTL8723b_config.bin ; furthermore I ask you to set the reference when loading the RTL8723BS Blueooth driver to the RTL8723b_firmware.bin so that it corresponds to the standard file name. !!!! We cannot simply remove the ACPI-id from the filename the driver is looking for, if we do that then existing installs with the current linux-firmware version which has the rtl8723bs_config-OBDA8723.bin file will stop working as they now try to load the non existing rtl8723bs_config.bin file. If you believe that having a single config file will work for all device-tree based platforms, then you can modify the bluetooth driver to load rtl8723bs_config.bin in the device-tree case. The linux-firmware installation bits allow adding links at installation time, so for the linux-firmware side you can then have the installation create a symlink by adding the symlink info to the WHENCE file in the linux-firmware repository, see some of the existing "Link:" entries already present in that file. Regards, Hans