Comments (3)
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.
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.
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)
- MacOS ARM incompatible HOT 3
- Unable to open connection to multiple identical devices HOT 1
- HidApi.read returning -2(DEVICE_ERROR) and "Device not initialised" seen when trying to fetch SN, PID HOT 4
- Specify minimum JNA version required HOT 1
- hid4java always uses the libusb variant of libhidapi on linux-x86-64 HOT 1
- support hidapi 0.14.0 HOT 2
- Branch cleanup HOT 1
- Update MVN repository content
- USB HID Set Report and Get Report HOT 10
- How can i read the scanner data. HOT 3
- Pre-release checklist for 0.8.0
- Regression in `hidApiLibrary.hid_open_path(path)` v 0.8 HOT 6
- On Ubuntu 22.04 64bit `WideStringBuffer` is not applicable for `hid_error`
- Support RPi OS "bullseye" aarch64; support old glibc versions HOT 5
- Android support HOT 1
- macOS API calls must be thread safe
- WriteFile: (0x00000005) Access is denied HOT 7
- Threading (?) causing glibc/low level crashes HOT 4
- org.hid4java.HidDevice.read(HidDevice.java:402) java.lang.NegativeArraySizeException: -1 on read failure
- Used in systems with security policies:failed to map segment from shared object HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hid4java.