Active Topics

 


Reply
Thread Tools
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#1121
At second thought, I think that whole i2c access thing reminds me "issue of software quality" (people reading texrat blog will know what I mean). Even *if* by some unknown reason, BMI got a factor that prevent damage, we should not follow "wrong" path of coding things, i.e we should not accept wrong practices.

Also, we are not sure if someone got problems, but, we are also not sure that one day, someone won't get real software/hardware damage by that, and we shouldn't risk it.

So, thanks for pushing this further and explaining (both irc log and vi_ post)
__________________
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: 536 | Thanked: 81 times | Joined on May 2011 @ Russia
#1122
in extras-devel yet?
 
towhatend's Avatar
Posts: 230 | Thanked: 185 times | Joined on Jul 2010 @ Sweden
#1123
Originally Posted by zurrain101 View Post
in extras-devel yet?
No, you can take a look at this page, no need to ask in the future:
http://maemo.org/packages/repository...ree_armel/all/.
 

The Following User Says Thank You to towhatend For This Useful Post:
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#1124
Originally Posted by zurrain101 View Post
in extras-devel yet?
It would have been mentioned, and as well you would have received update notification in HAM/FAP (if you check the repositories at least once a week) and via the packages search as shown above.So, please install manually using the linked packages from the 1st post, and report wrong battery values afterwards.

Last edited by don_falcone; 2011-07-30 at 15:11.
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1125
@pali - I am unable to build kp48 from your git repository under scratchbox.

This are the steps i follow:

Code:
[sbox-FREMANTLE_ARMEL: ~/workspace/kp48/git/kernel-power/kernel-power-2.6.28] >git clone http://atrey.karlin.mff.cuni.cz/~pali/kernel-power.git

[sbox-FREMANTLE_ARMEL: ~/workspace/kp48/git/kernel-power/kernel-power-2.6.28] >cd kernel-power/kernel-power-2.6.28/

[sbox-FREMANTLE_ARMEL: ~/workspace/kp48/git/kernel-power/kernel-power-2.6.28] > dpkg-buildpackage -rfakeroot

dpkg-buildpackage: source package is kernel-power
dpkg-buildpackage: source version is 1:2.6.28-10power48
dpkg-buildpackage: source changed by Pali Roh��r <pali.rohar@gmail.com>
dpkg-buildpackage: host architecture armel
dpkg-buildpackage: source version without epoch 2.6.28-10power48
: Using Scratchbox tools to satisfy builddeps
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -rf /home/maemo/workspace/kp48/git/kernel-power/kernel-power-2.6.28/debian/build
rm -f debian/files debian/kernel-power-flasher.postinst debian/kernel-power-modules.postinst debian/kernel-power-modules.postrm
rm -f source-copy-stamp source-stamp configure-stamp kernel-stamp modules-stamp kernel-source-stamp
dh_clean
 dpkg-source -b kernel-power-2.6.28
dpkg-source: building kernel-power in kernel-power_2.6.28-10power48.tar.gz
dpkg-source: building kernel-power in kernel-power_2.6.28-10power48.dsc
 debian/rules build
dh_testdir
mkdir -p /home/maemo/workspace/kp48/git/kernel-power/kernel-power-2.6.28/debian/build/kernel-power-source
/scratchbox/tools/bin/make clean
make[1]: Entering directory `/home/maemo/workspace/kp48/git/kernel-power/kernel-power-2.6.28'
make[1]: *** No rule to make target `clean'.  Stop.
make[1]: Leaving directory `/home/maemo/workspace/kp48/git/kernel-power/kernel-power-2.6.28'
make: *** [source-copy-stamp] Error 2
[sbox-FREMANTLE_ARMEL: ~/workspace/kp48/git/kernel-power/kernel-power-2.6.28] >
Please advice if I am missing something and what are the correct steps.

Thanks.
 

The Following User Says Thank You to freemangordon For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#1126
You need to download source code of linux kernel 2.6.28 and unpack it into same directory
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1127
Originally Posted by pali View Post
You need to download source code of linux kernel 2.6.28 and unpack it into same directory
I've tried that too, same result.

And which is the "same directory"?

Directory you run git clone... in?
kernel-power?
kernel-power/kernel-power-2.6.28?

And as I understood from your previous posts that you are using madde for your development - did you ever try to compile KP in scratchbox?
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#1128
download linux kernel 2.6.28 tarball. you can use apt-get source kernel-power or kernel.org website. Then you will have tarball - unpack it - it will unpack into subfolder. Then move all files from this subfolder to kernel-power/kernel-power-2.6.28

I did not used scratchbox - but it must work. It is same as madde - it use dpkg-buildpackage which is same on all debian system.
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#1129
Originally Posted by pali View Post
download linux kernel 2.6.28 tarball. you can use apt-get source kernel-power or kernel.org website. Then you will have tarball - unpack it - it will unpack into subfolder. Then move all files from this subfolder to kernel-power/kernel-power-2.6.28

I did not used scratchbox - but it must work. It is same as madde - it use dpkg-buildpackage which is same on all debian system.
...and the result:

Applying patch phys_to_page.diff
Applying patch ext4-data-corruption.diff
2 out of 2 hunks FAILED
1 out of 1 hunk FAILED
2 out of 2 hunks FAILED
6 out of 6 hunks FAILED
5 out of 5 hunks FAILED
9 out of 9 hunks FAILED
1 out of 1 hunk FAILED
6 out of 6 hunks FAILED
2 out of 2 hunks FAILED
8 out of 8 hunks FAILED
3 out of 3 hunks FAILED
1 out of 1 hunk FAILED
Patch ext4-data-corruption.diff does not apply (enforce with -f)
make: *** [source-copy-stamp] Error 1
 

The Following 3 Users Say Thank You to freemangordon For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#1130
 
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 19:36.