[shr] i did something really stupid...help needed with opkg

2009-07-11 Thread Robin Paulson
yeah, like really really dumb.

i've been taking a few packages from debian and installing them on my
shr system. all was going well, until i got to libc6. here i should
have stopped - this is a pretty critical part of any system, unlike
gphoto and other trivial stuff that i'd installed previously

my system works fine as far as i can tell - it boots, everything runs
fine, but at every opkg update  opkg upgrade i get this:

Multiple packages (libc6 and libc6) providing same name marked HOLD or
PREFER.  Using latest.
Multiple packages (libc6 and libc6) providing same name marked HOLD or
PREFER.  Using latest.
Multiple packages (libc6 and libc6) providing same name marked HOLD or
PREFER.  Using latest.
Multiple packages (libc6 and libc6) providing same name marked HOLD or
PREFER.  Using latest.
Upgrading libc6 on root from 2.6.1-r16 to 2.7-18...
Collected errors:
 * ERROR: Package libc6 (parent libc6) is not available from any configured src.
 * Failed to download libc6. Perhaps you need to run 'opkg update'?

but it never completes. i should say, all the other packages upgrade
just fine. i think the issue is with the install scripts, there are
commands in them which aren't relevant to the freerunner (dpkg for
instance), so it's never going to complete

opkg list_installed |grep libc6

returns the version from shr (2.6)

opkg install -force-reinstall and opkg install -force-downgrade give
the same messages as above

so, can anyone offer advice? i want to return to the original shr
version without re-flashing if possible

cheers

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: lowering gps sampling rate

2009-07-11 Thread mqy

Longer sampling rate does not save that much energy as expected. Also refer
to this [1].

Omgps uses fixed 1Hz send rate for now, but ever tested a lot (even FIXNOW)
before release.
Incoming version will support configuring sampling rate which is implemented
by sleep().

During my last trip (mountain climbing), we were told at hotel that the
mountain is difficult to climb, almost no way. I did a quick hacking:

To help find back way upon get lost, current position is displayed on track
replay; 
To save a bit energy, sampling rate was increased to 5 seconds

For next mountain climbing, I bought two Nokia BL-5C batteries yesterday :)

[1]
http://n2.nabble.com/test-result-of-battery-current-against-display-brightness-and-GPS--power-mode-tp2541178p2541178.html


jeremy jozwik wrote:
 
 omgps does it. and tracks well too
 
 On Fri, Jul 10, 2009 at 1:13 PM, Petr Vanekvan...@penguin.cz wrote:
 the wiki mentions ]1[ how to increase the sampling rate of gps, is
 there a way to lower it to save energy during gps tracking that
 doesn't require such precision?

 Petr


 ]1[
 http://wiki.openmoko.org/wiki/Neo_FreeRunner_GPS#Configuration_for_a_higher_sampling_rate


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 

-- 
View this message in context: 
http://n2.nabble.com/lowering-gps-sampling-rate-tp3240723p3241085.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr] i did something really stupid...help needed with opkg

2009-07-11 Thread Xavier Cremaschi
Robin Paulson a écrit :
 yeah, like really really dumb.
 
 i've been taking a few packages from debian and installing them on my
 shr system. all was going well, until i got to libc6. here i should
 have stopped - this is a pretty critical part of any system, unlike
 gphoto and other trivial stuff that i'd installed previously
 
 my system works fine as far as i can tell - it boots, everything runs
 fine, but at every opkg update  opkg upgrade i get this:
 
 Multiple packages (libc6 and libc6) providing same name marked HOLD or
 PREFER.  Using latest.
 Multiple packages (libc6 and libc6) providing same name marked HOLD or
 PREFER.  Using latest.
 Multiple packages (libc6 and libc6) providing same name marked HOLD or
 PREFER.  Using latest.
 Multiple packages (libc6 and libc6) providing same name marked HOLD or
 PREFER.  Using latest.
 Upgrading libc6 on root from 2.6.1-r16 to 2.7-18...
 Collected errors:
  * ERROR: Package libc6 (parent libc6) is not available from any configured 
 src.
  * Failed to download libc6. Perhaps you need to run 'opkg update'?
 
 but it never completes. i should say, all the other packages upgrade
 just fine. i think the issue is with the install scripts, there are
 commands in them which aren't relevant to the freerunner (dpkg for
 instance), so it's never going to complete
 
 opkg list_installed |grep libc6
 
 returns the version from shr (2.6)
 
 opkg install -force-reinstall and opkg install -force-downgrade give
 the same messages as above
 
 so, can anyone offer advice? i want to return to the original shr
 version without re-flashing if possible
 
 cheers

