Active Topics

 


Reply
Thread Tools
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1131
Originally Posted by pali View Post
You have bad tarball. use this:
ftp://ftp.kernel.org/pub/linux/kerne...-2.6.28.tar.gz
It is from maemo repository, why you say it is bad. I think you (or author) should re-write this patch so it could be applied against kernel in maemo repos, otherwise you won't be able to upload KP48 in extras-devel.
 
moepda's Avatar
Posts: 334 | Thanked: 118 times | Joined on Apr 2010 @ United Kingdom
#1132
Originally Posted by pali View Post
After discusion on #maemo with DocScrutinizer and ShadowJK we decided to disable one i2c patch which break API and can damage n900 (patch was added in v45). When this patch is disabled - bme is broken when bq modules is loaded.

So autoloading bq module is disabled too and now is not possible to have both bme and bq. (bq module is still installed so after stopping bme is possible to manually load it).

Now I recompiling v48 and publish new version as soon as.
ok , so if using latest release of v48 (28-Jul-2011 18:46) what do we use to display temperature ? and can it be set to load on boot ?
wouldnt know how to stop bme to start bq but dont consider myself out of my depth with oc/power kernel etc

Last edited by moepda; 2011-07-31 at 16:56.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#1133
Originally Posted by freemangordon View Post
It is from maemo repository, why you say it is bad. I think you (or author) should re-write this patch so it could be applied against kernel in maemo repos, otherwise you won't be able to upload KP48 in extras-devel.
The funniest thing, is that kp47 is also based on non-maemo kernel. Maybe this is the case, why it can't be promoted to testing. Someone suggested it before - to re-write for maemo kernel...

---

As for battery temperature - AFAIK nothing, if You want to keep bme running. I hope I'm wrong, and someone will correct me (only thing I can think about - i2ctools?).
__________________
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!
 

The Following User Says Thank You to Estel For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#1134
I do not understand why I could use maemo kernel tarball for kernel-power source dsc package... Do you know something about Debian packages?? I think this is stupid reason.

and for temp: the best will be to write library which can read battery properties from bq27x00_battery module via sysfs. this library will be loaded via LD_PRELOAD, so BME will be reading values from bq module instead directly i2c bus.

if somebody can help me with writing library we will have earlier working bq and bme together. (library needs to rewrite function ioctl)
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#1135
Since updating from kp47 to 48, i get reproducible reboots. Happens when switching to bleeding edge wl1251 drivers using the respective status applet (status-area-wlan-driver-selector-applet; 0.2.2-3). When they are loaded and i have to select the WiFi AP.

Full syslog available on request if any1 interested, too long to post and analyzing is limited as i'm at the airport ATM. Only GLIB CRITICAL attached for now.

Is this happening for someone too?
Attached Files
File Type: txt glib_critical.txt (7.9 KB, 124 views)
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#1136
if did not recompile wl1251 bleeding edge driver agains kernel-power v48 you could have problem...
 
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1137
Originally Posted by pali View Post
I do not understand why I could use maemo kernel tarball for kernel-power source dsc package... Do you know something about Debian packages?? I think this is stupid reason.
Pali, what stupid reason could be the fact that patches do not apply against kernel source which was tested by nokia (stock kernel) and afterwards by community (KP up to version 46). And you have already been told that not using it prevents KP from corectly entering extras-devel.

And I don't get it why you insist on using kernel source tarball outside maemo repos. Will you please give some reasoning besides 'that is the way I like it, take it or leave it'
 

The Following User Says Thank You to freemangordon For This Useful Post:
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#1138
Thanks. I did not, cause the general opinion was that is wasn't necessary for 47, and no one mentioned the necessity for 48 also. What is the relevant change in 48 that we should recompile this time?
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#1139
Originally Posted by don_falcone View Post
Thanks. I did not, cause the general opinion was that is wasn't necessary for 47, and no one mentioned the necessity for 48 also. What is the relevant change in 48 that we should recompile this time?
Maybe it will work or maybe not. Always is recomment to compile modules agains current version and not stripping version symbols (for ability to load it in other version).

Or maybe this is not problem with wl1251 drivers...
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#1140
Originally Posted by freemangordon View Post
Pali, what stupid reason could be the fact that patches do not apply against kernel source which was tested by nokia (stock kernel) and afterwards by community (KP up to version 46). And you have already been told that not using it prevents KP from corectly entering extras-devel.

And I don't get it why you insist on using kernel source tarball outside maemo repos. Will you please give some reasoning besides 'that is the way I like it, take it or leave it'
In Debian packaing manual is written to use orig tarball from upstream and all source changes should be in debian/patches/ (which will be applied when compiling/unpacking) - so this is reason.

I generated patch(es) of all changes in nokia stock kernel and it is in debian/patches/ (some of them was done by titan).

So kernel-power is nokia stock kernel (2.8.28 tarball + nokia patches) + our patches.
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Reply

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


 
Forum Jump


All times are GMT. The time now is 15:03.