bluetooth powerup
Andy Green
andy at openmoko.com
Wed Aug 20 12:07:47 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Somebody in the thread at some point said:
| The software stack I am working with assumes:
|
| 1) That the powerup of bluetooth is "1" and powerdown is "0".
| 2) That reading back the value corresponds to the value, not opposite.
| 3) No reset required.
I can see we will break existing userspace assumptions if I apply this.
I think it's better to do it your way, but how about you add a second
sysfs node that has your semantics instead of changing behaviour of
current one? Leave them both active.
| The following patch does this. Plus I was wondering if there is
| something else on LDO4. Can that regulator be reduced when not powering
| bt? Is there any power savings doing so? I've knocked it down to 0 when
| turning off and haven't seen any problems so far.
It won't make trouble.
- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkir7PMACgkQOjLpvpq7dMoikwCfb7gWKI/0fI5NhosxFuT5TNqR
T/IAniCJwFsh14YMh5KG3TbuCq9i00u3
=2rld
-----END PGP SIGNATURE-----
More information about the openmoko-kernel
mailing list