Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fingerworks Multitouch Utility Runner
# authenticate with the repository
# use a blank password
cvs -d:pserver:anonymous@jusb.cvs.sourceforge.net:/cvsroot/jusb login
# pull down the source
cvs -z3 -d:pserver:anonymous@jusb.cvs.sourceforge.net:/cvsroot/jusb co -P jusb
# change directories
cd jusb
# download the patch
curl https://raw.github.com/gist/1096642/28a4716fb5972d44afa47af0d1b2ffea4cc285da/jusb_osx.patch >jusb_osx.patch
# patch the source
# use Makefile as the file name
patch < jusb_osx.patch
# compile the source
make
# copy the files in to the referenced directory
cp -r libjusbMacOSX.jnilib* /Applications/FingerWorks/lib/jusb/
cp jusb.jar /Applications/FingerWorks/lib/jusb/
217c217
< JNI_INC = -I/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Headers
---
> JNI_INC = -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers
488a489
> native/*.o \
#!/bin/bash
export JAVAROOT=Contents/Resources/Java/
export CLASS_PATH=lib/jusb/jusb.jar:lib/FW_defaults.jar:lib/upgredit.jar:lib/jh.jar:lib/utility_help.jar:lib/jdom/xerces.jar:lib/jdom/jdom.jar:$JAVAROOT/lax.jar
cd /Applications/Fingerworks
java -Djava.library.path=lib/jusb -Dcom.apple.mrj.application.growbox.intrudes=true -classpath $CLASS_PATH fingerworks.firmup.UtilityLauncher
@DanThiffault
Copy link
Author

DanThiffault commented Dec 18, 2011

I think the error you're getting is because you're using a version of jUsb compiled on my system. There are probably some linked libraries that aren't the same. With my version in the application folder, can you try the steps from the blog posting? If that doesn't work, run the steps one at a time from build_source.sh. Send the output of any errors and the make command to my email address: d a n at 1 1 9 l a b s . c o m without the spaces and swap the at for @

@razic
Copy link

razic commented Dec 18, 2011

Email sent ;)

@buserror
Copy link

buserror commented Oct 17, 2012

Here I can also run the diag, but it seems to fail to kick the keyboard into DFU mode...
I'm running Mountain Lion BTW...
Oh also, the jusb repository is now empty somehow, I had to dig around the latest CVS head to build


new idDevice: 0x160, idProduct: 0x90b, idVendor: 0xe97
USB DFU suffix appended to: /Volumes/Users/michel/Documents/MyGestures/custom4f0040stealth34.U.byt
MTS_config Binary /Volumes/Users/michel/Documents/MyGestures/custom4f0040stealth34.U.byt ready for transfer!
Created Progress Panel, starting thread...
existing idDevice: 0x160 idProduct: 0x90b idVendor: 0xe97
Java computed firmware image CRC32 0x37665e04 on 34249 bytes
Exception in thread "Thread-8" java.lang.NoClassDefFoundError: usb/linux/DeviceImpl
at fingerworks.firmup.USBupgrader.a(Unknown Source)
at fingerworks.firmup.USBupgrader.downloadFirmwareFile(Unknown Source)
at fingerworks.firmup.USBupgrader.send2GestureProcessor(Unknown Source)
at fingerworks.firmup.a.run(Unknown Source)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.ClassNotFoundException: usb.linux.DeviceImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 5 more

@MDNich
Copy link

MDNich commented Nov 19, 2021

I've used this info and Platypus to create an application you can just drop in your Applications directory.

Fingerworks MultiTouch Utilities

sadly the link is broken could you reshare? I know its been almost 10 years now

@DanThiffault
Copy link
Author

DanThiffault commented Nov 19, 2021

@MDNich It has been a while since I've used that utility, let me see if I can find a copy somewhere 🤞

@MDNich
Copy link

MDNich commented Nov 19, 2021

Aww thank you soo much (I don’t have PPC computer anymore to put the software on, and Rosetta won’t run JNI libs for PPC. My only thus alternative is either buy an old ppc computer or get the Linux version without Java, which I am most inclined to)

@MDNich
Copy link

MDNich commented Nov 19, 2021

from Wikipedia on Rosetta 1:

https://en.m.wikipedia.org/wiki/Rosetta_(software)

cannot run the following:

Bundled Java applications or Java applications with JNI libraries that cannot be translated

@DanThiffault
Copy link
Author

DanThiffault commented Nov 19, 2021

@MDNich
Copy link

MDNich commented Nov 19, 2021

Thx, but do you have the Linux no Java version? I have the Mac one:(

@DanThiffault
Copy link
Author

DanThiffault commented Nov 19, 2021

I do not 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment