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)

Tigerite 2011-05-20 12:23

Re: [Announce] kernel-power v47
 
Hey Pali,

Could you please include my ext4 patch (which includes a backport of the 2.6.30 kernel fix for ext4 data corruption amongst others) from here in the next kernel-power release? I have compiled and tested it and can confirm all works as expected, i.e. my system boots from an ext4 /home partition when running the kernel with no adverse side-effects thusfar. For a bit more background please see the related T.M.O. thread which briefly describes the process I went through to generate said patch.

Thanks in advance!

vi_ 2011-05-20 12:29

Re: [Announce] kernel-power v47
 
As power 47 seems more or less stable can it be promoted to testing repos? Can this backlog of stuff in dev be pushed to testing so we can free dev up for ya now...dev?

pali 2011-05-20 14:11

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by Tigerite (Post 1011009)
Hey Pali,

Could you please include my ext4 patch (which includes a backport of the 2.6.30 kernel fix for ext4 data corruption amongst others) from here in the next kernel-power release? I have compiled and tested it and can confirm all works as expected, i.e. my system boots from an ext4 /home partition when running the kernel with no adverse side-effects thusfar. For a bit more background please see the related T.M.O. thread which briefly describes the process I went through to generate said patch.

Thanks in advance!

Ok, now is your patch in my git repository.

Quote:

Originally Posted by vi_ (Post 1011019)
As power 47 seems more or less stable can it be promoted to testing repos? Can this backlog of stuff in dev be pushed to testing so we can free dev up for ya now...dev?

