maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Announce] kernel-power stable v49 in Extras-Testing (https://talk.maemo.org/showthread.php?t=71879)

pali 2011-04-07 11:06

[Announce] kernel-power stable v49 in Extras-Testing
 

New thread about kernel-power v50 is here: http://talk.maemo.org/showthread.php?t=83118
New thread about development is here: http://talk.maemo.org/showthread.php?t=78371


Kernel-power version v49 is now in Extras-Testing!

In version v49 was new frequency scheme, so everyone who has custom profile (or modified /etc/default/kernel-power) MUST modify them according to new frequencies, i.e to remove 700 and to change 750 to 720. See more on http://talk.maemo.org/showthread.php...49#post1117649


Update (from old version):
Use Hildon Application Manager or via apt-get

Installation:
In Hildon Application Manager install package: Linux kernel for power user
Or via apt-get package: kernel-power-flasher

Overclock support (optional):
In Hildon Application Manager install package: Linux kernel for power user (settings and overclock)
Or via apt-get package: kernel-power-settings

Multiboot support (optional):
In Hildon Application Manager install packages: Maemo ULTimate BOOTloader and Linux kernel for power user (boot image for multiboot)
Or via apt-get packages: multiboot and kernel-power-bootimg

Uninstallation:
Multiboot and overclock support can be uninstalled via Hildon Application Manager or via apt-get. Uninstalling kernel image is possible only via menu entry "Nokia Kernel".

===

Changelog:

kernel-power (1:2.6.28-10power50) fremantle; urgency=low
.
* Fixed reboot problem
* Added option (sysfs entry) to disable indicator led
* Enabled module xt_owner
* Fixed scheduling while atomic bugs
* efuse calibrations are re-calculated - using linear approximation instead of hard-coded increments
* Fixed camera driver to use framebuffer memory for video-capture buffer (DMA to framebuffer)
* Enabled cdrom drivers
* Disabled verbose power_supply messages
* Notify about changed musb mode
* Disabled mesh network (kernel sometimes crashed)
* Fixed the famous BT headset disconnecting issue
* Upstream patch: Bluetooth: Fix potential bad memory access with sysfs files
* Disabled errata 430973
* If FM transmitter is locked do not show error message when trying to change power level
* Fixed oops in g_ether with windows
* kernel-power-bootimg package now working with U-Boot Bootmenu too

-- Pali Rohár <hidden> Wed, 14 Mar 2012 19:43:04 +0100

kernel-power (1:2.6.28-10power49) fremantle; urgency=low

* support for binding and unbinding framebuffer console
* split nokia patch nokia-20093908+0m5.diff into more
* smartreflex - added calibration values for 720MHz and 805 MHz (SW calculated according to TI docs)
* update radio-si4713 fm transmitter:
* removed nokia code and special ioctl which disabled changing power_level
* ability to lock and unlock power_level via sysfs
* update bq27x00 battery driver:
* backport changes from upstream
* add support for accessing bq27200 battery registers using ioctl
* fixed rx51 board info and module now working again (but bme must be stopped)
* fixed rebooting device after battery module was unloaded
* update dspbridge driver (by freemangordon):
* fix ioctl buffer overrun
* DSS video memory is increased from 6 to 8 megabytes, allowing DSS scaler to rescale HD videos (including 1280x720)
* add support for for CONFIG_BRIDGE_NEW_API
* fix DSP cache when is incoherent with main memory, which leads to memory errors
* backport fixes from omapzoom kernel-omap3
* backport harmattan patches
* support both new and old ictl
* added new patches:
* adding-ramzswap-driver.diff
* patch_swap_notify_core_support_2_2.6.28.diff
* update_mmu_cache_arm.diff

-- Pali Rohár <hidden> Fri, 18 Nov 2011 22:44:19 +0100

kernel-power (1:2.6.28-10power48) fremantle; urgency=low

* cleaned and rewritten debian/rules
* cleaned patches (splitted nokia and omap patches)
* revert back -source and -debug package
* updated info about kernel-power for HAM
* possible to install only -bootimg package (same features)
* fixed kernel-power uninstall script
* 720p DSP patch by freemangordon
* ext4 data corruption patch by Tigerite
* minstrel-aziwoqpa patch from garage tracker
* compcache/zram patch from kernel-bfs
* enabled usbnet dm9601 kernel module
* enabled nilfs2 kernel module
* enabled xts kernel module
* fixed class 10 microSD card
* disabled patch i2c-battery.diff
* disabled board-rx51-peripherals.diff (disabled autoloading bq27x00_battery module)

-- Pali Rohár <hidden> Sat, 09 Jul 2011 16:03:55 +0200

kernel-power (1:2.6.28-10power47) fremantle; urgency=low

* enabled additional kernel modules (for usb host mode)
* backported bq27x00_battery patch
* some patches from kernel-power bugtracker
* multiboot support in kernel-power-bootimg package

-- Pali Rohár <hidden> Sun, 01 May 2011 01:22:09 +0200

===

Known problems:
* JoikuSpot not working
* Some bluetooth headsets not working
* BME and bq27x00_battery module cannot live together

ivgalvez 2011-04-07 11:24

Re: kernel-power patches/updates
 
Seems that nobody is maintaining it. It would be great to have an updated version with the bleeding edge wifi drivers included.

Hurrian 2011-04-07 11:29

Re: kernel-power patches/updates
 
If you want a bleeding-edge power kernel, take a look at kernel-bfs. It's power46+BFS+wl1.

Although, I had to tweak my Swappolube settings, enable HWSync and mlock hildon-desktop to make it feel as smooth as CFS.

demolition 2011-04-07 12:07

Re: kernel-power patches/updates
 
I assume you are refering to v0.46?

I'm sure that it is receiving some attention because it's functionality is an integral part of the h-e-n software, which is being worked on. There are patches on the garage site but, I agree, it's not clear whether or when they're going to get integrated into the kernel itself.

There is a possibility that certain sections will be merged into the CSSU [Someone please confrm/reject this].

Other factors that would reduce development on this, apart from the developers having lives/jobs/families/etc, is that the CSSU is something of a priorty task (AFAICS), then there's Meego and the Meego coding competition, etc, etc...

- all the same, thanks for flagging this up, it's good to find out what's going on from time to time. From my point of view, it would be good to have a development status paragraph in the maemo wiki so it's clear what's being worked on (and what's not). Also, this might allow others to contribute if they knew what could be done to assist.

Edit: Thanks Hurrian. Have you tried this? Please comment on stability/battery drain/anything else you've noticed...

pali 2011-04-07 23:09

Re: kernel-power patches/updates
 
If nobody maintain power kernel I can create new build with these patches (and post here):
http://david.gnedt.eu/blog/wl1251/
http://talk.maemo.org/showpost.php?p...&postcount=674
https://bugs.maemo.org/show_bug.cgi?id=10510
https://garage.maemo.org/tracker/ind...1528&atid=5521
https://garage.maemo.org/tracker/ind...1528&atid=5523
https://garage.maemo.org/tracker/ind...1528&atid=5523
https://garage.maemo.org/tracker/ind...1528&atid=5524
https://garage.maemo.org/tracker/ind...1528&atid=5524
https://garage.maemo.org/tracker/ind...1528&atid=5521
+ enable more usbnet modules (usb <--> rj45 chip modules for host mode)

SSLMM 2011-04-07 23:20

Re: kernel-power patches/updates
 
Could you backport some drivers from meego kernel? like de powervr driver with vsync? Sorry if is a stupid question

pali 2011-04-07 23:23

Re: kernel-power patches/updates
 
See this: http://talk.maemo.org/showthread.php?t=70082
Maybe if I have time I will took at.

Hurrian 2011-04-07 23:32

Re: kernel-power patches/updates
 
@demolition : I had to use the IO Improvement Swappolube tweaks to make it stop locking up and rebooting whenever I use Easy Debian and do a full upgrade.

BTW, is there any way to get the device into noop? Every time I try to change the scheduler, I get permission denied. (even with sudo!)

pali 2011-04-16 12:19

Re: kernel-power patches/updates
 
So, Titan does not responce to my mails....

As I wrote http://talk.maemo.org/showpost.php?p=983930&postcount=5 Now I builded new kernel packages based on power-kernel v46 (without patched wifi driver yet) but due to size limit I cannot uploaded deb packages here.

Does anybody know good upload server?

casketizer 2011-04-16 13:00

Re: kernel-power patches/updates
 
Why not use mediafire or rapidshare?

jprobichaud 2011-04-16 13:25

Re: kernel-power patches/updates
 
Quote:

Originally Posted by pali (Post 989794)
So, Titan does not responce to my mails....

As I wrote http://talk.maemo.org/showpost.php?p=983930&postcount=5 Now I builded new kernel packages based on power-kernel v46 (without patched wifi driver yet) but due to size limit I cannot uploaded deb packages here.Does anybody know good upload server?

Maybe you could ask a "space" in the CSSU git repositories so you would have lots of space and it would be easier for others to contribute as well?

Thanks for looking into this BTW!

iDont 2011-04-16 14:36

Re: kernel-power patches/updates
 
Quote:

Originally Posted by Hurrian (Post 983940)
@demolition : I had to use the IO Improvement Swappolube tweaks to make it stop locking up and rebooting whenever I use Easy Debian and do a full upgrade.

BTW, is there any way to get the device into noop? Every time I try to change the scheduler, I get permission denied. (even with sudo!)

Echo noop to /sys/block/mmcblk0/queue/scheduler as root (sudo won't do)

Fabry 2011-04-16 18:16

Re: kernel-power patches/updates
 
I am interested on DVB-T and DVB-S usb modules, so it is nice if someone can compile these modules too.

i.e: http://www.geniatech.com/down-eng/dv...inuxdriver.zip

But mainly I need a power kernel with framebuffer active (to see logs on boot) and unfortunately until now I haven't had time to do it by myself

pali 2011-04-16 22:46

Re: kernel-power patches/updates
 
I compiled power-kernel with external framebuffer modules (so you can load it to see log). I publish my builds later.

If usb modules which you need is in upstream kernel tree I can build it.

Radicalz38 2011-04-16 22:58

Re: kernel-power patches/updates
 
@pali
Please compile it also with lxp's injection feature please... I'm currently using it to get in my cousin's router which is beside our house :p Since mobile internet is expensive here haha

I'm using it almost 2 times a month so I really need it :D

Radicalz38 2011-04-17 01:12

Re: kernel-power patches/updates
 
And oh and a simple question... Is it possible to add exfat support for maemo?

godofwar424 2011-04-17 03:04

Re: kernel-power patches/updates
 
Quote:

Originally Posted by pali (Post 989794)
So, Titan does not responce to my mails....

As I wrote http://talk.maemo.org/showpost.php?p=983930&postcount=5 Now I builded new kernel packages based on power-kernel v46 (without patched wifi driver yet) but due to size limit I cannot uploaded deb packages here.

Does anybody know good upload server?

You could always ask MohammadAG if you could use his server to upload your files?

Also could you possibly update the kernel to the MeeGo kernel?

It would be nice to have the latest kernel with the latest drivers installed. Should remove the VSync issue and possibly give us much smoother transitions within games and the UI in general :)

pali 2011-04-17 03:26

Re: kernel-power patches/updates
 
Quote:

Originally Posted by godofwar424 (Post 990277)
You could always ask MohammadAG if you could use his server to upload your files?

I can ask If I do not have place for publishing files in next days.

Quote:

Originally Posted by godofwar424 (Post 990277)
Also could you possibly update the kernel to the MeeGo kernel?

It would be nice to have the latest kernel with the latest drivers installed. Should remove the VSync issue and possibly give us much smoother transitions within games and the UI in general :)

See: http://talk.maemo.org/showpost.php?p=983936&postcount=7

Quote:

Originally Posted by Radicalz38 (Post 990252)
And oh and a simple question... Is it possible to add exfat support for maemo?

Same as for usb modules: http://talk.maemo.org/showpost.php?p...4&postcount=14

manifesto42 2011-04-17 03:40

Re: kernel-power patches/updates
 
dont know if i am late to the discussion, bt maybe i can help with providing server space.
how much do you need to upload?
any specific requirements server-side or merely space?

Radicalz38 2011-04-17 03:58

Re: kernel-power patches/updates
 
Quote:

Originally Posted by pali (Post 990281)
I can ask If I do not have place for publishing files in next days.



See: http://talk.maemo.org/showpost.php?p=983936&postcount=7



Same as for usb modules: http://talk.maemo.org/showpost.php?p...4&postcount=14

Cool! So please do include it please :D
I'd like to compare MyDocs exFat and SDX card for this. And please upload it to a temporary file sharing site ATM can't wait to test it :rolleyes:

pali 2011-04-17 04:23

Re: kernel-power patches/updates
 
I think that there are no working exFat linux drivers and sure that thare is nothing in 2.6.28 tree!

Radicalz38 2011-04-17 04:33

Re: kernel-power patches/updates
 
Ok I didn't know that :p Well too bad but stil can't wait for the newest compiled kernel at least with lxp's and BFS patch 0.o

pali 2011-04-17 04:35

Re: kernel-power patches/updates
 
As I wrote I did not compile it with lxp's patch yet, see: http://talk.maemo.org/showpost.php?p=989794&postcount=9

freemangordon 2011-04-17 07:58

Re: kernel-power patches/updates
 
Call me stupid if you wish, but can someone help me on how to make modifications to kernel-power source . I mean - every time dpkg-buildpackage is run patches from debian/patches are de-applied and re-applied making it impossible for me to modify actual code without some ugly hackery.

What is correct sequence/procedure? Any hints?

BTW what I am trying to modify is dspbridge driver, code from omapzoom git looks pretty similar to what we have in kernel. Maybe if I succeed I will be able to run 720p codecs from android.

leojab 2011-04-17 09:03

Re: kernel-power patches/updates
 
excellent freemangordon.. someone please clarify.. It will be great if we can use the libraries from meego which should solve the vsync issue as well.
(repeatt to self.. patience is a virtue ;-))

