Hi there!

Moving the discussion to the smartphones-kernel@ mailing list and
setting R-T and M-F-T accorgindly.  I cc:ed the smartphones-userland@
mailing list so people know where to look for ;-)

On Thu, 19 Mar 2009 02:03:35 +0100, Luca Capello wrote:
> On Fri, 13 Mar 2009 21:07:00 +0100, Sebastian Reichel wrote:
>> On Fri, Mar 13, 2009 at 11:53:46AM +0100, Luca Capello wrote:
>>> FYI, I anyway uploaded the 2.6.29 kernel package to the pkg-fso
>>> repository, because it should fix some nasty bugs and various people
>>> asked for it.  Please do not advise for it, it should be tested before
>>> going into the public (the pkg-fso repository still provides the 2.6.28
>>> kernel package).
>>
>> ah finally it's there :D I tested it with my full-upgraded
>> freerunner:
[...]
>>     1. apm reports crap
>>         r...@freerunner ~ # apm
>>         cOff-line, battery status critical
>>         r...@freerunner ~ # cat /proc/apm
>>         1.13 1.2 0x02 0x00 0x02 0x02 -1% -1 min
>
> Same here, it seems that the battery driver is not properly working.
> This should be reported to smartphones-kernel@, at least.

With 2.6.28:
=====
debian-gta02:~# uname -a
Linux debian-gta02 2.6.28-20090105.git69b2aa26 #1 PREEMPT Tue Mar 3 20:22:28 
UTC 2009 armv4tl GNU/Linux

debian-gta02:~# ls -l /sys/class/power_supply/battery/
total 0
-r--r--r-- 1 root root 4096 Apr 19  2009 capacity
-r--r--r-- 1 root root 4096 Apr 19  2009 charge_full
-r--r--r-- 1 root root 4096 Apr 19  2009 current_now
lrwxrwxrwx 1 root root    0 Apr 19  2009 device -> 
../../../devices/platform/sc32440_fiq.0/gta02-hdq.0/bq27000-battery.0
-r--r--r-- 1 root root 4096 Apr 19  2009 health
-r--r--r-- 1 root root 4096 Apr 19  2009 online
drwxr-xr-x 2 root root    0 Apr 19  2009 power
-r--r--r-- 1 root root 4096 Apr 19  2009 present
-r--r--r-- 1 root root 4096 Apr 19  2009 status
lrwxrwxrwx 1 root root    0 Apr 19  2009 subsystem -> ../../power_supply
-r--r--r-- 1 root root 4096 Apr 19  2009 technology
-r--r--r-- 1 root root 4096 Apr 19  2009 temp
-r--r--r-- 1 root root 4096 Apr 19  2009 time_to_empty_now
-r--r--r-- 1 root root 4096 Apr 19  2009 time_to_full_now
-r--r--r-- 1 root root 4096 Apr 19  2009 type
-rw-r--r-- 1 root root 4096 Apr 19  2009 uevent
-r--r--r-- 1 root root 4096 Apr 19  2009 voltage_now

debian-gta02:~#
=====

With 2.6.29:
=====
debian-gta02:~# uname -a
Linux debian-gta02 2.6.29-20090303.gitb9de904e #1 PREEMPT Thu Mar 19 07:10:46 
UTC 2009 armv4tl GNU/Linux

debian-gta02:~# ls -l /sys/class/power_supply/battery/
ls: cannot access /sys/class/power_supply/battery/: No such file or directory

debian-gta02:~# ls -l /sys/devices/platform/sc32440_fiq.0/
ls: cannot access /sys/devices/platform/sc32440_fiq.0/: No such file or 
directory

debian-gta02:~# ls -l /sys/devices/platform/
total 0
drwxr-xr-x 3 root root    0 Feb 19 14:13 gta02-led.0
drwxr-xr-x 3 root root    0 Feb 19 14:13 gta02-pm-wlan.0
drwxr-xr-x 3 root root    0 Feb 19 14:13 neo1973-memconfig.0
drwxr-xr-x 3 root root    0 Feb 19 14:13 neo1973-version.0
drwxr-xr-x 3 root root    0 Feb 19 14:13 physmap-flash.0
drwxr-xr-x 2 root root    0 Feb 19 14:15 power
drwxr-xr-x 3 root root    0 Feb 19 14:13 s3c2410-iis
drwxr-xr-x 4 root root    0 Feb 19 14:13 s3c2410-ohci
drwxr-xr-x 3 root root    0 Feb 19 14:13 s3c2410-wdt
drwxr-xr-x 3 root root    0 Feb 19 14:13 s3c2440-i2c
drwxr-xr-x 3 root root    0 Feb 19 14:13 s3c2440-nand
drwxr-xr-x 3 root root    0 Feb 19 14:13 s3c2440-sdi
drwxr-xr-x 3 root root    0 Feb 19 14:13 s3c2440-uart.0
drwxr-xr-x 3 root root    0 Feb 19 14:13 s3c2440-uart.1
drwxr-xr-x 3 root root    0 Feb 19 14:13 s3c2440-uart.2
drwxr-xr-x 4 root root    0 Feb 19 14:13 s3c2440-usbgadget
drwxr-xr-x 4 root root    0 Feb 19 14:13 s3c24xx_pwm.0
drwxr-xr-x 3 root root    0 Feb 19 14:13 soc-audio
-rw-r--r-- 1 root root 4096 Feb 19 14:15 uevent

debian-gta02:~#
=====

Either there is some error from my part in the 2.6.29 .config (the same
used for 2.6.28 [1]) or something is wrong with 2.6.29.  Any hint would
be appreciated.

Thx, bye,
Gismo / Luca

Footnotes: 
[1] 
http://git.debian.org/?p=pkg-fso/linux-2.6-openmoko.git;a=blob;f=debian/config.gta02;h=b8db5ad617426a18dd5c473cdf70e4b58422599d;hb=HEAD

Attachment: pgpKPtttcvz2g.pgp
Description: PGP signature

_______________________________________________
Smartphones-userland mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to