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

2008-07-12 Thread Marco Trevisan (Treviño)

Andy Green wrote:

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.


Cool. However, could you also add a way to use/force the fastest 
charging mode in GTA02 (i.e. 1A charging)?



--
Treviño's World - Life and Linux
http://www.3v1n0.net/




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

2008-07-11 Thread Harald Koenig
Hi,

I'd like to use a 12V USB car charger from my Wintec WBT201 for powering and 
charging the GTA02.
the car device claims to be 500mA but I only get

[EMAIL PROTECTED]:~# cat 
/sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/charger_type
host/500mA usb mode 100mA

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...


thanks,

Harald
-- 
I hope to die  ___   _
before I *have* to use Microsoft Word.,   0--,|/OOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen._/  /  /OOO\
\  \/OOO\
  \ O|//
   \/\/\/\/\/\/\/\/\/
Harald Koenig   //  / \\  \
[EMAIL PROTECTED] ^   ^



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

2008-07-11 Thread Marcus Bauer
On Fri, 2008-07-11 at 08:56 +0100, Harald Koenig wrote:
 Hi,
 
 I'd like to use a 12V USB car charger from my Wintec WBT201 for powering and 
 charging the GTA02.
 the car device claims to be 500mA but I only get
 
   [EMAIL PROTECTED]:~# cat 
 /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/charger_type
   host/500mA usb mode 100mA
 
 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

There is a wiki page and a watchdog but with a quick google I found
this:

http://openmoko.togaware.com/survivor/Charging.html

Marcus




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

2008-07-11 Thread Andy Green

-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-