On Wed, Aug 20, 2008 at 6:48 PM, Al Johnson <[EMAIL PROTECTED]> wrote: > On Wednesday 20 August 2008, Christ van Willegen wrote:
> #!/bin/sh > # Bring up bluetooth - power up module > echo "1" > /sys/bus/platform/devices/neo1973-pm-bt.0/power_on > echo "1" > /sys/bus/platform/devices/neo1973-pm-bt.0/reset > echo "0" > /sys/bus/platform/devices/neo1973-pm-bt.0/reset > > #!/bin/sh > # Bring down bluetooth - turn off the module > echo "0" > /sys/bus/platform/devices/neo1973-pm-bt.0/power_on I expanded these scripts a bit (see below), but... # hcitool scan Device is not available: No such device This is the content of my bn (Bluetooth oN) script: #!/bin/sh # Bring up bluetooth - power up module echo "1" > /sys/bus/platform/devices/neo1973-pm-bt.0/power_on echo "1" > /sys/bus/platform/devices/neo1973-pm-bt.0/reset echo "0" > /sys/bus/platform/devices/neo1973-pm-bt.0/reset echo "1" > /sys/devices/platform/gta02-led.0/leds/gta02-power\:blue/brightness and my bf (Bluetooth ofF) script: #!/bin/sh # Bring down bluetooth - turn off the module echo "0" > /sys/bus/platform/devices/neo1973-pm-bt.0/power_on echo "0" > /sys/devices/platform/gta02-led.0/leds/gta02-power\:blue/brightness This also turns on and off the blue led, to indicate Bluetooth being on (and off). Buf, no luck with hcitool! I'll opkg update and opkg upgrade tonight and see if those scripts help! Christ van Willegen -- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

