Reply
Thread Tools
Posts: 650 | Thanked: 497 times | Joined on Oct 2008 @ Ghent, Belgium
#521
Originally Posted by N900@900MHz View Post
just tested GPS with Sygic no problems here.
I have power kernel v47 and CSSU (latest)
Strangely enough, when I tested now it looked OK as well, but only when outside with plenty of sky visible.
So maybe it isn't A-GPS but cell tower location (since indoors I get no location updates)....
__________________
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#522
Originally Posted by MastaG View Post
Since Pali joined the CSSU team and freemangordon is providing DSP patches for the kernel and userland to support 720p record/playback.
Does this mean we'll eventually see a CSSU that supports everything?
720p playback/record, USB OTG, overclocking, recovery console etc..?
Probably one day, but not with just CSSU update. CSSU is meant to provide patches/fixes/new features that can't be easily added by packages in extras, for example. so as for hostmode (i personally don't like "USB on the go" name, it's just marketing chitter), there is HEN project, and i think it will be keep that way. Also, power kernel is not going to be merged into CSSU.

I also hope that feemangordon work will allow us to watch/record 720p video - i hope that he won't get on ambition and will not stop working on it, he seems very upset that pali don't wanted to include his packages in way that break video watching.

Anyway, I'm with pali on this - i also can't imagine including package that will ''break'' userland media playing - should be included in parallel with userland updates available in extras devel at least. When i just think about massive outcry and 300+ pages of bug reporting about broken videos here, i feel cold ;P If just temperature/10 thing spammed this topic so much, how we will look with "upgraded" thing that make videos unplayable, and we can only reply by "it lacks userland application by now, sta tuned..."? Brrrr....

so, i hope that no one will get to high in ambition (sorry if i interpreted that posts totally wrong, what also may be the case here), and continue hard work, cause i can't imagine someone other to deliver such patches as freemangordon's - sorry if someone else is able to do it, but i haven't heard about such a person Yea, we REALLY appreciate your work freeman, and hope for more!
 
Posts: 650 | Thanked: 497 times | Joined on Oct 2008 @ Ghent, Belgium
#523
Originally Posted by Estel View Post
<snip>... so as for hostmode (i personally don't like "USB on the go" name, it's just marketing chitter)...<snip>
It's even more... USB host and USB-on-the-go are two different things. Hostmode is what it says (being USB host or master), but USB OTG is actually the protocol that allows host and client to negotiate who is master, or to even swap roles.
__________________
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro
 

The Following 2 Users Say Thank You to petur For This Useful Post:
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#524
Originally Posted by Estel View Post
Probably one day, but not with just CSSU update. CSSU is meant to provide patches/fixes/new features that can't be easily added by packages in extras, for example. so as for hostmode (i personally don't like "USB on the go" name, it's just marketing chitter), there is HEN project, and i think it will be keep that way. Also, power kernel is not going to be merged into CSSU.

I also hope that feemangordon work will allow us to watch/record 720p video - i hope that he won't get on ambition and will not stop working on it, he seems very upset that pali don't wanted to include his packages in way that break video watching.

Anyway, I'm with pali on this - i also can't imagine including package that will ''break'' userland media playing - should be included in parallel with userland updates available in extras devel at least. When i just think about massive outcry and 300+ pages of bug reporting about broken videos here, i feel cold ;P If just temperature/10 thing spammed this topic so much, how we will look with "upgraded" thing that make videos unplayable, and we can only reply by "it lacks userland application by now, sta tuned..."? Brrrr....

so, i hope that no one will get to high in ambition (sorry if i interpreted that posts totally wrong, what also may be the case here), and continue hard work, cause i can't imagine someone other to deliver such patches as freemangordon's - sorry if someone else is able to do it, but i haven't heard about such a person Yea, we REALLY appreciate your work freeman, and hope for more!
Oh, somthing that could potentially break some functions of your device in the development repositorys? who would suggest something so reckless?

Everyone knows that 'good' software just works without any testing whatsoever and that the development repos is just where we hide stuff because we feel nubes are not good enough to use it.

So im totally with you, lets keep all of these stupid development packages OUT of the development repos just to keep the dumbasses happy.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following 7 Users Say Thank You to vi_ For This Useful Post:
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#525
Originally Posted by vi_ View Post
Oh, somthing that could potentially break some functions of your device in the development repositorys? who would suggest something so reckless?

Everyone knows that 'good' software just works without any testing whatsoever and that the development repos is just where we hide stuff because we feel nubes are not good enough to use it.

