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)

mesho123 2011-04-25 01:33

Re: kernel-power patches/updates
 
ok it's working fine ...

but i want to make it faster 1150 @ and install audio booster ?

cloud596 2011-04-25 11:41

Re: kernel-power patches/updates
 
ok, i found bug that after i use usb host mode for 1 hour it still keep at 80% until 5 hour later it still keep 80 % now battery empty at 80%
do u find this solution.

optimaxxx 2011-04-25 14:04

Re: kernel-power patches/updates
 
just installed, performance with cssu is phenomenal!

multi browsing 3 pages, solid texting, and just hacking through it like the beast my baby is!

great work!

stlpaul 2011-04-25 14:34

Re: kernel-power patches/updates
 
Quote:

Originally Posted by cloud596 (Post 994963)
ok, i found bug that after i use usb host mode for 1 hour it still keep at 80% until 5 hour later it still keep 80 % now battery empty at 80%
do u find this solution.

BME is disabled when hostmode is enabled. No BME = no battery monitor.

cloud596 2011-04-25 14:52

Re: kernel-power patches/updates
 
Quote:

Originally Posted by stlpaul (Post 995047)
BME is disabled when hostmode is enabled. No BME = no battery monitor.

i know, bme is closed.
But u dont get my point.
After i disconnected hostmode.
I live my phone 4 5 hours it still 80% till empty.
Anyway pali make a battery widget patch which can read battery level during host mode enable

qole 2011-04-25 20:17

Re: kernel-power patches/updates
 
I've contacted Titan and Matan, the maintainers of kernel-power. No response from Titan, and Matan said that he didn't feel it was right for him to give the project to Pali, since he (Matan) isn't really the "owner" of the project.

He suggested that Pali just start his own power kernel project in Garage (it isn't difficult), and then upload to the repos as power-kernel-pali or something.

That might be the best idea. I personally would like to see a more "generic" community kernel project that is run by a long-term community member who keeps the project open to patches from all quarters.

pali 2011-04-25 20:59

Re: kernel-power patches/updates
 
Quote:

Originally Posted by misiak (Post 994798)
... but he didn't apply for them (I don't know why).

Same source package.

Quote:

Originally Posted by stlpaul (Post 995047)
BME is disabled when hostmode is enabled. No BME = no battery monitor.

You can use battery widget on desktop. Install package battery from extras repository and then use my patched library (copy it to /usr/lib/hildon-desktop). Then battery-widget will be use bq27x00_battery kernel module for battery state.

MohammadAG 2011-04-25 21:51

Re: kernel-power patches/updates
 
Quote:

Originally Posted by pali (Post 992114)
I'd like to update existing kernel-power package (instead creating new kernel-pali or similar). But I do not have permitions for updating kernel-power package. I'm in pending list, see http://maemo.org/packages/view/kernel-power/

I'm not sure how I missed this thread...
I actually contacted titan on 20/3 so I could maintain kernel-power, but he never replied, I wanted to push new kernel-power packages but I'm way too short on time.

Anyway, since you'd like to maintain it, you can upload packages with the same name, you won't be the maintainer on the maemo.org packages but HAM will show the name in debian/control, so the only difference is the packages interface.

So send the new updates to -devel, they'll be imported without any problems.

And thanks for picking up what the old maintainer dropped without any notice.

Alastor89 2011-04-28 09:32

Re: kernel-power patches/updates
 
I've installed your kernel and it's great. But how I can apply lxp wlan kernel patch to have it integrate in my kernel ?

HugoSon 2011-04-28 09:58

Re: kernel-power patches/updates
 
Great pali - I was hoping for kernel-power coming back alive (no idea what happened to Titan). Actually kernel-power was the reason for me to keep my (finally responsive) N900...
Keep it coming! Thanks.

carlon 2011-04-28 20:12

Re: kernel-power patches/updates
 
Hi, i'm a little lost, will Pali's kernel show up as updates to titans power kernel? how can i install palis kernel, is it in the repos?

towhatend 2011-04-28 20:29

Re: kernel-power patches/updates
 
Quote:

Originally Posted by carlon (Post 997007)
Hi, i'm a little lost, will Pali's kernel show up as updates to titans power kernel? how can i install palis kernel, is it in the repos?

Not yet. Take a look at this post:
http://talk.maemo.org/showpost.php?p...0&postcount=68

carlon 2011-04-28 20:37

Re: kernel-power patches/updates
 
Thanks for the quick response. I take it that i would to remove titans kernel first correct, but it i do that when palis kernel and titans kernel are "merged" then what?

elie-7 2011-04-28 20:38

Re: kernel-power patches/updates
 
now these patches would be awesome to have in a new pali-kernel in the devels .

carlon 2011-04-28 20:52

Re: kernel-power patches/updates
 
Oh now i follow, they are just patches..

carlon 2011-04-28 21:13

Re: kernel-power patches/updates
 
Quote:

Originally Posted by towhatend (Post 997014)

I tried this method wit no luck, kernel power failed-incomplete package and flasher-operation-failed.

carlon 2011-04-28 21:21

Re: kernel-power patches/updates
 
got it. thanks

