Re: n810 GPS API?

2007-10-20 Thread Brad Midgley
Mihamina

It's possible it uses gpsd but I haven't really seen any details yet.
gpsd clients use a simple client library to talk to the daemon.

Power management of the gps is also an unknown. gpsd can close its
connection to the gps when no clients are connected, but I don't know
if that's enough to work with for automatically powering down the idle
gps.

Brad
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users



Re: n810 GPS API?

2007-10-20 Thread Mihamina Rakotomandimby
Jonathan Greene wrote:
> might want to try here - http://www.forum.nokia.com/devices/N810

I already read that one, but did not find anything...
May be want to point me to a specific link on that page?

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: n810 GPS API?

2007-10-20 Thread Jonathan Greene
might want to try here - http://www.forum.nokia.com/devices/N810

On 10/20/07, Mihamina Rakotomandimby
<[EMAIL PROTECTED]> wrote:
> Hi,
> My boss heard about the n810 and asked me to port a Pocket PC Java
> application to the n810.
> It was a non free application that used the GPS of the pocket PC.
> Would you have any documentation about the interaction and frame capture
> of the GPS module on the n810?
> Thank you all!
> ___
> maemo-users mailing list
> maemo-users@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users
>


-- 
Jonathan Greene
+1.914.750.8740
AIM / iChat - atmasphere
gtalk / jabber - [EMAIL PROTECTED]
Skype / Gizmo - JonathanGreene
blogs - http://www.atmasphere.net/wp  / http://www.maemoapps.com
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


n810 GPS API?

2007-10-20 Thread Mihamina Rakotomandimby
Hi,
My boss heard about the n810 and asked me to port a Pocket PC Java 
application to the n810.
It was a non free application that used the GPS of the pocket PC.
Would you have any documentation about the interaction and frame capture 
of the GPS module on the n810?
Thank you all!
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support and the repository question

2007-10-20 Thread Krischan Keitsch
Am Freitag, 19. Oktober 2007 schrieb Steve Greenland:
> According to Krischan Keitsch <[EMAIL PROTECTED]>:
> > The optimum may be between the two - meaning we need some kind of
> > a quality management for the community efforts. To approve that
> > just verified and checked apps are in the official and universe
> > repositories. So that Jill Random and ourselves can benefit from rock
> > solid high quality apps. What do you think?
>
> Who is going to do the testing and certification? It's a lot of work,
> and not particularly rewarding. And I can guarantee that sooner or later
> some developers will feel personally maltreated by any such group.

Good point. 
>
> Probably the easiest workable solution is something like the Debian
> unstable/testing process, whereby packages are uploaded to unstable, and
> migrate to testing after meeting certain criteria (no new serious bugs,
> installs with only other testing packages, etc.)
>
Maybe a rating mechanism could help to qualify which app could go to the main 
repository (stable)? (Within the constrains of licence, ...) Apps with a low 
rating will then be "parked" in unstable? Apps from maemo download can be 
rated already. 

That would not require a testing and certification team. However, clear rules 
are required to make this process transparent.

> But I'd settle for just getting people to use one repo, rather than
> setting up there own.
>
That would be a step in the right direction.

Regards 
Krischan

> Regards,
> Steve





___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-20 Thread Krischan Keitsch
Am Samstag, 20. Oktober 2007 schrieben Sie:
> "ext Krischan Keitsch" <[EMAIL PROTECTED]> writes:
> >> It's a shame that there are so many broken APs on the market. I see
> >> lots of them when dealing with bug reports :( I guess WLAN Power Save
> >> Mode was really rare earlier, but fortunately nowadays it's getting
> >> more popular and AP manufactures have noticed the problem.
> >
> > Hi Kalle,
> > I had a similar problem with my Siemens sx541 wlan dsl router using dhcp.
> > The n800 keeps sending dhcp requests. That caused up to 20 - 30% cpu
> > usage and drains the battery really fast.
> >
> > (See Bug 1627 & Bug 1646)
> >
> > Switching to a fixed ip solved that problem for me.
>
> Yeah, if applications send lots of data, naturally that will increase
> power consumption dramatically. For these cases it would helpful if
> you could install tcpdump to the device and take a dump of traffic.
> You could do it like this:
>
> tcpdump -i wlan -w dhcp-1.cap
>
> And then attach dhcp-1.cap to the bug report. That would help a lot.

Hi Kalle,

I tried to add a comment to Bug 1627 [1] but maemozilla wouldn't let me login 
and refuses to send me a password. Hmm.
I also have the tcpdump and will try later to attach that to the bug report.

Regards Krischan


[1] https://bugs.maemo.org/show_bug.cgi?id=1627

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Hacker Edition: a short review

2007-10-20 Thread Krischan Keitsch
Hi,
when the latest Hacker Edition (4.2007.36-2) came out [1] I just couldn't 
resist and flashed it on my 770. Now after some weeks I can honestly say that 
I do not regret it. (Neither did I regret to flash HE 2.2006.47-17 ;-)  [2])

