Enabling USB Bluetooth Adapter Support

2,706 views
Skip to first unread message

Keith Conger

unread,
Feb 11, 2015, 11:49:20 AM2/11/15
to andro...@googlegroups.com
Hi,

I had some questions about the USB Bluetooth adapter support in android-x86 that I'm hoping someone can help me with.  What kernel version and options/modules are needed.  Is there a trick to enabling it for my device?  What adapter chipsets are supported?  

Full disclosure I'm trying to get it functioning with my Beaglebone Black.  :)

Thanks in advance

Keith

André Vitor

unread,
Feb 11, 2015, 5:41:41 PM2/11/15
to andro...@googlegroups.com
Specify exactly what is your device so I can provide a patch to add your usb bluetooth adapter. Right now only RTL8723AU usb bluetooth is working, aside from generic devices.

Keith Conger

unread,
Feb 11, 2015, 7:36:32 PM2/11/15
to andro...@googlegroups.com
Its reported as a BCM92045B3 ROM

lsusb -v shows:

Bus 002 Device 009: ID 0a5c:2101 Broadcom Corp. Bluetooth Controller
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x0a5c Broadcom Corp.
  idProduct          0x2101 Bluetooth Controller

André Vitor

unread,
Feb 11, 2015, 11:14:54 PM2/11/15
to andro...@googlegroups.com
Your device should be working...... post a logcat. it should have error messages about usb hci bluetooth.

Keith Conger

unread,
Feb 12, 2015, 9:58:43 AM2/12/15
to andro...@googlegroups.com
I have attached a logcat from bootup.

For some background, here is what I did to bring in android-x86's bluedroid.  Maybe I missed something?

I replaced libusb, bluedroid and added hardware/broadcom from android-x86 KitKat to my BBBandroid Beaglebone Black KitKat repo

I copied vnd_generic_usb.txt to /etc/bluetooth/bt_vendor.conf

I added the following to my BoardConfig.mk
BOARD_HAVE_BLUETOOTH := true

And the following in "kernel/.config", the kernel is 3.8
CONFIG_BT=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=y
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=y

Thanks for your help.

Keith
logcat.txt

André Vitor

unread,
Feb 12, 2015, 11:38:15 PM2/12/15
to andro...@googlegroups.com
What you mean 'BBBandroid Beaglebone Black KitKat repo' ? What are you doing exactly?

Also, there's a lot of errors in logcat.

Out of the box android-x86 is working with all usb bluetooth, you don't need to change anything at all.
Do a 'repo sync' and build a new iso.

Keith Conger

unread,
Feb 13, 2015, 9:52:06 AM2/13/15
to andro...@googlegroups.com
Sorry I should've been more clear.  Beaglebone Black is an ARM platform, and I'm trying to add in android-x86's bluedroid.

Keith

--
You received this message because you are subscribed to a topic in the Google Groups "Android-x86" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-x86/lZVnpIScHfg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.



--
Keith Conger
keith DOT conger AT gmail DOT com
http://thecongers.org

André Vitor

unread,
Feb 13, 2015, 10:11:49 AM2/13/15
to andro...@googlegroups.com

Keith Conger

unread,
Feb 13, 2015, 10:23:36 AM2/13/15
to andro...@googlegroups.com
This is great.  I'll give it a try. 

Thanks for all the help.
Keith

Keith Conger

unread,
Feb 13, 2015, 10:30:08 AM2/13/15
to andro...@googlegroups.com
I noticed in one of the patches the bluetooth kernel modules are being unloaded.  So my kernel should not have bluetooth built in correct?
Message has been deleted

André Vitor

unread,
Feb 13, 2015, 10:38:26 AM2/13/15
to andro...@googlegroups.com
Those are incompatible modules with bluedroid.
It's needed because they can conflict with bluedroid functions.
Reply all
Reply to author
Forward
0 new messages