pali 2011-05-01 16:30

Re: kernel-power patches/updates
 
I published new builds. It may support multiboot. Please test packages and if all is OK I will push it in extras-devel.

http://atrey.karlin.mff.cuni.cz/~pali/

colin.stephane 2011-05-01 19:07

Re: kernel-power patches/updates
 
Quote:

Originally Posted by pali (Post 998353)
I published new builds. It may support multiboot. Please test packages and if all is OK I will push it in extras-devel.

http://atrey.karlin.mff.cuni.cz/~pali/

Thanks Pali,

I have just installed the new power kernel 47, at least it boot :D

I will see if problems occurs ...

A++

crash16 2011-05-01 19:19

Re: kernel-power patches/updates
 
did you include the injection drivers in the latest build?....thanx

colin.stephane 2011-05-01 19:22

Re: kernel-power patches/updates
 
Quote:

Originally Posted by crash16 (Post 998444)
did you include the injection drivers in the latest build?....thanx

From the Changelog :

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 <pali.rohar@gmail.com> Sun, 01 May 2011 01:22:09 +0200

A++

pali 2011-05-01 19:28

Re: kernel-power patches/updates
 
No, I do not include packet injection for wl1251 driver in default power-kernel. It is not stable.

Packet injection for power kernel will be in future in external deb package (users can decide to install or not new wl1251 driver). Lxp has created some scripts for building its driver in power-kernel (not released yet).

So I do not care about packet injection. All patches needed to build new wl1251 driver are applied in v47. So if somebody want to build it, there are no problems (and is not needed to recompile power-kernel).

handaxe 2011-05-01 22:38

Re: kernel-power patches/updates
 
Quote:

Originally Posted by geneven (Post 992202)
I installed this, following Erazor's post, around page 7. Looks good.

Sometimes my LCD lights up red, lower left side of phone -- never saw that before. The savecpu program says actual temperature is 0, obviously wrong. All seems fine, in general.

I think that red led is probably a warning from savecpu due to the misread temperature....

And not to spam - installed updated kernel and operation seems fine, if not good, perhaps great. Thanks pali!

NightShift79 2011-05-01 23:15

Re: kernel-power patches/updates
 
just installed you v47 didn't experience any new bugs, yet.

very good.
keep up the good work

Mentalist Traceur 2011-05-02 00:34

Re: kernel-power patches/updates
 
So... how exactly is the injection-capable driver less stable than the normal one? Is there any bug that has actually been obviously indicated as inherent in the injection-capable driver? Or are we using unstable in a circular-reasoning sense where it's an unofficial new driver so it must be unstable, and thus can't be considered as stable?

- Edit -
Not that I'm against a seperate package for injection driver, which is now doable if the future power kernels are getting compiled with cfg80211 as a module instead of the previous static linking. Choice is always nice. However, I honestly don't recall any issues concretely linked to the injection driver. So it seems like an unnecessary choice unless the injection driver is actually somehow worse or less stable.

thingonaspring 2011-05-02 01:01

Re: kernel-power patches/updates
 
Many thanks for your hard work Pali.

I've been running power47 for around 14 hours use with normal phone/web activity.

I've seen no downsides so far, and the UI is definitely more responsive compared to power46.

F2thaK 2011-05-02 01:01

Re: kernel-power patches/updates
 
:D

just found this thread,,,,, new kernel!!!!

testing!

THANK YOOU

hawaii 2011-05-02 02:25

Re: kernel-power patches/updates
 
FYI, users of WL1 - you can still use this kernel with the injection drivers just fine.

Since pali has included the patches but not built the modules, you can strip versioning from WL1 drivers and force loading them using `insmod -f` on any kernel that has incorporated the patches.

Have fun!

Daneel 2011-05-02 02:29

Re: kernel-power patches/updates
 
Downloaded, Installed, looks good so far, works with multiboot as well.
Thanks a lot Pali, keep up the good work. :)

Mentalist Traceur 2011-05-02 05:00

Re: kernel-power patches/updates
 
Quote:

Originally Posted by hawaii (Post 998617)
FYI, users of WL1 - you can still use this kernel with the injection drivers just fine.

Since pali has included the patches but not built the modules, you can strip versioning from WL1 drivers and force loading them using `insmod -f` on any kernel that has incorporated the patches.

Have fun!

Mine actually seems to work fine without any versioning stripping or -f flag on insmod. This is the first reboot since I installed, and I haven't tested injection itself so maybe there could be some odd half-working state there, but I was able to put the card into monitor mode and the modules loaded fine, and connected to my home WPA2-only network fine, and my educated guess would be it either works or the kernel just tosses the whole module as invalid.

pali 2011-05-02 06:57

Re: kernel-power patches/updates
 
Thanks all for testing.

Quote:

Originally Posted by Daneel (Post 998618)
Downloaded, Installed, looks good so far, works with multiboot as well.
Thanks a lot Pali, keep up the good work. :)

For multiboot: before installing power kernel, _uninstall_ package multiboot-kernel-power.

Can you test if multiboot is configured correctly without package multiboot-kernel-power? (Note: First remove all kernel-power packages and multiboot-kernel-power and then install my builds)

