[Community] [Gta04-owner] Goldelico Replicant 4.2 with Wifi

Neil Jerram neil at ossau.homelinux.net
Wed Mar 19 00:59:29 CET 2014


Neil Jerram <neil at ossau.homelinux.net> writes:

> "Lukas Maerdian" <luk at slyon.de> writes:
>
>> Did you do anything special to get apps from frdoid installed, like setting up
>> some partitions?
>>
>> If so, how did you do it? Because this wasn't woking in my test and I want to
>> work on it, once I return from my vacations.
>>
>> BR, Lukas
>
> No, it just worked.  This is with the single partition
> gta04-rootfs.tar.gz, which I unpacked to my /dev/mmcblk0p1 using tar
> jxvf (just as you'd expect).

On the other hand, I think I'm still seeing that Replicant isn't picking
up my battery properly.  Here's an adb shell session that I just did:

root at android:/ # lsmod    
libertas_sdio 14649 0 - Live 0x00000000
libertas 98252 1 libertas_sdio, Live 0x00000000
lib80211 3235 1 libertas, Live 0x00000000
hci_uart 11315 0 - Live 0x00000000
bluetooth 179627 1 hci_uart, Live 0x00000000

So, no battery module is initially loaded.

root at android:/ # modprobe bq27x00_battery                                      
root at android:/ # lsmod                                                         
bq27x00_battery 5567 0 - Live 0x00000000
libertas_sdio 14649 0 - Live 0x00000000
libertas 98252 1 libertas_sdio, Live 0x00000000
lib80211 3235 1 libertas, Live 0x00000000
hci_uart 11315 0 - Live 0x00000000
bluetooth 179627 1 hci_uart, Live 0x00000000

It is loaded now.

root at android:/ # cat /sys/class/power_supply/bq27000-battery/uevent                                                <
POWER_SUPPLY_NAME=bq27000-battery
POWER_SUPPLY_STATUS=Full
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_VOLTAGE_NOW=4197000
POWER_SUPPLY_CURRENT_NOW=-53371
POWER_SUPPLY_CAPACITY=100
POWER_SUPPLY_CAPACITY_LEVEL=Full
POWER_SUPPLY_TEMP=401
POWER_SUPPLY_TIME_TO_FULL_NOW=0
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CHARGE_FULL=1085637
POWER_SUPPLY_CHARGE_NOW=1085637
POWER_SUPPLY_CHARGE_FULL_DESIGN=1233792
POWER_SUPPLY_CYCLE_COUNT=206
POWER_SUPPLY_ENERGY_NOW=3902580
POWER_SUPPLY_POWER_AVG=0
POWER_SUPPLY_HEALTH=Good
root at android:/ # cat /sys/class/power_supply/bq27000-battery/uevent            
POWER_SUPPLY_NAME=bq27000-battery
POWER_SUPPLY_STATUS=Full
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_VOLTAGE_NOW=4197000
POWER_SUPPLY_CURRENT_NOW=-57120
POWER_SUPPLY_CAPACITY=100
POWER_SUPPLY_CAPACITY_LEVEL=Full
POWER_SUPPLY_TEMP=404
POWER_SUPPLY_TIME_TO_FULL_NOW=0
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CHARGE_FULL=1085637
POWER_SUPPLY_CHARGE_NOW=1085637
POWER_SUPPLY_CHARGE_FULL_DESIGN=1233792
POWER_SUPPLY_CYCLE_COUNT=206
POWER_SUPPLY_ENERGY_NOW=3902580
POWER_SUPPLY_POWER_AVG=0
POWER_SUPPLY_HEALTH=Good
root at android:/ # 

The uevent file reports good-looking battery information, including (i)
that it's almost fully charged and (ii) a net negative charging current.

But there's no icon in the UI that looks like a full battery, and if I
go to Settings / Battery, it says "0% - Unknown".

Any ideas?

Thanks,
        Neil



More information about the Community mailing list