Skip to content

Basic functionality of usb2lin06 device implemented for use in linux with python. See also C routines by @ranma1988

License

Notifications You must be signed in to change notification settings

monofox/python-linak-desk-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-linak-desk-control

This is a simple program for controlling LINAK Desk Control Cable in linux with simple python and libusb.

Its a python implementation of C-Routine of ranma1988

Tested on: Gentoo x64 (December 2018). Might work on Windows too. Tested on model: usb2lin06 with CONTROL BOX CBD6S without safety limit.

Dependencies

this is using: libusb-1.0

$ pip install -r requirements.txt

The installation of libusb1 package of python may need to have the libusb-1.0 devel packages installed on most linux systems.

Capabilities

  • setting height
  • retrieve current height

Usage

Just trying out in your shell is easy:

$ python3 linak-desk-control.py

It will show you mostly the whole help in order to understand which commands can be executed. E.g. to get the current height:

$ python3 linak-desk-control.py height

And to bring the desk to height 4414:

$ python3 linak-desk-control.py move 4414

License

This piece of work is distributed with GNU GPLv3 or later.

About

Basic functionality of usb2lin06 device implemented for use in linux with python. See also C routines by @ranma1988

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages