Reply
Thread Tools
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#111
Originally Posted by shep View Post
Hi All,


I ran the following which I thought would install it, but I cannot find it on the N900.


MADDE-0.5 ~/wwcalc
Shep $ mad remote -r wwcalc install wwcalc_0.1_armel.deb
Selecting previously deselected package wwcalc.
(Reading database ... 26277 files and directories currently installed.)
Unpacking wwcalc (from .../madde/wwcalc_0.1_armel.deb) ...
Setting up wwcalc (0.1) ...

MADDE-0.5 ~/wwcalc
Shep $ mad remote -r wwcalc ping
Runtime up and connectable


Any ideas?
What says

Code:
mad remote -r wwcalc run dpkg -L wwcalc
 
shep's Avatar
Posts: 85 | Thanked: 65 times | Joined on Jan 2010 @ Ireland
#112
Hi Too, thanks for the quick response

Originally Posted by too View Post
What says

Code:
mad remote -r wwcalc run dpkg -L wwcalc
I ran that command and got this:

MADDE-0.5 ~/wwcalc
Shep $ mad remote -r wwcalc run dpkg -L wwcalc
/usr
/usr/bin
/usr/bin/wwcalc
/usr/sbin
/usr/share
/usr/share/doc
/usr/share/doc/wwcalc
/usr/share/doc/wwcalc/changelog.gz
/usr/share/doc/wwcalc/copyright
/usr/share/doc/wwcalc/README.Debian


Sorry if I'm being dim here....what next?

I still don't see anything on my N900 menus.

Thanks,

Shep

Last edited by shep; 2010-01-15 at 09:54.
 
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#113
Shep:

see this:

http://talk.maemo.org/showpost.php?p...1&postcount=84

and, for reference.

Code:
developer ~ $ dpkg -L mad-developer
/usr
/usr/bin
/usr/bin/mad-developer
/usr/lib
/usr/lib/mad-developer
/usr/lib/mad-developer/mad-developer.sh
/usr/lib/mad-developer/mad-developer
/usr/lib/mad-developer/usbmodule.sh
/usr/lib/mad-developer/password.sh
/usr/lib/mad-developer/interfaces.sh
/usr/lib/mad-developer/dot-profile
/usr/lib/mad-developer/devrootsh
/usr/share
/usr/share/applications
/usr/share/applications/hildon
/usr/share/applications/hildon/mad-developer.desktop
/usr/share/icons
/usr/share/icons/hicolor
/usr/share/icons/hicolor/64x64
/usr/share/icons/hicolor/64x64/apps
/usr/share/icons/hicolor/64x64/apps/mad-developer.png
/usr/share/dbus-1
/usr/share/dbus-1/services
/usr/share/dbus-1/services/mad-developer.service
(between mad-developer 1.3.130 and 1.4.18 there are some directory
changes; therefore the paths do not match entirely...)

Last edited by too; 2010-01-15 at 13:30.
 

The Following User Says Thank You to too For This Useful Post:
Posts: 22 | Thanked: 5 times | Joined on Dec 2009 @ Copenhagen/Denmark
#114
Originally Posted by jcnielsen View Post
Ah, crap, no it didn't, seems I lost connection.
Thanks.
When setting up the runtime with 'mad-admin.....' do I need to be logged in on my N900 as developer? I still can't get any connection to the device. I can see in the MADDE terminal that a key is generated and saved, but the ssh to device fails. Do I need to setup the ssh is a speciel way?
 
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#115
Originally Posted by jcnielsen View Post
When setting up the runtime with 'mad-admin.....' do I need to be logged in on my N900 as developer? I still can't get any connection to the device. I can see in the MADDE terminal that a key is generated and saved, but the ssh to device fails. Do I need to setup the ssh is a speciel way?
You need mad-developer package on the n900

http://wiki.maemo.org/MADDE

has more information

Last edited by too; 2010-01-15 at 20:55.
 
shep's Avatar
Posts: 85 | Thanked: 65 times | Joined on Jan 2010 @ Ireland
#116
Originally Posted by too View Post
Shep:

see this:

http://talk.maemo.org/showpost.php?p...1&postcount=84

...
Hi Too,

I'm sorry, I read that post, but just couldn't fathom what to do

I found this posting from danielwilms which I tried to follow...I got quite far and when I do
Code:
mad remote -r wwcalc run dpkg -L wwcalc
it looks positive, but I still don't see that icon on the N900

Code:
MADDE-0.5 ~/wwcalc-0.1
Shep $ mad remote -r wwcalc run dpkg -L wwcalc            
/usr
/usr/bin
/usr/bin/wwcalc
/usr/sbin
/usr/share
/usr/share/doc
/usr/share/doc/wwcalc
/usr/share/doc/wwcalc/changelog.Debian.gz
/usr/share/doc/wwcalc/copyright
/usr/share/doc/wwcalc/README.Debian
/usr/share/icons
/usr/share/icons/hicolor
/usr/share/icons/hicolor/64x64
/usr/share/icons/hicolor/64x64/apps
/usr/share/icons/hicolor/64x64/apps/wwcalc.png

Anyone got any ideas?

Stephen

P.S. Apologies to Salser - I used your icons as i had none of my own, I don't intend to continue using them...just trying to get the packaging sorted and all that.
Attached Files
File Type: zip wwcalc-0.1.zip (347.9 KB, 94 views)
 

The Following User Says Thank You to shep For This Useful Post:
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#117
shep:

you need those .desktop and .service files. mentioned in
the post above...

something like:

wwcalc.desktop:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=wwcalc
Exec=/usr/bin/wwcalc
Icon=wwcalc
X-Window-Icon=wwcalc
X-Window-Icon-Dimmed=wwcalc
X-Osso-Service=com.nokia.mad_developer
X-Osso-Type=application/x-executable

and wwcalc.service

[D-BUS Service]
Name=org.maemo.wwcalc
Exec=/usr/bin/wwcalc


then there is this 'osso_initialize()' stuff i continue with
when I wake up later this day ....

... see mad-developer-launcher.c in

http://repository.maemo.org/extras-d..._1.4.22.tar.gz

for example usage of osso_initialize()

And, use `pkg-config --cflags libosso` and `pkg-config --libs libosso`
in your Makefile to find out required header and library files

Last edited by too; 2010-01-16 at 04:19.
 

The Following User Says Thank You to too For This Useful Post:
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#118
Originally Posted by too View Post
You need mad-developer package on the n900

http://wiki.maemo.org/MADDE

has more information
mad-developer is now in extras-devel repository, so in
can be apt-get installed on n900...
 

The Following 2 Users Say Thank You to too For This Useful Post:
Posts: 22 | Thanked: 5 times | Joined on Dec 2009 @ Copenhagen/Denmark
#119
Originally Posted by too View Post
mad-developer is now in extras-devel repository, so in
can be apt-get installed on n900...
I have that installed already, have installed and uninstalled a few times. Will try again. Thanks.
 
Posts: 21 | Thanked: 14 times | Joined on Dec 2009 @ Turku, Finland
#120
Originally Posted by too View Post
Outoa.

I also have PR1.1 now in my device and send worked OK.

Run the following commands and report their output:

Code:
 mad remote -r n900 run pwd
 mad remote -r n900 run ls -ld
 mad remote -r n900 run ls -l ..
I removed the package and installed it again via appmanager, and now it works again, so i won't run them commands anymore

But thank you anyway for your help!
 

The Following User Says Thank You to timperi For This Useful Post:
Reply

Tags
madde


 
Forum Jump


All times are GMT. The time now is 15:41.