bluetooth and wireless in Android

michael trimarchi at gandalf.sssup.it
Wed Jan 7 16:40:56 CET 2009


Hi all,

starting from the commit:

commit e14ec826e37490e475b614920a3557b42631aa91:
Author: Balaji Rao <balajirrao at openmoko.org>
Date:   Sun Jan 4 11:22:32 2009 +0000

   implement_pm_power_off.patch
     This fixes the system-does-not-powerdown bug.
     Signed-off-by: Balaji Rao <balajirrao at openmoko.org>



change for the bluetooth

1 - add config.mk
   BOARD_HAVE_BLUETOOTH    := true
   comment
   //#define USE_UGLY_POWER_INTERFACE 1
   system/bluetooth/bluedroid/bluetooth.c
   in init.rc
   # Open up access to bluetooth interface
   chmod 666 /sys/class/rfkill/rfkill0/state

2 - for the network


change this in the wpa_supplicant

ctrl_interface=DIR=/data/misc/wifi/sockets GROUP=1010

in

ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=1010

as explained in my blog.

http://panicking.kicks-ass.org/blog

I add this one too but I think that is not really needed

CONFIG_CTRL_IFACE       := y

in /vendor/neo/freerunner/BoardConfig.mk

Regards Michael




More information about the openmoko-kernel mailing list