2014-03-11 14:00:04 -06:00
Hercules DJ Controller Driver for Linux
2014-03-11 13:08:34 -06:00
=============================
2014-03-11 14:00:04 -06:00
This is a Linux userspace driver for some Hercules DJ controllers.
2014-03-11 13:08:34 -06:00
Originally this was a part of Mixxx,
but in order to issue more timely updates
(not bound to the Mixxx release schedule),
it is now a standalone project.
That means you can use it with any version of Mixxx,
without needing to recompile anything other than this driver.
Since it runs in userspace,
you don't need to keep modifying your kernel to keep it working.
And if the driver crashes,
the rest of your system keeps running.
But please tell me if it crashes!
Supported Controllers
---------------------
2014-03-11 13:58:32 -06:00
The driver currently supports:
2014-03-11 13:17:11 -06:00
* Hercules DJ Control MP3 e2
* Hercules DJ Control Steel
2017-03-18 14:48:45 -06:00
* Hercules DJ Console 4-Mx
2017-11-26 09:33:16 -07:00
* Hercules Console Mk4
2021-03-13 15:17:58 -07:00
* Hercules DJ 4Set (thanks watchingJu!)
2014-03-11 13:08:34 -06:00
2021-03-13 15:17:58 -07:00
Things that are reported to work but I can't test:
2014-03-11 13:14:21 -06:00
2017-11-26 09:33:16 -07:00
* Hercules DJ Control MP3 LE / Glow
2017-11-26 09:34:13 -07:00
* Hercules Console Mk2 (See comment in the next section)
2014-03-11 13:17:11 -06:00
Things I won't support:
2014-03-11 13:58:32 -06:00
* Hercules Console Mk2 (already works with HID code in Mixxx)
* Hercules RMX (already works with HID code in Mixxx)
2014-03-11 13:17:11 -06:00
2014-03-11 13:14:21 -06:00
If you have a Hercules device that doesn't "just work" with Mixxx,
2017-03-18 14:48:45 -06:00
send me an email, there's a chance I can support it with this driver.
2014-03-11 13:14:21 -06:00
2017-01-16 19:19:34 -07:00
How To Get
----------
Check the [Github Project ](https://github.com/nealey/hdjd ) for the canonical source repo.
2014-03-11 13:08:34 -06:00
How To Run
----------
2017-11-26 09:33:16 -07:00
Currently, the driver must be started after you plug in a device.
If you haven't done so, build it by typing `make` under the source dir.
2017-11-26 09:37:22 -07:00
Then, just run it by typing `./hdjd` and it will tell you what it found.
2017-11-26 09:33:16 -07:00
2014-03-11 13:08:34 -06:00
Also make sure your user can read and write to raw USB devices.
2017-11-26 09:33:16 -07:00
See [this Mixxx wiki page ](https://mixxx.org/wiki/doku.php/troubleshooting#hid_and_usb_bulk_controllers_on_gnu_linux ) for how to do this with udev-based systems (almost every Linux distribution).
2014-03-11 13:08:34 -06:00
2017-11-26 09:33:16 -07:00
If you are trying to add support for another controller and try to debug the messages sent and received, you can build
2018-01-01 11:27:11 -07:00
it in debug mode
by providing `make` the `DEBUG=1` option:
2017-11-26 09:35:40 -07:00
2018-01-01 11:27:11 -07:00
$ make clean all DEBUG=1
2014-03-11 13:08:34 -06:00
Current Issues
--------------
2017-03-18 14:50:53 -06:00
Recent versions of Mixxx may not be setting up the USB system correctly,
resulting in your disk running out of space because
`syslog` and the kernel log have millions of messages.
If this happens, make sure to disable the "USB Device" for your controller in Mixxx.
2014-03-11 13:08:34 -06:00
2014-03-11 13:14:21 -06:00
If you find a problem, please, please, pretty-please,
email me < neale @ woozle . org > .
Posting on the Mixxx Community Forums is fine too,
maybe someone there can help you,
but I don't check the forums very often.
Sorry.
2014-03-11 13:08:34 -06:00
2017-06-04 13:07:24 -06:00
License
-------
[MIT ](LICENSE.md )
2014-03-11 13:08:34 -06:00
Thanks
------
Thanks to Guillemot (makers of the Hercules controllers) for sending me
a whole bunch of controllers so I could make a better driver.
Thanks to the Mixxx project for connecting me with Guillemot,
and for providing something interesting to use this driver ;-)
2017-03-18 19:21:08 -06:00
Thanks to JosepMaJAZ for many stability improvements,
code cleanup,
better error checking,
and testing against the 4-Mx.
2017-03-18 14:48:45 -06:00
2014-03-11 13:08:34 -06:00
Contact Me
----------
Neale Pickett < neale @ woozle . org >