So im totally with you, lets keep all of these stupid development packages OUT of the development repos just to keep the dumbasses happy.
Man I love your writing style :P Back on topic: the perfect situation (in my oppinion) would be freemangordon also joining CSSU team preparing packages to be compatible with both old kernel and kernel with his dsp pathes (it has to be possible, it just has... even via some external config file read at startup of every broken deamons and system services) and, when this update is pushed, further work on implementing 720 hd video playback in kernel (and obviously making this new kernel-power package depend on CSSU, but only when CSSU release reaches 'stable' state). This way 720 playback would be possible with some new power kernel release and with stock kernel (or older power kernels) media would still work as previously. That's my oppinion on topic, but there's not much sense writing it here, because neither I nor you reading this thread are to decide (unless someone in charge of CSSU and powerful enough to make such decision reads this words)
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#526
@ estel ... looks like you have missed my post with patch that do not break anything. No problem, could happen to everyone this thread is so bloated these days. http://talk.maemo.org/showpost.php?p...&postcount=452
 

The Following 6 Users Say Thank You to freemangordon For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#527
Originally Posted by Pillum View Post
since 47, someplayer and symfonie isnt working more anymore...the sound is scrambled
Sounds issues as above are due to gstreamer0.10-av (now updated so fixed(????)). For most, that package was pulled in by a changed dependency for ogg-support between versions 1.5 and 1.7.

Both power47 and CSSU have been blamed for gstreamer0.10-av's sins.
 

The Following User Says Thank You to handaxe For This Useful Post:
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#528
Originally Posted by handaxe View Post
Sounds issues as above are due to gstreamer0.10-av (now updated so fixed(????)). For most, that package was pulled in by a changed dependency for ogg-support between versions 1.5 and 1.7.

Both power47 and CSSU have been blamed for gstreamer0.10-av's sins.
We should hang the developer for very bad timing :P He unfortunately released buggy package in the same time as some cssu update and kernel update... Releasing it few days later would save a few posts from both threads. As well as people complaining thay cannot boot while they manually made some changes and made typos in filenames (at least two people from this thread).
 

The Following User Says Thank You to misiak For This Useful Post:
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#529
Originally Posted by pali View Post

New version v47 of kernel-power released!


News:
* Compiled more usb host modules
* Backported bq27x00_battery module (battery status)
* Some patches from garage projects
* Multiboot support
* Fixed problem with JoikuSpot_Bouncer

Update:
Use Hildon Application Manager or via apt-get

Step 1 Installation:
In Hildon Application Manager install package: Linux Kernel for power user
Or via apt-get package: kernel-power-flasher

Step 2 Multiboot support:
First see step 1.
Then in Hildon Application Manager install package: Linux Kernel for power user (boot image)
Or via apt-get package: kernel-power-bootimg

All work is in my power-kernel git repository (fork of garage project):
git clone http://atrey.karlin.mff.cuni.cz/~pali/kernel-power.git
Hi pali,

The new driver bq27x00_battery does not report properly parameters :

Here is output from the new driver :

Code:
-bash-2.05b# lshal -u /org/freedesktop/Hal/devices/computer_power_supply_battery_bq27200_0
udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_bq27200_0'
  battery.charge_level.current = 0  (0x0)  (int)
  battery.charge_level.design = 2056  (0x808)  (int)
  battery.charge_level.last_full = 1531  (0x5fb)  (int)
  battery.charge_level.percentage = 0  (0x0)  (int)
  battery.charge_level.rate = 161  (0xa1)  (int)
  battery.is_rechargeable = true  (bool)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = true  (bool)
  battery.reporting.current = 0  (0x0)  (int)
  battery.reporting.design = 2056  (0x808)  (int)
  battery.reporting.last_full = 1531  (0x5fb)  (int)
  battery.reporting.rate = 161  (0xa1)  (int)
  battery.reporting.technology = 'Li-ion'  (string)
  battery.reporting.unit = 'mAh'  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.type = 'primary'  (string)
  battery.voltage.current = 3757  (0xead)  (int)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Generic Battery Device'  (string)
  info.subsystem = 'power_supply'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_bq27200_0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'power_supply'  (string)
  linux.sysfs_path = '/sys/class/power_supply/bq27200-0'  (string)
And here is output from bme :