And for packet injection in wl1251. If somebody compile all modules for pre v47 (this is pre release, real v47 will be in extras-devel), I can publish it on my server.

evan 2011-05-02 07:21

Re: kernel-power patches/updates
 
regarding the wifi driver patch and the possibility of it having a bug I have posted this.
http://talk.maemo.org/showpost.php?p...&postcount=382
perhaps it's only on mine though, but if not, it should not be made the one and only available driver in a new kernel.

Mentalist Traceur 2011-05-02 08:04

Re: kernel-power patches/updates
 
Quote:

Originally Posted by pali (Post 998692)
And for packet injection in wl1251. If somebody compile all modules for pre v47 (this is pre release, real v47 will be in extras-devel), I can publish it on my server.

Is there a practical need to compile? Like I said, for me, the original modules (well, slightly patched because the driver wouldn't count transmitted packets when in monitor mode, so I bugged lxp about that) load and run fine, even though they were for v. 46wl.

I mean, maybe the way I'm doing it (I copied the load.sh script, modified to give it objective paths, and replaced Advanced Interface Switchers wifi driver load/unload scripts with that and a purely-unload version respectively), has some forcing effect indirectly (I never looked in depth at the python code, but I don't think it would magically work like that), but the scripts themselves just insmod [path and module] for all of the modules.

Or is it that compiling against this pre-47 version takes care of other potential bugs that might crop up that I just haven't hit yet?

- Edit -
Oh, right, @ evan: I'll do my best to test your bug tomorrow, see if I can at all reproduce it.

- Edit 2 -

So I originally put fbcon as a new line in the /etc/modules file that the power kernel normally uses to load modules. This didn't work for me, and no console appeared - after a prolonged search I found nothing useful, and went with the original pali suggestion from page 6 or so of this thread to edit /sbin/preinit.

It... semi worked. I added it in one of the very early functions of that script - between line 26 and 27. As I don't fully understand the boot process, it seemed like a good a place as any. I'm not exactly against reflashing, as I've forced myself to do that so very often already.

Anyway, turned N900 off - turned it on. Nokia splash screen appeared (along with vibration), then screen went black, then nokia splash screen appeared again, a console did appear and printed out a lot of crap. Then it shut off. Pressing the power button again, I figured that was a mess up so I wanted to see if I could get a shell from the console somehow, and fiddle in general - splash screen, more console, first I pressed Ctrl+C and then Ctrl+D, seeing if that did anything. For some reason - no idea what, that time it went ahead and continued to boot just fine, going to the blinking five dots, then to the lock code and SIM pin, and so on until normal boot.

Anyone know a good safe way to get the framebuffer console that isn't as risky as my random experimental insertion of the modprobe line? Also, how do you go from console to an actual shell, or is something else required before that's doable?

elie-7 2011-05-02 08:22

Re: kernel-power patches/updates
 
Big thanks to you Pali, i'll see if i have time to test it today, but no matter what this is awesome news, no wonder the n900's proce jumped to 500 $, with guys like pali, Mag, nicolai,.... working behind the n900, we got our selfs a supersmartphone .
ps: this post isn't ment to be spam, or whatever .

Daneel 2011-05-02 10:42

Re: kernel-power patches/updates
 
Quote:

Originally Posted by pali (Post 998692)
Thanks all for testing.



For multiboot: before installing power kernel, _uninstall_ package multiboot-kernel-power.

Can you test if multiboot is configured correctly without package multiboot-kernel-power? (Note: First remove all kernel-power packages and multiboot-kernel-power and then install my builds)

Removed kernel-power and related packages, kernel-power-multiboot, multiboot, rebooted to stock kernel, installed multiboot, rebooted again, installed your packages, rebooted again, selected v47 from multiboot menu, seems to work fine :)

The only thing i noticed is a difference in the battery indicator reading from the stock kernel(almost full) and v47(allmost empty) and a quite noticable performance jump from v46 to v47, thanks again!

Xagoln 2011-05-02 14:08

Re: kernel-power patches/updates
 
I am happily testing 47. The phone does seem more responsive, but that may be subjective of course.

The wireless seems more robust than it was, too.

Thank you for your work, gentlemen!

Alfred 2011-05-02 14:11

Re: kernel-power patches/updates
 
Should i dpkg -i kernel-power? because it doesn't want to upgrade from 46 to 47, when i just click on the deb.

Daneel 2011-05-02 14:50

Re: kernel-power patches/updates
 
Well, dpkg -i worked for me but maybe its better to remove kernel power and asociated packages and then install v47 as per Pali's directions.

optimaxxx 2011-05-02 14:51

Re: kernel-power patches/updates
 
~ i have same issue as alfred

Mentalist Traceur 2011-05-02 16:04

Re: kernel-power patches/updates
 
Quote:

Originally Posted by Alfred (Post 998862)
Should i dpkg -i kernel-power? because it doesn't want to upgrade from 46 to 47, when i just click on the deb.

Not sure if you're running multiboot, but if not, just installing over it seems to have worked fine for me.


All times are GMT. The time now is 20:05.

vBulletin® Version 3.8.8