Reply
Thread Tools
Gusse's Avatar
Posts: 168 | Thanked: 206 times | Joined on Apr 2010 @ Finland
#1451
Originally Posted by trisha02 View Post
i wanted to go back to kernel 47.how to do that?
Reverting back to v47 is wise choice!
Code:
apt-get --reinstall install kernel-power=1:2.6.28-10power47 kernel-power-modules=1:2.6.28-10power47 kernel-power-flasher=1:2.6.28-10power47

Last edited by Gusse; 2011-08-31 at 18:20.
 

The Following 7 Users Say Thank You to Gusse For This Useful Post:
Posts: 55 | Thanked: 14 times | Joined on Dec 2010
#1452
Originally Posted by Gusse View Post
Reverting back to v47 is wise choice!
Code:
apt-get --reinstall install kernel-power=1:2.6.28-10power47 kernel-power-modules=1:2.6.28-10power47 kernel-power-flasher=1:2.6.28-10power47
thanks that worked!
 
Posts: 915 | Thanked: 57 times | Joined on Jun 2011
#1453
Originally Posted by Sekou718 View Post
thanks that worked!
how come i am getting this?

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # apt-get --reinstall install kernel-power=1:2.6.28-10power47 kernel-power-modules=1:2.6.28-10power47 kernel-power-flasher=1:2.6.28-10power47
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1:2.6.28-10power47' for 'kernel-power' was not found
/home/user #
 
Gusse's Avatar
Posts: 168 | Thanked: 206 times | Joined on Apr 2010 @ Finland
#1454
Download following files to your N900
kernel-power_2.6.28-10power47
kernel-power-modules_2.6.28-10power47
kernel-power-flasher_2.6.28-10power47

Then install those manually.
Code:
sudo gainroot
dpkg -i kernel-power_2.6.28-10power47_armel.deb
dpkg -i kernel-power-modules_2.6.28-10power47_armel.deb
dpkg -i kernel-power-flasher_2.6.28-10power47_armel.deb
Reboot and that's it.

Reason is most probably that you have not included extras-devel repository, but please do not add it. I think you have had enough problems already.
 

The Following 2 Users Say Thank You to Gusse For This Useful Post:
Posts: 915 | Thanked: 57 times | Joined on Jun 2011
#1455
lol i always had extras devel repository...its just that i dint update the repository
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#1456
Originally Posted by shnigi View Post
Anyone else noticed that connecting to internet fails many times after kernel48, n900 connects like after 10 tries. i would like to revert back to 47 how can i do that ?
I got no problems with connecting to any network with kp48.

Originally Posted by freemangordon View Post
It will, the default value set on system startup should be 112(the same as stock). You should change that in event.d script to the value you want it to be. The default can be changed too (to max of 120), it was me who insist on using 112 as default during installation.

While I fully agree that overlapping features is silly what about us not using the above mentioned binary?

fmtx .ko module exposes ioctls to userland for reducing and increasing power. Stock fmtxd uses those ioctls to manage fmtx power every time a charger/usb cable is connected to the device. The previous patch (the one from KP46) simply disables locking of sys/.../power_level , but does not prevent fmtxd to set power_level via ioctl.

Just for clarity - fmtx patch makes all fmtx power applications unneeded - once set, fmtx power level remains constant until reboot.

TBH i was not sure that fmtx patch should be included, but future maintainer's words were "release early, release often"
Thanks for clarification. I see Your reasons and agree, that it's much "wanted" approach. Ho ever, jacekowski's binary also allow us to use full 76-107,9 mhz range. Is there a way You can implement it using Your method?

If not, can we use Your method + event.d script to fix power to 120 + jacekowski.s binary to get exact same result as with jacekowski.s binary, but with additional benefit of ioctls exposed for userland applications (i.e. for program/widget to dynamically switch power alongside with frequency etc.)?

---

On the other hand, I'm bumbing problems with (segfault related?) crashes via leafpad (or, as one user reported, fmms) "save as". As it was - IMO correctly - said before, userland apps should not be able to so easily crash whole system. It definitely never happened with kp47. People less clueless ( ) than me, do you have any ideas?
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2011-09-01 at 13:32.
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1457
Originally Posted by Estel View Post
I got no problems with connecting to any network with kp48.



Thanks for clarification. I see your reasons and agree, that it's much "wanted" approach Ho ever, jacekowski's binary also allow us to use full 76-107,9 mhz range. Is there a way You can implement it using Your method?

If not, can we use your method + event.d script to fix power to 120 + jacekowski.s binary to get exact same result as with jacekowski.s binary, but with additional benefit of ioctls exposed for userland applications (i.e. for program/widget to dynamically switch power alongside with frequency etc.)?

---

On the other hand, I'm bumbing problems with (segfault related?) crashes via leafpad (or, as one user reported, fmms) "save as". As it was - IMO correctly - said before, userland apps should not be able to so easily crash whole system. It definitely never happened with kp47. People less clueless ( ) than me, do you have any ideas?
I don't see a reason why patched binary and this patch not to coexists. It will be unable to set power level, but it is aleady set by the script.

What could be done re user applications to be able to change power level is to remove lock "locking", so anyone to be able to unlock it and write the value there. But TBH don't see the point of having such functionality.

And I don't think frequency range is limited by driver.

I need some rest from compcache affair first, will look into segfault lately if it is still not fixed.


P.S. Why those capital Y's

EDIT: could someone with crashing leafpad post /dev/mtd2 here?

Last edited by freemangordon; 2011-09-01 at 13:31.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#1458
Excuse my clueless question, but how should we post it? Just cp it, or what? If yes, here you go:

(see attachments - Note that it's *not* gz file - I've renamed it only to allow uploading. It's just "raw" mtd2 file, just renamed to mtd2.gz)

Thanks for Your answer, anyway. How event.d script to fix power on 120 should exactly look (command, start on what)? I can probably figure myself (except that, I don't know when should it execute), but If You could post complete template, that would bring benefit to people less comfortable @ messing with event.d

BTW, can You already ask for maintainership of kp? You know it will happen anyway At least maybe you'll be able to push kp47 into extras-testing, and we will regain -devel for testing new stuff...

As for Y's, I don't know what You mean... Writing "Your" in capital, or what?
Attached Files
File Type: gz mtd2.gz (256.0 KB, 87 views)
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2011-09-01 at 16:21.
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1459
There should be /etc/event.d/fmtxpower script already, at least colin.stephane promise that. You just need to edit value in it.

Re mantainership - I was hoping colin.stephane or someone else to ask for that, lets wait a little bit more. If by the end of the week noone had asked I will PM pali with a maintainership request.

Yes, Y's are for 'Y'our, 'Y'ou... nevermind.
 

The Following User Says Thank You to freemangordon For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#1460
I've edited last post there is mtd2 file You requested. Note that it's *not* gz file - I=ve renamed it only to allow uploading. It's just "raw" mtd2 file, just renamed to mtd2.gz
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Reply

Tags
battery-status, bq27x00_battery, kernel, kernel-power, misiak4king, noobs-cant-read, pali4president, patches, readdirections, revolverspinyou

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:36.