Git Product home page Git Product logo

dcdc-usb's Introduction

Mini-Box DCDC-USB

Linux application(dcdc-usb) and library (libdcdc-usb) for controlling and listing the 
parameters of mini-box.com DCDC-USB product (http://www.mini-box.com/DCDC-USB)

Compiling and Installing:

Make sure you have libusb and libusb development packages installed:

    $ sudo apt install libusb-0.1 libusb-dev
    $ sudo make clean install

It will install by default in /usr/local/

Usage:

dcdc-usb with no parameters will display the current output voltage.
sudo dcdc-usb -a will display all settings from the device.
sudo dcdc-usb -v 20.50 will set the output voltage to 20.5V.


dcdc-usb's People

Contributors

devicenull avatar mini-box avatar nicupavel avatar spuetz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dcdc-usb's Issues

Makefile needs to be updated for gcc 4.8

The compilation object should moved AFTER the linked files on the dcdc-usb: build step.

e.g.: Change it to this:

dcdc-usb: $(MAINSRC)
$(CC) $(CFLAGS) $(MAINSRC) -L. -ldcdc-usb -o $@ $(LIBS)

See my pull request w/ corrected code.

Not working properly on Ubuntu 14.04

I'm running into issues trying to use dcdc-usb on Ubuntu Linux. I cloned the repository and it built fine but wasn't able to run the application successfully.

This is what I get:
$ dcdc-usb
Cannot set configuration 1 for the device
Cannot setup device

After getting this I modified the dcdc-usb-comm.c file to print the error code for the usb_set_configuration() call. It returned -1, and in libusb it looks like that's an IO error.

Can you provide some guidance here?
System specs:
Ubuntu 14.04.2
Kernel 3.16.0-52
libusb 0.1
Note that I tried building with libusb-1.0 and ran into build issues which could be associated with my system. Can you confirm version dependency on libusb?

how can I control it using linux?

how can I connect it to linux computer and control it?

want to see the voltage\states and also to send to linux "shutdown" command

when it will be possiable?

Method for setting mode.

Would it be possible to set the Mode of the unit between Dumb and Automotive? I can do the change if you could provide the details about the command.

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.