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.000004
First Submitted: 2009-04-03 16:33
Last Updated: 2015-06-24 20:21

Required by (0)

Sources (10)

Latest Comments

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.

sentriz commented on 2016-06-07 00:48

Hello,
is 4.6.0-1 supported? Can't seem to get it to build.

make -C /lib/modules/4.6.0-1-MANJARO/build M=/tmp/packerbuild-1000/hdjmod/hdjmod/src/hdjmod-1.28
make[1]: *** /lib/modules/4.6.0-1-MANJARO/build: No such file or directory. Stop.
Makefile:52: recipe for target 'modules' failed

I don't think it's my AUR helper either - `makepkg PKGBUILD` gives the same error.

..actually, is this strange?

senan@manjaro /lib/modules $ l
drwxr-xr-x 2 root root 4.0K May 17 21:38 3.10.101-2-MANJARO/
drwxr-xr-x 4 root root 4.0K Jun 6 12:05 4.6.1-1-MANJARO/
drwxr-xr-x 2 root root 4.0K Jun 6 12:05 extramodules-4.6-MANJARO/

senan@manjaro ~ $ uname -r
4.6.0-1-MANJARO

they don't seem to match.

Gimmeapill commented on 2016-05-10 19:39

@Turbo: Upstream used to release it in DKMS format, but I don't remember it ever working, and I don't have much time to spend on it.

Better try the HID method - there's 99% chances that you don't need the kernel module at all: https://mixxx.org/wiki/doku.php/hercules_pc_dj_console

Once HID works, you will not have to worry about DKMS or kernel upgrades, which is far better ;-)

Turbo commented on 2016-05-10 13:28

Hi,
Can you build a DKMS package?

Gimmeapill commented on 2016-03-24 11:09

Yep, this kernel module is really legacy - upstream is un-maintained for almost 6 years now, and the kernel module has been reported to cause hard freezes with some configurations.

This being said, I still use it with my RMX and most recent kernels without trouble, and have been trying to maintain it despite the odds, but you should really try HID first.

Then, if you really cannot get it to work with the HID steps from the Mixxx wiki, the kernel module might still work for you: support for the dj control mp3 e2 was shoehorned in one of the patches (this device was never supported by the upstream driver).

But then, please build properly with "makepkg -s" and install with pacman, it will make it easier to troubleshoot ;-)

BangL commented on 2016-03-24 07:02

oh wait a second.. you mean for HID i dont need any kernel modules, huh?
thanks for the hint, i will try that! thank you :)

BangL commented on 2016-03-24 06:59

to be honest... actually i am not even on arch, but on manjaro with linux 4.4.5
so i didnt expect this to run properly anyways^^
the hercules link on that page is down, nothing to get there.
and i also have the old "dj control mp3 e2", which isnt listed on that page.
so i actually gave up for now, maybe i should just get a newer midi controller.

Gimmeapill commented on 2016-03-22 20:22

BangL: 'pacman -Rns hdjmod'
Yaourt is not officially supported. Probably better to report this to the yaourt developers.

Btw, you should not even need the kernel module anymore:
https://mixxx.org/wiki/doku.php/hercules_pc_dj_console

I just keep it around, as for some reason my first gen dj console rmx is allergic to HID mappings.

BangL commented on 2016-03-22 19:28

"yaourt -Rsn hdjmod" just killed all my kernel modules.
Awesome

Edit: had to manually remove the old .ko file and re-run mkinitcpio

horsebot3000 commented on 2015-04-09 11:55

@Gimmeapill: yes, this is the issue. I was wondering why the driver would perfectly compile and load but not work...
Anyway, thank you for your answer and sorry I was mistaking. I'll search a bit more next time something breaks.
And thank you for maintaining, it's very helpful.

Gimmeapill commented on 2015-04-09 09:02

@horsebot3000: please check if you're not affected by this:
https://bugs.archlinux.org/task/44286

if that's the case, it should just be a matter of modprobing snd_seq_midi

Gimmeapill commented on 2015-04-08 19:56

@horsebot3000: thx for the heads up. I didn't spot it as I'm currently on the archaudio rt kernel which is a bit behind, but I'll see if I can fix it (no guaranty though).

horsebot3000 commented on 2015-04-08 19:00

kernel 3.19.2-1 broke it for me, the driver still compiles fine, the module is correctly loaded but the console is not detected. Had to downgrade my kernel to 3.18.6-1.

Gimmeapill commented on 2015-01-05 21:47

There was indeed a path issue (altough I'm not sure why it didn't show up before) - this is now fixed:

make DESTDIR="$pkgdir/usr/" install

Gimmeapill commented on 2014-12-20 14:20

@khughitt: builds and run ok here (on x86_64). Please clarify why you flagged as out of date.

Gimmeapill commented on 2014-08-31 20:41

Updated
@devfaz:thx

devfaz commented on 2014-08-28 18:24

Fixed.

--
[ 19.775783] MIDI state successfully created, driver version:1280000
[ 19.775788] DJ Console Mk2, vid:6f8, pid:b100
--

