Re: [all/fso?] external battery just mobile gum pro woes

2009-09-26 Thread Rask Ingemann Lambertsen
On Fri, Sep 25, 2009 at 06:59:18PM +0200, arne anka wrote:
  Did you set USB charge current to 500mA? If device which you are
  connecting can't ennumerate USB connection, Neo will charge with only
  100mA
 
 No, it will try to charge with 1000 mA. This is a bug.
 
 well, didn't here, though the gum pro is capable of 1000mA output.

   Check your /var/log/kern.log or dmesg. You'll see messages saying
something like 'pcf50633: Setting USB current limit to xyz mA'.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all/fso?] external battery just mobile gum pro woes

2009-09-25 Thread Michael 'Mickey' Lauer
Am Dienstag, den 22.09.2009, 15:05 +0200 schrieb Sebastian Krzyszkowiak:
 Charging from only 100mA explains oscillating. Check if sysfs paths in
 opp are up to date with your kernel. Unfortunatelly there is no dbus
 call in FSO for that yet.

Add me a ticket and I'll do it when I'm back from holidays.

Cheers,

:M:



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all/fso?] external battery just mobile gum pro woes

2009-09-25 Thread arne anka
 Did you set USB charge current to 500mA? If device which you are
 connecting can't ennumerate USB connection, Neo will charge with only
 100mA

No, it will try to charge with 1000 mA. This is a bug.


well, didn't here, though the gum pro is capable of 1000mA output.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all/fso?] external battery just mobile gum pro woes

2009-09-25 Thread arne anka
 Charging from only 100mA explains oscillating. Check if sysfs paths in
 opp are up to date with your kernel. Unfortunatelly there is no dbus
 call in FSO for that yet.

 Add me a ticket and I'll do it when I'm back from holidays.


http://trac.freesmartphone.org/ticket/480


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all/fso?] external battery just mobile gum pro woes

2009-09-25 Thread Sebastian Krzyszkowiak
On 9/24/09, Rask Ingemann Lambertsen ccc94...@vip.cybercity.dk wrote:
 On Tue, Sep 22, 2009 at 02:45:14PM +0200, Sebastian Krzyszkowiak wrote:
 Did you set USB charge current to 500mA? If device which you are
 connecting can't ennumerate USB connection, Neo will charge with only
 100mA

No, it will try to charge with 1000 mA. This is a bug.

 - and running system eats something about 200mA.

Running what?

It's charging with only 100mA here by default, and I need to switch it
to 500mA when using dumb-charger.

-- 
Sebastian Krzyszkowiak
dos

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all/fso?] external battery just mobile gum pro woes

2009-09-25 Thread Rui Miguel Silva Seabra
On Thu, Sep 24, 2009 at 10:55:48PM +0200, Rask Ingemann Lambertsen wrote:
 On Tue, Sep 22, 2009 at 02:45:14PM +0200, Sebastian Krzyszkowiak wrote:
  Did you set USB charge current to 500mA? If device which you are
  connecting can't ennumerate USB connection, Neo will charge with only
  100mA

Rask,

Just run the Battery section from Settings and drag the slider from 100 to
500 :)

Rui

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all/fso?] external battery just mobile gum pro woes

2009-09-24 Thread Paul Fertser
arne anka openm...@ginguppin.de writes:
 Unfortunatelly there is no dbus call in FSO for that yet.

 ok, looking deeper, i have to echo something into /sys/... -- but the file  
 is rw for root only.
 is there an easy, non-hackish way to set the rw for normal users,
 too?

Luckily, those nodes are not dynamic, so you can just change them to
have appropriate permissions with chmod in your startup script.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all/fso?] external battery just mobile gum pro woes

2009-09-24 Thread arne anka
on a related note: which one is the right, now?

Linux debian-gta02 2.6.29-20090702.gitd1c828aa #1 PREEMPT Fri Jul 24  
22:35:01 UTC 2009 armv4tl GNU/Linux

/sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-mbc/usb_curlim
or
/sys/class/power_supply/ac/device/usb_curlim

both show different values.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all/fso?] external battery just mobile gum pro woes

2009-09-24 Thread Rask Ingemann Lambertsen
On Tue, Sep 22, 2009 at 02:50:38PM +0200, arne anka wrote:
 the opp battery view offers thre buttons for 100/500/1000 mA, i hit all  
 three time or another -- no change.

   That's because they don't work unless you run opp as root.

 i guess, i should give the plain fso call a try -- but i don't see, how  
 that would explain the oscillating.

   That could be just FSO getting confused. What you want to look at is the
battery current. In opp, positive means charging and negative means
discharging. In /sys/class/power_supply/battery/current_now, it is the other
way around.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all/fso?] external battery just mobile gum pro woes

2009-09-24 Thread Rask Ingemann Lambertsen
On Tue, Sep 22, 2009 at 02:45:14PM +0200, Sebastian Krzyszkowiak wrote:
 Did you set USB charge current to 500mA? If device which you are
 connecting can't ennumerate USB connection, Neo will charge with only
 100mA

   No, it will try to charge with 1000 mA. This is a bug.

 - and running system eats something about 200mA.

   Running what?

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[all/fso?] external battery just mobile gum pro woes