Download and extract libc6 package, then put the files at the right place ?


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2009] No suspend after ffalarms alarm while suspended

2009-07-11 Thread Xavier Cremaschi
Marcel a écrit :
 G'evening,
 
 I'm not sure where this problem comes from, so I tell you about it before 
 filing a bug somewhere. Steps to reproduce:
 0. Boot the Neo freshly
 1. Set an alarm in ffalarms
 2. suspend the Neo
 3. wait for the alarm to ring (whatever sound you have set :p)
 4. Neo's awake now. Try to suspend.
 
 Expected: Should suspend normally
 Observed: Doesn't suspend, frameworkd.log: http://pastebin.ca/1488707
 
 Workaround: Restart frameworkd.
 Worked partially (once). Now I've got it so far not to suspend at all 
 anymore but just show tty1 for some time and then return to illume as if 
 nothing happened. frameworkd.log of such a process: 
 http://pastebin.ca/1488840
 
 I hope this gets someone any further... I'm not too enlightened what exact 
 conditions it takes to break suspend yet.
 
 --
 Marcel


Not sure it's related, but :
- in Om2009r5, it was impossible NOT to suspend (event with suspend -1 
in config settings). So it was bad for car gps but ok for phone autonomy
- in Om2009 since my yesterday update, it's impossible to suspend (even 
with suspend 20 or suspend 30 in config settings). So now it's ok for 
car gps but less good for phone autonomy...

Does someone break something in the suspend stuff ? More important : 
does someone know how to solve that ?

Xavier.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr] i did something really stupid...help needed with opkg

2009-07-11 Thread Robin Paulson
2009/7/11 Xavier Cremaschi omega.xav...@gmail.com:
 Download and extract libc6 package, then put the files at the right place ?

yeah, i thought of that. the correct libc6.so is in the /usr/lib dir,
that's not the problem. the problem is with the opkg database - i'm
assuming it's stuck in a not-easily-fixable situation. that's what
needs fixing

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr] i did something really stupid...help needed with opkg

2009-07-11 Thread Edder
On Sat, Jul 11, 2009 at 9:38 AM, Robin Paulson robin.paul...@gmail.comwrote:

 2009/7/11 Xavier Cremaschi omega.xav...@gmail.com:
  Download and extract libc6 package, then put the files at the right place
 ?

 yeah, i thought of that. the correct libc6.so is in the /usr/lib dir,
 that's not the problem. the problem is with the opkg database - i'm
 assuming it's stuck in a not-easily-fixable situation. that's what
 needs fixing


I don't know opkg to well, so when I run into problem I often just end up
editting /usr/lib/opkg/status by hand. You could try removing libc entry
from there and then reinstalling libc. Not sure if it will help with your
particular problem! Ofcourse I advice you to first wait if someone else can
help who actually knows opkg.

Cheers, Edwin
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr] i did something really stupid...help needed with opkg

2009-07-11 Thread Robin Paulson
2009/7/11 Edder ed...@tkwsping.nl:
 I don't know opkg to well, so when I run into problem I often just end up
 editting /usr/lib/opkg/status by hand. You could try removing libc entry
 from there and then reinstalling libc. Not sure if it will help with your
 particular problem! Ofcourse I advice you to first wait if someone else can
 help who actually knows opkg.

ah, i wondered where the opkg db was:

Package: libc6
Version: 2.6.1-r16
Status: deinstall user installed
Architecture: armv4t

Package: libc6
Version: 2.7-18
Depends: libgcc1
Suggests: locales, glibc-doc
Provides: glibc-2.7-1
Conflicts: libterm-readline-gnu-perl ( 1.15-2), tzdata ( 2007k-1),
tzdata-etch
Status: install prefer,user not-installed
Architecture: armel

which doesn't look great. i'm not sure how it has two versions
installed. or whether deleting the second entry entirely will fix
things.

is there anyone here who knows opkg inside out?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr] i did something really stupid...help needed with opkg

2009-07-11 Thread Edder
On Sat, Jul 11, 2009 at 10:01 AM, Robin Paulson robin.paul...@gmail.comwrote:

 2009/7/11 Edder ed...@tkwsping.nl:
  ah, i wondered where the opkg db was:

 Package: libc6
 Version: 2.6.1-r16
 Status: deinstall user installed
 Architecture: armv4t

 Package: libc6
 Version: 2.7-18
 Depends: libgcc1
 Suggests: locales, glibc-doc
 Provides: glibc-2.7-1
 Conflicts: libterm-readline-gnu-perl ( 1.15-2), tzdata ( 2007k-1),
 tzdata-etch
 Status: install prefer,user not-installed
 Architecture: armel

 which doesn't look great. i'm not sure how it has two versions
 installed. or whether deleting the second entry entirely will fix
 things.

 is there anyone here who knows opkg inside out?


