[maemo-developers] TinyX/K Drive input devices

2006-01-21 Thread Larry Battraw
  I'm hoping someone more familiar with K Drive on the 770 will be
able to answer this question: does it really accept input from two
mouse devices at once?  I note that the x-server.sh init script tacks
on a "-mouse /dev/input/mouse0" if /dev/input/mouse0 exists.  It
doesn't seem to pay attention to any of the input from the mouse0
device.  I've tried using gpm in repeater mode to try different
protocols on the outside chance it doesn't understand the imps2
protocol I believe my mouse (Logitech USB) speaks but that doesn't do
anything either.
  Any ideas?  Knowing what protocol the digitizer speaks on
/dev/input/event0 would be helpful as well.

Larry
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Evince 0.5.0 Released

2006-01-21 Thread Larry Battraw
  Another huge thank you for the work you've done in porting this app!  This is one of those must-have applications (IMHO), since I tend to carry manuals in PDF format for reference.  With 24M of swap I can breeze through them without any problems.  My only suggestion would be assigning the D-pad center button to be next page; as it is you end up scrolling a lot to get from page to page.
LarryOn 1/20/06, Eduardo de Barros Lima <[EMAIL PROTECTED]> wrote:
Hi all,   A new stable version of Evince was released yesterday and I havebuilt the package for nokia 770. It still depends on libgnomeprintui.Aditional information can be found at my blog:
http://etrunko.blogspot.com/2006/01/evince-050-is-out.html   Hope you enjoy it. Best regards, Eduardo (etrunko).--Eduardo de Barros LimaINdT - Instituto Nokia de Tecnologia
[EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Creating a simple program

2006-01-21 Thread Vladislav Grinchenko
On Sat, 2006-01-21 at 18:51, Josh Lewis wrote:
> How would I go about creating a simple program, that would create a
> popup (such as those in control panel), would have some text, a text
> box, and an ok and cancel button. This program would be used to setup
> openssh/scp without xterm.

clone one of the simple examples from maemo.org HOWTOs.

-Vlad

-- 
_
Vladislav Grinchenko   http://home.comcast.net/~3rdshift/
 e-mail: [EMAIL PROTECTED]
   
  Focus on quality, and productivity will follow.
_

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


[maemo-developers] Re: [maemo-users] Evince 0.5.0 Released

2006-01-21 Thread Eduardo de Barros Lima
On 1/21/06, Roberto Resoli <[EMAIL PROTECTED]> wrote:
> Thank you one time more for your work!
> It's so important to have an alternative to the default pdf viewer.
> I noticed that there are some problems with zooming; it seems like the
> pdf is a raster image loosing sharpness when zooming in. Someone else
> noticed this?

Please correct me if i am wrong, but I think this is a known problem.
What happens is Evince takes a while to re-render the pdf when it is
zoomed in/out. You can see this behaviour in the desktop version too,
but you notice it in the device due the restricted processor and
memory.

> Zooming in and out several times seems also to leak memory.

I will investigate this.

> I'm still using 45-8 firmware.
> Roberto.
>

Thank you very much for the feedback. Best Regards, Eduardo (etrunko).

--
Eduardo de Barros Lima
INdT - Instituto Nokia de Tecnologia
[EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Creating a simple program

2006-01-21 Thread Josh Lewis
How would I go about creating a simple program, that would create a popup (such as those in control panel), would have some text, a text box, and an ok and cancel button. This program would be used to setup openssh/scp without xterm.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] HttpWebRequest in C#/Mono on N770 : The request timed out

2006-01-21 Thread marc.pub

Hi,
Thanks for your help,

I have tried the two following batch file

#!/bin/sh
export LD_PRELOAD=/usr/lib/libosso-ic-preload.so
/home/user/mono/mono-nokia/mono WebFetch.exe

#!/bin/sh
source /usr/bin/connectivity_preload.sh
/home/user/mono/mono-nokia/mono WebFetch.exe


But nothing change: no screen to initiate a connection and nothing append if
I start manually a connection. Just the time out exception:

Unhandled Exception: System.Net.WebException: The request timed out
in <0x001b4> System.Net.HttpWebRequest:EndGetResponse (IAsyncResult
asyncResult)
in <0x0007b> System.Net.HttpWebRequest:GetResponse ()
in <0x0017f> WebFetch:Main (System.String[] args)

Is someone succeeding in using http in mono environment on the N770?

Regards,
Marc Bordessoule.





-Message d'origine-
De : Devesh Kothari [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 20 janvier 2006 11:25
À : ext marc.pub
Cc : maemo-developers@maemo.org
Objet : Re: [maemo-developers] HttpWebRequest in C#/Mono on N770 : The
request timed out

ext marc.pub wrote:

> Hello,
>
> I try to access Internet in a C# / mono program with the
> HttpWebRequest class on my Nokia 770. See my program WebFetch below.
>
> When I execute the program it wait one minute at the
> HttpWebRequest.GetResponse(); method and exit with a time out. See my
> log below.
>
> With the use of TcpDump I found that there is no exchange of data.
>
> The program is not asking to initiate a new wifi connection
>
> The behaviour is the same if the connection is active or not.
>
> I can access the same url with the opera navigator in the same time.
>
> I use the mono environment that I found at
> http://www.mono-project.com/Mono:ARM. I believe it is the 1.1.9 mono
> release.
>
> I compiled the program (.exe) on Linux Ubuntu I386 with the 1.1.9 mono
> Release.
>
> Is someone succeeding with httpConnection and mono for the N770?
>
> Maybe I should 'activate' the connection specifically for mono before
> using HttpWebRequest class? But how to do?
>
Use the LD_PRELOAD

export LD_PRELOAD=/usr/lib/libosso-ic-preload.so;

in shell script, before launching your app.
I dont know how that would work out in mono scenario, I am assuming that
mono runtime or whatever would finally 
try to make socket calls 


give it a shot
cheers
Devesh

> Any idea?
>
> Regards,
>
> Marc Bordessoule.
>
>  Exec log 
>
> ~/mono/mono-nokia $ ./mono WebFetch.exe
>
> WebRequest.Create...
>
> Execute the request...
>
> Unhandled Exception: System.Net.WebException: The request timed out
>
> in <0x001b4> System.Net.HttpWebRequest:EndGetResponse (IAsyncResult
> asyncResult)
>
> in <0x0007b> System.Net.HttpWebRequest:GetResponse ()
>
> in <0x0017f> WebFetch:Main (System.String[] args)
>
> ~/mono/mono-nokia $
>
> -- WebFetch.cs 
>
> …
>
> class WebFetch
>
> {
>
> static void Main(string[] args)
>
> {
>
> StringBuilder sb = new StringBuilder();
>
> byte[] buf = new byte[8192];
>
> Console.WriteLine ("\nWebRequest.Create...");
>
> HttpWebRequest request = (HttpWebRequest)
> WebRequest.Create("http://www.monbureau.com";);
>
> Console.WriteLine ("\nExecute the request...");
>
> HttpWebResponse response = (HttpWebResponse) request.GetResponse();
>
> Console.WriteLine ("\nRead data...");
>
> Stream resStream = response.GetResponseStream();
>
> string tempString = null;
>
> int count = 0;
>
> do
>
> {
>
> count = resStream.Read(buf, 0, buf.Length);
>
> if (count != 0)
>
> {
>
> tempString = Encoding.ASCII.GetString(buf, 0, count);
>
> sb.Append(tempString);
>
> }
>
> }
>
> while (count > 0);
>
> Console.WriteLine(sb.ToString());
>
> Console.WriteLine ("\nEnd.");
>
> }
>
> }
>
>
>
>___
>maemo-developers mailing list
>maemo-developers@maemo.org
>https://maemo.org/mailman/listinfo/maemo-developers
>  
>


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


[maemo-developers] Re: email source code available

2006-01-21 Thread Antti P Miettinen
Any progress on publishing the osso-email build dependencies?
According to debian/control the following are still needed:

- libcst-dev
- libosso-certman-dev
- osso-memory-backend

Or am I just unable to find these?

-- 
http://www.iki.fi/~ananaza/

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


Re: [maemo-developers] virtual keyboard and dialogs

2006-01-21 Thread Vladislav Grinchenko
On Sat, 2006-01-21 at 12:19, Vladislav Grinchenko wrote:
> Hi,
> 
> I have an input dialog to enter some text. The dialog is configured to
> take as much realstate on the screen as available. But when virtual
> keyboard pops up, it squeezes the dialog's height to
> occupy lower part of the screen. 
> 
> I want to restore the original geometry of the dialog once the virtual
> keyboard is hidden. Is there a Gtk+ signal that corresponds to IM
> popup/hide?

To answer my own question, signal_im_close() of Hildon App class is
fired up each time the virtual keyboard is closed by the user.

-- 
_
Vladislav Grinchenko   http://home.comcast.net/~3rdshift/
 e-mail: [EMAIL PROTECTED]
   
  Focus on quality, and productivity will follow.
_

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


[maemo-developers] Re: [maemo-users] Evince 0.5.0 Released

2006-01-21 Thread Roberto Resoli
2006/1/20, Eduardo de Barros Lima <[EMAIL PROTECTED]>:
> Hi all,
>
>A new stable version of Evince was released yesterday and I have
> built the package for nokia 770. It still depends on libgnomeprintui.
> Aditional information can be found at my blog:
>
> http://etrunko.blogspot.com/2006/01/evince-050-is-out.html
>
>Hope you enjoy it. Best regards, Eduardo (etrunko).
>
Thank you one time more for your work!
It's so important to have an alternative to the default pdf viewer.
I noticed that there are some problems with zooming; it seems like the
pdf is a raster image loosing sharpness when zooming in. Someone else
noticed this?
Zooming in and out several times seems also to leak memory.
I'm still using 45-8 firmware.
Roberto.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Problems with scratchbox installation

2006-01-21 Thread Neil Jerram
Vladislav Grinchenko <[EMAIL PROTECTED]> writes:

> Have you tried running  run_me_first.sh as root? 
> Make sure you *login* as root (su -) rather then change to root.
> groupadd is in /usr/sbin/ which might not be in your path.

Also note that if you installed using the .debs, you don't need to do
run_me_first at all; the install did it for you.

 Neil

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


[maemo-developers] virtual keyboard and dialogs

2006-01-21 Thread Vladislav Grinchenko
Hi,

I have an input dialog to enter some text. The dialog is configured to
take as much realstate on the screen as available. But when virtual
keyboard pops up, it squeezes the dialog's height to
occupy lower part of the screen. 

I want to restore the original geometry of the dialog once the virtual
keyboard is hidden. Is there a Gtk+ signal that corresponds to IM
popup/hide?

thanks,
-- Vlad
_
Vladislav Grinchenko   http://home.comcast.net/~3rdshift/
 e-mail: [EMAIL PROTECTED]
   
  Focus on quality, and productivity will follow.
_

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


Re: [maemo-developers] Problems with scratchbox installation

2006-01-21 Thread Vladislav Grinchenko
On Sat, 2006-01-21 at 07:21, log2 ins wrote:
> Hi all,
> 
> I'm trying to install scratchbox on Ubuntu, following the instructions
> from maemo.org tutorial.
> 
> The problem is that when I launch run_me_first.sh it stops with this
> error:
> 
> groupadd: impossibile fare il lock del file dei gruppi (English: it's
> not possible to lock the group file)
> ERROR while creating group: sbox
> 
> I don't know what I have to do. Anyone can help me?
> 
> Thanks,
> Antonio
> 

Have you tried running  run_me_first.sh as root? 
Make sure you *login* as root (su -) rather then change to root.
groupadd is in /usr/sbin/ which might not be in your path.

-Vlad



> 
> __
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
-- 
_
Vladislav Grinchenko   http://home.comcast.net/~3rdshift/
 e-mail: [EMAIL PROTECTED]
   
  Focus on quality, and productivity will follow.
_

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


Re: [maemo-developers] VirtualKeyboard service/API

2006-01-21 Thread Antonio Gomes
Aaron, I got the kb syncrhnized with the focus (in/out) events of HTML forms (the focus in -> vk pops up and vice-versa) - many thanks, btw. But no text can be entered from typing frm the vk ... And before getting the "synchronism" working (partially), I was able to do so. Could it be a 'context' problems ? 
Thoughts ?thanksOn 1/20/06, Aaron Levinson <[EMAIL PROTECTED]> wrote:
I have to admit that I don't understand why you would need to use thisspecialized function in your case.  The situation with osso-xterm is aspecialized one, since the GtkIMContext object's window needs to beactivated as the result of a menu action.  In your case, however, you
already have a GtkWidget (GtkMozEmbed), so you should be able to do thefollowing:1.  Create a GtkIMMultiContext in the "constructor" for your object.2.  In the realize function for your class (or as a response to the
"realize" signal), call gtk_im_context_set_client_window().  Also call itfor unrealize.3.  Handle the "focus-in" and "focus-out" signals appropriately for thewidget by calling gtk_im_context_focus_in() and
gtk_im_context_focus_out(), respectively.4.  Set up key-press and key-release signal handlers for the widget andcall gtk_im_context_filter_keypress() in each signal handler.Take a look at the source code for vncviewer or osso-xterm for examples.
You can also examine the code for various GTK classes, such asGtkTextEntry.  Also, you can refer back to some previous e-mails that Iwrote to this list regarding input methods.AaronOn Fri, 20 Jan 2006, Aaron Levinson wrote:
> You can use gtk_im_context_show() to force the window for a GtkIMContext> object to be displayed.  This function isn't mentioned in the> documentation for the class, but it is in the include file.  An example of
> using this function can be found in the osso-xterm code.>> Aaron>> On Fri, 20 Jan 2006, Antonio Gomes wrote:>> > otherwise, there is no way to force it Pop UP manually ?
> >> > regards> >> >> > On 1/20/06, Antonio Gomes <[EMAIL PROTECTED]> wrote:> > >> > >> > > On 1/18/06, Aaron Levinson <
[EMAIL PROTECTED]> wrote:> > >> > > Hi Aaron,> > >> > > One possibility is to use gdk_window_foreign_new() to wrap the native
> > > > window in a GdkWindow object.> > >> > >> > > Maybe I can jump this first step, once I already have a GtkWidget the> > > wraps mozilla guts the make easier called GtkMozEmbed, provided by the
> > > mozilla embedding API. Make sense for you ?> > >> > >> > > > Then, after creating a GtkIMMulticontext,> > > > you could try using gtk_im_context_set_client_window() with the new
> > > > GdkWindow object.  You'll want to listen for key-press and key-release> > > > signals (hard to do without a GtkWidget, but you should be able to> > > > handle> > > > this by listening for these signals on the HildonApp widget), and when
> > > > you> > > > get these signals you can route them to the GtkIMContext that you> > > > created> > > > earlier if appropriate.  Also, look for other e-mails regarding input
> > > > methods in the archives for this e-mail list.  Maybe this will work,> > > > although I'm not too hopeful.  You might also consider creating a> > > > special> > > > GtkWidget class that can wrap an arbitrary GdkWindow.  I would have
> > > > suggested the GtkPlug class, but GtkPlug widgets are top-level widgets,> > > > which won't work here.> > >> > >> > >> > > Please note that the virtual keyboard is provided in the form of a GTK
> > > > input method, and you'll basically need to use the standard GTK> > > > mechanisms> > > > for working with input methods if you want to use it.> > >> > >
> > > but I'm already using Vb successfully and there is no synchronising> > > between the rendered HTML forms and the Kb ... (focus in -> pop up vk /> > > focus out -> vk gets down).
> > >> > > many thanks> > >> > >> > > > > Hi there,> > > > >> > > > > I'm wondering how I can get the Virtual Keyboard service to
> > > > synchronize with> > > > > non GTK_Widgets (like HTML forms on mozilla-webpages) ?> > > > >> > > > > Actually, I have some methods already implemented regarding this, and
> > > > I just> > > > > need communication with VK side (from APIs or whatever). Is there is> > > > any API> > > > > to use it, or GTK mask/hide it in its guts ?
> > > >> > > >> >>> ___> maemo-developers mailing list> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers>___maemo-developers mailing list
maemo-developers@maemo.orghttps://maemo.org/mailman/listinfo/maemo-developers
-- --Antonio Gomeshttp:// tonikitoo (dot) blogspot (dot) com (slash)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] ssh login

2006-01-21 Thread Dr. H. Nikolaus Schaller

I don't know what root or user's passwords are set to, but if you have


According to /etc/passwd the default password is encrypted as "!",  
i.e. no password can ever match.



root on the device (which you probably do if you followed the
instructions to install SSHD so that it starts up at boot), you can
manully change user's password on the device from xterm with the
standard 'passwd' command.


This one worked fine. Many thanks.

-- hns
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Maemo Alarm/Notifier Interface

2006-01-21 Thread Danny Milosavljevic
Hi,

Am Samstag, den 21.01.2006, 12:38 + schrieb Andrew Flegg:
> On 1/21/06, Danny Milosavljevic <[EMAIL PROTECTED]> wrote:
> >
> > What about just warning the user when he tries to power off?
> >
> > [ Poweroff but events are pending
> > [
> > [ The next event comes up on xx.xx. at xx:xx.
> > [ Are you sure you want to power off and possibly miss the alarm?
> > [
> > [   [Oops]  [Power Off]
> 
> But what if the event's in a week or so? How do you remember to power it
> up again? Set an alarm somewhere else, perhaps? ;-)

Yeah, that's a problem :)

> 
> > However,
> > 1) It wouldn't occur to me that a switched-off cell phone would deliver
> > the alarm. [somewhat Off-Topic: with cell service providers in our
> > country _tracking where the users are and telling it to random callers_,
> > I'd throw it away the second I would see it reactivating from poweroff]
> 
> Every *single* phone I've owned with an alarm function will turn itself on to
> sound the alarm. Whether Nokia, Sony Ericsson or other...

oic

> 
> > 2) If I have alarms set but switch the cell phone off, I do it
> > deliberately because I want my peace and quiet (also not to be able to
> > be called), and if I had a meeting with the president of the country and
> > now miss the alarm, _so be it_ (of course it could warn me when I try to
> > switch it off, but not after that). Of course that's maybe a personality
> > problem (or just coping with complexity), but that's what I do :)
> 
> If you want your phone to be quiet, you set it to silent mode - which is
> remembered when it turns itself back on to sound the alarm.

good point

> 
> > There is also the side case to consider that when baterry runs low, I
> > turn it off to conserve power for later use when I need it more
> > urgently.
> 
> Indeed, and my own use case for alarms is that if I've set an alarm to
> go off that is the absolute most important thing to happen. 

yes, you have a point there

> If my battery's
> running low and I need to turn the device off to conserve more power,
> it's still important it'll turn itself on to alert me.
> 
> > If it wouldn't really turn off when I tell it to, how much
> > power would that draw? Would it endanger the later use? Or would it be
> > neglectable?
> 
> Except off will mean off - the chip which re-awakes the device is already
> running and keeping track of the time even when the device is
> hard-off.

I see... ok then, I don't see any remaining reason not to use that :) 
(other than that I have to remember to set it to silent if I don't want
it to bother me, but that's to be fixed in my brain, not the device :))

cheers,
  Danny


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


Re: [maemo-developers] Please release media player's source, Nokia!

2006-01-21 Thread klaus
Am 21 Jan 2006 um 14:01 hat Clemens Eisserer geschrieben:

> Hi there,
> 
> Since I received my Nokia770 I wonder why there is no ogg vorbis
> support nore an equilizer available for the 770.
> Solutions have been created which implement a media-player completly
> with interface and everything from scratch and I really think about
> helping the oggplay-project (as far as they would accept my patches)
> to include an equilizer and support for mp3-playback and streamed
> ogg-files.

I am also interessted in this. I downloaded oggplay's 0.20 src 
and played a little bit to add some kind of playlist. I just didn't go 
deeper for about the same reason: Nokia, please release the 
ogg dsp plugin. If there are some legal issuses or you need 
more testing, please release it as beta (and not bundelt with the 
OS).

-Klaus
-- 
 Klaus Rotter * klaus  rotters  de * www.rotters.de

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


[maemo-developers] Please release media player's source, Nokia!

2006-01-21 Thread Clemens Eisserer
Hi there,

Since I received my Nokia770 I wonder why there is no ogg vorbis
support nore an equilizer available for the 770.
Solutions have been created which implement a media-player completly
with interface and everything from scratch and I really think about
helping the oggplay-project (as far as they would accept my patches)
to include an equilizer and support for mp3-playback and streamed
ogg-files.
On the other side I really wonder wether its worth to spend time
working on this, its at least my hope that the 2006' software eddition
will support ogg and will be shipped with an equilizer included
anyway, both using the DSP instead of heating the scalar-core.

So why is so much of the sofware shipped with the Nokia770 not open? I
doubt that there are a lot of secrets in code, nore do I think the
code is that unique nore expensive.
If nokia would release the code the community could enhance it and
Nokia could happily use the code, maybe porting it to the DSP.
This way Nokia has to pay devs for creating/enhancing the audio-player
(although money would be maybe spent better tuning GTK) whereas
community develops an audio player that will maybe obsoleted by
nokia's own development.

lg Clemens
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] ssh login

2006-01-21 Thread Danny Milosavljevic
hi,

Am Freitag, den 20.01.2006, 22:41 +0100 schrieb Diego Fdez. Durán:
> If you don't want to change the "user" password you can do the following
> steps as they are described in http://maemo.org/maemowiki/InstallSsh :
> 
> --
> To create ssh keys, on the host you want to connect to your 770, 
> 
> $ ssh-keygen -t rsa 
> Generating public/private rsa key pair.
> Enter file in which to save the key (/home/xxx/.ssh/id_rsa):
> Enter passphrase (empty for no passphrase): **
> Enter same passphrase again: *
> Your identification has been saved in /home/xxx/.ssh/id_rsa
> Your public key has been saved in /home/xxx/.ssh/id_rsa.pub
> The key fingerprint is:
> d0:b9:30:13:f2:81:b5:09:1d:xx:xx:xx:xx:xx:xx:xx [EMAIL PROTECTED]
> $
> 
> now copy the /home/xxx/.ssh/id_rsa.pub over to nokia 770, and put it in
> ~/.ssh/authorized_keys. Make sure it is only readably by user: 
> 
> $ chmod 400 ~/.ssh/authorized_keys 
> $ chmod 700 ~/.ssh
> -

Nice idea :)

Be sure to disable password authentication in /etc/ssh/sshd_config or
otherwise someone else can login using the default user password,
whatever it is :)

cheers,
   Danny

> [...]


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


Re: [maemo-developers] Streaming - Supported Containers / Formats

2006-01-21 Thread Danny Milosavljevic
Hi,

Am Mittwoch, den 18.01.2006, 17:15 +0100 schrieb tobias kutning:
> Hi everyone,
> 
> As I got no replies on the Maemo-Users List, here again my questions
> regarding Streaming 
> Video:
> 
> I managed to setup a VDR streaming solution to play live video streams
> on the 770.
> 
> The settings I used for encoding:
> "mencoder -oac mp3lame -lameopts abr:br=64 -ovc lavc -lavcopts
> vcodec=mpeg4:mbd=1:vbitrate 
> =300 -vf scale=352:208 -ffourcc DIVX -ofps
> 15"
> 
> I could open the stream without the slightest problems on my laptop
> using VLC,
> using the http-address: http://vdr:3000/Extern/S19.2E-1-1079-28006+1
> 
> However, when trying to open the stream on the 770 I noticed the
> following behaviour:
> 1.) Open with Video-Player: Getting a message like "format not
> supported". 
> 2.) Open with Browser: Saves the stream as a download. But not
> possible to pass the file directly
>  to the Video Player.
> 
> Did anybody successfully manage to stream avi over http to the 770
> yet? Need help for this issue. 

> 
> Generally, what kind of streaming containers are working for the 770? 
> Only Realvideo or also .avi or .mpeg? Maybe someone could clear
> this, as the question arose several times on the Maemo-Users List.

I only managed to get real video streams to work
(http://maemo.org/maemowiki/RealVideoStreams ), but that doesn't need to
mean it's impossible to get avis to stream, just not doable in 1-2 weeks
of tinkering ;)

> The VDR-Streaming would be a perfect solution to watch TV  with the
> Nokia 770, if I could get the Stream to open on the VideoPlayer.  

Yeah, the real video producer thing sucks so bad... I don't have any
objections to converting the video to a format suitable for the nokia
(like, realvideo), but that producer program is just weird on Linux.
There is no way I have >30GB (!) of temporary storage to uncompress my
video first only to get it down to like 176x144 size 50 MB.

And it is statically linked, so I can't just extend the helix library to
support pipes and put it in place.

Someone has more of a clue how to do it than me? I'm at a loss of
ideas... Does the original helix thing support creating RealVideo? I'd
guess no, so no use extending that...
> 
> Thanks in advance for you input, your help is appreciated,
> 
> Kind regards
> 
> Tobias

cheers,
   Danny



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


Re: [maemo-developers] Building Maemo from scratch

2006-01-21 Thread marvin24

Hi,

Am Freitag, 20. Januar 2006 22:22 schrieb Russell Geldmacher:
> Hi Florian,
>
> I was under the impression that when OE sees a package that has
> (R)DEPENDS on another package, it will go find the one marked
> (R)PROVIDES for that functionality and build it. Is that wrong?

as far as I remember, I just added "linux-hotplug" to the DEPENDS line of 
nokia770-init_1.0.bb. This worked many month ago, but since then, many things 
have changed...

Marc


> rusty
>
>
>On 1/20/06, Florian Boor <[EMAIL PROTECTED]> wrote: 
> > Hi,
> >
> > Russell Geldmacher wrote:
> > > I'm getting fairly far in the OE build process (for Maemo-1.0 -- we'll
> > > talk about adding 1.1 later). It eventually will fail with the
> > > following message:
> > >
> > > ERROR: Nothing provides hotplug
> > > ERROR: dependency hotplug (for nokia770-init) not satisfied
> > > NOTE: no buildable providers for nokia770-init
> > > ERROR: dependency nokia770-init (for task-bootstrap) not satisfied
> > > NOTE: no buildable providers for task-bootstrap
> > > ERROR: dependency task-bootstrap (for maemo-image) not satisfied
> > > NOTE: no buildable providers for maemo-image
> > >
> > > It seems like this hotplug issue shouldn't be happening, since at
> > > least three packages are providing hotplug. I get this from my
> > > packages directory:
> >
> > Thats not really true, they don't provide this at build time. This is
> > RPROVIDES vs. PROVIDES. Someone must have removed the hotplug packages
> > from OE... it might be possible that you can simply use hotplug-ng
> > instead of this but i didn't try this before. But the missing hotplug
> > stuff might be worth a question to OE mailingist. If this didn't happen
> > by accident i don't call this a clever idea...
> >
> > > Is there any chance you can send me your local.conf?
> >
> > I could do this, but i don't think it will help - its rather old.
> >
> > Greetings
> >
> > Florian
> >
> > --
> > The dream of yesterday  Florian Boor
> > is the hope of todayTel: 0271-771091-14
> > and the reality of tomorrow.Fax: 0271-771091-19
> > [Robert Hutchings Goddard, 1904][EMAIL PROTECTED]
> >
> > 6C 44 30 4C 43 20 6B 61  16 07 0F AA E6 97 70 A8
>
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] swapfile is a huge improvement!

