Do you happen to have the android.hardware.bluetooth.xml in the
/system/etc/permissions/ directory ?
Also does your build involve BOARD_HAVE_BLUETOOTH ?

If the hciattach entry is absent, BT should be shown turning on & complain
about hciattach service missing.
Since you intend to use usb hciattach is not required.

On Tue, May 8, 2012 at 5:42 AM, hunter cheung <hcheun...@gmail.com> wrote:

> Hello,
>
> We face the same problem as yours. Do you have any solution right now?
>
> Thanks,
> Hunter
>
>
> hyst於 2012年4月23日星期一UTC+8下午1時01分17秒寫道:
>>
>> Dear all:
>>
>>        Now I'm porting a usb bt dongle to ics,after insmod the btusb
>> ko,I can hcitool scan devices, then I set Board_have_bluetooth to
>> true,and found the bluetooth in setting UI, but when I press the BT
>> the setting always report error and the logcat shows:
>>
>> 04-20 13:39:23.489 E/**DeviceListPreferenceFragment( 1098): Bluetooth is
>> not supported on this device
>> 04-20 13:39:23.499 W/dalvikvm( 1098): threadid=1: thread exiting with
>> uncaught exception (group=0x40a3f1f8)
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098): FATAL EXCEPTION: main
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):
>> java.lang.NullPointerException
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> com.android.settings.**bluetooth.BluetoothSettings.**
>> onResume(BluetoothSettings.**java:
>> 141)
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> android.app.**FragmentManagerImpl.**moveToState(FragmentManager.**java:873)
>>
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> android.app.**FragmentManagerImpl.**moveToState(FragmentManager.**java:1032)
>>
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> android.app.BackStackRecord.**run(BackStackRecord.java:622)
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> android.app.**FragmentManagerImpl.**execPendingActions(**FragmentManager.java:
>>
>> 1382)
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> android.app.**FragmentManagerImpl$1.run(**FragmentManager.java:426)
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> android.os.Handler.**handleCallback(Handler.java:**605)
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> android.os.Handler.**dispatchMessage(Handler.java:**92)
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> android.os.Looper.loop(Looper.**java:137)
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> android.app.ActivityThread.**main(ActivityThread.java:4424)
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> java.lang.reflect.Method.**invokeNative(Native Method)
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> java.lang.reflect.Method.**invoke(Method.java:511)
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> com.android.internal.os.**ZygoteInit
>> $MethodAndArgsCaller.run(**ZygoteInit.java:787)
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> com.android.internal.os.**ZygoteInit.main(ZygoteInit.**java:554)
>> 04-20 13:39:23.499 E/AndroidRuntime( 1098):     at
>> dalvik.system.NativeStart.**main(Native Method)
>> 04-20 13:39:23.509 W/ActivityManager(  231):   Force finishing
>> activity com.android.settings/.Settings
>> 04-20 13:39:23.589 D/RemoteController(  231): setRcGestureOnly()
>>
>>     it said, no bt device, I think maybe something about hciattach
>> need set, anyone knows pls tell me, thanks a lot.
>
>  --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>



-- 
--Pavan Savoy

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to