Hi All,

When I am trying to turn on Bluetooth on my HTC dream G1 device, its
continuously in "turning on..." state.
I have done the following steps:
1.  Add  BOARD_HAVE_BLUETOOTH := true in BoardConfig.mk.
2.  Modified vendor/htc/dream/init.trout.rc file as follows:

#######################################
 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 -s 115200 /dev/ttyMSM0 texas 115200 flow
    user bluetooth
    group bluetooth net_bt_admin misc
    disabled
    oneshot

service hfag /system/bin/sdptool add --channel=10 HFAG
    user bluetooth
    group bluetooth net_bt_admin
    disabled
    oneshot
#####################################

Please help me if I need to do something else..

Thanks in advance,
Yogi
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to