Bluetooth Support on VirtualBox

2,054 views
Skip to first unread message

Juri

unread,
Mar 18, 2010, 4:48:10 PM3/18/10
to Android-x86
Hi,

I'm currently trying the newest Android x86 build (http://goo.gl/
fPTl). Installed it on VirtualBox as well as on VmWare on my Mac OSX
host machine.

Unfortunately I have some problems and hope to get some help from you.
My major issue is that I'd like to use Android x86 to test some
Android apps using the new Bluetooth API. What I need is to have WiFi
or some connection to my network working in order to upload my apps as
well as Bluetooth of course.

What I tried till now is to install the latest Android test release on
VirtualBox (and VmWare) and connected it to my Apple USB Bluetooth
host controller. However I failed to switch on Bluetooth and Android
x86. (Android 1.6 release worked however the necessary Bluetooth
support is just in the 2.0+ version).

So I started the live CD on my HP notebook PC (same test release).
There bluetooth connected perfectly, however WiFi didn't... :(

Could someone give me some suggestions on how to proceed? The best
would be to get bluetooth to work on VirtualBox, so I don't need WiFi
since NAT will solve the issue of having connectivity to the internet.

Thx a lot

Chih-Wei Huang

unread,
Mar 18, 2010, 9:56:15 PM3/18/10
to andro...@googlegroups.com
I never succeed to use usb device of host on vbox,
no matter what guest os is.
Personally I think the usb support of vbox is buggy.

Make sure the kernel can detect the bluetooth driver.
(should appear rfkill interface in /sys/class/rfkill)

Check logcat to see if anything abnormal.

2010/3/19 Juri <juri.stru...@gmail.com>:

--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Juri

unread,
Mar 19, 2010, 2:51:30 AM3/19/10
to Android-x86
Hmm..with the release of Androidx86 (Android 1.6) I was able to
activate Bluetooth though. However for my purposes I'll need the 2.0
version to have the necessary Bluetooth API support.

Sorry for the newbie questions, but how can I check the /sys/class/
rfkill from within Android x86?

Thx for your support, it's really valuable to me.

On Mar 19, 2:56 am, Chih-Wei Huang <cwhu...@android-x86.org> wrote:
> I never succeed to use usb device of host on vbox,
> no matter what guest os is.
> Personally I think the usb support of vbox is buggy.
>
> Make sure the kernel can detect the bluetooth driver.
> (should appear rfkill interface in /sys/class/rfkill)
>
> Check logcat to see if anything abnormal.
>

> 2010/3/19 Juri <juri.strumpfloh...@gmail.com>:

Yi Sun

unread,
Mar 19, 2010, 12:55:48 PM3/19/10
to andro...@googlegroups.com
go to alt-f1 and then do cat /sys/class/<file path/name>/. You can do
this in the term emulator as well

> --
> You received this message because you are subscribed to the Google Groups "Android-x86" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-x86...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
>
>

--
Android-x86
http://www.android-x86.org

Juri

unread,
Mar 20, 2010, 3:43:39 AM3/20/10
to Android-x86
I now tried to check for the rfkill interface as suggested:
- VirtualBox, Android_x86 (Android 2.0): no rfkill folder found
- VmWare, Android_x86 (Android 2.0): no rfkill folder found
- VmWare, Android_x86 (Android 1.6): found rfkill folder (however
Bluetooth support in that Android version is too low for my needs).

I also run the live CD (of x86 Android 2.0 test release) on my old HP
notebook and Bluetooth was recognized (also the rfkill folder exists),
however there ethernet connections or WiFi doesn't run, wherefore I'm
basically unable to deploy my apps.

Could you give me some hints on how to solve that? Is it easier to
make run my WiFi on my HP notebook or to (somehow) enable Bluetooth on
some VM?? Or will there be some release coming out which fixes these
issues related to the port of the Android 2.0 version (I'd also work
with a test release :) ).

Thx guys.

asif....@gmail.com

unread,
Aug 2, 2016, 9:04:44 AM8/2/16
to Android-x86
Successfully verified on:

Ubuntu: 16.04<br>
Virtualbox: 5.0.24<br>
Android x86: 4.4-r5, 5.1-rc1, 6.0-rc1*<br>
Bluetooth USB Dongle Tested:

PASSES: Cambridge Silicon Radio CSR8510 A10 [8891]
FAILS: Broadcom BCM20702A0 [0112]

To be able to do the following:

Android -> Settings -> Bluetooth -> On

You need to physically attach the Bluetooth USB dongle to the Host and virtually attach it to the VirtualMachine **before** starting it up the VirtualMachine.

***NOTE:** For Android 6.0-rc1, you can virtually attach the bluetooth USB dongle (and do a Android settings bluetooth enable) **after** boot up.

Virtualbox -> AndroidVitrualMachine -> Settings -> USB -> USB+ (Button icon with the balloon help that says - Add new filter with all fields set to the values of the selected USB device attached to the Host PC.)

I have verified this which included running the nRF Master Control Panel Android app and scanning for Bluetooth LE devices on the AndroidVirtualMachine.
Reply all
Reply to author
Forward
0 new messages