BUG Community

Welcome! Log In

Forums Recent Posts

Subscribe to Recent Posts 12,449 posts found

Sep 27, 2009 4:20pm
Medium Dylan 1 post

Topic: Way Off Topic / Java for Mac

Well, i just switched from a PC to a Mac, and registered on the Apple Developer Connection. I need JDK to download netbeams, and i simply cannot find a JDK download on the developer connection website that is compatible with Mac OS X Version 10.5.8. If anyone has the download link or some help…please post.
Sep 25, 2009 5:46pm
User_img_not_found_03_med fiil123 14 posts

Topic: BUGmodules / Phidgets in the USB on the vonHippel

Hey Brian

Using the Arduino board sounds really interesting and actually we have a free time distributor of the Arduino board here at the office. I will try it out and make a post with some resluts, maybe:)

Cheers

K. Fiil

Sep 25, 2009 3:04am
User_img_not_found_01_med buguser 17 posts

Topic: BUGbase / Bugwifi and windows-xp

with some luck i was able to get back my connection to the bug from eclipse over wifi

and i was trying the BUGGraph as per the instructions above, however i see the foll error after libswt is sent to bug

 

Wed Jan 28 10:07:48 UTC 1970 Failed to start new application bundle: /usr/share/java/apps/SWTDisplayProvider.jar
        Exception: Error starting bundle Bundle [43]: file:/usr/share/java/apps/SWTDisplayProvider.jar
org.osgi.framework.BundleException: Error starting bundle Bundle [43]: file:/usr/share/java/apps/SWTDisplayProvider.jar
        at ch.ethz.iks.concierge.framework.BundleImpl.startBundle(Unknown Source)
        at ch.ethz.iks.concierge.framework.BundleImpl.start(Unknown Source)
        at com.buglabs.bug.program.UserAppManager.startApp(Unknown Source)
        at com.buglabs.bug.program.UserAppManager.processQueue(Unknown Source)

Sep 25, 2009 1:01am
User_img_not_found_01_med buguser 17 posts

Topic: BUGbase / Bugwifi and windows-xp

thanks kschultz and jconnolly,

i was able to start restart the LCDBright apps after removing the storage directory,

after trying to install some more apps, i got into an issue where i cannot connect to my bug,,

i get the following error on eclipse

Unable to connect to bugagain
java.io.FileNotFoundException: http://192.168.1.66:-1/program

 

and on bug i get the following in /var/log/messages

Jan 28 08:14:57 bug authpriv.info dropbear4426: Child connection from ::ffff:192.168.1.67:51257

Sep 24, 2009 8:03pm
Medium kschultz 107 posts

Topic: BUGbase / Bugwifi and windows-xp

Buguser,

Have you checked out this post? http://community.buglabs.net/kschultz/posts/137…

BUG uses AWT by default because it is a better cross platform choice than SWT. AWT does basically everything in Java with a platform specific peer, SWT does almost everything natively with just a Java wrapper. That makes it faster and more full featured, but a pain to work on multiple systems.

What you need are a set of class binaries for SWT for your host machine, and a set of class binaries on the BUG. The ones in libSWT are for the BUG. Do not clean it after downloading, that will wipe the class files and rebuild them incorrectly (or not at all). So just download it straight and put it onto the BUG.

For developing on the host machine you will have to link up the SWT binaries that come with eclipse to your app. The simple way is to add them to your classpath and write as a standard SWT app, and then right before you put it on the BUG switch to using the SWTDisplayProvider osgi service. The more robust way is to unjar your host SWT binary, fix the manifest, and rejar it and use SWTDisplayProvider the whole time.  The first way may be more straightforward.

If you are having trouble with it I’ll be happy to walk you through it in more detail. I haven’t actually tried it on Windows but I can if need be.

Sep 24, 2009 5:55pm
Medium bballantine 56 posts

Topic: BUGmodules / Phidgets in the USB on the vonHippel

Well, the Von Hippel has a couple of general purpose digital IO lines that you can call from Java.  We’ve used these for a couple of things, for example, the relay in our CEO’s “Hacking Health” project – http://www.gadgetocracy.com/ .  You can see all the different things the VH provides in a link I shared earlier.

We’ve also had a lot of success using the Arduino with the Von Hippel.  A search for “Arduino” on community.buglabs.net will turn up some blog posts.  Right now, daveriess is working on a servo control which is currently driven off of a microcontroller via the Von Hippel’s serial connection.  Any device that does serial over USB (for example the heart rate monitor interface from sparkfun used in the “Hacking Health” project) should be easy to code to in Java or Python (or whatever else you choose).

-Brian

Sep 24, 2009 4:41pm
Medium jconnolly 285 posts

Topic: Applications / Upgrading OLD BUG Kernel

Well, I’d suggest emailing support@buglabs.net and asking about the handylink cables anyway.  While they’re far from ideal, they are very useful for debugging.

Sep 24, 2009 4:34pm
User_img_not_found_06_med co149 2 posts

Topic: Applications / Upgrading OLD BUG Kernel

This helps enormously. I’ve been looking at u-boot longingly because I thought I needed a handylink cable to install it. Clearly I don’t. Thanks for the help!

Sep 24, 2009 3:57pm
User_img_not_found_03_med fiil123 14 posts

Topic: BUGmodules / Phidgets in the USB on the vonHippel

Hej Brian

Thanks for the thorough answer, to be honest it sound like a lot of work:) My intent with the   Phidgets was to get some easy access to some sensors, actuators etc.

Could you have any idea to such kind of think?

Cheers
K. Fiil

Sep 24, 2009 3:43pm
Medium jconnolly 285 posts

Topic: Applications / Upgrading OLD BUG Kernel

I’ve written up a blogpost for you loyal old BUGgers.  I hope this helps.  One thing you may want to consider first though is whether you even have bug_kflash.  Try running

which bug_kflash

first to see if that program is in your rootfs.

http://community.buglabs.net/jconnolly/posts/16…

Powered by Community Engine

Top
Login
Close
Bottom