PKGBUILD: http://pastebin.com/KBXvfBfS
PATCH: http://pastebin.com/c131KHXr


Gimmeapill commented on 2014-08-16 16:32

@khughitt: thx for the heads up, I'm obviously not testing often enough.
I didn't manage to fix it so far (the issue seems to be in device.c).
If anybody has an idea or want to take over the pkgbuild, feel free to stand up ;-)

khughitt commented on 2014-08-16 10:17

Stopped working again with 3.16.1-1

richterskala commented on 2014-06-15 17:34

ha! Yeah, me too. That's why I changed the original line instead of the sed ;)

Gimmeapill commented on 2014-06-04 20:08

pkgbuild updated, should work now.
@richterskala: thanks for the hint, I knew about that include but it took me quite a while to figure out the proper sed line, sorry for the wait.

Gimmeapill commented on 2014-06-04 20:00

pkgbuild updated, should work now.
@richterskala: thanks for the hint, it took me quite a while to figure out the proper sed line, sorry for the wait.

richterskala commented on 2014-06-03 22:29

Package is easily fixable by changing the line in kernel_2.6.35_fix.diff
> +#include "/usr/src/linux-2.6.35-ARCH/include/linux/slab.h"
to
> +#include "/usr/lib/modules/2.6.35-ARCH/build/include/linux/slab.h"

so bulk.h will have the correct include after applying the patch

Gimmeapill commented on 2014-03-17 19:08

Looks like it's broken again with latest kernel, let's try again to fix it...

Gimmeapill commented on 2013-12-30 18:35

@cristomc: unfortunately I cannot reproduce the issue. But it looks to me like a problem with Yaourt (not supported).
First, be sure to have a fully up to date system (up to kernel 3.12.6)
Then please extract the tarball and build with 'makepkg -s'
If this works, then the issue should probably be reported to Yaourt developpers.

cristomc commented on 2013-12-30 16:20

I cant install this on lastest updated system...

patching file device.c
make -C /lib/modules/3.12.5-1-ARCH/build M=/tmp/yaourt-tmp-cristo/aur-hdjmod/src/hdjmod-1.28 LDDINC=/tmp/yaourt-tmp-cristo/aur-hdjmod/src/hdjmod-1.28 modules
make[1]: *** /lib/modules/3.12.5-1-ARCH/build: No existe el fichero o el directorio. Alto.
Makefile:52: recipe for target 'modules' failed
make: *** [modules] Error 2

any idea?

khughitt commented on 2013-11-22 18:28

@Gimmeapill - I have a Hercules DJ Console RMX. The latest Stable of Mixxx seems to work fine with it. Also tested on both the mainline and rt linux kernels with no issues.

romein commented on 2013-11-20 17:03

I FOUND IT !
Ok so, thanks Gimmeapill, there was obviously a permission issue, because in sudo mode, i saw my console. But as an HID device. (without mapping available in mixxx)
After a complete day of debugging, i finally found out why my console wasn't scanned by mixxx as a midi device, and i had an error : ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
I read this http://forums.bodhilinux.com/index.php?/topic/1461-solved-how-do-i-get-midi-to-work/ , and all seems to be ok now !
thanks for your support, it finally wasn't an hdjmod issue but a permission/mixxx/alsa lack of proper configuration. Solved ! Let's mix !

romein commented on 2013-11-19 16:56

