linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Tobias Baumann <017623705678@o2online.de>,
	linux-bluetooth@vger.kernel.org
Cc: alistair@alistair23.me, Larry.Finger@lwfinger.net,
	jwboyer@kernel.org,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Subject: Re: Bluetooth part of RTL8723BS
Date: Mon, 1 Jun 2020 15:06:56 +0200	[thread overview]
Message-ID: <230c11ab-0c1a-f7c0-8b0c-c59ee4c5c49f@redhat.com> (raw)
In-Reply-To: <fb9c3d0e-813e-90f6-2492-c7eaaf0b490d@o2online.de>

Hi Tobias,

On 6/1/20 8:18 AM, Tobias Baumann wrote:
> REF: Linux Firmware commit e6b9001e91110c654573b8f8e2db6155d10d3b57 <https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/rtl_bt?id=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


      reply	other threads:[~2020-06-01 13:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-01  6:18 Bluetooth part of RTL8723BS Tobias Baumann
2020-06-01 13:06 ` Hans de Goede [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=230c11ab-0c1a-f7c0-8b0c-c59ee4c5c49f@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=017623705678@o2online.de \
    --cc=Larry.Finger@lwfinger.net \
    --cc=alistair@alistair23.me \
    --cc=jwboyer@kernel.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=martin.blumenstingl@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).