Hi guys!
Thank you for your work. I installed the package on a Raspberry pi 4. It works!!
Here is my instruction :
( It certainly looks like dancing with a tambourine.
But the Java code gives me the fear, pain and hatred. I hope that in the future it will be corrected by knowledgeable people. )
I installed on a clean system downloaded from the original site "Raspbian Buster with desktop".
First, the standard:
sudo apt-get update
sudo apt-get upgrade
Then install Java and the necessary libraries:
sudo apt-get install openjdk-8-jre
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libusb-dev
sudo apt-get install libusb-java-lib
sudo apt-get install librxtx-java
Install OWON software on two options to choose from:
1)
git clone https://github.com/florentbr/OWON-VDS1022.git
2)
wget https://github.com/florentbr/OWON-VDS1022/archive/master.zip
unzip /home/pi/master.zip
cd /home/pi/OWON-VDS1022-master
(If you used Git the folder will be OWON-VDS1022 , but I used Wget)
Now we knock on the tambourines:
mkdir lib/linux/armhf
cp /usr/lib/arm-linux-gnueabihf/libusb.so /home/pi/OWON-VDS1022-master/lib/linux/armhf/
cp /usr/lib/libusbJava.so.0.8 OWON-VDS1022-master/lib/linux/armhf
cp /usr/lib/libusb.so /home/pi/OWON-VDS1022-master/lib/linux/armhf
cp /usr/lib/jni/librxtxSerial-2.2pre1.so /home/pi/OWON-VDS1022-master/lib/linux/armhf
Edit the installation script in two places:
nano /home/pi/OWON-VDS1022-master/install-linux.sh
main () {
local arch
case "$(uname -m)" in
x86_64|amd64) arch=x86_64 ;;
i?86) arch=i386 ;;
arm*) arch=armhf ;; #!!!!!!!!!!!!
*) raise "Architecture not supported: $(uname -m)" ;;
esac
build-deb () {
local arch=$1
# PK_ARCH=${arch/x86_64/amd64}
PK_ARCH=$arch #!!!!!!!!!!!!!!!
Save and exit
Ctrl-X
Next, change the attribute and run:
sudo chmod +x /home/pi/OWON-VDS1022-master/install-linux.sh
sudo /home/pi/OWON-VDS1022-master/install-linux.sh
After installation we make symbolic links:
cd /usr/lib/owon-vds-tiny
sudo ln -s librxtxSerial-2.2pre1.so librxtxSerial.so
sudo ln -s libusbJava.so.0.8 libusbJava.so
Everything is ready now you can run