GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lowlander/dmx_usb_module: Linux kernel module for Enttec Open DMX dongle

BranchesTags
Open more actions menu

Latest commit

 

History

41 Commits
41 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
Changelog
Changelog
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
dmx_usb.c
dmx_usb.c
 
 
dmx_usb.h
dmx_usb.h
 
 
dmx_usb_test.c
dmx_usb_test.c
 
 

Repository files navigation

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.

About

Linux kernel module for Enttec Open DMX dongle

www.erwinrol.com/open-dmx-usb-linux-driver/

Topics

dmxdmx-interfacedmx512

Resources

Readme
GPL-2.0 license
Activity

Stars

43 stars

Watchers

5 watching

Forks

16 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.