Hi Champion, On Fri, Jul 4, 2014 at 11:11 AM, 陈艳萍 <champion_chen@xxxxxxxxxxxxxx> wrote: > Attached file includes vendor commands of realtek Bluetooth modules in initialize procedure. > > And btusb is example of add rtl setup callbacks (not finished) Thanks a lot for providing this information! The btusb example you attached also the USB-ID-to-firmware-name lookup table that Marcel was not so happy about. Instead it reads the version info from the device and uses that to decide which of the firmware files to use (e.g. rtl8723a_fw). It can do this because it drops support for the following "problematic" RTL8761-based devices which need a special firmware for each variant of the card: { 0x818B, 0x8761, "rtl8761aw8192eu_fw", "rtl8761a_config", NULL, 0 }, //Rtl8761Aw + 8192EU { 0x8760, 0x8761, "rtl8761au8192ee_fw", "rtl8761a_config", NULL, 0 }, //Rtl8761AU + 8192EE { 0xB761, 0x8761, "rtl8761au8192ee_fw", "rtl8761a_config", NULL, 0 }, //Rtl8761AU + 8192EE { 0x8761, 0x8761, "rtl8761au8192ee_fw", "rtl8761a_config", NULL, 0 }, //Rtl8761AU + 8192EE for LI { 0x8A60, 0x8761, "rtl8761au8812ae_fw", "rtl8761a_config", NULL, 0 }, //Rtl8761AU + 8812AE (from https://github.com/lwfinger/rtl8723au_bt/blob/new/rtk_btusb.c#L1450 ) If these particular devices are not common then indeed maybe we can not worry about supporting them for now. However, your new code also drops usage of the config firmware files e.g. rtl8723b_config. Can you explain what these files are for, and if they are safe to ignore like your new code does? Your new code references 2 firmware files that we don't have: rtl8821a_fw and rtl8761a_fw. Please could you send them over, and confirm that they are redistributable? Please also confirm that we have the latest versions of the other 2 files: rtl8723a_fw: 24356 bytes md5sum b4a329212ab150b88c3c6ff4c42c51d6 rtl8723b_fw: 38976 bytes md5sum ebf894b7b91cbebce8aeb5ba63c22914 These can be found at https://github.com/lwfinger/rtl8723au_bt/tree/new Thanks Daniel -- 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