Coder Social home page Coder Social logo

Support for ARM about hid4java HOT 3 CLOSED

MaxRoma avatar MaxRoma commented on September 18, 2024
Support for ARM

from hid4java.

Comments (3)

gary-rowe avatar gary-rowe commented on September 18, 2024

Yes. hid4java uses JNA under the covers and it defines the naming convention to use. You'll note from that file that linux-arm would be appropriate.

I've just pushed a more recent version of libhidapi on the develop branch based on an RPi compile. Can you clone and build locally (mvn clean install) and then use hid4java-develop-SNAPSHOT.jar in your project. Ideally it'll work out of the box.

If it doesn't then I'll see about running up a VirtualBox or similar to emulate a suitable ARM environment to expand the library but that may take some time due to other projects requiring attention.

from hid4java.

MaxRoma avatar MaxRoma commented on September 18, 2024

Hi!

Thank you for quick reply, you've saved my life) I've tested DEV version and it worked. Well at first it was complaining that there is no libudev.so.0 file (libudev.so.0 was replaced with libudev.so.1 from ubuntu 14.04 and forward). Nevertheless after applying this command sudo ln -sf /lib/arm-linux-gnueabihf/libudev.so.1 /lib/arm-linux-gnueabihf/libudev.so.0 everything started to work like a charm on ARM.

from hid4java.

gary-rowe avatar gary-rowe commented on September 18, 2024

No worries - glad I could help. This fix will go out in the 0.5.0 release which will probably be in late September judging by the downstream project driving development - MultiBit HD.

I'll update the dev notes to reflect the symlink - good catch.

from hid4java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.