Hi Marcel, OK, I will send new patch. Matej On Fri, Jan 30, 2015 at 11:28 PM, Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote: > Hi Matej, > >> Please add support for sub BT chip on the combo card >> Broadcom 43142A0 (in Lenovo E145), 04ca:2007 >> >> /sys/kernel/debug/usb/devices >> >> T: Bus=05 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 0 >> D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 >> P: Vendor=04ca ProdID=2007 Rev= 1.12 >> S: Manufacturer=Broadcom Corp >> S: Product=BCM43142A0 >> S: SerialNumber=28E347EC73BD >> C:* #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr= 0mA >> I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none) >> E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms >> E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms >> E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms >> I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none) >> E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms >> E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms >> I: If#= 1 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none) >> E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms >> E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms >> I: If#= 1 Alt= 2 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none) >> E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms >> E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms >> I: If#= 1 Alt= 3 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none) >> E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms >> E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms >> I: If#= 1 Alt= 4 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none) >> E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms >> E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms >> I: If#= 1 Alt= 5 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none) >> E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms >> E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms >> I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) >> E: Ad=84(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms >> E: Ad=04(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms >> I:* If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=(none) >> >> Firmware can be extracted from the latest Lenovo E145 Bluetooth driver >> for Windows (driver is however described as BCM20702 but contains also >> firwmare for BCM43142). >> Search for BCM43142A0_001.001.011.0122.0153.hex within hex files, then >> it must be converted using hex2hcd utility. Rename file to >> BCM43142A0-04ca-2007.hcd, then move to /lib/firmware/brcm/. >> --- >> drivers/bluetooth/btusb.c | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c >> index ea3d337..e643fd2 100644 >> --- a/drivers/bluetooth/btusb.c >> +++ b/drivers/bluetooth/btusb.c >> @@ -110,6 +110,10 @@ static const struct usb_device_id btusb_table[] = { >> { USB_DEVICE(0x13d3, 0x3404), >> .driver_info = BTUSB_BCM_PATCHRAM }, >> >> + /* Broadcom BCM43142A0 */ >> + { USB_DEVICE(0x04ca, 0x2007), >> + .driver_info = BTUSB_BCM_PATCHRAM }, >> + > > I think it is time that the Lite-on based Broadcom devices get a vendor and interface info entry like all the others. So please use USB_VENDOR_AND_INTERFACE_INFO here and note it has Lite-On Technology - Broadcom based like the others. > >> /* Foxconn - Hon Hai */ >> { USB_VENDOR_AND_INTERFACE_INFO(0x0489, 0xff, 0x01, 0x01), >> .driver_info = BTUSB_BCM_PATCHRAM }, > > Regards > > Marcel > -- 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