In this situation I always just delete the entry I don't want anymore. That
stops opkg from trying (in vain) to fix things. Again this is probably one
of these things that one should NEVER do if one wants to keep a clean/stable
system, but I haven't found the proper way to do fix it with opkg yet.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr] i did something really stupid...help needed with opkg

2009-07-11 Thread arne anka
 Package: libc6
 Version: 2.6.1-r16
 Status: deinstall user installed
 Architecture: armv4t

 Package: libc6
 Version: 2.7-18
 Depends: libgcc1
 Suggests: locales, glibc-doc
 Provides: glibc-2.7-1
 Conflicts: libterm-readline-gnu-perl ( 1.15-2), tzdata ( 2007k-1),
 tzdata-etch
 Status: install prefer,user not-installed
 Architecture: armel


judging from debian, i'd propose these steps (do it on your own risk, but  
as long as actually a libc6.so is avaliable, you probably can't really  
break anything except opkg's idea of the system):

- back up status file!
- get a listing of _all_ files belonging to the libc6 deb (including  
postinst, preinst, and so on)
- get the stanza for a correctly installed libc6 ipk (debian ha a  
staus-old, but if opkg has too, it might have been overwritten already;  
some other shr user could post it) and replace the one in your status  
file; remove the stanza for the deb
- get the libc6 ipk and install manually
- remove all files belonging to the deb
- check for consistency, probably those debs you mentioned will be broken,  
because the libc6 package version doesn't match

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr-unstable] ophonekitd not starting by default

2009-07-11 Thread ivvmm
Klaus 'mrmoku' Kurzmann wrote:

 
 do you have fsousaged installed? It might just be that it does not get 
 installed automatically while upgrading... Would be a missing dependency 
 then. 
 If you don't have it... opkg install fsousaged.

Well, the package was already installed and that did not work. So had to
reflash.

Thanks everyone.



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2009] No suspend after ffalarms alarm while suspended

2009-07-11 Thread jeremy jozwik
set it to 60,000 seconds in frameworkd.conf

On Sat, Jul 11, 2009 at 12:19 AM, Xavier
Cremaschiomega.xav...@gmail.com wrote:
 Marcel a écrit :
 G'evening,

 I'm not sure where this problem comes from, so I tell you about it before
 filing a bug somewhere. Steps to reproduce:
 0. Boot the Neo freshly
 1. Set an alarm in ffalarms
 2. suspend the Neo
 3. wait for the alarm to ring (whatever sound you have set :p)
 4. Neo's awake now. Try to suspend.

 Expected: Should suspend normally
 Observed: Doesn't suspend, frameworkd.log: http://pastebin.ca/1488707

 Workaround: Restart frameworkd.
 Worked partially (once). Now I've got it so far not to suspend at all
 anymore but just show tty1 for some time and then return to illume as if
 nothing happened. frameworkd.log of such a process:
 http://pastebin.ca/1488840

 I hope this gets someone any further... I'm not too enlightened what exact
 conditions it takes to break suspend yet.

 --
 Marcel


 Not sure it's related, but :
 - in Om2009r5, it was impossible NOT to suspend (event with suspend -1
 in config settings). So it was bad for car gps but ok for phone autonomy
 - in Om2009 since my yesterday update, it's impossible to suspend (even
 with suspend 20 or suspend 30 in config settings). So now it's ok for
 car gps but less good for phone autonomy...

 Does someone break something in the suspend stuff ? More important :
 does someone know how to solve that ?

 Xavier.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Background amplification and voice blur on phone call

2009-07-11 Thread jeremy jozwik
finally got some time to mess around with the moko. everything is
clear as a bell now.

thanks everyone for there help in tracking down the demons.

- jeremy

