maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   At a complete loss regarding Easy Debian and arduino (https://talk.maemo.org/showthread.php?t=67296)

FRuMMaGe 2010-12-22 03:54

At a complete loss regarding Easy Debian and arduino
 
Please help me.

I have been trying for WEEKS to install the arduino gui in Easy Debian see this thread

I enable the squeeze repos, then try to install the package. It informs me that it has to download 111MB of files and that 212MB of space will be used. After the files are downloaded, it begins the installation but after COUNTLESS attempts my N900 shuts down at around 50-70% of the installation. This ruins my Easy Debian install and I have to start over.

I have tried with/without overclocking, resizing the Easy Debian file system, apt-get, synaptic, absolutely everything I can think of.

I have even tried installing the maemo SDK in vmware to try and install the files to the ED image directly from my laptop, but I cannot work out how to do it.

Other people have tried it and are having no problems whatsoever.

PLEASE can someone try to help. The ONLY thing I can think of is if someone does me a MASSIVE favour and installs it to their Easy Debian image and uploads it for me to download.

I have spent sleepless nights trying to install this 1 application and I am at a complete loss. Does anyone have any idea what I can do?

Thank you in advance

FRuMMaGe

GameboyRMH 2010-12-22 04:15

Re: At a complete loss regarding Easy Debian and arduino
 
What you might want to try to rule out any software problems, is do a full rsync backup then do a rootfs restore and install a fresh Easy Debian image, and see if you get the same error. If you do, you might want to consider that it could be a hardware problem - maybe something is overheating?

kingoddball 2010-12-22 09:39

Re: At a complete loss regarding Easy Debian and arduino
 
Why are you enabling squeeze repos?

Just leave easy debian STANDARD. Don't play around with it.
Goto chroot (icon)
Code:

apt-get install arduino --fix-missing
I have done it more than once now to test.
Done.
Do a fresh Easy Debain. Don't install anything until arduino has been installed.

You know that you can't fully program it?
You don't have access to all symbols in Debain (like: [ ])
Host mode may or may not work - I have no tried it. Bluetooth serial - Does it work?

Edit:

Once you install it - If you want to run it without easy debian - YOU CAN! :)

xterm: debbie arduino

Another option you do have...

Get the downloads from debians main website and compile this ON your N900 with easy debain (arduino is for all builds [source]).

GameboyRMH 2010-12-22 13:06

Re: At a complete loss regarding Easy Debian and arduino
 
Quote:

Originally Posted by kingoddball (Post 901910)
Get the downloads from debians main website and compile this ON your N900 with easy debain (arduino is for all builds [source]).

I think that's why he was enabling the squeeze repos, you have to do that to be able to install build-essential and compile stuff, and that may be causing the problem. If he can just install the arduino IDE from the repos that would be a better approach.

kingoddball 2010-12-22 19:27

Re: At a complete loss regarding Easy Debian and arduino
 
No need for squeeze repo's or anything other than what comes "out of the box".

Just leave easy debian exactly how it is.

mscion 2010-12-22 19:42

Re: At a complete loss regarding Easy Debian and arduino
 
Quote:

Originally Posted by kingoddball (Post 901910)

You don't have access to all symbols in Debain (like: [ ])
[source]).

Assuming you are using Debian LXDE,
you can have access to symbols [,],%,... by modifyling your
.xbindkeysrc file.

For example put in .xbindkeysrc file

"xvkbd -xsendevent -text '['"
Mod5 + Up


then

blue function key + up arrow

