Re: [PATCH v4] Bluetooth: btusb: Add Realtek 8723A/8723B/8761A/8821A support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/12/2015 06:31 PM, Daniel Drake wrote:
On Thu, Feb 12, 2015 at 6:27 PM, Larry Finger <Larry.Finger@xxxxxxxxxxxx> wrote:
+#define RTL_EPATCH_SIGNATURE   "Realtech"


Typo here. It should be Realtek.

If it is a typo, it is a typo from Realtek :)
The firmware includes this signature and it is what the vendor code checks for.

const uint8_t RTK_EPATCH_SIGNATURE[8] = {0x52, 0x65, 0x61, 0x6C, 0x74,
0x65, 0x63, 0x68};

Sorry, I should have decoded that string.


+#define RTL_ROM_LMP_3499       0x3499
+#define RTL_ROM_LMP_8723A      0x1200
+#define RTL_ROM_LMP_8723B      0x8723
+#define RTL_ROM_LMP_8821A      0x8821
+#define RTL_ROM_LMP_8761A      0x8761


I just got a report for an lmp_subversion of 0x4ce1 on an RTL8723BE. The
above list and the table below may need expanding. We are still testing.

Keep in mind, it is normal for the lmp_subversion to change once the
firmware has been uploaded.
That list is only a list of firmware versions that must be replaced.

I think the report was for a device for which firmware was not loaded as the lmp_subversion was not recognized. I will be rechecking the full dmesg output.

I have a few minor comments. My log shows the following:

[ 4262.901871] Bluetooth: hci0: hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
[ 4262.901874] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723

Those two show the same information. The one in btusb_setup_realtek() should be removed.

I would prefer to see a logging of the file name of the firmware that was loaded in btusb_setup_rtl8723b(). That will make it easier to interpret any "rtl: assuming no firmware upload needed." messages in btusb_setup_realtek().

When bringing my laptop out of sleep, the firmware was reloaded, but Bluetooth did not work until the driver was unloaded and reloaded. If you have any thoughts please let me know.

Larry
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux