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 v51 in Extras-Devel (https://talk.maemo.org/showthread.php?t=85665)

azkay 2012-09-12 08:56

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
uname -r tells me I'm running 51, Application Manager has Extras Devel enabled, refreshed but still tells me no updates available.

How do I go from 51 to 51r1?

pali 2012-09-12 16:17

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Hi, after long time here is prerelease kernel-power v52

Source code is in garage git, here is changelog:

kernel-power (1:2.6.28-10power52) fremantle; urgency=low

* Backport upstream patch: udf-use-hw-sector-size.diff (This fix UDF FS support on SD cards and USB disks)
* Update bq2415x_charger patch: (use kstrtol, use dev_dbg, call sysfs_notify, rename N900 charger to bq24150a, fix reporting bad values, disable charging when charger disconnected)
* Added patch kstrtol.diff which define macro kstrtol as strict_strtol
* Update into about kernel-power-bootimg package
* Package kernel-power-bootimg does not provide any features
* Enable more netfilter modules
* Added driver rx51_battery which export battery temperature, design capacity and voltage to sysfs

-- Pali Rohár <hidden> Wed, 12 Sep 2012 18:15:13 +0200

ade 2012-09-12 17:19

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Running 2.6.28.10-power52 now :)

I do have a "side" question:
Using u-boot, I only installed the bootimage and modules. It all went okay and I could boot into power52.
But dependency problems will arise afterward (usb hostmode depending on flasher >= power51 etc.) if you don't install power-flasher and power-kernel. After installing both, the dependency problems where gone.

The question itself is: why would I need power-flasher and power-kernel (in NAND), and why do parts like usb hostmode depend on it (and not also optionally on the corresponding bootimage for example)?

pali 2012-09-12 17:57

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
We have decided that -bootimg packages will not provide any features. If you try to install package which depends on some feature then apt-get and HAM will install -bootimg package as default instead -flasher...

I'm preparing patch for maemo which ask user before flashing new kernel if he really want do it. So then installing -flasher package will not flash kernel without user accept.

Patch will be intellingent, it will ask only if you will change kernel (eg. nokia to kernel-power, or kernel to u-boot). When you will do updating, it should not ask...

pali 2012-09-12 18:56

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
For reading battery temperature (in tenths of Celsius), battery design capacity and voltage via new rx51_battery driver use:
$ cat /sys/class/power_supply/rx51-battery/uevent

This is new kernel driver (I wrote it yesterday) which read RAW values and convert it by RE conversation formula...

projekt 2012-09-12 19:54

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Hi
the package manager refuses to install power kernel 52 -
"not compatible" Is it possible to install with apt-get?

independent 2012-09-12 21:06

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Quote:

Originally Posted by projekt (Post 1265579)
Hi
the package manager refuses to install power kernel 52 -
"not compatible" Is it possible to install with apt-get?

Quick 'n dirty way to install debs when you know what the dependencies are and have the actual package is (as root):
Code:

dpkg -i packagename.deb

azkay 2012-09-12 22:16

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
Installed the 52 and when I choose USB host mode it tells me "Error: charger attached".

nkirk 2012-09-16 16:33

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
http://talk.maemo.org/showthread.php?t=85658

Use the above updated usb mode deb.

//nkirk

arnoldux 2012-09-16 21:23

Re: [Announce] kernel-power stable v51 in Extras-Devel
 
how can i downgrade to kp50?


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

vBulletin® Version 3.8.8