On Fri, Jul 10, 2009 at 8:24 AM, Staley, Daniel Ldlst...@uky.edu wrote:
 Im hosting a copy of the file at:

 http://www.bufferunderflow.com/diff_a7_openwrt

 -Dan Staley
 
 From: tb [bumbl...@gmail.com]
 Sent: Friday, July 10, 2009 9:53 AM
 To: List for Openmoko community discussion
 Subject: Re: Background amplification and voice blur on phone call

 Could you upload the diff somewhere else?
 http://rapidshare.com/files/253813548/diff_a7_openwrt.html


 This file is neither allocated to a Premium Account, or a Collector's 
 Account, and can therefore only be downloaded 10 times.

 This limit is reached.

 To download this file, the uploader either needs to transfer this file into 
 his/her Collector's Account, or upload the file again. The file can later be 
 moved to a Collector's Account. The uploader just needs to click the delete 
 link of the file to get further information.


 Thank you


 2009/7/9 Paul Fertser fercer...@gmail.commailto:fercer...@gmail.com
 David Garabana Barro da...@garabana.commailto:da...@garabana.com writes:
  [b] signal is super loud, which is odd because i would think it would
  be very quiet.

 That's the difference you see between extra-cap units and
 not. Supposedly you have a capless unit and is using too much
 amplification for the earpiece in the codec. (FYI nobody knows for
 sure and there's no way to know which units have those stupid caps and
 which do not. Looks like all A7 units have them, as probably most of A5;
 my A6 doesn't)

 Please, could you explain or provide a link about the difference between
 a cap and a capless Neo?
 I think it's the first time I hear about it...

 Nobody can explain that :)

 Basically it's assumed that some units have 1uF caps in place of
 R3004/R3005 (which should be 0R).

 --
 Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
 mailto:fercer...@gmail.commailto:fercer...@gmail.com

 ___
 Openmoko community mailing list
 community@lists.openmoko.orgmailto:community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [TangoGPS] POI coordinates as WGS84 deg and min

2009-07-11 Thread Patrick Beck
Hi,

you have to change the format in the config section - degress and
minutes. Now you can enter it in the Format 55 33.218 and 008 08.493
(the space between degress and minutes and the dot are required)

with kind regards

Patrick 

Am Mittwoch, den 08.07.2009, 23:55 +0200 schrieb Marcel:
 Hello,
 
 I'm using TGPS for geocaching. The coordinates always get listed as f.e.
 N 55° 33.218 E 008° 08.493 (WGS84 degrees and minutes)
 If I have to build the coordinates for the cache's second stage by 
 hand, I only get these coordinates as reference, but TGPS needs WGS84 
 Decimal Degrees as POI coordinates.
 As a feature wish: Could someone please make TGPS understand degrees and 
 minutes? :)
 
 --
 Marcel (who hasn't even understood how to convert the two formats in an 
 own program yet :/ )
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[OM2009] modules files with wrong version

2009-07-11 Thread Previdi Roberto
I downloaded the image at
http://downloads.openmoko.org/distro/testing/NeoFreerunner/
but the contained kernel (2.6.29-rc2) don't boot (it give a lot of i/o
errors and then kernel panic).
Then i downloaded the suggested kernel (2.6.28) and modules, but the modules
package contain the folder
lib/modules/2.6.29-rc2
like the one already present in the image.
They don't seem to be the same files, because sizes changes, so i created a
2.6.28 folder and i'll see if it works.


frustration

-- 
roby
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr] i did something really stupid...help needed with opkg

2009-07-11 Thread Robin Paulson
2009/7/11 arne anka openm...@ginguppin.de:
 judging from debian, i'd propose these steps (do it on your own risk, but
 as long as actually a libc6.so is avaliable, you probably can't really
 break anything except opkg's idea of the system):

 - back up status file!
 - get a listing of _all_ files belonging to the libc6 deb (including
 postinst, preinst, and so on)
 - get the stanza for a correctly installed libc6 ipk (debian ha a
 staus-old, but if opkg has too, it might have been overwritten already;
 some other shr user could post it) and replace the one in your status
 file; remove the stanza for the deb
 - get the libc6 ipk and install manually
 - remove all files belonging to the deb
 - check for consistency, probably those debs you mentioned will be broken,
 because the libc6 package version doesn't match

ok, thanks for all the advice guys.

i did a backup of the db, checked all the libc6 files were from v 2.6
(a lot of files), removed the offending item, and all seems well now.
yesterday's and today's updates went flawlessly with no errors, and
everything seems to be working properly

i appreciate the help!

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [OM2009] modules files with wrong version

2009-07-11 Thread Angus Ainslie
On July 11, 2009 06:18:38 pm Previdi Roberto wrote:
 I downloaded the image at
 http://downloads.openmoko.org/distro/testing/NeoFreerunner/
 but the contained kernel (2.6.29-rc2) don't boot (it give a lot of i/o
 errors and then kernel panic).

I installed those images yesterday and they were working fine. Did you install 
to flash or SD ?

How did you install them ?

 Then i downloaded the suggested kernel (2.6.28) and modules, but the
 modules package contain the folder
 lib/modules/2.6.29-rc2
 like the one already present in the image.
 They don't seem to be the same files, because sizes changes, so i created a
 2.6.28 folder and i'll see if it works.


The 2.6.28 modules tarball does contain 2.6.29-rc2 modules it's how the files 
get named in OE.

Angus

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community