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
> Shr-devel@lists.shr-project.org
> http://lists.shr-project.org/mailman/listinfo/shr-devel

-- 
Martin 'JaMa' Jansa     jabber: martin.ja...@gmail.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to