Making Bluetooth work on x86 - please help

by Bzbit » Fri, 17 Jul 2009 00:39:58 GMT

Sponsored Links

I'm like to make Bluetooth work on my x86 platform,
I added - BOARD_HAVE_BLUETOOTH := true and resolved compilation errors
as mentioned in -

Making Bluetooth work on x86 - please help

by Bzbit » Mon, 20 Jul 2009 02:47:20 GMT

 I have removed the "CONFIG_ANDROID_PARANOID_NETWORK" from the Kernel
now I can see the device under "hciconfig -a".
but still I dont see it under "hcitool dev"

> "

Sponsored Links

Making Bluetooth work on x86 - please help

by Bzbit » Wed, 22 Jul 2009 02:12:12 GMT

 'm having problems with enable/disable the BT device from the GUI.

So here is my status so far -

hciconfig + hcitool are working (I can scan).
even - bttest enable + disable are working, as I understand this
means hcid is working ok.

As far as I can see bttest enable - is calling the same bt_enable
function as from the jni, then why the GUI is not able to work?
Can someone please help me with this?

Here is my init.rc - (the hciattach & rfkill are not relevant I
removed them from the code)
# chmod 0660 /dev/ttyS1
# chown bluetooth bluetooth /dev/ttyS1
service dbus /system/bin/dbus-daemon --system --nofork
socket dbus stream 660 bluetooth bluetooth
user bluetooth
group bluetooth net_bt_admin
service hcid /system/bin/hcid -s -n -f /etc/bluez/hcid.conf
socket bluetooth stream 660 bluetooth bluetooth
socket dbus_bluetooth stream 660 bluetooth bluetooth
group bluetooth net_bt_admin misc
#service hciattach /system/bin/hciattach -n /dev/ttyS1 texas 115200
# user bluetooth
# group bluetooth net_bt_admin misc
# disabled
# oneshot

On Jul 19, 9:47pm, Bzbit <> wrote:


Making Bluetooth work on x86 - please help

by Nick Pelly » Fri, 07 Aug 2009 01:22:20 GMT


It is hard to help with the information you have given. If you can
scan from the command line then that is a very good start. Do you have
the logs when you try and turn BT on/off from the UI? I would try
instrumenting the UI code and JNI code with log statements to see
where exactly it fails.


On Tue, Jul 21, 2009 at 11:11 AM, Bzbit<> wrote:



Other Threads

1. Directfb compiled but not able to run

Hi All,

Any one able to run directfb run successfully on android?
I am able to compile it after some changes in bionic and added fusion
kernel module but I am not able to run it on android.

I am getting following error.
-sh-3.2# ./dfb_test out.yuv

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |
        (c) 2001-2009  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH

(*) DirectFB/Core: Multi Application Core. (2011-04-04-16:21)
(!) DirectFB/core/system: No system found!
(#) DirectFBError [DirectFBCreate failed]: No (suitable)
implementation found!



2. Honeycomb LVL problem?

I have an application on the Android Market that is using the LVL...
It is using the default ServerManagedPolicy class as its license

Everything seemed to be working ok, until recently...

I received an email from a customer who bought my app for a table that
was running Android 2.2...  He recently updated his tablet to Android
3.0 and ever since the update, my app no longer works for him because
it is constantly getting a negative response.  He also told me that a
couple other apps he bought while running Android 2.2 are having the
same issue but apps he purchased since the 3.0 update work just fine.

My questions are:

- Has anyone run across this issue before?
- If so, how did you work around this problem?
- Any ideas on what may be causing this problem?

Thanks in advance,


3. 2 Devices use audio to communicate by netwrok.

4. Button and onClickListner help needed

5. Permission denied for the owner of a service ?

6. DEBUG an error with inflate i think?

7. how to get receive status?