Re: FR works but can't charge battery

2009-03-06 Thread Steve Leung
On Thu, Mar 05, 2009 at 06:34:21PM +0100, Rask Ingemann Lambertsen wrote:
  
none mode 500mA
  
No, none is the detected charger type and 500mA is the USB current
 limit. It means that the USB ID pin doesn't have a level identified as a
 charger (obviously as you have USB plugged in) and that no voltage is
 detected on the USB power pins.
 
Just for completeness sake, you can check the contents of the charger_adc
 file with USB supply as well as with charger supply.

With charger supply it still reports 'none' for charger type.

The first thing I would check would be how far into the Neo you can
 measure voltage, starting from the USB connector. This is mainly to check
 that it isn't simply a broken connector at fault. If there's 4-5 V all the
 way to the PCF50633 PMU, then it's likely something inside the PMU that's
 been zapped.

I don't think I have the tools to measure that far in, but at least I 
can tell that the voltage reaches the FreeRunner end of the connector.  
At that point the wires disappear into the circuit board and I'm not 
sure where to follow them.

The second thing I would check, if there is no voltage at the USB
 connector, is if the Neo is drawing current at all from the USB host. If it
 is, chances are one of the two reverse- and overvoltage protectors have
 shorted.

I'm not sure how to measure this, but from the host I can at least tell 
that the phone negotiates 500mA successfully.

usbfs/devices reports:

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 25 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  2
P:  Vendor=1457 ProdID=5122 Rev= 2.12
S:  Manufacturer=Linux 2.6.24/s3c2410_udc
S:  Product=RNDIS/Ethernet Gadget
C:  #Ifs= 2 Cfg#= 2 Atr=c0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=ff Driver=
E:  Ad=83(I) Atr=03(Int.) MxPS=  16 Ivl=32ms
I:  If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E:  Ad=83(I) Atr=03(Int.) MxPS=  16 Ivl=32ms
I:  If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:* If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

Thanks for the help though.  Either way, it seems like some kind of 
repair is necessary.

Steve

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: FR works but can't charge battery

2009-03-01 Thread Steve Leung
On Sat, Feb 28, 2009 at 09:13:19PM +0100, Joachim Ott wrote:

 Can you look at what the current limit for charging is?
 
 cat /sys/class/i2c-adapter/i2c-0/0-0073/usb_curlim
 
 For the wall charger I get 1000.

Well, it's easiest to see when plugged in to the computer, and that 
reports 500.

More worryingly, charger_type in that dir says:

  none mode 500mA

To me, that means it can tell that 500mA is available, but that it 
can't/won't give it to the battery.  Forcing fast charge mode just 
changes the 500mA to 1A, but doesn't change anything else.

It just seems like something has been zapped in the FreeRunner (since it 
used to work fine), and the bits that would actually pull current across 
the usb port aren't working.

Just for kicks I tried opening it up but didn't see any obvious melted 
parts... hey, you never know, it might be something easily visible!

Any other ideas?  If it is a hardware fault then I'm not sure who would 
even be able/willing to fix it.

Steve



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


FR works but can't charge battery

2009-02-28 Thread Steve Leung
Hi.  I hope someone can help here...

My FreeRunner can't charge its battery.  Even when plugged in to USB or 
the wall, the phone can't/won't charge.  Eventually the battery 
discharges completely and although I have an external charger, this 
isn't good.

I've also verified the same problem with a friend's Nokia BL-5C battery, 
so it seems to be something wrong in the FreeRunner.

When ssh'ed in over USB, when I cat:

/sys/devices/platform/bq27000-battery.0/power_supply/bat/uevent

I get:

POWER_SUPPLY_NAME=bat
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_VOLTAGE_NOW=422
POWER_SUPPLY_CURRENT_NOW=171750
POWER_SUPPLY_CHARGE_FULL=1122051
POWER_SUPPLY_TEMP=243
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TIME_TO_EMPTY_NOW=23700
POWER_SUPPLY_TIME_TO_FULL_NOW=3932100
POWER_SUPPLY_CAPACITY=96
POWER_SUPPLY_ONLINE=0

The phone used to charge fine.  I've tried reflashing to FSO milestone 4 
and the most recent FDOM with no differences.  I haven't tried anything 
newer, but it doesn't really sound like that would make much of a 
difference.

The only thing I can sort of correlate to it breaking is when I started 
using one of those car USB adapters to charge the phone in the car.

So that might have broken something (?), but what are the odds that this 
is fixable?  Who might be able to diagnose or repair it?

I really hope there's something I can do because without the ability to 
charge or even run from the wall, this FreeRunner is pretty much 
useless.

Thanks for any help.

Steve

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: FR works but can't charge battery

2009-02-28 Thread Joachim Ott
2009/2/28 Steve Leung sjle...@shaw.ca:
 Hi.  I hope someone can help here...

 My FreeRunner can't charge its battery.  Even when plugged in to USB or
 the wall, the phone can't/won't charge.  Eventually the battery
 discharges completely and although I have an external charger, this
 isn't good.

 I've also verified the same problem with a friend's Nokia BL-5C battery,
 so it seems to be something wrong in the FreeRunner.

 When ssh'ed in over USB, when I cat:

 /sys/devices/platform/bq27000-battery.0/power_supply/bat/uevent

 I get:

 POWER_SUPPLY_NAME=bat
 POWER_SUPPLY_TYPE=Battery
 POWER_SUPPLY_STATUS=Discharging
 POWER_SUPPLY_VOLTAGE_NOW=422
 POWER_SUPPLY_CURRENT_NOW=171750
 POWER_SUPPLY_CHARGE_FULL=1122051
 POWER_SUPPLY_TEMP=243
 POWER_SUPPLY_TECHNOLOGY=Li-ion
 POWER_SUPPLY_PRESENT=1
 POWER_SUPPLY_TIME_TO_EMPTY_NOW=23700
 POWER_SUPPLY_TIME_TO_FULL_NOW=3932100
 POWER_SUPPLY_CAPACITY=96
 POWER_SUPPLY_ONLINE=0

Can you look at what the current limit for charging is?

cat /sys/class/i2c-adapter/i2c-0/0-0073/usb_curlim

For the wall charger I get 1000.

Then there are some packages on this page that you could try:

http://wiki.openmoko.org/wiki/Forcing_fast_charge_mode

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support