Code:
-bash-2.05b# lshal -u /org/freedesktop/Hal/devices/bme
udi = '/org/freedesktop/Hal/devices/bme'
  battery.charge_level.capacity_state = 'ok'  (string)
  battery.charge_level.current = 3  (0x3)  (int)
  battery.charge_level.design = 8  (0x8)  (int)
  battery.charge_level.last_full = 0  (0x0)  (int)
  battery.charge_level.percentage = 25  (0x19)  (int)
  battery.charge_level.unit = 'bars'  (string)
  battery.is_rechargeable = true  (bool)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = true  (bool)
  battery.remaining_time = 0  (0x0)  (int)
  battery.remaining_time.calculate_per_time = false  (bool)
  battery.reporting.current = 311  (0x137)  (int)
  battery.reporting.design = 1241  (0x4d9)  (int)
  battery.reporting.last_full = 0  (0x0)  (int)
  battery.reporting.unit = 'mAh'  (string)
  battery.type = 'pda'  (string)
  battery.voltage.current = 3684  (0xe64)  (int)
  battery.voltage.design = 4200  (0x1068)  (int)
  battery.voltage.unit = 'mV'  (string)
  info.addons = {'hald-addon-bme'} (string list)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Battery (BME-HAL)'  (string)
  info.subsystem = 'unknown'  (string)
  info.udi = '/org/freedesktop/Hal/devices/bme'  (string)
  maemo.charger.connection_status = 'disconnected'  (string)
  maemo.charger.type = 'none'  (string)
  maemo.rechargeable.charging_status = 'off'  (string)
  maemo.rechargeable.positive_rate = false  (bool)

Oviously, the corrects values are the ones from bme.

Hope it help ...

A++

PS : I have also posted same message here : http://talk.maemo.org/showpost.php?p...&postcount=799

Last edited by colin.stephane; 2011-05-11 at 19:30.
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#530
Originally Posted by colin.stephane View Post
Hi pali,

The new driver bq27x00_battery does not report properly parameters :

Here is output from the new driver :

Code:
-bash-2.05b# lshal -u /org/freedesktop/Hal/devices/computer_power_supply_battery_bq27200_0
udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_bq27200_0'
  battery.charge_level.current = 0  (0x0)  (int)
  battery.charge_level.design = 2056  (0x808)  (int)
  battery.charge_level.last_full = 1531  (0x5fb)  (int)
  battery.charge_level.percentage = 0  (0x0)  (int)
  battery.charge_level.rate = 161  (0xa1)  (int)
  battery.is_rechargeable = true  (bool)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = true  (bool)
  battery.reporting.current = 0  (0x0)  (int)
  battery.reporting.design = 2056  (0x808)  (int)
  battery.reporting.last_full = 1531  (0x5fb)  (int)
  battery.reporting.rate = 161  (0xa1)  (int)
  battery.reporting.technology = 'Li-ion'  (string)
  battery.reporting.unit = 'mAh'  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.type = 'primary'  (string)
  battery.voltage.current = 3757  (0xead)  (int)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Generic Battery Device'  (string)
  info.subsystem = 'power_supply'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_bq27200_0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'power_supply'  (string)
  linux.sysfs_path = '/sys/class/power_supply/bq27200-0'  (string)
And here is output from bme :

Code:
-bash-2.05b# lshal -u /org/freedesktop/Hal/devices/bme
udi = '/org/freedesktop/Hal/devices/bme'
  battery.charge_level.capacity_state = 'ok'  (string)
  battery.charge_level.current = 3  (0x3)  (int)
  battery.charge_level.design = 8  (0x8)  (int)
  battery.charge_level.last_full = 0  (0x0)  (int)
  battery.charge_level.percentage = 25  (0x19)  (int)
  battery.charge_level.unit = 'bars'  (string)
  battery.is_rechargeable = true  (bool)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = true  (bool)
  battery.remaining_time = 0  (0x0)  (int)
  battery.remaining_time.calculate_per_time = false  (bool)
  battery.reporting.current = 311  (0x137)  (int)
  battery.reporting.design = 1241  (0x4d9)  (int)
  battery.reporting.last_full = 0  (0x0)  (int)
  battery.reporting.unit = 'mAh'  (string)
  battery.type = 'pda'  (string)
  battery.voltage.current = 3684  (0xe64)  (int)
  battery.voltage.design = 4200  (0x1068)  (int)
  battery.voltage.unit = 'mV'  (string)
  info.addons = {'hald-addon-bme'} (string list)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Battery (BME-HAL)'  (string)
  info.subsystem = 'unknown'  (string)
  info.udi = '/org/freedesktop/Hal/devices/bme'  (string)
  maemo.charger.connection_status = 'disconnected'  (string)
  maemo.charger.type = 'none'  (string)
  maemo.rechargeable.charging_status = 'off'  (string)
  maemo.rechargeable.positive_rate = false  (bool)

Oviously, the corrects values are the ones from bme.

Hope it help ...

A++

PS : I have also posted same message here : http://talk.maemo.org/showpost.php?p...&postcount=799
This values are exported by HAL, not by my program/module, so I cannot change it. And it is correct, see specification battery.charge_level of HAL. BME has bad values (it use its own values which is not correct for HAL).

Do not create duplicate messages!!! (Remove duplicate from other threads!)
 

The Following 5 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

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:48.