Only maintainer of package kernel-power can do that. So still only Tom Tanner (I'm on pending list of maintainers). Ask him for that.

ivgalvez 2011-05-20 14:45

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by pali (Post 1011128)
Only maintainer of package kernel-power can do that. So still only Tom Tanner (I'm on pending list of maintainers). Ask him for that.

The Council should be able to solve these situations. Developers should not be owners of packages which are based in other's open source development, it should be up to the community to change maintenance without original packager's permission.

Estel 2011-05-20 17:08

Re: [Announce] kernel-power v47
 
Pali, could You contact Council (for example using "contact us" form) and point them to this problem? I thought about doing that myself, but it seems much more proper, when done by You.

It's completely unacceptable that kernel-power will stay in dev forever, cause one maintainer disappeared and don't give a duck about transferring maintainer's right, and another one "feel that it's not fair to grant You [rights], because Titan was main maintainer".

Not to mention little duckish behavior of last contactable maintainer (sorry, I must write that - forced myself to not comment when we received that info 1st time, but now it's too much), I agree that council or community shall have a way to deal with such counter-productive situations. What if main maintainer get hit by a bus one day? Project R.I.P, even thought many people contributed/co-dev'ed it, and still want to continue?

---

Pali, what about removing faulty bq module from next release? As for now, this is only 1 not working (as it should, in kp47) thing, that was 110% confirmed. Still, somehow I feel that You deny to acknowledge it as fact. Sorry if I'm wrong - I don't mean to sound harsh - but for me that is conclusion from Your short discussion with original bug reporter (ended by him blacklisting module as for joerg-rw suggestion)

rajil.s 2011-05-24 21:25

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by wimmme (Post 1000305)
no reboot here but I do get an error 6-45--15. :mad:
Mailed Joikuspot support for it .

It isnt working for me either, giving the error 3-580-22. The support guy of Joikuspot said
"That error message might suggest that the installation process was not finished just like it should"

stuck!

windows7 2011-05-27 01:32

Re: kernel-power patches/updates
 
Quote:

Originally Posted by Erazor (Post 992080)
1.first update your system
- apt-get update
- apt-get upgrade
- abt-get clean
- abt-get autoclean
- abt-get update

2 download palis kernel from http://atrey.karlin.mff.cuni.cz/~pali/

kernel-power_2.6.28-pali1_armel.deb
kernel-power-modules_2.6.28-pali1_armel.deb
kernel-power-flasher_2.6.28-pali1_armel.deb

3.now under x-term install all 3 files
dpkg -i kernel-power
dpkg -i kernel-power-modules
dpkg -i kernel-power-flasher

3 after install make a reboot :)

step 4 - Finally choose the correct option from the multiboot menu

Tested faircrack and now scans all other channels other then just 6

Got to say is the first time i got this working since having the n900 :)

fatcobrah 2011-05-27 10:48

Re: [Announce] kernel-power v47
 
guys how to fix ( reboot command switch off the device ) ?

rajil.s 2011-05-27 20:31

Re: [Announce] kernel-power v47
 
It seems there is some issue with the phonet module in kernel v47. I am trying to setup usb networking using http://wiki.maemo.org/N900_USB_router. As soon as the computer requests an ip, N900 spits out
Quote:

Phonet unknown PEP type :1
and the internet stops working on the N900. When the usb interface is disconnected, the internet starts to work on N900 again.

Seems like a bug in kernel v47 (along with CSSU). I had it working fine in v46 + PR 1.3

------------------

Scratch that. The phonet error appears in v46 as well. It turned out i had to comment out the gateway in /etc/network/interface to get internet going.

Megaltariak 2011-05-27 21:00

Re: [Announce] kernel-power v47
 
What is exactly the problem with the bq27x00_battery module ?
I use it since old versions of kernel power and I have zero problem with it.
It is a lot more precise than the stock one and can read battery level even if bme is stopped (usb hostmode).

handaxe 2011-05-27 23:36

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by Megaltariak (Post 1017025)
What is exactly the problem with the bq27x00_battery module ?
I use it since old versions of kernel power and I have zero problem with it.
It is a lot more precise than the stock one and can read battery level even if bme is stopped (usb hostmode).


http://talk.maemo.org/showpost.php?p...unt=534http://

pali 2011-05-28 01:07

Re: [Announce] kernel-power v47
 
Ok, I can disable autoloading this modele in next release.
Note that I have no problem with bq27x00_battery too...

I do not agrre that it is DEPRECATED. You can found it in meego kernel. It is standard power-supply kernel platform module - no non standard like BME userspace app... (but if it has problem with BME, I disable autoloading)

Mentalist Traceur 2011-05-28 01:54

Re: [Announce] kernel-power v47
 
Thank you pali re not autoloading it. As mentioned, there's already a file in power kernel (/etc/modules) that allows users to add whatever modules they want to load - so those who wish can load bq27x00_battery at boot by adding it to that file anyway.

Anyway, I'm not sure about bq27x00_battery occupying the bus completely or breaking BME completely - HOWEVER, I am sure that when you combine bq27x00_battery AND Advanced Power, you get different battery readings that are wrong. I'm not qualified to explain why, but it does.

Radicalz38 2011-05-28 01:54

Re: [Announce] kernel-power v47
 
Hi just wanna give feedback that I also don't have problems with bq27x00_battery except with it showing conky some thousands of numbers on temperature and voltage which I know the cause of course. But other than that? Nothing :p

Radicalz38 2011-05-28 01:55

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by Mentalist Traceur (Post 1017110)
Thank you pali re not autoloading it. As mentioned, there's already a file in power kernel (/etc/modules) that allows users to add whatever modules they want to load - so those who wish can load bq27x00_battery at boot by adding it to that file anyway.

Anyway, I'm not sure about bq27x00_battery occupying the bus completely or breaking BME completely - HOWEVER, I am sure that when you combine bq27x00_battery AND Advanced Power, you get different battery readings that are wrong. I'm not qualified to explain why, but it does.

And ohh +1 to this post... Maybe this is the only problem I got :confused:

Creamy Goodness 2011-05-28 03:10

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by Radicalz38 (Post 1017111)
Hi just wanna give feedback that I also don't have problems with bq27x00_battery except with it showing conky some thousands of numbers on temperature and voltage which I know the cause of course. But other than that? Nothing :p

there's a fixed version in the official conky thread if you didn't know. i'm kinda lazy so it hasn't made it to the repo yet...
And yeah I didn't have problems with the autoloading either, kinda strange if it's crashing bme or whatever.

Radicalz38 2011-05-28 05:04

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by Creamy Goodness (Post 1017140)
there's a fixed version in the official conky thread if you didn't know. i'm kinda lazy so it hasn't made it to the repo yet...
And yeah I didn't have problems with the autoloading either, kinda strange if it's crashing bme or whatever.

Thanks! Didn't know it before you posted here Thanks CG! :D BTW is it on garage or attached only on the conky thread?

pali 2011-05-28 10:00

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by Mentalist Traceur (Post 1017110)
Anyway, I'm not sure about bq27x00_battery occupying the bus completely or breaking BME completely - HOWEVER, I am sure that when you combine bq27x00_battery AND Advanced Power, you get different battery readings that are wrong. I'm not qualified to explain why, but it does.

I think that BME only read values about battery throw /dev/i2c... (but I do not know... it is closed).

And bq27x00_battery does not occupying bus. It only call functions for reading values from i2c bus. All info which bq27x00_battery read is from official documantation. Note that I added support for more info (time to empty, time to full, ...) in this module and now it is in upstream - so it shouldnt be deprecated.

And why BME report different values (percentage is different in BME and in bq module)? I do not know, but bq reports *correct* values from documentation... So BME must report values which are changed or somethink else...

bq27x00_battery module was tested on other devices then nokia n900 and there was no error... - So I think problem is BME (which report different values)

m4r0v3r 2011-05-28 10:38

Re: [Announce] kernel-power v47
 
So far I have the lxp drivers, I have android, power kernel 47 and stock in multiboot, what do I need to do, to add the lxp drivers in? just install everything plus the boot image and it will create a boot item file and the kernel file and everything will work fine? or are the lxp drivers already in power47?

elie-7 2011-05-28 13:17

Re: [Announce] kernel-power v47
 
ok i blacklisted the bq27x00_battery module, but now the battery widget in the status menu is far from accurate, very far, and the tempreture widget stopped working, so how can i unblacklist it ??

pali 2011-05-28 13:31

Re: [Announce] kernel-power v47
 
Remove entry from blacklist and reboot phone or run this command as root:
$ modprobe bq27x00_battery

Note that BME does not support reporting temperature. Only bq27x00_battery module.

ndi 2011-05-28 20:36

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by pali (Post 1017241)
And why BME report different values (percentage is different in BME and in bq module)? I do not know, but bq reports *correct* values from documentation... So BME must report values which are changed or somethink else...

Ever since I upgraded battery widget, it shows different percentage. IIRC, the changelog says it reads from bq.

So, what you are saying is that when I get widget values of 40% left, and the phone beeps and shuts itself off (via BME), I actually have 40% left? What am I missing here, multimeter says BME is right.

Also, it goes nuts for small charges. Had battery at 40%, charged 10 minutes. Nokia says 50%, widget says 90%. Voltage is neigh identical. And at 3.9 volts, it's kind of neither.

--

Battery level has been a bit of a pet peeve of mine, since so many gadgets I have, some quite cheap, are so accurate. All Maemo seems to do is a decay average. Or less, a rate-limited convergence. Not to mention its odd way of not feeding user on charge.

I assume that it's not your code that does percentage calculation, so I'm probably just venting.

Estel 2011-05-28 20:42

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by joerg_rw (Post 1004498)
bq27x00.ko kernel module is deprecated as it breaks bme by exclusively occupying the I2C bus to that chip. BME otoh wants to access the chip directly, and so segfaults whenever bq27x00.ko is loaded.

Please keep this in mind

thanks
/jOERG

I think that Joerg mean in that post that bq27x00 is deprecated on our device due to chip and BME characteristic - but of course I can't be sure, I'm not specialist and and that is just how i understand it. would be glad to settle this thing once for all.

And Pali, what about my question of contacting council about kernel maintainer status? It's really pity that "extras" version is 23 or so (in fact it DOESN'T work now - extras not-working :/), and kernel-power v47 will sit in devel forever. And one day longer, cause no one can push it up, no matter of votes or whatever.

pali 2011-05-28 21:17

Re: [Announce] kernel-power v47
 
@ndi:
I looked to datasheet of bq27x00 chip again. Percentage which return chip is defined as: nominal available capacity as / last measured discharge value. So you can get 100% when you charge battery to full.

And I see that BME nevert report 100%. So BME must report percentage in other way (e.g. available capacity / design capacity)

So I think this is problem...

@estel:
I contacted countil, but without responce...

Tigerite 2011-05-29 08:17

Re: [Announce] kernel-power v47
 
pali, is there any reason in particular that the minstrel_aziwopka patch was taken out of the power47 series? I know it'd been commented out for a long time, but Adam Polkosnik posted a fixed version here (along with one for armthumb as well, which is cleaner than having the arm-proc-v7 diff that removes a comment so armthumb can patch successfully) that can replace it?

Finally can you please also include this patch into kernel-power 48? It's for compcache/zram - I'm hoping to have a package out for it very soon. You've got admin privs to the kernel-power garage page, by the way :)

retsaw 2011-05-29 08:43

Re: [Announce] kernel-power v47
 
One thing I've noticed about the bq27x00 module is that if you unload the module (i.e. run "modprobe -r bq27x00_battery") then my N900 will reboot after 5-10 minutes.

vi_ 2011-05-29 09:22

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by Tigerite (Post 1017822)
pali, is there any reason in particular that the minstrel_aziwopka patch was taken out of the power47 series? I know it'd been commented out for a long time, but Adam Polkosnik posted a fixed version here (along with one for armthumb as well, which is cleaner than having the arm-proc-v7 diff that removes a comment so armthumb can patch successfully) that can replace it?

Finally can you please also include this patch into kernel-power 48? It's for compcache/zram - I'm hoping to have a package out for it very soon. You've got admin privs to the kernel-power garage page, by the way :)

+1 on the compcache patch.

I am meego horny for compcache.

pali 2011-05-29 10:11

Re: [Announce] kernel-power v47
 
I included both patches to my git repository, but I didnt test it yet.

New kernel-power release wont be before july. Now I do not have time for testing kernel-power... (school)

elie-7 2011-05-29 18:21

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by pali (Post 1017868)
I included both patches to my git repository, but I didnt test it yet.

New kernel-power release wont be before july. Now I do not have time for testing kernel-power... (school)

thats unlucky mate, my school ends on 17 june (its a friday, so we party on saturday :D ) , exams just suck sometimes.......

augustthe 2011-06-04 12:49

Re: [Announce] kernel-power v47
 
since i updated the power kernel 47 my battery life is horrible, i'm getting 7 hours battery life now as before i us to get 1 day with my device, can anybody help me out

handaxe 2011-06-04 20:03

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by retsaw (Post 1017825)
One thing I've noticed about the bq27x00 module is that if you unload the module (i.e. run "modprobe -r bq27x00_battery") then my N900 will reboot after 5-10 minutes.

Yes indeed it is so but it never did this before the latest CSSU. Of that I am certain on my n900.

demolition 2011-06-04 20:32

Re: [Announce] kernel-power v47
 
@Pali & others helping this along.
Is there a changelog, or even a summary for those still running v46?

Also, is it ok if someone not on the dev or core testing teams posts (i.e. someone like me) in that "ask the council" thread about what estel asked for? If they're being slow, for good reason possibly, the request should be out in the open.
- I assume this is the reason v47 isn't showing on the package page that gets linked to by FAM's package link button?

colin.stephane 2011-06-04 22:02

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by augustthe (Post 1022181)
since i updated the power kernel 47 my battery life is horrible, i'm getting 7 hours battery life now as before i us to get 1 day with my device, can anybody help me out

Sorry if it look like I loose patience, but damn, can you please use this command line as root, and report here the output :

Code:

clear && ID=$(id -un) ; if [ ${ID} != "root" ] ; then echo "You are not 'root', please use this command line as 'root' ..." ; else echo "Ok, you are 'root' ..." ; if grep -q "blacklist bq27x00_battery" /etc/modprobe.d/blacklist 2>/dev/null ; then echo "Patch already applyed, nothing to be done ..." ; echo "" ; else echo "Applying patch now ..." ; echo "blacklist bq27x00_battery" >>/etc/modprobe.d/blacklist ; echo "" ; echo "DONE, PLEASE REBOOT YOUR DEVICE ..." ; echo "" ; fi ; fi
Obviously, if this command line output "DONE, PLEASE REBOOT YOUR DEVICE ..." as last sentence, report and reboot the device (I mean don't wait for me asking you to reboot ...).

A++

Erazor 2011-06-05 09:41

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by rajil.s (Post 1014696)
It isnt working for me either, giving the error 3-580-22. The support guy of Joikuspot said
"That error message might suggest that the installation process was not finished just like it should"

stuck!

when joikuspot stop working.
try this

Code:

modprobe JoikuSpot_Bouncer && /usr/bin/joikuspot
works fine for me

Vento 2011-06-05 13:10

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by colin.stephane (Post 1022392)
Sorry if it look like I loose patience, but damn, can you please use this command line as root, and report here the output :

Code:

clear && ID=$(id -un) ; if [ ${ID} != "root" ] ; then echo "You are not 'root', please use this command line as 'root' ..." ; else echo "Ok, you are 'root' ..." ; if grep -q "bq27x00_battery" /etc/modprobe.d/blacklist 2>/dev/null ; then echo "Patch already applyed, nothing to be done ..." ; echo "" ; else echo "Applying patch now ..." ; echo "bq27x00_battery" >>/etc/modprobe.d/blacklist ; echo "" ; echo "DONE, PLEASE REBOOT YOUR DEVICE ..." ; echo "" ; fi ; fi
Obviously, if this command line output "DONE, PLEASE REBOOT YOUR DEVICE ..." as last sentence, report and reboot the device (I mean don't wait for me asking you to reboot ...).

A++

So... Will I save it like "script.sh" and run it in terminal?

LTman 2011-06-05 13:56

Re: [Announce] kernel-power v47
 
hey guys could some one explain this link for me i mean does mean goodbye 2.6.28 and hello 2.6.35 for our "phones"
https://lists.ubuntu.com/archives/na...ch/008765.html

godofwar424 2011-06-05 15:38

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by LTman (Post 1022646)
hey guys could some one explain this link for me i mean does mean goodbye 2.6.28 and hello 2.6.35 for our "phones"
https://lists.ubuntu.com/archives/na...ch/008765.html

I am also very interested in what this means!

Could anyone shed some light on this??

fw190 2011-06-05 16:37

Re: [Announce] kernel-power v47
 
now this is interesting but probably nothing good for us :) although I wish I' wrong .

epitaph 2011-06-05 16:51

Re: [Announce] kernel-power v47
 
Quote:

Originally Posted by fw190 (Post 1022711)
now this is interesting but probably nothing good for us :) although I wish I' wrong .

You can download and compile yourself: Source

LTman 2011-06-05 17:50

Re: [Announce] kernel-power v47
 
but unless devs properly trim it for the n900 it will downgrade the n900 performance istead of upgrade


All times are GMT. The time now is 04:14.

vBulletin® Version 3.8.8