[Gta04-owner] charging gta04 on my bicycle

Michael Spreng handheld-linux at m.spreng.ch
Sat Jul 19 23:49:31 CEST 2014


On 19/07/14 14:37, Neil Jerram wrote:
> Michael Spreng <handheld-linux at m.spreng.ch> writes:
>
>> On 13/07/14 20:42, Andreas Kemnade wrote:
>>> at least it is in the goldelico kernels. Keyword: linear charging.
>>>
>>> Greetings
>>> Andreas Kemnade
>> Hi
>>
>> Great, it works! Thank you. I have installed the lxde package from
>> http://download.goldelico.com/gta04/debian/
>> But I can't find suspend on this image, or automatic turning off of the
>> monitor. So ideally I would like to run qtmoko with this kernel. Is this
>> possible?
> It depends if the changes for linear charging can be applied to the
> QtMoko kernel.
>
>> which files would I need to replace?
> In principle, I think you would need to:
>
> - get a copy of the source for the QtMoko kernel, e.g. from Radek's
>   github
>
> - apply the patches for linear charging (if possible)
>
> - build and install that kernel (+ modules) onto your QtMoko partition,
>   replacing the existing kernel and modules.
>
> I hope that's useful.
So I cloned Radeks kernel from github, and also the one from goldelico.
And wanted to cherry-pick linear charging, only to find out that it is
already there, see:
https://github.com/radekp/linux-2.6/blob/v3.7-gta04-qtmoko-v56/drivers/power/twl4030_charger.c

So question to Radek: are those actually the sources used to build
qtmoko v56? Because I don't see
/sys/bus/platform/devices/twl4030_bci/lin on my device.

I don't know if there could be other reasons why I don't see lin on my
device.

Greetings Michael


More information about the Gta04-owner mailing list