Giter Site home page Giter Site logo

aduskett / dmx_usb_module Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lowlander/dmx_usb_module

0.0 0.0 0.0 38 KB

Linux kernel module for Enttec Open DMX dongle

Home Page: http://www.erwinrol.com/open-dmx-usb-linux-driver/

License: GNU General Public License v2.0

C 99.06% Makefile 0.94%

dmx_usb_module's Introduction

DMX USB Driver

The DMX USB driver is a Linux 4.X kernel driver for the Enttec DMX USB dongle ( http://www.enttec.com/dmxusb.php )

Building the driver

Before the driver can be build, the kernel sourcecode needs to be installed. To build the driver just call make, this should build a dmx_usb.ko (the kernel module) and a dmx_usb_test (a small test program).

Building on a RPi4 running Raspbian

First update your RPi with the following commands;

apt-get update -y
apt-get upgrade -y

After that you might want to reboot to make sure you are running the maybe updated kernel.

Than get the kernel source code;

# Get rpi-source
sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source -O /usr/bin/rpi-source

# Make it executable
sudo chmod +x /usr/bin/rpi-source

# Tell the update mechanism that this is the latest version of the script
/usr/bin/rpi-source -q --tag-update

# Get the kernel files thingies.
rpi-source

Now you should be ready to build the DMX USB module.

Problems loading the right driver.

A "small" problem to solve was to make the kernel clear that it should use my driver for the dongle and not the standard usbserial driver. Since I don't have any other USBserial devices with the samechip type I just removed the ftdi_sio.ko module, and changed the /etc/hotplug/usb.distmap to point to my module. To support both the ftdi_sio.o module and the dmx_usb.o module the ftdi_sio.o module should be patched and the Product ID for the FT232BM should be removed from it, this will mean all other serial-usb devices are still supported just not the one with FT232BM chips, since it isn't possible to differentiate DMX-USB and normal-serial versions.

dmx_usb_module's People

Contributors

lowlander avatar dj-foxxy avatar willcrozi avatar

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.