Re: OS2008 N800 and root password

2007-11-28 Thread Michael Wiktowy
On Nov 28, 2007 9:22 PM, Michael Wiktowy <[EMAIL PROTECTED]> wrote:
> Is becomeroot available somewhere for OS2008? I found that to be a
> nice neat way of doing the config hackery needed to enable root
> without R&D mode.

Nevermind. I found it and since OS2008 uses the same gainroot
mechanism and the deb doesn't contain any binaries, just a simple sed
command that short circuits the /usr/bin/gainroot script to not look
for the R&D mode flag, it works like a charm.
Installing the following and typing 'sudo gainroot' in a terminal
worked for me to gain root access. Then I set a passwd for user and
ssh'ed in using that account just fine and I can escalate privilege as
needed.

It may work for you too but I make no guarantees.

http://eko.one.pl/maemo/dists/mistral/user/binary-armel/becomeroot_0.1-2_armel.deb

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


Re: OS2008 N800 and root password

2007-11-28 Thread Michael Wiktowy
On Nov 27, 2007 1:12 PM, Kalle Vahlman <[EMAIL PROTECTED]> wrote:
> 2007/11/27, Aleksandr Koltsoff <[EMAIL PROTECTED]>:
> > william maddler wrote:
> > > Am I wrong? Or root password on OS2008 for N800 is not "rootme" anymore?
> > > Thank you.
> > It is. However if you refer to logging in over ssh, the device needs to
> > be in R&D mode to allow you in as root.
>
> Unless you have your ssh keys set up to allow passwordless login, it seems.

Is becomeroot available somewhere for OS2008? I found that to be a
nice neat way of doing the config hackery needed to enable root
without R&D mode.

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


Re: web based local application GUIs

2007-11-28 Thread Owen Williams
On Wed, 2007-11-28 at 19:26 -0500, Austin Che wrote:
> > So why not just port mpd server component to maemo and be done with it?
> 
> Done.
> https://garage.maemo.org/projects/mpd
> 
> > There are 5 (five!) web based mpd clients listed on their site and 13 other
> > ones.
> >
> > In addition meamo is already at, what, 4 - 5 media players? There is so much
> > stuff out there talented developer like yourself can focus on...
> 
>  I think one thing that would help mpd on maemo would be
>  implementing gstreamer support for it so it could decode using
>  the dsp rather than the cpu. But otherwise, it works great.


Oooh, next step, converting the sonata player to run on the device -- a
platform isn't mature until there are at least 10 media players.

owen

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


Re: web based local application GUIs

2007-11-28 Thread Austin Che

> So why not just port mpd server component to maemo and be done with it?

Done.
https://garage.maemo.org/projects/mpd

> There are 5 (five!) web based mpd clients listed on their site and 13 other
> ones.
>
> In addition meamo is already at, what, 4 - 5 media players? There is so much
> stuff out there talented developer like yourself can focus on...

 I think one thing that would help mpd on maemo would be
 implementing gstreamer support for it so it could decode using
 the dsp rather than the cpu. But otherwise, it works great.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: web based local application GUIs

2007-11-28 Thread Nedim Cholich
On Nov 26, 2007 4:43 PM, Austin Che <[EMAIL PROTECTED]> wrote:

>
> > I've decided that I'd really like to separate the frontend code from the
> > backend code so we can have multiple frontends (pygame, gtk, etk, cli,
> WWW,
> > etc).
> >
> > This would mean that the Kagu backend process would be a daemon (aka a
> > service, depending on your education environment).
> > And the frontends would communicate with the backend process somehow. I
> see
> > a few possibilities here:
> >
> > 1.) Rpc (aka web services)
> > 2.) Dbus
> > 3.) Direct SQLite DB interaction
>
>I think this is a great idea. I personally use mpd just for this
>reason. In fact, why not just use the mpd protocol over net
>sockets? You'd immediately get a ridiculously large number of
>front-end clients and it would work over the net:
>http://mpd.wikia.com/wiki/Clients