Flashing and restoring my backups worked flawlessly. As soon as I was logged 
on my network I started installing all needed apps such as xterm, mplayer for 
770 (!) [3], nano and ssh as well as many other great apps. For some of them 
you will need the “red pill mode” [4].

Ext2
I prefer to use the ext2 filesystem on my mmc. All I had to do was to add 

/sbin/insmod /mnt/initfs/lib/modules/current/mbcache.ko
/sbin/insmod /mnt/initfs/lib/modules/current/ext2.ko

to /etc/init.d/rcS.

That will load the necessary kernel module for ext2 support during the start 
up process. That's it. Automatic mounting of ext2 formated mmcs works out of 
the box.

Seatbelt
The 770 is a great device but its resources are highly limited. 64mb ram is 
not much – therefore a swap file is a necessity. There is a garage project 
called “seatbelt” [5] which will  change the 'swappiness' kernel parameters. 
Higher values will instruct the kernel to use the swap file more often 
instead cleaning the cache first.

You can check the actual value  with:

cat /proc/sys/vm/swappiness

The default is 1. Seatbelt will set this value to 100.

It has been discussed that the lac of free memory causes the web browser and 
sometimes the whole tablet to crash. I can confirm that I have not managed to 
crash neither the web browser nor the 770 yet. Even under hight load, with 
many web pages open, streaming audio in the background and other resource 
intensive tasks running the system remained stable (although it became very 
slow).

The whole system seems more reliable and stable with the latest Hacker Edition 
and seatbelt running. Also audio playback is more fluid.

Wlan connections
One disadvantage I noticed was that the 770 will drop connections more often 
when the power saving timeout value is set to low. I had to increase the wlan 
power saving timeout (psm) to a value above 300 by either using the 
gconf-editor or by applying:

gconftool-2 --set --type 
int '/system/osso/connectivity/IAP/wlan_sleep_timeout' '300'

Now video centre, radio streams or videos over a upnp share will work (at 
least for me and my ap). 

Conclusion
The Hacker Edition for Nokias 770 has become way more than just a way to 
develop for bora (in case you don't have a n800). The 770 is a great device 
and the Hacker Edition takes advantage of its capabilities! Sure, not 
everything will work such as skype and microb browser, but it fits my needs. 
I can recommend the Hacker Edition to everyone who is willing to learn more 
about Linux on embedded devices and who wants to release the whole potential 
of the 770. 

Regards Krischan

[1] http://maemo.org/news/announcements/view/1189171468.html
[2] http://maemo.org/community/wiki/os2007hackereditionarchives/
[3] https://garage.maemo.org/projects/mplayer/
[4] http://maemo.org/community/wiki/applicationmanagerredpillmode/
[5] https://garage.maemo.org/projects/seatbelt

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: N810: any AZERTY keyboard?

2007-10-20 Thread Jean-Christian de Rivaz
Kalle Valo a écrit :
> "ext Jean-Christian de Rivaz" <[EMAIL PROTECTED]> writes:
> 
> 
>>>I guess you get the German layout in Switzerland.
>>
>>Thanks for the info, I hope that your guess is right as the standard 
>>German keyboard in far more near the standard Swiss one (French standard 
>>keyboard is very different). Is there any picture of the N810 German 
>>keyboard somewhere on the Web ?
> 
> 
> I have only seen a US keyboard. But you can switch keyboard layouts
> from Control Panel and, for example, I have been happily using a US
> keyboard with finnish layout. Of course it took me few days to learn
> the new keys, but it wasn't that bad.
> 
> My point here is that even if you get the wrong keyboard, you can
> still change the layout.
> 

Humm. This will work of course, but this is not somthing I will be happy 
to use for a $500 new device.

-- 
Jean-Christian de Rivaz
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-20 Thread James Sparenberg
On Friday 19 October 2007 09:44:53 Steve Greenland wrote:
> According to James Sparenberg  <[EMAIL PROTECTED]>:
> > I fully understand what it's doing  but not why it's doing it.  Since
> > the act of doing the first update is the equivalent of "apt-get update" 
> > However if you use Adept/Synaptic/dpkg etc the act of the update
> > accumulates all of this information in one act.
>
> No, they don't.
>
> Every time you start aptitude, it has to read the dpkg and apt database
> files and load its internal data structures, even if you haven't done
> an update. Every time you run an install, after it completes, aptitude
> has to re-read the files/caches and reload its internal data structures.
> The AM is doing the same, reading the dpkg database and loading its GUI
> list structures. What makes it painful is that you can only act on one
> package at time.
>
> Regards,
> Steve

I'll concede that it could be a perceptual point more than anything.  But some 
aspects are in one act.  When I do an apt-get update  not only does it check 
for changes to the DB but it also adjust them IAW my existing DB.  Or am I 
making myself as clear as mud.  ( I know what I want to say and most likely 
I'm to tired to say it. Creating a new installer for my companies production 
environments.)

And yes the one at a time is painful and IMHO leads to frustration and me 
using apt.

James

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support and the repository question

2007-10-20 Thread James Sparenberg
On Friday 19 October 2007 09:30:50 Steve Greenland wrote:
> According to Krischan Keitsch <[EMAIL PROTECTED]>:
> > The optimum may be between the two - meaning we need some kind of
> > a quality management for the community efforts. To approve that
> > just verified and checked apps are in the official and universe
> > repositories. So that Jill Random and ourselves can benefit from rock
> > solid high quality apps. What do you think?
>
> Who is going to do the testing and certification? It's a lot of work,
> and not particularly rewarding. And I can guarantee that sooner or later
> some developers will feel personally maltreated by any such group.
>
> Probably the easiest workable solution is something like the Debian
> unstable/testing process, whereby packages are uploaded to unstable, and
> migrate to testing after meeting certain criteria (no new serious bugs,
> installs with only other testing packages, etc.)
>
> But I'd settle for just getting people to use one repo, rather than
> setting up there own.
>
> Regards,
> Steve

Heck I'm hoping for an agreement on how to spell "Utilities"  (Ok cheap shot 
meant to be humorous not mean.)  But case sensitive does yield fun in this 
area.

James



___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-20 Thread James Sparenberg
On Friday 19 October 2007 09:26:07 Steve Greenland wrote:
> According to James Sparenberg  <[EMAIL PROTECTED]>:
> > On Thursday 18 October 2007 11:30:34 Marius Gedminas wrote:
> > > I sincerely hope Maemo Extras rejects sourceless packages.
> > >
> > > Marius Gedminas
> >
> > Marius,
> >
> >I would hope that they reject binary packages period, in that like
> > every distro I've worked with you submit a src (rpm deb tgz etc) and the
> > distro builds from that file so that at least some assurance can be made
> > that it's build from the correct environment.
>
> Actually, Debian requires a binary upload of at least one architecture.
> Then the autobuilders build for all the other architectures.
>
> About once a year someone proposes source-only uploads. The argument
> against is that with a binary upload, you have at least some hope that
> the developer has installed and tested the package. With source-only
> uploads, there the temptation to make "just one little change" and
> upload without building and testing.
>
> Maintaining an auto-build system is non-trivial.
>
> Regards,
> Steve

Steve,

I can agree that maintaining an auto-build will drive you nuts. I maintain 
part of the one we have at our company.  (what do you mean it lost a file?)  
I know what had to be done at Mandrake both for new releases and for back 
ports.  Here though there is the "Apple Advantage" in that the environments 
are tightly controlled by Nokia.  All 770's match hardware.  No two x86 
systems are alike.  

On the binary vs source uploads I guess it's obvious where I stand.  I'm a 
lot more paranoid than I should be most likely.

James



___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-20 Thread James Sparenberg
On Friday 19 October 2007 08:35:51 dave wrote:
> > It should stay online for days, not hours. Something is wrong with
> > your setup. I would guess that the AP is somehow broken regards to
> > WLAN Power Save Mode. Can you try with some other AP to see if it
> > helps? Also make sure that N800 isn't transmitting anything extra, for
> > example transmitting a packet every second would kill the battery
> > quite quickly.
> >
> > Alternatively you could use a wireless sniffer to take a dump of WLAN
> > level traffic and send it to me. I could take a look and see if
> > there's something strange.
> >
> > It's a shame that there are so many broken APs on the market. I see
> > lots of them when dealing with bug reports :( I guess WLAN Power Save
> > Mode was really rare earlier, but fortunately nowadays it's getting
> > more popular and AP manufactures have noticed the problem.
>
> hmmm. My N800 recently  began running the battery dry in only a half day or
> so; as you mention, it used to go days between charges. This began suddenly
> with no change in habits or new packages having been installed. Since I
> really only use the device at home and at work, I ruled out anything to do
> with the whether or not the APs support WLAN Power Save Mode. As I said, it
> all worked great until recently.
>
> It is frustrating. Even if I charge overnight, I'm sure to hear the N800's
> plaintive wail for the power adapter just after lunchtime. Could my battery
> simply be dying? Is there any way to check?
>
>
Thinking out load here. But I wonder if a phone store that sells Nokia phones 
would be able to test the battery?  

James
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-20 Thread James Sparenberg
On Friday 19 October 2007 05:02:26 Frederic Crozat wrote:

> Just curious : is the n800 really supposed to last "days" when connected
> via Wifi (with full WLAN Power Save mode enabled), without any
> disconnect timeout and anything doing network access on the wifi link ?
>
> When I check battery applet (which is really great btw), I'm never sure
> if the "in use" time is applicable when being idle AND wifi connected.
>
> I know I disable network auto-connect and set disconnect timeout to 5min
> because I had bad experience with first IT2007 version (before full WLAN
> Power Save mode gconf key were given here). Maybe I should try it
> again..

One note.  If you (like I) move around a lot, as in driving down the highway.  
Your poor IT can go nuts trying to find a connection. *grin*  When I first 
got my 800  I noticed that when I left work, and drove home down the freeway 
by the time I got home (1 hour later) my battery had dropped 50%  so I 
disable the auto connect and no problem.  

The 800 isn't too good at searches done at 80mph  

Other thing I learned.  Don't put it on phone autoconnect.  Kills your phone 
battery.

James



___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-20 Thread Kalle Valo
"ext dave" <[EMAIL PROTECTED]> writes:

> hmmm. My N800 recently  began running the battery dry in only a half day or
> so; as you mention, it used to go days between charges. This began suddenly
> with no change in habits or new packages having been installed. Since I
> really only use the device at home and at work, I ruled out anything to do
> with the whether or not the APs support WLAN Power Save Mode. As I said, it
> all worked great until recently.

Any changes to the network, new equipment or new software installed?
For example, some software sending lots of broadcast messages to the
network?

> It is frustrating. Even if I charge overnight, I'm sure to hear the N800's
> plaintive wail for the power adapter just after lunchtime.

It sure is.

> Could my battery simply be dying? Is there any way to check?

I would try testing the battery without WLAN and anything else
running, just in standby mode. It should last about 10 days like that.
If not, either there is something waking up the CPU all the or the
battery is broken.

I know that it's difficult to not use N800 for ten whole days. I
couldn't do it ;)

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-20 Thread James Sparenberg
On Friday 19 October 2007 03:51:29 Marius Vollmer wrote:
> "ext Marius Gedminas" <[EMAIL PROTECTED]> writes:
> > My personal pet peeve with the app manager is all those confirmation
> > dialogs.
>
> Yeah, and there will be more in the future...  There should be at
> least one before starting the operation, and we can't get rid of the
> legal "Notice" dialog for non-certified software.

(misc grumbling about lawyers and baby boomers) *grin*
>
> When using the AM to install system software updates, there will be
> lots more: "please take a backup", "all applications will be closed,
> continue?", "device will reboot, continue?", "don't touch me while I
> do scary things to the kernel", maybe even more.  We should try to
> combine these messages.

As long as the message doesn't say "Do you really mean you really want to do 
what you just said you really wanted to do"  I can live with them.   Info is 
good,  however where you can the little "don't ask me again box" is good 
practice IMHO.

James


___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-20 Thread Kalle Valo
"ext Krischan Keitsch" <[EMAIL PROTECTED]> writes:

>>
>> It's a shame that there are so many broken APs on the market. I see
>> lots of them when dealing with bug reports :( I guess WLAN Power Save
>> Mode was really rare earlier, but fortunately nowadays it's getting
>> more popular and AP manufactures have noticed the problem.
>
> Hi Kalle,
> I had a similar problem with my Siemens sx541 wlan dsl router using dhcp. The 
> n800 keeps sending dhcp requests. That caused up to 20 - 30% cpu usage and 
> drains the battery really fast. 
>
> (See Bug 1627 & Bug 1646)
>
> Switching to a fixed ip solved that problem for me. 

Yeah, if applications send lots of data, naturally that will increase
power consumption dramatically. For these cases it would helpful if
you could install tcpdump to the device and take a dump of traffic.
You could do it like this:

tcpdump -i wlan -w dhcp-1.cap

And then attach dhcp-1.cap to the bug report. That would help a lot.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Steve's Ranty Review #1: N800 ogg support

2007-10-20 Thread Kalle Valo
"ext Frederic Crozat" <[EMAIL PROTECTED]> writes:

> Just curious : is the n800 really supposed to last "days" when connected
> via Wifi (with full WLAN Power Save mode enabled), without any
> disconnect timeout and anything doing network access on the wifi link ?

Short answer: Yes, even with the default WLAN PSM settings.

Long answer: It depends on your network. Here are few items which
mostly affect WLAN power consumption:

o N800 transmitting something periodically (once in a minute is not
  bad, once in a second is really bad, Google talk has 30s interval
  which is ok).
o Buggy AP which does not support WLAN PSM properly.
o distance to AP (WLAN background scan will kick in if the signal level is
  -75 dBm or less)
o Lots of broadcast and multicast packets on the network (like
  Windows samba broadcasts).

Also WLAN settings (beacon and DTIM interval) affect power
consumption, but not before the issues I have listed above are ruled
out. And this was only about issues related to WLAN, if there are
other processes waking up the CPU that will naturally affect the
standby time.

For the background scan there are going to be some optimisations in
OS2008, for example the limit will be lowered to -85 dBm.

> When I check battery applet (which is really great btw), I'm never sure
> if the "in use" time is applicable when being idle AND wifi connected.

The applet does not provide WLAN standby time at all, sorry.

> I know I disable network auto-connect and set disconnect timeout to 5min
> because I had bad experience with first IT2007 version (before full WLAN
> Power Save mode gconf key were given here). Maybe I should try it
> again..

I think you should, you might be pleasently surprised. If not, I would
guess that after a bit of investigation you might find what's causing
the high power consumption. tcpdump is your friend. And if you have
any questions, post them here.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: N810: any AZERTY keyboard?

2007-10-20 Thread Kalle Valo
"ext Jean-Christian de Rivaz" <[EMAIL PROTECTED]> writes:

>> I guess you get the German layout in Switzerland.
>
> Thanks for the info, I hope that your guess is right as the standard 
> German keyboard in far more near the standard Swiss one (French standard 
> keyboard is very different). Is there any picture of the N810 German 
> keyboard somewhere on the Web ?

I have only seen a US keyboard. But you can switch keyboard layouts
from Control Panel and, for example, I have been happily using a US
keyboard with finnish layout. Of course it took me few days to learn
the new keys, but it wasn't that bad.

My point here is that even if you get the wrong keyboard, you can
still change the layout.

-- 
Kalle Valo
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users