Package Details: hdjmod 1.28-13

Git Clone URL: https://aur.archlinux.org/hdjmod.git (read-only)
Package Base: hdjmod
Description: Hercules DJ kernel module
Upstream URL: http://ts.hercules.com/eng/
Keywords: module
Licenses: GPL2
Submitter: None
Maintainer: Gimmeapill
Last Packager: Gimmeapill
Votes: 10
Popularity: 0.000000
First Submitted: 2009-04-03 16:33
Last Updated: 2017-12-01 09:06

Pinned Comments

Gimmeapill commented on 2017-12-01 09:10

Please use this kernel module only if the HID method doesn't work for you and if you have one of the older controller models:
https://mixxx.org/wiki/doku.php/hercules_pc_dj_console

If you have one of the newer models, you may have better luck with: https://github.com/nealey/hdjd

Latest Comments

Gimmeapill commented on 2017-12-01 09:10

Please use this kernel module only if the HID method doesn't work for you and if you have one of the older controller models:
https://mixxx.org/wiki/doku.php/hercules_pc_dj_console

If you have one of the newer models, you may have better luck with: https://github.com/nealey/hdjd

Gimmeapill commented on 2017-12-01 09:08

@dcosta: Sorry I misread your comment and didn't notice you submitted a patch already - my bad!
I stole the OpenSUSE patch for 4.11 in the meantime (didn't compare with yours though).

Gimmeapill commented on 2017-10-25 07:14

Hi dcosta, I have to confess that I didn't test this in ages.

It looks like the openSUSE folks have a working patch for 4.11:
https://download.opensuse.org/repositories/hardware/openSUSE_Tumbleweed/src/hdjmod-1.28-46.26.src.rpm

I don't have much time right now, but I'll see if can maybe work for us.

Otherwise, recommendation is to use preferably the HID method, this kernel module shouldn't be needed anymore:
https://mixxx.org/wiki/doku.php/hercules_pc_dj_console

& if you have one of the newer models, you may have better luck with: https://github.com/nealey/hdjd

dcosta commented on 2017-10-24 22:13

Hi, couldn't compile with 4.11+ kernel. Patch below.

kernel_4.11_fix.patch:

*** configuration_manager.c.orig 2009-01-27 14:25:50.000000000 +0000
--- configuration_manager.c 2017-10-24 22:59:29.120937360 +0100
***************
*** 43,48 ****
--- 43,51 ----
#include "configuration_manager.h"
#include "callback.h"
#include "hdjmp3.h"
+ #if ( LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0) )
+ #include <linux/sched/signal.h>
+ #endif

/* The firmware is used for verification purposes
* set midi_channel to MIDI_INVALID_CHANNEL if you want it to be
*** bulk.c.orig 2017-10-24 22:52:58.181085342 +0100
--- bulk.c 2017-10-24 22:56:50.659692440 +0100
***************
*** 47,52 ****
--- 47,55 ----
#include "bulk.h"
#include "configuration_manager.h"
#include "callback.h"
+ #if ( LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0) )
+ #include <linux/sched/signal.h>
+ #endif

u8 TUSB_full[] = "FTUS";
u8 TUSB_partial[] = "TUSB";

---

PKGBUILD:

*** PKGBUILD.orig 2017-10-24 23:10:22.196288103 +0100
--- PKGBUILD 2017-10-24 23:03:57.623135593 +0100
***************
*** 25,31 ****
'kernel_2.6.39_fix.patch'
'kernel_3.6_fix.patch'
'kernel_3.7_fix.patch'
! 'kernel_3.16_fix.patch')

md5sums=('498cf0ff144f20106718932ab22571ce'
'464f8a8eda9d4c2ec83cf1c43e5dbee3'
--- 25,32 ----
'kernel_2.6.39_fix.patch'
'kernel_3.6_fix.patch'
'kernel_3.7_fix.patch'
! 'kernel_3.16_fix.patch'
! 'kernel_4.11_fix.patch')

md5sums=('498cf0ff144f20106718932ab22571ce'
'464f8a8eda9d4c2ec83cf1c43e5dbee3'
***************
*** 36,42 ****
'9cc3e1cb4c7877ebf09e389e67b19182'
'8bf580fcfe06f48ce8247272b55633ce'
'f40801f32abc47088a54c8893aa27e75'
! '03b1ec1382d9d79a78cc79525cae06e4')

build() {
# Obtain source files
--- 37,44 ----
'9cc3e1cb4c7877ebf09e389e67b19182'
'8bf580fcfe06f48ce8247272b55633ce'
'f40801f32abc47088a54c8893aa27e75'
! '03b1ec1382d9d79a78cc79525cae06e4'
! 'd8993b84b5c7a6414c1da994d0bfcdda')

build() {
# Obtain source files
***************
*** 80,85 ****
--- 82,90 ----
# Ninth patch fixes build errors with kernel 3.16.x (by Fabian Zimmermann / fabian-zimmermann.net)
patch -p0 < $srcdir/kernel_3.16_fix.patch

+ # Tenth patch fixes build errors with kernel 4.11.x (by Diogo Costa)
+ patch -p0 < $srcdir/kernel_4.11_fix.patch
+
# Fix again the path to slab.h in bulk.h
sed -i s@/usr/src/linux-$(uname -r)/include/linux/slab.h@/usr/lib/modules/$(uname -r)/build/include/linux/slab.h@ bulk.h

Gimmeapill commented on 2016-11-29 09:11

@Scimmia: yes, possibly. I never really looked into that part when I took over, there was already enough work to just get it working. Please do not hesitate to amend the pgkbuild and I'll update it.

Scimmia commented on 2016-11-22 02:39

This should be using bsdtar directly to extract the rpm instead of the useless rpmextract.sh script.

Gimmeapill commented on 2016-06-29 20:34

@salorium: not sure at all, but that could maybe be caused by a conflict with the HID udev rule, or maybe this is not an RMX first generation.
In any case, better use the official method for HID devices:
https://mixxx.org/wiki/doku.php/hercules_pc_dj_console

salorium commented on 2016-06-26 12:09

Hello,
I have this error when i connect dj rmx :
[ 23.526583] usbcore: registered new interface driver hdj_mod
[ 55.923419] usb 3-1: new full-speed USB device number 9 using xhci_hcd
[ 56.083467] usb 3-1: device descriptor read/64, error -71
[ 56.361058] usb 3-1: device descriptor read/all, error -71
[ 56.520066] usb 3-1: new full-speed USB device number 10 using xhci_hcd
[ 56.680087] usb 3-1: device descriptor read/64, error -71
[ 56.943391] usb 3-1: device descriptor read/64, error -71
[ 57.206701] usb 3-1: new full-speed USB device number 11 using xhci_hcd
[ 57.221907] usb 3-1: device descriptor read/all, error -71
[ 57.380009] usb 3-1: new full-speed USB device number 12 using xhci_hcd
[ 57.380332] usb 3-1: Device not responding to setup address.
[ 57.597398] usb 3-1: device descriptor read/8, error -71
[ 57.713964] usb 3-1: device descriptor read/8, error -71
[ 57.816699] usb usb3-port1: unable to enumerate USB device

sentriz commented on 2016-06-07 15:06

@Gimmeapill
wow, yes. it works quite beautifully as a HID. thank you very much.

Gimmeapill commented on 2016-06-07 08:49

@sentriz: Linux 4.6 not tested.
But yes, this looks more like a version mismatch between your running kernel (4.6.0) and your modules (4.6.1), so I'd recommend to start with a full system update.
Also, please check the comments below, as this module is hardly needed anymore.

All comments