I am trying to use a BT adapter DBT-122 with Android donut on
Beagleboard.
I am using rowboat codebase.   This is what I have tried so far:

1. Enabled Bluetooth support in the kernel
2. Compiled android file system with "BOARD_HAVE_BLUETOOTH"
3. Made sure JNI files (e.g.  android_bluetooth_common.cpp) are
compiled
with bluetooth enabled.

4. Tested BT adapter from android shell. Following works correctly:
    1. hcitool scan ( search for neaby BT devices)
    2. l2ping <bdaddr>  (ping the BT device)
    3. sdptool browse records <bdaddr>  (search for  SDP records from
the device)
5. Verified system_server starts bluetooth service on startup.

Problems :

1. Sample application BluetoothChat tries to enable bluetooth and goes
in an infinite loop.
Haven't managed to trace where it is getting stuck.
Bluetoothadapter gets "null" address  instead of address of local
adapter.

2. bttest enable - this gives a warning "/sys/class/rfkill/rfkill0/
type" is not present.
3. Under settings->network controls->bluetooth , the checkbox is
always disabled ,
so it is not possible to turn on manually.


I have referred to the discussion under
http://groups.google.com/group/android-porting/browse_thread/thread/c37f87e81f63e7cc

I modified init.rc as per instructions there. I also have wl127x-
rfkill.c driver in the kernel , but still the directory rfkill is not
getting generated.

Please provide some clues for debugging further.

Thanks
Pankaj

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to