Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#33272 - [linux] ALSA and usb external sound card

Attached to Project: Arch Linux
Opened by Dmitry (faxtrode) - Wednesday, 02 January 2013, 18:31 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 17 September 2013, 10:03 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:I have got dj midi-controller Hercules DJ Console RMX2 with buildin audio interface(24bit/96kHz). Midi device is detected and works well, but the sound card doesn`t work with alsamixer, sometimes this usage causes either kernel panic or error "protocol error". Sound card uses for playing 2 independent stereo streams.
[code]
aplay -l
card 2: Rmx2 [DJConsole Rmx2], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
[/code]

[code]
[user@myhost ~]$ amidi -l
Dir Device Name
IO hw:2,0,0 DJConsole Rmx2 MIDI
[/code]
[code]
[user@myhost ~]$ cat /proc/asound/card2/pcm0p/info
card: 2
device: 0
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
[/code]
[code]
lsusb
Bus 001 Device 007: ID 06f8:b113 Guillemot Corp
[/code]



Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:it seems the problem is connected with some alsa module, which is absent, or valid driver configuration is needed
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Tuesday, 17 September 2013, 10:03 GMT
Reason for closing:  No response
Comment by Dmitry (faxtrode) - Wednesday, 02 January 2013, 18:34 GMT
There is also usbmixer configuration:
[user@myhost ~]$ cat /proc/asound/Rmx2/usbmixer
USB Mixer: usb_id=0x06f8b113, ctrlif=0, ctlerr=0
Card: Hercules DJConsole Rmx2 at usb-0000:00:13.5-3, high speed
USB Mixer: usb_id=0x06f8b113, ctrlif=0, ctlerr=0
Card: Hercules DJConsole Rmx2 at usb-0000:00:13.5-3, high speed
Unit: 10
Control: name=" Playback Volume", index=1
Info: id=10, control=2, cmask=0x0, channels=1, type="S16"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 10
Control: name=" Playback Volume", index=0
Info: id=10, control=2, cmask=0xf, channels=4, type="S16"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 10
Control: name=" Playback Switch", index=1
Info: id=10, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 10
Control: name=" Playback Switch", index=0
Info: id=10, control=1, cmask=0xf, channels=4, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 11
Control: name=" Capture Volume", index=1
Info: id=11, control=2, cmask=0x0, channels=1, type="S16"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 11
Control: name=" Capture Volume", index=0
Info: id=11, control=2, cmask=0xf, channels=4, type="S16"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 11
Control: name=" Capture Switch", index=1
Info: id=11, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 11
Control: name=" Capture Switch", index=0
Info: id=11, control=1, cmask=0xf, channels=4, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Comment by Tobias Powalowski (tpowa) - Tuesday, 07 May 2013, 06:36 GMT
Is this still valid with 3.8.11 or 3.9.0?
Comment by Dmitry (faxtrode) - Saturday, 25 May 2013, 11:46 GMT
I have got the opportunity to test the device with the stock repo kernel 3.9.3. Changelog on kernel.org for 3.9.1 says that the problem is fixed(the problem marked in changelog as "ALSA: usb-audio: Fix autopm error during probing"). nevertheless the problem is still exists. I tryed to connect the device and configure it through alsamixer, but I got the error "unable to open device protocol error".
Dmesg shows from log the same lines: LSA mixer.c:352 cannot get ctl value: req = 0x83, wValue = 0x201, wIndex = 0xa00, type = 4. It is not clear why maintainers write to changelog that the problem is fixed.
Comment by Gerardo Exequiel Pozzi (djgera) - Saturday, 25 May 2013, 11:47 GMT
Please report to upstream, there is nothing to do here, just tracking the bug.
Comment by Dmitry (faxtrode) - Saturday, 25 May 2013, 13:36 GMT
I downloaded the kernel ver. 3.9.4, patched 'helper.c' with https://bugs.launchpad.net/mixxx/+bug/1096687/+attachment/3645060/+files/snd_usb_audio_rmx2.patch ,compiled the kernel and began testing RMX2. Now the device is detected right. Sound is processing with samplerate 96kHz. Alsamixer can drive internal sound device(detected as usb mixer) but only manually, not through device`s knobs.Only headphones volume knob works, but , it works apart of other knobs, so it is not the part of the midi-device. The RMX2 was connected to Mixxx DJ software and detected in it, but when I try to attach the layout for midi-device in the software, operation fails; previously it worked but on another Mixxx version(now I use 3841 release). I don`t know what this problem is connected with. It may be either problem with configuring midi device after the time I released the patch or problem with the current Mixxx revision. I try to find out this issue is connected with. Anyway amidi detects midi-device and I`d like to advise to you to add this patch in the kernel mainline. There are also some screenshoots I want to post here.
Comment by Dmitry (faxtrode) - Saturday, 25 May 2013, 14:51 GMT
Comment by Tobias Powalowski (tpowa) - Tuesday, 30 July 2013, 10:43 GMT
Status on 3.10.x?

Loading...