will make a [

EDIT: To have xbindkeys started in LXDE automatically include

@xbindkeys -f /home/user/.xbindkeysrc

in

/etc/xdg/lxsession/LXDE/autostart

More useful info can be found in the Easy Debian wiki.

kingoddball 2010-12-22 20:20

Re: At a complete loss regarding Easy Debian and arduino
 
Can someone with easy debian try this?
Just leave the setup standard (don't add/change any repos).

Just use the command above. Ignore all the errors.

FRuMMaGe 2010-12-22 21:08

Re: At a complete loss regarding Easy Debian and arduino
 
Quote:

Originally Posted by kingoddball (Post 901910)
Why are you enabling squeeze repos?

Just leave easy debian STANDARD. Don't play around with it.
Goto chroot (icon)
Code:

apt-get install arduino --fix-missing
I have done it more than once now to test.
Done.
Do a fresh Easy Debain. Don't install anything until arduino has been installed.

You know that you can't fully program it?
You don't have access to all symbols in Debain (like: [ ])
Host mode may or may not work - I have no tried it. Bluetooth serial - Does it work?

Edit:

Once you install it - If you want to run it without easy debian - YOU CAN! :)

xterm: debbie arduino

Another option you do have...

Get the downloads from debians main website and compile this ON your N900 with easy debain (arduino is for all builds [source]).

Thanks for the great suggestions, but it can't find the arduino package on a fresh install. That's why I enabled the squeeze repos.

Which image are you using?

FRuMMaGe 2010-12-22 23:07

Re: At a complete loss regarding Easy Debian and arduino
 
Just tried using the command:

sudo apt-get install --no-install-recommends arduino

I was hoping that as it installs less packages, I may bypass any potential package that is causing the reboot.

Same problem :(

kingoddball 2010-12-22 23:50

Re: At a complete loss regarding Easy Debian and arduino
 
Are you using the newest easy debian version? There are a few different builds...

FRuMMaGe 2010-12-23 16:25

Re: At a complete loss regarding Easy Debian and arduino
 
Quote:

Originally Posted by kingoddball (Post 902446)
Are you using the newest easy debian version? There are a few different builds...

I am using debian-m5-v3d.img.ext2

kingoddball 2010-12-23 19:38

Re: At a complete loss regarding Easy Debian and arduino
 
Not that I think it makes any difference, but I'm using: debian-m5-v3e.img.ext2

FRuMMaGe 2010-12-23 20:26

Re: At a complete loss regarding Easy Debian and arduino
 
Quote:

Originally Posted by kingoddball (Post 903022)
Not that I think it makes any difference, but I'm using: debian-m5-v3e.img.ext2

Worth a shot. I'll post back with results

FRuMMaGe 2010-12-23 22:14

Re: At a complete loss regarding Easy Debian and arduino
 
Progress!

I am now 90% sure that it was an overheating problem. Before trying the v3e image (I'm on v3d) I painstakingly installed each dependency 1 by 1 and success!

However, I am left with 2 problems.

1. It seems that this is an old version of the IDE, as there is no option for the model that I have bought, the Arduino Uno. However, it may work with it anyway as I have never used an Arduino before and mine isn't arriving now until January (thank you very much snow).

2. About 30% of the time I launch the program, whether from chroot or lxde, I am greeted with the following java error:
Code:

[root@deb-m5v3d: /]arduino
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (os_linux_zero.cpp:236), pid=2658, tid=1751823472
#  Error: caught unhandled signal 4
#
# JRE version: 6.0_18-b18
# Java VM: OpenJDK Zero VM (14.0-b16 mixed mode linux-arm )
# Derivative: IcedTea6 1.8.3
# Distribution: Debian GNU/Linux unstable (sid), package 6b18-1.8.3-2
# An error report file with more information is saved as:
# /usr/share/arduino/hs_err_pid2658.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#  http://icedtea.classpath.org/bugzilla
#
/usr/bin/arduino: line 8:  2658 Aborted                java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -jar /usr/share/arduino/arduino.jar

This has also happened a few times while the program is running.

If anyone could help me overcome this last hurdle it would be awesome and I would be willing to throw a parade for them :D

EDIT: I found out I need to have version 0021 to work with my board, but the only version in the repo is 0018. I tried the debian and ubuntu natty armel debs but they run almost unbearably slowly and probably won't work anyway.

Any suggestions as to how I can compile them myself? I tried the "git" installation as instructed on the Arduino web site, but I recieve the above java error after a few seconds of compiling.

qwerty15 2011-01-16 16:41

Re: At a complete loss regarding Easy Debian and arduino
 
Quote:

Originally Posted by FRuMMaGe (Post 901778)
Other people have tried it and are having no problems whatsoever.
...
I am now 90% sure that it was an overheating problem. Before trying the v3e image (I'm on v3d) I painstakingly installed each dependency 1 by 1 and success!

Just to add my 2c, I've been having the exact same said problems, albeit not with installing arduino specifically. Like when installing build-essential my phone crashed about halfway through leaving a broken install. Then I disabled swappolube and it worked, but still other larger packages crashed during install. I noticed the N900 getting warm during install. Maybe that's the problem. Heat and overloaded i/o. I guess some people's N900s are more stable than others given this stress. Odd the regular app installer shows no issues. I'm going to try installing the packages 1 by 1 to see if that works.

EDIT:

Yes, installing packages 1 by 1 seems to work. However, for some reason the "Close Easy Debian" script crashes. Hopefully a reboot will fix the problem.

FRuMMaGe 2011-01-17 18:16

Re: At a complete loss regarding Easy Debian and arduino
 
Quote:

Originally Posted by qwerty15 (Post 921629)
Just to add my 2c, I've been having the exact same said problems, albeit not with installing arduino specifically. Like when installing build-essential my phone crashed about halfway through leaving a broken install. Then I disabled swappolube and it worked, but still other larger packages crashed during install. I noticed the N900 getting warm during install. Maybe that's the problem. Heat and overloaded i/o. I guess some people's N900s are more stable than others given this stress. Odd the regular app installer shows no issues. I'm going to try installing the packages 1 by 1 to see if that works.

EDIT:

Yes, installing packages 1 by 1 seems to work. However, for some reason the "Close Easy Debian" script crashes. Hopefully a reboot will fix the problem.

Good to know my N900 isnt faulty anyway. This is the only situation where it seems to overheat. It gets pretty warm when playing some n64 games while overclocked but it has never crashed from it.

Never did get a usable version of the 0021 ide working though, so if anyone could help that would be great.


All times are GMT. The time now is 00:55.

vBulletin® Version 3.8.8