2006-01-21 Thread Danny Milosavljevic
Hi,

Am Sonntag, den 15.01.2006, 18:33 +0200 schrieb Juha Yrjölä:
> On Sat, 2006-01-14 at 11:55 -0500, ext Vladislav Grinchenko wrote:
> 
> > with swap on, what happens to the system when you manually remove the
> > mmc card? Or when you connect the USB cable to the unit?
> 
> Removing the MMC card will definitely cause Bad Things to happen.  It's
> also very tricky to protect against the Bad Things.
> 
> The system should listen on the MMC cover events, and turn off swap
> whenever the MMC cover is opened (which means we have a risk of the card
> departing).  Then the system should hurry to swap in all the pages on
> the MMC partition, which can take a *long* time depending on the amount
> of pages on swap.  

That's okay, put a RED LED next to the MMC card that can only be seen
when the slot is open :)

And when user isn't supposed to remove card, light it (on activity, or
when used for swap)... The one who still removes it deserves anything
happening after that ...

> Then, most likely, physical memory would run out.  At
> that point we are in a very bad situation indeed, if pages from some
> critical system processes are still swapped out.

Yeah ...

> 
> USB Mass Storage is not a problem if the swap resides on a separate
> partition.
> 
> Cheers,
> Juha

cheers,
   Danny


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


