Bug 73411

Summary: Unknown vendor ID [105b:e065] - Broadcom BCM43142 device
Product: Drivers Reporter: takieszti91
Component: BluetoothAssignee: linux-bluetooth (linux-bluetooth)
Status: NEW ---    
Severity: normal CC: alan, johan.hedberg, kolAflash, schmidicom, szg00000
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: All Subsystem:
Regression: No Bisected commit-id:
Attachments: Some important command output
Add BCM43142A0 for ThinkPad Edge E545

Description takieszti91 2014-04-02 23:20:32 UTC
Created attachment 131301 [details]
Some important command output

/drivers/bluetooth/btusb.c doesn't contain my device vendor ID [105b:e065], that's why I can't use it in Arch Linux.

I found that other people have this problem too and there is a patch for it:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1161261
http://patchwork.ozlabs.org/patch/231936/
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1065400

/drivers/bluetooth/btusb.c in Ubuntu kernel source contains this vendor id:
http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-saucy.git;a=blob;f=drivers/bluetooth/btusb.c;h=ac3b4efcff13d0b2b080a034b9cdc4d08e40cf8b;hb=ee5918d3e6e54ce18ee5d983062dd44555f8c9f7

This device needs firmware. I saved my firmware in hex and in hcd:
http://ubuntuone.com/6Ot6DpIq2NxVaNNX41kjxX
http://ubuntuone.com/4Hwjcc5kfG2ggIPumdCSFI

I also reported this problem here:
https://bbs.archlinux.org/viewtopic.php?pid=1399220#p1399220

Please add support for [105b:e065] device!
Thank you ahead!
Comment 1 takieszti91 2014-04-05 13:21:43 UTC
Now I have a solution to my bluetooth problem. I posted it here: https://bbs.archlinux.org/viewtopic.php?pid=1400888#p1400888

But I will be happier if you support my bluetooth adapter by default.
Comment 2 Alan 2014-04-08 10:02:11 UTC
The firmware is not redistributable without the manufacturers permission. We cannot go around shipping random 3rd party firmware without licenses
Comment 3 takieszti91 2014-04-08 10:59:37 UTC
Okey. I understand this. But if you write this vendor ID to btusb.c, we have to load only the firmware manually. The solution, that I posted above has bugs with Gnome 3 desktop (I didn't try it with others). I tried an external bluetooth dongle with Gnome 3 desktop and it didn't have bugs with it. I think maybe you do this, my problem will disappear. Thanks!
Comment 4 Stefan Schmid 2015-01-03 10:02:02 UTC
*** Bug 83871 has been marked as a duplicate of this bug. ***
Comment 5 Stefan Schmid 2015-01-03 10:12:20 UTC
I have the appropriate firmware with "brcm_patchram" loaded on my BCM43142 (ThinkPad Edge E545) from github and still no connections can be built.

modprobe -v btusb; echo "04ca 2007" >> /sys/bus/usb/drivers/btusb/new_id; hciconfig hci0 up; /opt/brcm_patchram/brcm_patchram_plus_usb --patchram /lib/firmware/BCM43142A0_001.001.011.0084.0115.hcd hci0

But at least finds "hcitool scan" the devices.
Comment 6 Stefan Schmid 2015-01-05 18:47:37 UTC
Created attachment 162541 [details]
Add BCM43142A0 for ThinkPad Edge E545

With a kernel patch and firmware it works (obex file transfer, audio, etc ...), but not with the tool "brcm_patchram_plus_usb".
Comment 7 Johan Hedberg 2015-01-14 11:28:16 UTC
Please send the patch (with git send-email or at least formatted using git format-patch) to linux-bluetooth@vger.kernel.org. That way it should find its way to future kernel releases. Also remember to include the corresponding usb-devices output for the device in the commit message.
Comment 8 kolAflash 2015-11-12 09:46:39 UTC
Any progress on this?


I just followed this guide to make a 105b:e065 Bluetooth adapter work on a Lenovo G700 (model 20251, product 59387531).

http://www.gnebehay.com/blog/lenovo-flexpad-bluetooth-debian/

Works fine!
Connected successfully to my phone and send a file.

So it would be very great, if

{ USB_DEVICE(0x105b, 0xe065), .driver_info = BTUSB_BCM_PATCHRAM },

would be included into

linux-source/drivers/btusb.c


Thanks!