This is what I am seeing when I try to clone the repo:
~/openmoko-dev> git clone git://gitorious.org/shr/linux.git linux
Cloning into linux...
remote: Counting objects: 2465626, done.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

I guess I will try again later.

I looked into the issue with the PowerStatus LEDs some more. It looks like fsodeviced reports status as 'ac' instead of charging when plugged in. Chaging the rule to look for 'ac' or 'charging' works a little better. I haven't tried updating fso-battery-gadget to look for 'ac'

I also have suspend disabled when plugged in working. I have to test more to see what fixed it, but it could have been adding some newlines to the end of /etc/freesmartphone/conf/GTA02/fsodeviced.conf. Most of the configs seem to have empty lines at the end, and the last line of the GTA02 config file has to do with usb and power.

Ben

On 04/20/2012 02:18 AM, Martin Jansa wrote:
On Thu, Apr 19, 2012 at 07:29:51PM -0400, Benjamin Deering wrote:
I've been playing around with getting the bq27x00_battery driver working
in shr-core.  I have a working module now, but I will need someone to
hold my hand to submit a patch.
You can send just patch against
http://gitorious.org/shr/linux/commits/shr-2.6.39-nodrm
and I'll do the rest (refresh shr.patch in meta-openembedded with
shr-create-patch.sh and update defconfig).

Cheers,

My kernel has bq27x00_battery and platform battery configured as modules
and I switch which module I autoload for testing.  Having them as
modules seems to work fine.

I was seeing a freeze when I plugged in or unplugged the usb cable.
Holding down the power button would not turn it off.

There were only 2 lines in bq27x00_external_power_changed which seemed
like a likely culprit since the freeze occured when the external power
supply changed.  I noticed that one of the calls is made elsewhere in
the file, but is protected by a mutex.  Using the same mutex in
bq27x00_external_power_changed seems to make it stable, though the
charge LED on the gta02 seems to be confused.  It lights when the cable
is unplugged.  I'm not sure yet if that is a userspace issue or
something else is wrong in the driver.  It seems like most people use
this driver for bq27500 and bq27000 may have been neglected.

Ben
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to