Reading initial post this was my first thought. And not only there already
is such an application (mpd) but a client for is has been ported to maemo (
http://mmpc.garage.maemo.org/) and it's excelent. I use it every day to
control music on my media server.

So why not just port mpd server component to maemo and be done with it?

There are 5 (five!) web based mpd clients listed on their site and 13 other
ones.

In addition meamo is already at, what, 4 - 5 media players? There is so much
stuff out there talented developer like yourself can focus on...
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Is it possible to make a "well-behaved" pyGame app with maemo-python ?

2007-11-28 Thread Thomas D. Waelti
> However, I have been unable to adapt the mClock example for the
> service file successfully. As soon as I reference the X-Osso-
> Service value in the desktop file, I get a lengthy "Loading..."
> banner and nothing else, even though I call osso.Context() early in
> my code. I must be missing something still...

Does the service really load your app?
Try to launch the application manually from xterm using the same command that 
you wrote into the service file.
Does it come up then?

> Also, I've noticed that when pressing the Home button, in the task
> list the app has the correct icon by is listed as "unknown",
> although the code does call pygame.display.set_caption(). Is there
> a hack for this too ?

No, this is a known bug. Somewhere between SDL and Hildon, this information 
gets lost. Identical on all pygame apps.
(NOT in Pymaemo, see my bug report in 
https://garage.maemo.org/tracker/index.php?func=detail&aid=1597&group_id=40&atid=229)

Best regards
-Tom


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


Re: Is it possible to make a "well-behaved" pyGame app with maemo-python ?

2007-11-28 Thread Fred Pacquier
Jesse, Levi, Eero, Thomas : thanks to all of you for your answers, hints 
and links !

All were informative and useful. I hadn't realized till now that 
pyGame/SDL apps were treated so specifically, and I'd been looking in 
all the wrong places...

So, the trick with StartupWMClass in the desktop file, and setting the 
SDL_VIDEO_X11_WMCLASS env var solved the main problem : getting the icon 
in the task bar (but without the "Loading..." banner at launch). Phew !

However, I have been unable to adapt the mClock example for the service 
file successfully. As soon as I reference the X-Osso-Service value in 
the desktop file, I get a lengthy "Loading..." banner and nothing else, 
even though I call osso.Context() early in my code. I must be missing 
something still...

Also, I've noticed that when pressing the Home button, in the task list 
the app has the correct icon by is listed as "unknown", although the 
code does call pygame.display.set_caption(). Is there a hack for this too ?

Thanks in advance for any further hints,
fp

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


Re: web based local application GUIs

2007-11-28 Thread Allan Doyle


On Nov 27, 2007, at 23:12 , Jesse Guardiani wrote:




On 11/27/07, Allan Doyle <[EMAIL PROTECTED]> wrote:
One of our original ideas for the MWOW project (http://museum.mit.edu/mwow 
) was to have the local web app talk to a local web proxy which then  
adds location info to the HTTP request and sends the request to a  
remote server. That way you can use the on-board linux tools to  
query a GPS, use wifi location, bluetooth beacons, etc.



What are you using for a "local web app"? Anything I can play with?  
Using a proxy is pretty hard core. I probably would have been lazy  
and just used an iframe.


We actually didn't go the proxy route for the first system because we  
had problems simultaneously using the WiFi radios for location  
detection and web access.


You can find our somewhat stale code here:
https://mwow.mit.edu/trac/mwow

I've adapted the code to run on the 800 but have not done much else. I  
need to get back into some serious coding... I think microb is the way  
to go for my next go at this.


Allan





--
Jesse Guardiani
Software Developer / Sys Admin
[EMAIL PROTECTED]


--
Allan Doyle
Director of Technology
MIT Museum
+1.617.452.2111




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


Maemo repositories (contrib, extra, etc)

2007-11-28 Thread Nicolas
Hi,

I have read the archives about the repositories, but could not find a simple
answer to this question:

what is the difference between, or what are the policies for these 4
repositories :
- http://repository.maemo.org/
- http://repository.maemo.org/contrib/
- http://repository.maemo.org/extras/
- http://repository.maemo.org/extras-devel/

Regards,
Nicolas.

PS: I am interested in Chinook
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Looking for npapi microb-engine header files

2007-11-28 Thread Felipe Contreras
On Nov 28, 2007 10:33 AM, Jean-Sébastien Légaré <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I would like to port an existing mozilla plugin to the microb browser
> on the N800 running the latest OS2007. The whitepaper on the
> microb-engine available at browser.garage.maemo.org doesn't say much
> about their implementation of NPAPI and NPRuntime.
>
> Where could I get the set of header files, specific to the
> microb-engine on the n800 that I need to include in my plugin code? I
> am referring to the header files that we normally find in the
> gecko-sdk, such as npapi.h and npupp.h.
>
> Also, once I manage to compile the plugin as a shared object, how can
> I register it in the browser ? e.g. Can I install it with xpi from the
> browser? Can I place it in user's home directory under
> .mozilla/plugins/ or something similar ?

I think you can use the following as a guide:
http://repository.maemo.org/extras/pool/bora/free/t/tablet-browser-default-plugin/

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


Re: gftp port to maemo: some questions

2007-11-28 Thread Nicolas
New screenshot with smaller fonts, much more usable:

http://www.screenshots.cc/view_image/847fe1309/shot-2007-11-28-13-46-15.png
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: web based local application GUIs

2007-11-28 Thread Aleksandr Koltsoff
Hello,

Tomi Ollila wrote:
> On Wed 28 Nov 2007 00:21, Aleksandr Koltsoff <[EMAIL PROTECTED]> writes:
>> The lo interface is UP and running.
> 
> You're right! By a coincidence I have both 770 and 800 on my desk now,
> neither running the latest OS version and both, indeed, have localhost
> interface up like the above (/sbin/ifconfig gives same output)
> 
> So I remember incorrectly -- the real reason is (probably) that when
> socket(2) system call is started, these Internet Tablets tries to make
> internet connection up (either via wlan, or bt-connected phone)
> and if that cannot be made, socket(2) fails. 
> There is no way knowing at socket(2) time that user wants to connect(2)
> 127.0/8 addresses. There is probably good reason to wrap socket() instead
> of connect(), bind() (and some other system calls.. timeouts maybe...).
> 
> Well, I'm (quickly) writing this without checking earlier discussion 
> of the matter. The situation is probably well-explained there (?).

Ah yes, this does indeed sound slightly familiar back from the 1.0 days.
Maybe a proper testing program is in order then. I might take a look at
this later if I have spare time. If the syscall is wrapped, then yes, it
 would make things slightly difficult, but I'm wondering whether there's
a simple way to avoid that even in that case.

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


Re: web based local application GUIs

2007-11-28 Thread Martin Grimme
The network behavior on the tablet is really weird. When I connect to a
bluetooth network with PAN, non-Nokia applications have no problem accessing
the net. But the webbrowser still insists that there's no connection
available. If I startup an adhoc wifi connection at the same time, Nokia
applications can use the bluetooth network.


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


Re: Static and dynamic linkage

2007-11-28 Thread Frantisek Dufka
[EMAIL PROTECTED] wrote:
> Is there a standard way to ask for a specific library to be linked in 
> statically and the rest to be dynamic?
> 
> Specifically, I want to statically link in the SQLite library but leave 
> the rest of the linkage as is.
> 

It may work in your case but in general there may be unexpected issues 
when mixing this especially when using c++
check http://www.trilithium.com/johan/2005/06/static-libstdc/

Also in plain C linking some library foo statically while linking other 
library bar dynamically that is already linked dynamically to foo (and 
similar variations of this when using multiple dependent libraries) may 
give you unexpected issues both at link time and also later at run time.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Looking for npapi microb-engine header files

2007-11-28 Thread Jean-Sébastien Légaré
Hi.

I would like to port an existing mozilla plugin to the microb browser
on the N800 running the latest OS2007. The whitepaper on the
microb-engine available at browser.garage.maemo.org doesn't say much
about their implementation of NPAPI and NPRuntime.

Where could I get the set of header files, specific to the
microb-engine on the n800 that I need to include in my plugin code? I
am referring to the header files that we normally find in the
gecko-sdk, such as npapi.h and npupp.h.

Also, once I manage to compile the plugin as a shared object, how can
I register it in the browser ? e.g. Can I install it with xpi from the
browser? Can I place it in user's home directory under
.mozilla/plugins/ or something similar ?

Thank you very much,
Jean-Sebastien
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: microb feature requests?

2007-11-28 Thread Luca Olivetti
En/na Jesse Guardiani ha escrit:
> I'm sure I'll catch a lot of flames on these, but I was playing with an 
> iphone today and while I think that microb is absolutely brilliant, I 
> also think that completing these tickets would take microb to a whole 
> new level of total brilliant amazingly awesomeness-ism:
> 
> https://bugs.maemo.org/show_bug.cgi?id=2407
> https://bugs.maemo.org/show_bug.cgi?id=2408

I'd be happy if zooming as it is now worked for the pages I read:
https://bugs.maemo.org/show_bug.cgi?id=2049

(disclaimer: I didn't test with os2008 yet, but since the bug is in 
state UNCONFIRMED I don't think it's been fixed).

Bye
-- 
Luca

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


Re: Static and dynamic linkage

2007-11-28 Thread Eero Tamminen
Hi,

ext [EMAIL PROTECTED] wrote:
> Is there a standard way to ask for a specific library to be linked in 
> statically and the rest to be dynamic?

Just specify the static library you want to link with:
gcc -o test -lsomedynamiclib my-static-libs/foobar.a


> Specifically, I want to statically link in the SQLite library but leave 
> the rest of the linkage as is.


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