pali 2011-04-17 11:12

Re: kernel-power patches/updates
 
Quote:

Originally Posted by freemangordon (Post 990336)
Call me stupid if you wish, but can someone help me on how to make modifications to kernel-power source . I mean - every time dpkg-buildpackage is run patches from debian/patches are de-applied and re-applied making it impossible for me to modify actual code without some ugly hackery.

What is correct sequence/procedure? Any hints?

BTW what I am trying to modify is dspbridge driver, code from omapzoom git looks pretty similar to what we have in kernel. Maybe if I succeed I will be able to run 720p codecs from android.

Apply quit patches from debian/patches ( run command: QUILT_PATCHES=debian/patches quilt push -a -q ), then do backup (kernel-power.orig directory). Then modify kernel tree with your changes and generate patch between working tree and backup. Copy your diff to debian/patches and fix debian/patches/series

pali 2011-04-17 19:14

Re: kernel-power patches/updates
 
So, now I uploaded my kernel packages to server http://atrey.karlin.mff.cuni.cz/~pali/

Happy downloading :)

godofwar424 2011-04-17 19:43

Re: kernel-power patches/updates
 
Quote:

Originally Posted by pali (Post 990639)
So, now I uploaded my kernel packages to server http://atrey.karlin.mff.cuni.cz/~pali/