[maemo-developers] Problems with scratchbox installation

2006-01-21 Thread log2 ins
Hi all,

I'm trying to install scratchbox on Ubuntu, following the instructions from maemo.org tutorial.

The problem is that when I launch run_me_first.sh it stops with this error:

groupadd: impossibile fare il lock del file dei gruppi (English: it's not possible to lock the group file)
ERROR while creating group: sbox

I don't know what I have to do. Anyone can help me?

Thanks,
Antonio
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Maemo Alarm/Notifier Interface

2006-01-21 Thread Andrew Flegg
On 1/21/06, Danny Milosavljevic <[EMAIL PROTECTED]> wrote:
>
> What about just warning the user when he tries to power off?
>
> [ Poweroff but events are pending
> [
> [ The next event comes up on xx.xx. at xx:xx.
> [ Are you sure you want to power off and possibly miss the alarm?
> [
> [   [Oops]  [Power Off]

But what if the event's in a week or so? How do you remember to power it
up again? Set an alarm somewhere else, perhaps? ;-)

> However,
> 1) It wouldn't occur to me that a switched-off cell phone would deliver
> the alarm. [somewhat Off-Topic: with cell service providers in our
> country _tracking where the users are and telling it to random callers_,
> I'd throw it away the second I would see it reactivating from poweroff]

Every *single* phone I've owned with an alarm function will turn itself on to
sound the alarm. Whether Nokia, Sony Ericsson or other...

> 2) If I have alarms set but switch the cell phone off, I do it
> deliberately because I want my peace and quiet (also not to be able to
> be called), and if I had a meeting with the president of the country and
> now miss the alarm, _so be it_ (of course it could warn me when I try to
> switch it off, but not after that). Of course that's maybe a personality
> problem (or just coping with complexity), but that's what I do :)

If you want your phone to be quiet, you set it to silent mode - which is
remembered when it turns itself back on to sound the alarm.

> There is also the side case to consider that when baterry runs low, I
> turn it off to conserve power for later use when I need it more
> urgently.

Indeed, and my own use case for alarms is that if I've set an alarm to
go off that is the absolute most important thing to happen. If my battery's
running low and I need to turn the device off to conserve more power,
it's still important it'll turn itself on to alert me.

> If it wouldn't really turn off when I tell it to, how much
> power would that draw? Would it endanger the later use? Or would it be
> neglectable?

Except off will mean off - the chip which re-awakes the device is already
running and keeping track of the time even when the device is
hard-off.

Cheers,

Andrew

--
Andrew Flegg -- mailto:[EMAIL PROTECTED]  |  http://www.bleb.org/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Maemo Alarm/Notifier Interface

2006-01-21 Thread Danny Milosavljevic
Hi,

Am Montag, den 16.01.2006, 14:24 +0200 schrieb Igor Stoppa:
> On Fri, 2006-01-13 at 16:11 +0100, ext Nils Faerber wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > Igor Stoppa schrieb:
> [snip]
> > > Obviously they have different wakeup latencies but all of them are
> > > insignificant, when compared to the delay that would be introduced by a
> > > traditional suspend-to-disk, which is the closer state to the "poweroff"
> > > that youu are mentioning. 
> > 
> > Well, power-off is something like shutdown in the first place, not
> > necessarily connected to suspend to disk - you could simply reboot the
> > device loosing your state.
> That's not really desired in a consumer device.
> > 
> > But as someone ales already pointed out I would also accept and even
> > expect that a device that is switched off (770 power button -> switch
> > off) will indeed keep being switched off despite of any occuring alarms.
> > The user should know what he does when switching off his/her device. So
> > I think we can basically ignore the power off problem and concentrate on
> > the other above mentioned power/sleep states.
> > 
> Again, we are talking about something that is actually meant to be sold,
> so it has to behave nicely. Personally I like to have my alarms to be
> fire & forget. What's the point of setting an alarm if I have to
> remember to take care of the thing that should remind me of it?

What about just warning the user when he tries to power off?

[ Poweroff but events are pending
[
[ The next event comes up on xx.xx. at xx:xx.
[ Are you sure you want to power off and possibly miss the alarm?
[ 
[   [Oops]  [Power Off]

As a first-time Arm user, I have no deep idea about handhelds and such,
but I can tell you that I do want Off mean OFF. 

If you actually mean that the device could sleep "deeper" when user is
not using it but keeping it switched on, then ok. But if user turns it
off manually, the thing better _stay that way_.

The point being for example my Nokia cell phone has alarms too. They are
nice and dandy, and I do use them...

However,
1) It wouldn't occur to me that a switched-off cell phone would deliver
the alarm. [somewhat Off-Topic: with cell service providers in our
country _tracking where the users are and telling it to random callers_,
I'd throw it away the second I would see it reactivating from poweroff]

2) If I have alarms set but switch the cell phone off, I do it
deliberately because I want my peace and quiet (also not to be able to
be called), and if I had a meeting with the president of the country and
now miss the alarm, _so be it_ (of course it could warn me when I try to
switch it off, but not after that). Of course that's maybe a personality
problem (or just coping with complexity), but that's what I do :)

> 
> Even if we can achieve roughly 10 days of standby time, that's not much
> compared to the power saving that can be achieved by effectively
> switching off the device over very long periods of inactivity.

semi-off, you mean. Off except for the RTC and interrupt lines and
minimal arm processor power and lines in-between and whatnot. e.g.
standby...

There is also the side case to consider that when baterry runs low, I
turn it off to conserve power for later use when I need it more
urgently. If it wouldn't really turn off when I tell it to, how much
power would that draw? Would it endanger the later use? Or would it be
neglectable?

cheers,
   Danny

> That would be compromised by such an approach of delivering alarms only
> when the device is on.
> 
> These small details make the difference between a "device for hackers
> only" and a device that can leverage the benefits of running linux and
> yet provide a good user experience even to the regular users.
> 
> > >>As long as there is such a timer which can be used that would be fine. 
> > >>Sounds a
> > >>little bit similar to what we do on the iPAQ.
> > > I used generic terms, but the Omap RTC is what I had in my mind.
> > > However this fine-grained resolution would be lost when the device is
> > > _really_ off and the usual trick to wake up and wait would be required.
> > > 
> > > And the RTC has to be added to the list of wakeup sources that can
> > > trigger the transition from any sleep state to running.
> > 
> > That is just a bit in some regsiter - a very trivial kernel
> > modification. The more problem would be to write an OMAP RTC compatible
> > driver for the 1710 (if not yet existent, which it IMHO is not) since
> > there is not documentation for the 1710 publically available.
> I checked it some time ago for a basic wakeup functionality and apart
> for a few changes that functionality was already provided.
> > 
> > I wrote the first SA1110 RTC driver and this was pretty easy given you
> > have the docs. After toggling the wakeup source register bit for RTC we
> > had proper wakeup alarms on the iPaq ;) This was basically one weekend's
> > work without prior experience with RTC code.