[Gta04-owner] Upstream Replicant 4.2 support for GTA04

Lukas Maerdian luk at slyon.de
Thu Mar 6 11:00:58 CET 2014


On 28.02.2014 20:46 UTC+0100, Paul Kocialkowski wrote:
>>>> * The battery driver seems not to work (the sysfs nodes all return
>>>> > >> errors). I suspect this is because of the 1-wire interface.
>>> > > 
>>> > > Yes, there is some known bug. Lukas is already looking for it.
>> > 
>> > I'm usually working and testing on the Goldelico Letux-3704 and not on
>> > the GTA04/Letux-2804. That devices uses the twl4020-madc battery driver
>> > instead of the bq27000. I'll have to check what's wrong with bq27000.
>> > AFAIR it was working on our Replicant-4.0 where the device was detected
>> > by a shell script and the corresponding battery driver was loaded.
>> > My assumption is, that this script is not working in Replicant-4.2 and
>> > the twl4030-madc driver is loaded by default.
> IIRC the module was probed, but the sysfs interfaces returned errors. I
> remember having an issue with the 1-wire interface that caused similar
> results, back when I was trying to adapt a 3rd party kernel for the
> gta04.
> 
> If it's not fixed by next week, I suppose it's one of the first things
> I'll look into.

I've had a first look at the battery problem and my observation is, that
it happens only with some (in my case older) batteries:

http://projects.goldelico.com/p/gta04-replicant/issues/569/ :
> Battery detection is working correctly, i.e. /system/battery-init.sh 
> is executed and the bq27x00-battery.ko module is loaded (on 
> GTA04/Letux2804).
> 
> The real problem is that the bq27x00-battery.ko driver does not 
> provide real values (on some batteries), e.g. "cat 
> /sys/class/power_supply/bq27000_battery/capacity" shows the 
> error: "No such device."
> 
> -> This happens to me only on my old battery (from ~2008), 
> whereas everything works as expected on a new battery from ~2013.
> 
> Could this be a hardware issue?

BR,
  Lukas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20140306/8f4b81fb/attachment.bin>


More information about the Gta04-owner mailing list