[Gta04-owner] Crowdfunding an Ubuntu smartphone

NeilBrown neilb at suse.de
Sun Sep 1 08:09:23 CEST 2013


On Sun, 1 Sep 2013 15:31:57 +1000 Liz <edodd at billiau.net> wrote:

> On Wed, 28 Aug 2013 11:29:57 +1000
> NeilBrown <neilb at suse.de> wrote:
> 
> > Thanks.  That kernel isn't a lot different to the one I'm running.
> > The config file is a bit different though.
> > In particular the CONFIG_CMDLINE_* entries are a bit different and
> > that may well result in twl4030_charger.allow_usb=1 not taking effect.
> > 
> > Can you report:
> >   cat /proc/cmdline
> 
> allow_usb=1
> 
> >   cat  /sys/module/twl4030_charger/parameters/allow_usb
> 
> Y
> 
> > 
> > Does
> >   echo Y >  /sys/module/twl4030_charger/parameters/allow_usb
> > 
> > make a difference?
> 
> no, they return the same results

OK, must be something more subtle then.

What does
  cat /sys/class/power_supply/twl4030_usb/uevent

show when it isn't charging but should be?

What does
 cat /sys/devices/platform/omap_i2c.1/i2c-1/1-004b/twl4030_bci/max_current
give?

If you
  echo N > /sys/module/twl4030_charger/parameters/allow_usb
  echo 490000 > /sys/module/twl4030_charger/parameters/default_usb_current

then plug in the power (unplugging first if necessary) does it change the 
contents of 
   cat /sys/class/power_supply/twl4030_usb/uevent
or
   cat /sys/class/power_supply/bq27000-battery/uevent 

?

NeilBrown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20130901/74bcb1b6/attachment.bin>


More information about the Gta04-owner mailing list