Happy downloading :)

Some step by step instructions would be much appreciated :)

What to install and in what order ect. What each one does :)

mr_pingu 2011-04-17 19:48

Re: kernel-power patches/updates
 
Quote:

Originally Posted by pali (Post 990639)
So, now I uploaded my kernel packages to server http://atrey.karlin.mff.cuni.cz/~pali/

Happy downloading :)

whats updated in this kernel you posted?

pali 2011-04-17 19:49

Re: kernel-power patches/updates
 
Quote:

Originally Posted by godofwar424 (Post 990652)
Some step by step instructions would be much appreciated :)

What to install and in what order ect. What each one does :)

Please note that this is not user-end packages so may be unstable!

Download kernel-power, kernel-power-modules and kernel-power-flasher. Then install these 3 packages with dpkg.

Quote:

Originally Posted by mr_pingu (Post 990656)
whats updated in this kernel you posted?

See: http://talk.maemo.org/showpost.php?p=983930&postcount=5
All except patched wl12xx module.

ivgalvez 2011-04-17 20:08

Re: kernel-power patches/updates
 
Hi Pali,

Regarding this comment from you:

What about package/plugin status-area-applet-battery ( http://maemo.org/packages/view/statu...pplet-battery/ )? Is there any chance to replace (or fix) this applet to read bq27x00 info when bme is stopped? With source code of this applet will be simple to write patch, but it is closed...


You can check with Smoku, as he's working on a replacement for the widget in the Cordia project:
http://gitorious.org/cordia/cordia-status-plugins

Fabry 2011-04-17 21:43

Re: kernel-power patches/updates
 
Quote:

Originally Posted by pali (Post 990657)
See: http://talk.maemo.org/showpost.php?p=983930&postcount=5
All expect patched wl12xx module.

Framebuffer active ?

pali 2011-04-17 22:27

Re: kernel-power patches/updates
 
Yes this build include framebuffer modules. Load it with: modprobe fbcon

Erazor 2011-04-17 23:05

Re: kernel-power patches/updates
 
i cant install the packages.

erros message comes up with broken package.


is there a way to geht only the fbcon module into da normal kernel-power?

Greetz
Erazor


btw Thx for your work :)


