Patch for Hercules kernel mod broken by Linux 2.6.31

General Mixxx discussion.... discuss

Moderator: garth

Re: Patch for Hercules kernel mod broken by Linux 2.6.31

Postby rryan » Mon Jul 23, 2012 7:25 pm

dunc623b wrote:Hi neale,

Thanks for your work on this, I was very happy to find this forum thread.

I do however, have a compilation issue with the latest copy of your tree, on Ubuntu 64-bit.

I pasted the output here.

http://pastebin.com/i9XhUzZ9

Any ideas?


TIA

Dunc


Hi Dunc,

Looks like you are missing the portaudio development headers (portaudio19-dev). Make sure to follow the instructions on our wiki: http://mixxx.org/wiki/doku.php/compiling_on_linux
The Mixxx Manual, Wiki and FAQ are the best place to start for documentation and support.
Please report any bugs you find to our Bug Tracker.
rryan
Mixxx Developer
 
Posts: 941
Joined: Thu Mar 26, 2009 12:14 am
Location: Cambridge, MA

Re: Patch for Hercules kernel mod broken by Linux 2.6.31

Postby neale » Mon Aug 06, 2012 6:32 am

I finally had time to track down why mixxx was hanging at close. All I needed was to initialize the USB library. I've been using this branch for a couple hours practicing and I can't find any problems with it.

Please download the newest branch and try it for yourself. Barring any bug reports, we should be able to get this code in by the 0.12 release.
User avatar
neale
 
Posts: 20
Joined: Sun Jun 24, 2012 9:50 pm

Re: Patch for Hercules kernel mod broken by Linux 2.6.31

Postby quaec » Thu Aug 09, 2012 12:07 pm

neale wrote:Please download the newest branch and try it for yourself. Barring any bug reports, we should be able to get this code in by the 0.12 release.

Thanks for this, I've tested it and it looks very good. :)

The only thing I noticed is that I have always a ~50% CPU load on my AMD Phenom II X4 955, even if there's no music playing. I have no Idea if this is normal with the (current) version.
quaec
 
Posts: 1
Joined: Thu Aug 09, 2012 10:17 am

Re: Patch for Hercules kernel mod broken by Linux 2.6.31

Postby neale » Wed Sep 05, 2012 9:57 pm

My patch has just been merged upstream and is now a part of Mixxx as of revision 3294.

quaec, I suspect that's normal. Mine stays at a high CPU usage even when not playing too, and it's due to mixxx constantly trying to fill the output buffer for the sound card. The bulk controller is supposed to be normally blocking.

If you could verify this with an earlier build, I'd be much obliged :)
User avatar
neale
 
Posts: 20
Joined: Sun Jun 24, 2012 9:50 pm

Re: Patch for Hercules kernel mod broken by Linux 2.6.31

Postby rob2192 » Fri Nov 16, 2012 5:21 pm

Currently using 1.11 build 3461, my MP3 e2 doesn't show up in controllers. any ideas how to get it working?

Thanks
rob
rob2192
 
Posts: 14
Joined: Fri Nov 16, 2012 4:06 pm

Re: Patch for Hercules kernel mod broken by Linux 2.6.31

Postby rryan » Tue Nov 20, 2012 4:49 am

rob2192 wrote:Currently using 1.11 build 3461, my MP3 e2 doesn't show up in controllers. any ideas how to get it working?

Thanks
rob


Hi Rob,

First, make sure your e2 is in the list when you type:
lsusb
in a terminal.

Next, you need to make sure you have permissions to the device. See the instructions here:
http://mixxx.org/wiki/doku.php/troubles ... hough_i_do

You also need to make sure you uninstall the Hercules kernel module if you have installed it before -- but since it doesn't show up as a MIDI device that's a possible indicator you don't have the kernel module installed anyway.

Please let us know if that helps.
RJ
The Mixxx Manual, Wiki and FAQ are the best place to start for documentation and support.
Please report any bugs you find to our Bug Tracker.
rryan
Mixxx Developer
 
Posts: 941
Joined: Thu Mar 26, 2009 12:14 am
Location: Cambridge, MA

Re: Patch for Hercules kernel mod broken by Linux 2.6.31

Postby rob2192 » Tue Nov 20, 2012 4:44 pm

It is listed as usb device and have now given permissions to the device. I had already removed the kernal module.
It now shows up in mixxx but mixxx crashes and closes when I enable the e2.
rob2192
 
Posts: 14
Joined: Fri Nov 16, 2012 4:06 pm

Re: Patch for Hercules kernel mod broken by Linux 2.6.31

Postby captgibb » Mon Jan 21, 2013 2:20 pm

Firstly, thank you neale for this support!

I got it to work with Mixxx v1.11 beta2 from the mixxxbetas ppa repository.

However, I'm still struggling with the udev rules. Somehow, mixxx can not see the controller unless I start it with 'sudo'.

EDIT: I solved the detection problem and posted the solution on the Mixxx Wiki page of the Hercules DJ Control MP3 e2 controller. The rules described on the troubleshooting page do not work.
captgibb
 
Posts: 11
Joined: Sun Jan 20, 2013 1:10 pm

Re: Patch for Hercules kernel mod broken by Linux 2.6.31

Postby Pegasus » Mon Mar 25, 2013 9:37 am

captgibb: Thank you for updating the wiki! The reason the troubleshooting page instructions didn't work for you is because the MP3 e2 is not an HID device but is instead a USB Bulk Transfer device. The instructions on the troubleshooting page only grant permissions to HID devices, but your solution is perfect for all Hercules bulk devices. Once we have a clear idea of which controllers that applies to, we'll move your instructions to the common Hercules controller wiki page.

Thanks again for figuring it out!
"D.J. Pegasus"
Mixxx Developer - Controller Specialist
Mixxx Windows package maintainer
User avatar
Pegasus
Mixxx Developer
 
Posts: 1649
Joined: Thu Jan 29, 2009 7:48 pm
Location: Spangdahlem, RP, Germany

Previous

Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron