Kernel panic MIxxx+Hercules DJ Console RMX2

Reported by Diman on 2013-01-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Low
Daniel Schürmann

Bug Description

hello! I bought a new midi controller Hercules DJ Console RMX2. This device uses MIDI protocol to send commands to Mixxx(not Bulk as vendor`s previous devices ). I connect the device to the PC, start Mixxx 1.11(compiled from trunk), the device is detected as midi-compatible, but there is no layout for this controller. I tryed to do this manuality, using Learning Wizard, but the mapping I got is not full. Nevertheless when I tryed to play on it in Mixxx, I got kernel panic(I use Archlinux x86_64, linux kernel 3.6.10). When I reboot my laptop, and try to work ith Mixxx again, so Kernel panic may be appear sometimes again. But there is also the following problem. It seems that buildin high quality sound card doesn`t support. I use ALSA (v.1.0.25) to work with audio devices in my system. The sound card is detected by UDEV and described in the system. It is detected as "Rmx2". It seems it uses Xmos DSP chip to work with audio. When I try to admine the sound card I get the error from ALSAMIXER: "Protocol error". I tryed to search the solving of that problem, I found that problem may be connected with such item that there is no full support of UAC2 in alsa. The problem may be resolved by adding such support in alsa-driver or may be firmware from Xmos(if used chip is Xmos made really) to alsa-firmware. Anyway if somebody can help me (it seems not only me) please, give your recommendetions how to resolve the problem with the soundcard and may be anybody of developers has mapping for RMX2 . I don`t want to use Windows and such software as Traktor and etc, I prefer quickly working linux OS and optimized for my laptop fresh Mixxx release from the sources. I even don`t know where I can write about this problem to and get support. Please help me.(((
My Laptop CPU: Turion64x2 TL-62, 2GB RAM, VPU: Radeon 2600Pro 512mb, build in Audio Card Realtec ALC268.
DJ midi-controller: Hercules DJ Console RMX2 with buildin audio card(it seems on the base of Xmos chip)
Software: Archlinux x86-64, stock 3.6.10 and manually compiled 3.7.1 kernels, ALSA 1.0.25

RJ Ryan (rryan) wrote :

None of us have an RMX2 (yet). It's good to hear that it's a standard MIDI device but unfortunately we don't have the expertise to remotely debug your ALSA issue. I think maybe you should join the #alsa channel on Freenode IRC and request help there or maybe email the ALSA mailing lists.

Diman (faxtrode) wrote :

I tryed to discuss about my problem on #alsa chanell on freenode.net but only several people agreed to answer on my questions. So device is specific, nobody gave me the info how to resolve the problem with the audio. I add some extra info from my system about this device. May be it will be usefull. When I plug my device in usb port:
dmesg:
79.246940] usb 1-3: USB disconnect, device number 2
[ 81.853389] usb 1-3: new high-speed USB device number 5 using ehci_hcd
[ 82.976822] ALSA clock.c:279 5:1:1: cannot set freq 96000 (v2)
[ 82.993057] ALSA format.c:284 parse_audio_format_rates_v2(): unable to find clock source (clock -71)
I tryed to search the resolve of the problem in the internet, and I found there are several devices that people tryed to use and got the same message. Several patches were suggested for them from ALSA developers. I don`t know if they are suitable for me. I searched using tag: "parse_audio_format_rates_v2"
 There is also some info from "lsusb -v". I add it as attachment "lsusb_RMX2".
I also add the lines i get from console when i boot my OS:
9.600161] ALSA mixer.c:352 cannot get ctl value: req = 0x83, wValue = 0x201, wIndex = 0xa00, type = 4
[ 9.600487] ALSA mixer.c:352 cannot get ctl value: req = 0x83, wValue = 0x200, wIndex = 0xa00, type = 4
[ 9.600984] ALSA mixer.c:352 cannot get ctl value: req = 0x83, wValue = 0x201, wIndex = 0xb00, type = 4
[ 9.601236] ALSA mixer.c:352 cannot get ctl value: req = 0x83, wValue = 0x200, wIndex = 0xb00, type = 4
[ 9.727633] usbcore: registered new interface driver snd-usb-audio

May be you know anybody from alsa development team who I can send the indo about my problem(?).

Changed in mixxx:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Daniel Schürmann (daschuer)
Daniel Schürmann (daschuer) wrote :

the attached patch against the current alsa-kernel solves the problem:

Daniel Schürmann (daschuer) wrote :

Attached you find a *deb package which installs a patches snd-usb-audio modul.
It was tested with Ubuntu Precise and Linux 3.2.0-40-generic.

Instructions:
* Unplug RMX2
* sudo modprobe -r snd_usb_audio
* dpkg -i snd-usb-audio-rmx2-dkms_0.10_all.deb
* Plug RMX2 .. and Play (hopefully)

Daniel Schürmann (daschuer) wrote :

the attached deb works with Ubuntu Lucid and the 3.0.0-32-generic Kernel

"The patch is on the way to the kernel..." It is really a splenid news! I hope kernel maintainers will include this patch in the stable version of the following kernel) I try to test new kernel with the patch inside as it will appear and may be even some earlier, if I have enough time during this week I will do it , Thank you for your work!)

> 22 Апрель 2013 г. 14:26:19 пользователь Daniel Schürmann (<email address hidden>) написал:
>
> The patch is on the way to the kernel:
>
> https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?h
> =for-next&id=b5f035dbca2895cd253141706b47b6cb8afc2ed5
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1096687
>
> Title:
>   Kernel panic MIxxx+Hercules DJ Console RMX2
>
> Status in Mixxx:
>   In Progress
>
> Bug description:
>   hello! I bought a new midi controller Hercules DJ Console RMX2. This device uses MIDI protocol to send commands to Mixxx(not Bulk as vendor`s previous devices ). I connect the device to the PC, start Mixxx 1.11(compiled from trunk), the device is detected as midi-compatible, but there is no layout for this controller. I tryed to do this manuality, using Learning Wizard, but the mapping I got is not full. Nevertheless when I tryed to play on it in Mixxx, I got kernel panic(I use Archlinux x86_64, linux kernel 3.6.10). When I reboot my laptop, and try to work ith Mixxx again, so Kernel panic may be appear sometimes again. But there is also the following problem. It seems that buildin high quality sound card doesn`t support. I use ALSA (v.1.0.25) to work with audio devices in my system. The sound card is detected by UDEV and described in the system. It is detected as "Rmx2". It seems it uses   Xmos DSP chip to work with audio. When I try to admine the sound card I get the error from ALSAMIXER: "Protocol error". I tryed to search the solving of that problem, I found that problem may be connected with such item that there is no full support of UAC2   in alsa. The problem may be resolved by adding such support in alsa-driver or may be firmware from Xmos(if used chip is Xmos made really) to alsa-firmware. Anyway if somebody can help me (it seems not only me) please, give your recommendetions how to resolve the problem with the soundcard and may be anybody of developers has mapping for RMX2 . I don`t want to use Windows and such software as Traktor and etc, I prefer quickly working linux OS and optimized for my laptop fresh Mixxx release from the sources. I even don`t know where I can write about this problem to and get support. Please help me.(((
>   My Laptop CPU: Turion64x2 TL-62, 2GB RAM, VPU: Radeon 2600Pro 512mb, build in Audio Card Realtec ALC268.
>   DJ midi-controller: Hercules DJ Console RMX2 with buildin audio card(it seems on the base of Xmos chip)
>   Software: Archlinux x86-64, stock 3.6.10 and manually compiled 3.7.1 kernels, ALSA 1.0.25
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/1096687/+subscriptions
>
>

Daniel Schürmann (daschuer) wrote :

Attached you find a new dkms.deb which fixes the remaining
[ 9.600487] ALSA mixer.c:352 cannot get ctl value: req = 0x83, wValue = 0x200, wIndex = 0xa00, type = 4
errors.

Daniel Schürmann (daschuer) wrote :

The patches are included in Kernel Release 3.10.
So we can mark this fixed.

Changed in mixxx:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers