activating bluetooth via script on GTA02

Kai Römer smirfi at googlemail.com
Thu May 15 08:03:28 CEST 2008


Thanks a lot.
So this does the trick:

echo "1" > /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-bt.0/power_on
echo "0" > /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-bt.0/reset
hciconfig




2008/5/14 Andy Green <andy at openmoko.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Somebody in the thread at some point said:
>
> | So the status of the file hasn't changed.
> | But when i use the icon in the tray bar it works perfectly. So i guess
> | i have to add a few more steps. What do i have to add to my skript to
> | start the bluetooth subsystem?
>
> Hi Kai -
>
> There is additionally a "reset" guy in the /sys directory, you have to
> push him to "0" after giving power before the device will enumerate on USB.
>
> I will check that the return value from power_on /sys is good though.
>
> - -Andy
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkgqqhgACgkQOjLpvpq7dMqXFgCZAb65tdIwQ9Vnpr7SlP7nUMaj
> TigAoJDV0gdm7nyHQ/rCyPorkkzNVL0x
> =a1q8
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>




More information about the community mailing list