//edit:
got it. there was a corrupted download ^^
but fbcon doesnt show me the commandlines on boot.

is there anything else i have to do?

modprobe already done ;)

Radicalz38 2011-04-17 23:13

Re: kernel-power patches/updates
 
Downloading now... :)
When can we expect lkp's patches pali?

Bratag 2011-04-18 03:32

Re: kernel-power patches/updates
 
Interesting effect of the patch. The battery temp reads 346. Am assuming my battery temp is not 346 Degrees :)

pali 2011-04-18 07:52

Re: kernel-power patches/updates
 
Quote:

Originally Posted by Erazor (Post 990747)
but fbcon doesnt show me the commandlines on boot.

is there anything else i have to do?

modprobe already done ;)

after modprobe fbcon framebuffer console is actived. This is not permanent, after reboot you need modprobe it again.

If you want to see kernel output when booting, you need to modify preinit script (or add modprobe command to /boot.sh)


Quote:

Originally Posted by Radicalz38 (Post 990750)
Downloading now... :)
When can we expect lkp's patches pali?

I do not know now. It is not simple to integrate wireless-testing patches to power-kernel...


Quote:

Originally Posted by Bratag (Post 990801)
Interesting effect of the patch. The battery temp reads 346. Am assuming my battery temp is not 346 Degrees :)

