Debian packaging of the Yepkit Switchable USB Hub control program

Christoph Biedl 3c126eb996 ykush-control 1.2.5+ds-1 3 years ago
.vscode 75f5aadd69 Import upstream version 1.2.5 4 years ago
bin 75f5aadd69 Import upstream version 1.2.5 4 years ago
debian 3c126eb996 ykush-control 1.2.5+ds-1 3 years ago
doc 75f5aadd69 Import upstream version 1.2.5 4 years ago
learn 75f5aadd69 Import upstream version 1.2.5 4 years ago
src 75f5aadd69 Import upstream version 1.2.5 4 years ago
.gitignore 75f5aadd69 Import upstream version 1.2.5 4 years ago
Doxyfile 75f5aadd69 Import upstream version 1.2.5 4 years ago
LICENSE.md 75f5aadd69 Import upstream version 1.2.5 4 years ago
Makefile 75f5aadd69 Import upstream version 1.2.5 4 years ago
Makefile_tests 75f5aadd69 Import upstream version 1.2.5 4 years ago
Makefile_win32 75f5aadd69 Import upstream version 1.2.5 4 years ago
Makefile_win32_cross 75f5aadd69 Import upstream version 1.2.5 4 years ago
Makefile_win64 75f5aadd69 Import upstream version 1.2.5 4 years ago
Makefile_win64_cross 75f5aadd69 Import upstream version 1.2.5 4 years ago
README.md 75f5aadd69 Import upstream version 1.2.5 4 years ago
build.sh 75f5aadd69 Import upstream version 1.2.5 4 years ago
install.sh 75f5aadd69 Import upstream version 1.2.5 4 years ago
ykush.sln 75f5aadd69 Import upstream version 1.2.5 4 years ago

README.md

YKUSH Command Application

Control application for Yepkit YKUSH Switchable USB Hub boards.

Description

Console application developed to illustrate the programmatic control of YKUSH family boards capabilities. It executes one command per run, being appropriate to be executed as a console command. But it can be easily adapted to execute a work-flow with multiple commands and we encourage you to alter it to best fit your needs.

The implementation makes use of libusb for Linux builds and hidapi for Windows. For Linux we include a build and installation script, build.sh and install.sh respectively, for building and installing the application.

Boards Supported

Licensing

The source code is licensed Apache License, Version 2.0. Refer to LICENSE file.

Building

The steps for building on Linux and Windows are detailed bellow.

Linux

For Linux libusb-1.0 must be installed. For Debian based systems run the following.

sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev

With these dependencies installed, build the application the running the following script.

./build.sh

After a successful build process you can install the ykush command in the system. To do so, run:

sudo ./install.sh

After install, the ykushcmd command is ready for use.

Windows

To build using MinGW run the following command.

For 32bit:

make -f Makefile_win32

For 64bit:

make -f Makefile_win64

After a successful build process the executable file will be created in the bin\Win32 or bin\Win64 folder depending if it was the 32 or 64 bit build.

Using it

For details on using YKUSHCMD please refer to the YKUSHCMD Reference Manual.