How to switch usb mode to 500mA (enable USB charging with car charger) ?

Andy Green andy at openmoko.com
Fri Jul 11 10:22:20 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:

|> is it possible to force charging and/or switch mode to 500mA by
software (not soldering
|> resistors to the cable etc) ?   I found some rumors on the list that
this might be possible
|> but can't find any details...
|
| echo -n "fast_cccv" >
/sys/devices/platform/s3c2410-i2c/i2c-adapter/i2c-0/0-0008/chgmode

This only flies on GTA01.

~From a quick look in the pcf50633 driver, this is disallowed on GTA02 at
the moment.  But, so long as the user understands what it means (and we
will defeat his choice anyway on USB removal so it doesn't subsequently
make trouble if he plugs to host PC) it sounds useful, so I will add
this in the kernel shortly.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkh3GDgACgkQOjLpvpq7dMouUACfU5Bgv4wc/NH8PMKwbOIz2T8O
33kAnRlCwi7HeHOJn8OrAUE3/EGhfUGY
=zh0A
-----END PGP SIGNATURE-----



More information about the openmoko-devel mailing list