@Gimmeapill: GOD YOU ARE ! it's working as root. I'll think about it. I saw stuffs like adding current user to the group "audio", i'll also look into perms of hdjmod and its gonna be fine. Thank you so very very much !
(BTW Chakra is Arch+KDE. No more. And it's wonderful :)

Gimmeapill commented on 2013-11-18 10:19

@romein: I cannot advise much about Chakra, but this sounds more like a permission issue than a problem with hdjmod. You could maybe try to launch mixxx as root (after backing up your mixxx library as permissions may get altered). Also please note that hdjcpl is hopelessly broken and is not supposed to work anymore.

@jlebleu: it won't work, the RMX and steel have different mappings. Last time I tried the RMX was recognized (with the right udev permissions set), but all controls are messed up. It should however not be too hard to come up with a workable mapping.

jlebleu commented on 2013-11-17 14:23

@romein: Have you tried this new daemon: http://www.mixxx.org/forums/viewtopic.php?f=1&t=4920 ? It is under development right now and I don't know if it works with your controller - according to announced supported devices it is not, unfortunately - but it's working for me with mixxx and an Hercule DJ Control Steel out of the box with no need of a kernel module! So as the Control Steel and Control RMX are quite similar except the sound card - if I'm not mistaken -, maybe it can work for you...

romein commented on 2013-11-17 14:07

@Gimmeapill: By the way, mixxx-git works fine but without my Hercules RMX controller because hdjmod doesn't load it. hdjcpl and mixxx say 'no controller', even if its plugged in, lsusb finds a "Guillemot corp". and lsmod finds "hdj_mod", just like it's ready to load it.
I tried the dkms 1.31 solution of http://slist.lilotux.net/linux/deejay/mixxx/ with no more success.
I'm under 3.10.10-1-CHAKRA ($ uname -r)
Am I missing something ?

romein commented on 2013-11-17 14:04

@Gimmeapill: By the way, mixxx-git works fine but without my Hercules RMX controller because hdjmod doesn't load it. hdjcpl and mixxx say 'no controller', even if its plugged in, and lsmod |grep hdj tells me
hdj_mod 134824 0
snd_rawmidi 18710 2 snd_usbmidi_lib,hdj_mod
I tried the dkms 1.31 solution of http://slist.lilotux.net/linux/deejay/mixxx/ with no more success.
I'm under 3.10.10-1-CHAKRA ($ uname -r)
Am I missing something ?

Gimmeapill commented on 2013-11-17 13:20

@romein: Thanks for the info. It looks like a temporary outage as their whole site is down. If it doesn't come back up in a few days, I'll use your mirror or host it myself.

@khughitt: good to know it's working again on 64-bit. Last I heard the kernel module was causing kernel panics. what controller are you using?

romein commented on 2013-11-17 11:05

hercules.com seems to be down
here's my mirror http://exislandproject.free.fr/Hercules_DJSeries_Linux.tgz
PKGBUILD
http://pastebin.com/Kn4SVt9P

khughitt commented on 2013-11-16 14:51

Just tested this on a 64-bit system (3.12.0-1-ARCH #1 SMP PREEMPT x86_64) and it is working great for me. Thanks for putting this together!

jlebleu commented on 2013-02-27 12:09

@Gimmeapill: thanks again for your help! I've already see it but didn't succeed to boot on it.. (it always said update and reboot, I will try again) Sorry, now I stop the out of topic! :)

Gimmeapill commented on 2013-02-27 11:48

@jlebleu: Out of topic, but if you're still stuck, this may be helpful: http://didjix.blogspot.cz/
It's an i686 live USB distribution based on arch that boots straight into mixxx (with the hdjmod kernel module included). I didn't test it but you may use it as a workaround ;-)

jlebleu commented on 2013-02-26 21:24

I didn't succeed to get my Control Steel be recognized as a MIDI device with ALSA (I remember that last year I succeed), and then I found this: http://alsa.opensrc.org/Hercules_DJ_Console
Does that mean that with actual ALSA it's no longer possible?? :( (it's maybe not the right place for my message, sorry...)

jlebleu commented on 2013-02-26 20:44

@Gimmeapill: you're welcome! Thank you for your help, I tried with the last mixxx-1.11 but the Control Steel is not recognized in 'Controllers' at all :( And you're right, hid script is not done yet for it..

Gimmeapill commented on 2013-02-26 18:48

@jlebleu: thanks for reporting. As there's no fix in perpective, I'm marking the pkgbuild as x86 only.
Your best bet is to try the USB HID method as described here: http://mixxx.org/wiki/doku.php/hercules_dj_control_mp3_e2
The device should be recognized under mixxx, however I don't think the mappings for the Control Steel are ready yet (try with the latest mixxx 1.11).


jlebleu commented on 2013-02-26 14:38

I've got a kernel panic on linux 3.7.9-2 x86_64 when I plug in my DJ Control Steel...

Gimmeapill commented on 2013-02-03 11:23

Fixed again with the OpenSUSE patch for kernel 3.7.
Tentatively adding back x86_64 (please report any issue)

Gimmeapill commented on 2013-02-02 17:22

@richterskala: Thanks for reporting, I'm glad to hear it works again on x64 (as I cannot test). I'll update the pkgbuild today or tomorrow.

richterskala commented on 2013-02-02 15:50

Works fine with the usual changes to the patch from the openSUSE guys. Tried it under x86_64.

Gimmeapill commented on 2013-02-02 07:51

Breaks again in 3.7.5...will try to fix...

Gimmeapill commented on 2012-12-09 21:45

Since I cannot fix the source for x86_64, marking as i686 only to avoid confusion.

Gimmeapill commented on 2012-10-31 16:34

Fixed ;-)

Gimmeapill commented on 2012-10-31 16:33

Still no fix for the kernel module, but at least the djconsole mk2 should work with mixxx 1.11 without it.

If you have one of those, please remove hdjmod and try:
https://aur.archlinux.org/packages.php?ID=60674

then set the permissions as explained there:
http://mixxx.org/wiki/doku.php/troubleshooting#mixxx_says_i_have_no_hid_controllers_attached_even_though_i_do

It should show as an HID device and you should be able to load the mk2 template.
in case of success please report there:
http://mixxx.org/forums/viewtopic.php?f=3&t=851&start=110

Gimmeapill commented on 2012-10-31 15:48

Still no fix for the kernel module, but at least the djconsole mk2 should work with mixxx 1.11 without it.

If you have one of those, please remove hdjmod and try:
https://aur.archlinux.org/packages.php?ID=60674

then set the permissions as explained there:
http://mixxx.org/wiki/doku.php/troubleshooting#mixxx_says_i_have_no_hid_controllers_attached_even_though_i_do

It should show as an HID device and you should be able to load the mk2 template.
in case of success please report there:
http://mixxx.org/forums/viewtopic.php?f=3&t=851&start=110

rjrjr commented on 2012-10-24 17:26

Bummer, well, I'll give 1.11 a shot. I'm upgrading to 3.6.3 as well.

Gimmeapill commented on 2012-10-23 19:24

Ok. I don't know how to fix the build, and I didn't find anybody who did (last time I was lucky rippping off the patches from OpenSUSE).
If you are stuck, the only suggestion I have is to remove hdjmod and try Mixxx 1.11: http://mixxx.org/forums/viewtopic.php?f=3&t=497&start=20
Please report back in case of success ;-)

Gimmeapill commented on 2012-10-20 13:48

@rjrjr: same here on x86 - thanks for the heads up.
Looks like it break again with kernel 3.6.2

rjrjr commented on 2012-10-19 16:51

Build failed on my 3.6.2 x86_64 system. Any ideas why?

make[2]: *** [/tmp/packerbuild-0/hdjmod/hdjmod/src/hdjmod-1.28/device.o] Error 1
make[1]: *** [_module_/tmp/packerbuild-0/hdjmod/hdjmod/src/hdjmod-1.28] Error 2
make[1]: Leaving directory `/usr/src/linux-3.6.2-1-ARCH'
make: *** [modules] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.

Gimmeapill commented on 2012-10-14 10:37

For DJ Console MP3 e2 owners experiencing issues with latest kernels (kernel panics, segfaults, etc...)
Please try this branch of Mixxx with native support (assuming you want to use with mixx of course):
https://aur.archlinux.org/packages.php?ID=62132

Gimmeapill commented on 2012-05-16 12:55

@quaec: Yes, Hercules never actually provided any support for this driver, and discontinued development. But they at least released the source to the community.
The driver was released in 2009, so it never supported the mp3 e2 or later controllers.
Last I remember, support for the e2 was hacked in by Madjester (one of the Mixxx devs, often on #mixxx), but I think he since got gid of that device.
So yes, your best luck is currently the Mixxx community (or to downgrade your kernel)...

Anonymous comment on 2012-05-16 12:06

@Gimmeapill: Sorry, I forgot to write that. I have a mp3 e2 as well on a x64 arch.
Is upstream in this case Hercules? I plan to ask in the mixxx irc channel today and maybe open a forum post.

Thanks for your response!

Gimmeapill commented on 2012-05-16 10:43

@quaec: Which controller, I guess an mp3 e2 as well?
Anyway, since upstream is dead there is not much that I can do (unless somebody can reproduce the issue and contribute a patch).
As said before, I would suggest you guys to open a thread on the Mixxx forums as other distros may be affected too...
Otherwise, I will have no other choice than removing the mp3 e2 patch

Anonymous comment on 2012-05-15 21:54

I have also problems with the module and the 3.3.6-1-ARCH kernel. After loading the module and connecting the device via usb my system freezes and I have to reset it.

masutu commented on 2012-04-14 22:55

Same problem as faxtrode, same device, same kernel panic. I'm running kernel 3.3.1 on i686.

Anonymous comment on 2012-04-14 19:45

Package doesn't work on Arch64 (linux-3.3.1-1/3.2.11 & udev-182-1/181-9).When I load the module into the kernel everything is ok, but when I connect my Hercules Dj Control MP3 e2 my system falls from X to tty-console and I get the message: Kernel panic - not syncing: stack-protector: kernal stack is corrupted in: ffffffffa11a7869.
Can you fix this problem? I need this package to work on my music projects.
3.2.11-1-ARCH #1 SMP PREEMPT Thu Mar 15 09:19:02 CET 2012 x86_64

Anonymous comment on 2012-03-29 18:17

Works like a charm with Hercules RMX, for example i can read some videos by selecting the Hercules RMX soundcard as "alsa (2.0 - Hercules DJ Console RMX)" in the settings of smplayer. I also can listen to some youtube videos using the Hercules RMX soundcard.

3.2.13-1-ARCH #1 SMP PREEMPT Sat Mar 24 08:09:57 UTC 2012 i686

Thanks a lot !

masutu commented on 2012-01-03 19:04

Tested with Hercules Dj Control Mp3 E2 with linux-3.1.6-1 on i686. Works great, thanks! +1 vote

Gimmeapill commented on 2011-08-08 19:42

Updated for kernel 3.0
Should also build for newer kernel versions as the path to the kernel sources is no longer harcoded (in bulk.h)

Gimmeapill commented on 2011-08-08 18:06

Updated for kernel 3.0
Should also build for newer kernel versions as the path to the kernel sources is no longer harcoded (in bulk.h)

Gimmeapill commented on 2011-06-16 11:39

Build with 2.6.39 fixed (thanks to the OpenSUSE maintainer).
Please test and report any issue

Gimmeapill commented on 2011-06-12 07:14

Another ABI change with 2.6.39. Doesn't build

Gimmeapill commented on 2011-06-08 15:44

@DePingus: thx for feedback
OK, found it -> udev upstream bug: https://bugs.archlinux.org/task/24362
The fix *should* be in udev 172
I tried to add the audio modules in the modules array in rc.conf (for the dj consoles: hdj_mod), but that doesn't seem to help
So better wait for a proper fix...

Cheers,

Gimmeapill commented on 2011-06-08 15:33

@DePingus: thx for feedback
OK, found it -> udev upstream bug: https://bugs.archlinux.org/task/24362
The fix *should* be in udev 172
In the meantime, try to add all the modules you need in the modules array in rc.conf (for the dj consoles: hdj_mod)

Cheers,

Anonymous comment on 2011-06-08 01:38

@Gimmeapill: Your test/work around did the trick. The e2 is working.
I checked '/etc/group' and my current user is a member of the 'audio' group.
Also, thanks for 1.10! It works too!

Gimmeapill commented on 2011-06-06 18:49

@DePingus: You're right, there's a problem (thanks for letting me know).
But I don't think this has anything to do with hdjmod, as I have another midi controller natively supported which shows the same behavior.
AFAICT, it has to do with udev & permissions of the 'audio' group.

Here's a quick test/workaround: connect your controller and run (as root) 'chmod 777 -R /dev/snd'
-> this will give all users full access to all sound devices (until next reboot)
try to launch mixxx or anything else and see if your device is functional
There must be quite a few other people impacted, I'm going to search the forums.

btw: http://aur.archlinux.org/packages.php?ID=49602

Anonymous comment on 2011-06-06 13:01

Possibly because the newer kernel you updated to doesn't work with this version of hdjmod till it gets patched again. But i could be wrong cause i'm not updating my laptop anymore and haven't tested it myself. You could try downgrading the kernel again.

Anonymous comment on 2011-06-06 00:05

Sorry to waste your time with that...and now with this...
Today I did a pacman -Syyu (udev and kernel were updated) and now my Hercules MP3 e2 stopped working.
When I started Mixxx after the upgrade the soundcard settings had to be reconfigured too.
I tried reinstalling hdjmod, but that didn't help.

When I plug in the e2 dmesg says:

[ 795.279992] usb 7-1: new full speed USB device using uhci_hcd and address 4
[ 795.934786] hdj_create_bulk_interface() Could not find bulk-out endpoint
[ 795.934795] hdj_create_bulk_interface() Failed, rc:-22
[ 795.934799] hdj_probe(): snd_usb_create_streams() failed
[ 795.934803] hdj_probe(): reached __error
[ 795.934833] uninit_continuous_reader() operation already in progress, or bad state
[ 796.441800] bulk_from_chip() bulk_list empty, bailing
[ 796.441807] get_firmware_version() bulk_from_chip failed
[ 796.441812] bulk_from_chip() bulk_list empty, bailing
[ 796.441817] clear_leds() bulk_from_chip returned NULL
[ 796.441824] bulk_from_chip() bulk_list empty, bailing
[ 796.441829] MIDI state successfully created, driver version:1280000
[ 796.441835] DJ Control Steel, vid:6f8, pid:b105

Here is a pastebin of my pacman log:
http://pastebin.com/NHqXQEv5

Any idea what I could have screwed up?
Thanks for all your contributions! FYI: Mixxx 1.10 out this month (hopefully)! Yay!

Gimmeapill commented on 2011-05-05 08:52

@DePingus: thanks for letting me know, but this doesn't look like an official driver.
The guy just bumped up the version number and there is no changelog whatsoever (nothing new on the hercules site, so this is definitely not an official update).
All the more, it seems to support only the DJ Console Steel... so I don't think we are missing much so far.
But if you can get more information, I'd be more than happy to update the pkgbuild

Anonymous comment on 2011-04-30 02:23

I think 1.29 is out.
I mean...1.28 works fine, but its always nice to be up to date.
http://slist.lilotux.net/linux/deejay/mixxx/

Gimmeapill commented on 2011-04-26 07:48

@vis: it should not be necessary to add it the the modules array in rc.conf, IIRC the module is loaded when you plug the device.
If a manual "modprobe hdj_mod" as root returns you an error, then try to run "depmod" first.

Anonymous comment on 2011-04-25 15:44

I was trying to load hdj_mod in my rc.conf, but after removing splashy I've seen that this module is not found, so I guess it was completely unnecessary. Do I need to do anything once I've installed this package, or will the kernel auto-detect the hardware and just work?

Gimmeapill commented on 2011-04-20 08:41

@Speedboy: thanks. Yes I should bump up the pkgrel, but there have been so many updates that I lost count...
btw, the control panel was broken with this update, if anybody could have a look at it...

Anonymous comment on 2011-04-18 16:09

Very quick update thanks! It seems to work for me. But don't forget to update the pkgrel line if you change something to the pkgbuild. Nice job!

Gimmeapill commented on 2011-04-14 06:25

Updated for kernel 2.6.38, please report any issue

Gimmeapill commented on 2011-04-14 06:10

Broken again with 2.6.38

Gimmeapill commented on 2011-02-19 12:52

Updated.
Actually we also depend on a particular version of the kernel, so I added it as well in the depends section.

Gimmeapill commented on 2011-02-19 12:52

Updated.
Actually we also depend on a particular version of the kernel, so I added it as well in the depends section.

Gimmeapill commented on 2011-02-19 12:52

Updated.
Actually we also depend on a particular version of the kernel, so I added it as well in the depends section.

Anonymous comment on 2011-02-19 02:04

kernel26-headers <-- required, my good friends.

Gimmeapill commented on 2011-02-05 10:36

Adopted and updated.

Anonymous comment on 2011-02-05 02:16

@gimmeapill: i'll still help as much as i can! thanks!

Gimmeapill commented on 2011-02-04 21:50

@speedboy: sure, I can handle the pkgbuild for a while as long as you guys stay around, cause I won't be able to write the next patch.

Anonymous comment on 2011-02-04 21:26

@gimmeapill: Do you mind taking over this package?

gmenguez commented on 2011-02-04 19:10

@Gimmeapill works for me too, thanks!

Anonymous comment on 2011-02-04 14:41

It works flawless with my Hercules MP3 e2.

Gimmeapill commented on 2011-02-03 19:38

Ok, finally got it to work

New tarball here:
http://www.pohunek.free.fr/temp/hdjmod-1.28-1.src.tar.gz

3 modifications:
1) 'rm -r $srcdir/hdjmod-1.28'
changed for
'rm -rf $srcdir/hdjmod-1.28'
-> this allows 'makepkg -sf' to work
2) Added patch to support the djconsole mp3 e2
3) Added patch to fix the build for kernel 2.6.37

@Speedboy: can you test and update the pkgbuild?

Gimmeapill commented on 2011-02-01 07:25

@Speedboy: Hey good find!

Here's the patch for 2.6.37 from the source rpm:
http://aur.pastebin.com/8DUh3BqE

I have very little time today, but I'll try to adapt it tomorrow...


Anonymous comment on 2011-01-31 23:03

Same here and just changing the previous patch to 2.6.37 isn't working for me either like it did for the previous 2 kernels. This guy http://pkgs.org/opensuse-factory/opensuse-contrib-i586/hdjmod-kmp-default-1.28_k2.6.37.0_rc7-3.6.i586.rpm.html has a working 2.6.37 version but i can't find anything about the patch he used.

Gimmeapill commented on 2011-01-31 19:46

Broken again with kernel 2.6.37, great...
http://aur.pastebin.com/eLUbJLYA

Anonymous comment on 2011-01-09 18:50

Thank you!!! It works perfect.

Gimmeapill commented on 2011-01-09 18:33

oops, sorry, wrong link, this one should be better :-)

http://www.pohunek.free.fr/temp/hdjmod-1.28-1.src.tar.gz

Gimmeapill commented on 2011-01-09 18:21

oops, sorry, wrong link, this one should be better :-)

http://www.pohunek.free.fr/temp/hdjmod-1.28-1.src.tar.gz

Anonymous comment on 2011-01-09 16:07

Thank you, but the server asks me a username and a password

Gimmeapill commented on 2011-01-09 12:41

@pableron: I added the e2 patch and re-generated a source tarball (PKGBUILD + e2 patch are the only modifications):

ftp://ftpperso.free.fr/temp/hdjmod-1.28-1.src.tar.gz

Can you try and report if it works with the DJ Control MP3 e2 and current kernel?

Anonymous comment on 2011-01-09 00:43

Sorry, I didn't read the Gimmeapill post

Anonymous comment on 2011-01-08 23:41

I've installed the package without problems but in the Mixxx options my DJ Control MP3 e2 doesn't appear. The dmesg output:

hdj_probe(): unsupported usbid:6f8b105

Anyone with the same problem?

Anonymous comment on 2010-12-02 01:00

Thanks Gimmeapill! I manually edited the previous patch and it worked. The package has been updated!

Gimmeapill commented on 2010-12-01 17:47

@Speedboy: it looks like a copy/paste error from pastebin, (and nothing was changed line 11 anyway)
the only modification in the patch is the line 125:
+#include "/usr/src/linux-2.6.36-ARCH/include/linux/slab.h"

Try with those maybe: http://www.pohunek.free.fr/temp/

Anonymous comment on 2010-12-01 16:37

I can't get it to work with your patch:
==> Starting build()...
patching file Makefile
patching file device.c
(Stripping trailing CRs from patch.)
patching file bulk.c
patch: **** malformed patch at line 11:

Aborting...

Gimmeapill commented on 2010-11-30 09:29

@Speedboy: I can help with the pkgbuild, but I wouldn't be able to produce a patch the next time this thing is broken.
I was thinking about adopting the GUI (http://aur.archlinux.org/packages.php?ID=25208),
but it's the same story: I am no dev, and with support from Hercules being discontinued, it is a royal pain to maintain those...

Anonymous comment on 2010-11-29 18:50

@gmenguez or @gimmeapill: If any of u guys wants to take over i'm ok with it? Not that i don't want to maintain it, but you 2 seem to be a bit faster noticing a new version need to be made. I don't update the system that i use for mixing daily.

gmenguez commented on 2010-11-27 15:46

I made the change @Gimmeapill proposes (just changing kernel version in include of slab.h) and my device works nice both as audio device and midi controller, I have just used Mixxx, thanks. Maybe that single line should be in a separate patch in order to modify just that in future kernel releases (given nothing else has to be changed). And since we are just making it work for the last released kernel (which is OK for me), a depends line like depends=('kernel26>=2.6.36'), or maybe with ==, could be included in PKGBUILD.

Gimmeapill commented on 2010-11-27 15:26

@BillShut: As Speedboy said, the e2 is not supported by the official linux driver from hercules, as they simply don't maintain it.
However, a patch has been made by a mixxx user, check this thread:
http://www.mixxx.org/forums/viewtopic.php?f=3&t=851&start=40

Not sure if it works, as I don't have an e2 to test, but I guess it could easily be added to the pkgbuild...

Gimmeapill commented on 2010-11-27 08:16

PKGBUILD doesn't works with 2.6.36 (path to the kernel sources has changed)

Here's a dirty fix:

PKGBUILD
http://aur.pastebin.com/pHh5ep33

kernel_2.6.35_fix.diff
http://aur.pastebin.com/euzJj8vW

Gimmeapill commented on 2010-11-27 07:47

PKGBUILD doesn't works with 2.6.36 (path to the kernel sources has changed)

Here's a dirty fix:

PKGBUILD
http://aur.pastebin.com/pHh5ep33

kernel_2.6.35_fix.diff
http://aur.pastebin.com/euzJj8vW

Anonymous comment on 2010-11-26 14:53

@Billshut: It looks like hercules didn't yet add support for your panel. They haven't updated their Linux driver in more than a year.

@msieur_piero: Are you using the 2.6.36 kernel?

Anonymous comment on 2010-11-15 07:47

Doens't work, obtain this during the source build :
patching file Makefile
patching file device.c
patching file bulk.c
patching file bulk.h
patching file device.c
patching file midi.c
make -C /lib/modules/2.6.36-ARCH/build M=/tmp/yaourt-tmp-root/aur-hdjmod/src/hdjmod-1.28 LDDINC=/tmp/yaourt-tmp-root/aur-hdjmod/src/hdjmod-1.28 modules
make[1] : on entre dans le répertoire « /usr/src/linux-2.6.36-ARCH »
CC [M] /tmp/yaourt-tmp-root/aur-hdjmod/src/hdjmod-1.28/device.o
In file included from include/linux/bitops.h:22:0,
from include/linux/kernel.h:17,
from /tmp/yaourt-tmp-root/aur-hdjmod/src/hdjmod-1.28/device.c:28:
/usr/src/linux-2.6.36-ARCH/arch/x86/include/asm/bitops.h:395:19: attention : declaration of ‘ffs’ shadows a built-in function
In file included from include/linux/device.h:461:0,
from include/linux/dmaengine.h:24,
from include/linux/skbuff.h:30,
from include/linux/netlink.h:150,
from /tmp/yaourt-tmp-root/aur-hdjmod/src/hdjmod-1.28/device.c:36:
include/linux/pm_wakeup.h: In function ‘device_set_wakeup_capable’:
include/linux/pm_wakeup.h:43:71: attention : declaration of ‘capable’ shadows a global declaration
include/linux/capability.h:560:12: attention : shadowed declaration is here
In file included from include/net/rtnetlink.h:5:0,
from include/net/neighbour.h:28,
from include/net/dst.h:16,
from include/net/sock.h:61,
from /tmp/yaourt-tmp-root/aur-hdjmod/src/hdjmod-1.28/device.c:37:
include/net/netlink.h: In function ‘nla_put_msecs’:
include/net/netlink.h:824:19: attention : declaration of ‘jiffies’ shadows a global declaration
include/linux/jiffies.h:82:44: attention : shadowed declaration is here
In file included from /tmp/yaourt-tmp-root/aur-hdjmod/src/hdjmod-1.28/device.c:52:0:
/tmp/yaourt-tmp-root/aur-hdjmod/src/hdjmod-1.28/bulk.h: Hors de toute fonction :
/tmp/yaourt-tmp-root/aur-hdjmod/src/hdjmod-1.28/bulk.h:24:59: erreur fatale: /usr/src/linux-2.6.35-ARCH/include/linux/slab.h : Aucun fichier ou dossier de ce type
compilation terminée.
make[2]: *** [/tmp/yaourt-tmp-root/aur-hdjmod/src/hdjmod-1.28/device.o] Erreur 1
make[1]: *** [_module_/tmp/yaourt-tmp-root/aur-hdjmod/src/hdjmod-1.28] Erreur 2
make[1] : on quitte le répertoire « /usr/src/linux-2.6.36-ARCH »
make: *** [modules] Erreur 2

Anonymous comment on 2010-11-11 15:52

just got the DJ control e2, I installed this, the controller lights come on, but thats about it.
my dmesg | grep hdj
http://aur.pastebin.com/vDXQzKx1

Gimmeapill commented on 2010-08-23 19:08

Works - thanks guys!

Anonymous comment on 2010-08-23 14:05

I updated the PKGBUILD! It works for me, but if anyone has a problem with it just say so.

gmenguez commented on 2010-08-23 11:33

@Gimmeapill I'm new to Arch so I don't think I will be able to handle a package yet. So you can take over if you want and I will thank you for that as I actively use this package.

Gimmeapill commented on 2010-08-22 07:27

@Speedboy & gmenguez: does any of you feel like adopting it?
If not, I think I can take over.
There's also this one that needs care: http://aur.archlinux.org/packages.php?ID=25208

Gimmeapill commented on 2010-08-22 07:26

@Speedboy: do you feel like adopting it?
If not, I think I can take over...
There's also this one: http://aur.archlinux.org/packages.php?ID=25208

Gimmeapill commented on 2010-08-22 07:25

@Speedboy: do you feel like adopting it?
If not, I think I can take over...
There's also this one: http://aur.archlinux.org/packages.php?ID=25208

Gimmeapill commented on 2010-08-22 07:25

@Speedboy: do you feel like adopting it?
If not, I think I can take over...
There's also this one: http://aur.archlinux.org/packages.php?ID=25208

Anonymous comment on 2010-08-21 13:36

Thanks Guillermo. I'll try to make an updated pkgbuild as soon as i can! BTW, it seems like noone is actually maintaining this aur anymore.

gmenguez commented on 2010-08-18 23:37

Hi, I had to made changes again to allow this to compile against 2.6.35. I hadn't time yet to learn how to properly use AUR but here is the patch I've used (to be applied after hdjmod.diff and kernel_2.6.31_fix.patch), in case it helps anyone:

http://aur.pastebin.com/k9cEeW5C
Direct download (pastebin does weird things for me, it should be my browser, use this in case the pastebin version is bad): http://box.jisko.net/094128

There are two functions that changed their names (usb_buffer_free and usb_buffer_allow) in 2.6.35 and a field that is not used anymore (URB_NO_SETUP_DMA_MAP). I still had to add "#include "/usr/src/linux-2.6.35-ARCH/include/linux/slab.h"" to bulk.h, I'm sure there's a way to avoid hardcoding the kernel version there but I don't know how to do it yet.

I've tried the hardware in Mixxx again this time and it seems to work, both as midi controller and as sound device.

Regards,
Guillermo.

gmenguez commented on 2010-08-18 22:30

Hi, I had to made changes again to allow this to compile against 2.6.35. I hadn't time yet to learn how to properly use AUR but here is the patch I've used (to be applied after hdjmod.diff and kernel_2.6.31_fix.patch), in case it helps anyone:

http://aur.pastebin.com/k9cEeW5C
Direct download (pastebin does weird things for me, it should be my browser, maybe the patch is bad): http://box.jisko.net/094128

There are two functions that changed their names (usb_buffer_free and usb_buffer_allow) in 2.6.35 and a field that is not used anymore (URB_NO_SETUP_DMA_MAP). I still had to add "#include "/usr/src/linux-2.6.35-ARCH/include/linux/slab.h"" to bulk.h, I'm sure there's a way to avoid hardcoding the kernel version there but I don't know how to do it yet.

I've tried the hardware in Mixxx again this time and it seems to work, both as midi controller and as sound device.

Regards,
Guillermo.

Anonymous comment on 2010-08-12 14:42

I made a tiny patch thanks to gmenguez and changed the pkgbuild. I tested it here and it works for me.
http://aur.pastebin.com/DJn30F0E
http://aur.pastebin.com/7hNh6JCZ

Gimmeapill commented on 2010-07-25 11:07

gmenguez: Dunno how you found that but thanks - it works fine.
sergeantspoon: can you update the pkgbuild?

gmenguez commented on 2010-07-22 22:53

I have been able to compile it by adding "#include "/usr/src/linux-2.6.34-ARCH/include/linux/slab.h"" to bulk.h, in the source of the module. It's dirty but it works (I have been testing it with mixxx), I'm new to Arch (in fact this is my second day using it, I was an Slackware user). Maybe some of you guys who already knows how to use AUR (I'm in the process of learning) can use this info to update the package.

Anonymous comment on 2010-06-30 14:07

I get the same error.

Gimmeapill commented on 2010-06-29 18:10

Build fails with kernel 2.6.34:
http://pastebin.com/j7spvws9

Gimmeapill commented on 2010-04-05 12:19

Hi the patched module builds fine,
but I think that kernel26-headers should be added to the makedepends (it took me a while to figure it out)...