Making Bluetooth work on x86 - please help

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


Sponsored Links
 Hi

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
disabled
oneshot
#service hciattach /system/bin/hciattach -n /dev/ttyS1 texas 115200
# user bluetooth
# group bluetooth net_bt_admin misc
# disabled
# oneshot
--------------------
thx

On Jul 19, 9:47pm, Bzbit <benziz...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Making Bluetooth work on x86 - please help

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


 i,

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.

Nick


On Tue, Jul 21, 2009 at 11:11 AM, Bzbit<benziz...@gmail.com> wrote:

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. image in fadingedge

Hi how could i set an image (left and right position) instead of
fadingedge in a Scrollview???

-- 

2. Signing in to Google for Google Document access

I am working on an app where the user inputs some numbers, my app
performs a few relevant calculations, and displays the result.
However, I would like it if the user could somehow save this value to
a Google Spreadsheet.

My problem is, I have no idea how to authenticate with Google. I have
been Goggle'ing this for awhile, and found:
http://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html#AuthClientLogin

However, when I try to use the command ClientLogin in my code, it
tells me this is undefined. I have the Build set to SDK 7, which is
Android+Google, and I have: import google.*;  (I did this just to play
it safe);

Anyway, I would appreciate any help I could get. If there are any
tutorials or code snippets out there that can help, please send me the
link. This is the first time I am attempting something like this (I am
a C++ developer who works on offline applications), so anything that
can help the learning process is greatly appreciated.

Thank you!
-Jon

-- 

3. android 3DOF controller - call for developers

4. Mod: Buat Developer Android

5. Preventing WakeLock Under-Locked exception

6. Immediately destroy activities

7. Draw clock like minute hand