controlP5 - linux box

29 views
Skip to first unread message

technician4

unread,
Oct 1, 2010, 2:36:44 AM10/1/10
to USB-Octomod
more fun!

i would appear that the host app requires a library called controlP5
which is supported on osx and windows only. greg, how were you able
to create a precompiled linux version?

http://www.sojamo.de/libraries/controlP5/

Greg Surges

unread,
Oct 1, 2010, 8:04:50 AM10/1/10
to USB-Octomod
Hi, didn't realize that was not a Linux-friendly library. Processing
has an "Export" feature, which lets you compile binaries for OS X,
Windows, and Linux in one go. Not sure why it didn't give an error for
the Linux version. I'm assuming you've tried to run it unsuccessfully?

Check out this thread - seems like it's working on Ubuntu for some?:

http://processing.org/discourse/yabb2/YaBB.pl?num=1264780982

Finally, and this is perhaps more helpful, I do have an older version
of the code which doesn't use controlP5. I want to make a few changes
to bring it up to the same transmission speed as the OS X/Windows
version, but will post it soon, probably later today.

- Greg

Greg Surges

unread,
Oct 1, 2010, 12:35:36 PM10/1/10
to USB-Octomod
Please try this out and let me know how it works: USBOctomod10012010Linux

You'll have to change the serial and osc ports manually for now, but I've tested it and it seems to work fine....

- Greg

matthew rizzuto

unread,
Oct 1, 2010, 2:22:26 PM10/1/10
to usb-o...@googlegroups.com
thanks for the file greg!

however, now i'm getting a new error, please see the attached screenshot.
http://picasaweb.google.com/matthewrizzuto/Octomod#5523135339920236850

the version posted on the website runs for me, but does not receive osc data, it further does not allow me to select a serial port.  although at this point i'm not certain this isn't an OS problem to work out...

on the flip side, i've tried to get things running in windows and my experience is as follows:

-burn teensy
[launch teensy loader, launch arduino-0018 (with teensy add-ons installed), open "USB_Octomod_Teensy_08192010.pde", click verify, push teensy button, reboot ok! all seems well?]

-launch host app
[open "USB_Octomod_1.exe", double check com port in device manager, select com port (COM1 - see attached pic)]

-launch pd-extended
[run the attached patch "pdocto.pd", connect to 9999, successfully send OSC messages to host app!]

nothing happening on the board!  independent of what is happening on the software side my pins are always as follows:

D0: 4.84V
B0: 4.84V
B1: 0V
B2: 4.84V
pdocto.pd
screenshot_deviceman.JPG

Greg Surges

unread,
Oct 1, 2010, 3:13:53 PM10/1/10
to usb-o...@googlegroups.com
Looking at it right now, it appears to be related to the way PD transmits integers. I'll look into it further, but can you try the attached code and let me know if it works? Works from PD on my machine. I've included a .pd patch, note that the OSC messages should include all 8 channels in each.

- Greg 
USB_Octomod_2.zip

matthew rizzuto

unread,
Oct 1, 2010, 3:59:49 PM10/1/10
to usb-o...@googlegroups.com
greg,

would you be able to give be a brief run-through of your java version/installation in your linux machine.  this is very much where i'm stuck now, the .pde file won't execute at all (permissions enabled)...
Reply all
Reply to author
Forward
0 new messages