2009-09-22 Thread arne anka
i just bought an external battery, just mobile gum pro (4400 mAh,Input  
(Mini USB): 5VDC 500mA Min; output (USB Type A Port): 5VDC 1000mA) to keep  
the fr alive even when using gps hours on end.

last night i tried to load the fr, when starting the fr was at 48% --  
after 11h it was at 69%.
looking at openmoko-panel-plugin's battery view, the state oscillated  
between charging and not charging.
the pwr led however firmly stayd orange, indicating charging (switching  
the batter yoff almost immediately made the led going blue, so it's not  
just inertia).

sending the fr to suspend and charging, brought the level to 100% in maybe  
two hours (that's when i checked again).

so, does anyone experience similar issues with an external battery? and  
what could probably cause that oscillation (and how to stop that of  
course)?


[1]  
http://www.amazon.com/4400mAh-External-Battery-Portable-Devices/dp/B001BWQTOC/ref=sr_1_1/187-9838094-3791553?ie=UTF8s=miscellaneousqid=1253622704sr=8-1

ps: just to see which kind is not line broken ...
 http://www.amazon.com/4400mAh-External-Battery-Portable-Devices/dp/B001BWQTOC/ref=sr_1_1/187-9838094-3791553?ie=UTF8s=miscellaneousqid=1253622704sr=8-1
http://www.amazon.com/4400mAh-External-Battery-Portable-Devices/dp/B001BWQTOC/ref=sr_1_1/187-9838094-3791553?ie=UTF8s=miscellaneousqid=1253622704sr=8-1

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all/fso?] external battery just mobile gum pro woes

2009-09-22 Thread Sebastian Krzyszkowiak
On 9/22/09, arne anka openm...@ginguppin.de wrote:
 i just bought an external battery, just mobile gum pro (4400 mAh,Input
 (Mini USB): 5VDC 500mA Min; output (USB Type A Port): 5VDC 1000mA) to keep
 the fr alive even when using gps hours on end.

 last night i tried to load the fr, when starting the fr was at 48% --
 after 11h it was at 69%.
 looking at openmoko-panel-plugin's battery view, the state oscillated
 between charging and not charging.
 the pwr led however firmly stayd orange, indicating charging (switching
 the batter yoff almost immediately made the led going blue, so it's not
 just inertia).

 sending the fr to suspend and charging, brought the level to 100% in maybe
 two hours (that's when i checked again).

 so, does anyone experience similar issues with an external battery? and
 what could probably cause that oscillation (and how to stop that of
 course)?


 [1]
 http://www.amazon.com/4400mAh-External-Battery-Portable-Devices/dp/B001BWQTOC/ref=sr_1_1/187-9838094-3791553?ie=UTF8s=miscellaneousqid=1253622704sr=8-1

 ps: just to see which kind is not line broken ...
 http://www.amazon.com/4400mAh-External-Battery-Portable-Devices/dp/B001BWQTOC/ref=sr_1_1/187-9838094-3791553?ie=UTF8s=miscellaneousqid=1253622704sr=8-1
 http://www.amazon.com/4400mAh-External-Battery-Portable-Devices/dp/B001BWQTOC/ref=sr_1_1/187-9838094-3791553?ie=UTF8s=miscellaneousqid=1253622704sr=8-1

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


Did you set USB charge current to 500mA? If device which you are
connecting can't ennumerate USB connection, Neo will charge with only
100mA - and running system eats something about 200mA.

-- 
Sebastian Krzyszkowiak
dos

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all/fso?] external battery just mobile gum pro woes

2009-09-22 Thread arne anka
 Did you set USB charge current to 500mA? If device which you are
 connecting can't ennumerate USB connection, Neo will charge with only
 100mA - and running system eats something about 200mA.

the opp battery view offers thre buttons for 100/500/1000 mA, i hit all  
three time or another -- no change.

i guess, i should give the plain fso call a try -- but i don't see, how  
that would explain the oscillating.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all/fso?] external battery just mobile gum pro woes

2009-09-22 Thread Sebastian Krzyszkowiak
On 9/22/09, arne anka openm...@ginguppin.de wrote:
 Did you set USB charge current to 500mA? If device which you are
 connecting can't ennumerate USB connection, Neo will charge with only
 100mA - and running system eats something about 200mA.

 the opp battery view offers thre buttons for 100/500/1000 mA, i hit all
 three time or another -- no change.

 i guess, i should give the plain fso call a try -- but i don't see, how
 that would explain the oscillating.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


Charging from only 100mA explains oscillating. Check if sysfs paths in
opp are up to date with your kernel. Unfortunatelly there is no dbus
call in FSO for that yet.

-- 
Sebastian Krzyszkowiak
dos

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all/fso?] external battery just mobile gum pro woes

2009-09-22 Thread arne anka
 Charging from only 100mA explains oscillating.

ah. ok, then.

 Check if sysfs paths in
 opp are up to date with your kernel. Unfortunatelly there is no dbus
 call in FSO for that yet.

heck, i thought, there were.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [all/fso?] external battery just mobile gum pro woes

2009-09-22 Thread arne anka
 Unfortunatelly there is no dbus call in FSO for that yet.

ok, looking deeper, i have to echo something into /sys/... -- but the file  
is rw for root only.
is there an easy, non-hackish way to set the rw for normal users, too?

all tools/scripts listed in the wiki seem to presume using the fr as root,  
there's no provision made for limited rights, afaics.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community