And who told you this value?? bq27x00_battery module export temperature value to file /sys/class/power_supply/bq27200-0/temp in tenths of degree Celsius (kernel modules must export value in this unit - it is defined in kernel doc!). So if you read 346 from this file, temperature of your battery is 34.6 °C

ivgalvez 2011-04-18 07:57

Re: kernel-power patches/updates
 
Hi Pali, your work is very much appreciated.

Have you considered to request being the maintainer for Kernel Power? You could promote v46 to Extras Testing (I thing it's pretty stable and almost everyone is using it) and upload a new v47 to Devel.

I'm actually using a custom Power Kernel with the Bleeding Edge Wifi drivers so having them included in upstream package will be very nice.

Bratag 2011-04-18 07:57

Re: kernel-power patches/updates
 
Quote:

Originally Posted by pali (Post 990895)
after modprobe fbcon framebuffer console is actived. This is not permanent, after reboot you need modprobe it again.

If you want to see kernel output when booting, you need to modify preinit script (or add modprobe command to /boot.sh)



I do not know now. It is not simple to integrate wireless-testing patches to power-kernel...




And who told you this value?? bq27x00_battery module export temperature value to file /sys/class/power_supply/bq27200-0/temp in tenths of degree Celsius (kernel modules must export value in this unit - it is defined in kernel doc!). So if you read 346 from this file, temperature of your battery is 34.6 °C

Ahh excellent. The old version of the module wrote to that file the value in whole Deg C not tenths. Thanks for the info.

pali 2011-04-18 08:12

Re: kernel-power patches/updates
 
Quote:

Originally Posted by ivgalvez (Post 990897)
Hi Pali, your work is very much appreciated.

Have you considered to request being the maintainer for Kernel Power? You could promote v46 to Extras Testing (I thing it's pretty stable and almost everyone is using it) and upload a new v47 to Devel.

I'm actually using a custom Power Kernel with the Bleeding Edge Wifi drivers so having them included in upstream package will be very nice.

If more people test my builds and there will be no problems I could ask devs. about updating kernel-power package in extras-devel.

So please test by builds if all works fine and which other (usbhost) modules you need to compile...

Quote:

Originally Posted by Bratag (Post 990898)
Ahh excellent. The old version of the module wrote to that file the value in whole Deg C not tenths. Thanks for the info.

See this for more info about battery status:
directory /sys/class/power_supply/bq27200-0/
file /sys/class/power_supply/bq27200-0/uevent
output from command: lshal -u /org/freedesktop/Hal/devices/computer_power_supply_battery_bq27200_0

I think this is all what is possible to know about battery (from bq chip datasheet).

I wrote patch for opensource battery-widget which read battery state from bq driver: http://talk.maemo.org/showpost.php?p...&postcount=674

It show battery state when usb hostmode is active too :)


All times are GMT. The time now is 10:35.

vBulletin® Version 3.8.8