You are not logged in.

#1 2014-04-10 07:57:40

psychoticmeow
Member
Registered: 2013-05-01
Posts: 20

Attempting to get a Zoom R16 working

The Zoom R16 is an 8 track mixer, recorder or audio interface that works with Windows or OS X. Until recently it's been impossible to get it working on Linux, however a few enterprising people have managed to make an entry to sound/usb/quirk-table.h in order to get some functionality working (8 audio inputs, midi control surface).

So yesterday I set about patching my own kernel, unfortunately it didn't go well, I got the following error using this patch:

In file included from sound/usb/card.c:732:0:
sound/usb/quirks-table.h:3127:7: error: ‘altset_idx’ undeclared here (not in a function)
       altset_idx = 1,
       ^
scripts/Makefile.build:308: recipe for target 'sound/usb/card.o' failed
make[2]: *** [sound/usb/card.o] Error 1
scripts/Makefile.build:455: recipe for target 'sound/usb' failed
make[1]: *** [sound/usb] Error 2
Makefile:816: recipe for target 'sound' failed
make: *** [sound] Error 2
make: *** Waiting for unfinished jobs....

I'm not at all qualified to debug this, I've never written anything in C, let alone tried to add something to the kernel before. Would anyone be able to tell me were the patch went wrong?

I'm also available on IRC in #archlinux, just ping "meow", whatever is easiest.

Offline

#2 2014-04-10 10:04:01

vostok4
Member
Registered: 2010-12-16
Posts: 72

Re: Attempting to get a Zoom R16 working

I think it's a syntax error, there is a missing . infront of altset_idx = 1, on line 41.

Try this patch: https://gist.github.com/vostok4/10363990 (or just look at the revision).

Offline

#3 2014-04-10 12:21:31

psychoticmeow
Member
Registered: 2013-05-01
Posts: 20

Re: Attempting to get a Zoom R16 working

That got it compiling, I installed it, setup nvidia-hook/dkms from AUR, and configured grub. On boot I got a huge stack trace.

I don't think I'm going to be able to get this working :S

Offline

#4 2014-04-11 04:40:53

tritonas00
Member
Registered: 2013-01-20
Posts: 71

Re: Attempting to get a Zoom R16 working

I also own this device, it would be great if we make it work!

Offline

#5 2014-04-11 07:30:30

psychoticmeow
Member
Registered: 2013-05-01
Posts: 20

Re: Attempting to get a Zoom R16 working

I was able to boot 3.13.9 with the patch, however putting it into audio interface mode caused the system to lockup. I'll be trying again this evening with kernel 3.14, I'll share my package source when I do so you can try it too.

Offline

#6 2014-04-11 07:56:11

tritonas00
Member
Registered: 2013-01-20
Posts: 71

Re: Attempting to get a Zoom R16 working

thanks!

Offline

#7 2014-04-11 17:43:03

psychoticmeow
Member
Registered: 2013-05-01
Posts: 20

Re: Attempting to get a Zoom R16 working

Some progress at least, using this patch I was able to get the device to show up:

↪ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD1984A Analog [AD1984A Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: AD1984A Alt Analog [AD1984A Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: R16 [R16], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

However most of the time it would hang the computer when I enabled the audio interface, until I disabled the audio interface mode. This includes when I attempted to configure Jack to use it:

Fri Apr 11 20:37:01 2014: JACK server starting in realtime mode with priority 10
Fri Apr 11 20:37:01 2014: ERROR: Cannot lock down 107335194 byte memory area (Cannot allocate memory)
Fri Apr 11 20:37:06 2014: Device reservation request with priority 2147483647 denied for "Audio1": org.freedesktop.DBus.Error.NoReply (Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network co
Fri Apr 11 20:37:06 2014: ERROR: Failed to acquire device name : Audio1 error : Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Fri Apr 11 20:37:06 2014: ERROR: Audio device hw:R16,0 cannot be acquired...
Fri Apr 11 20:37:06 2014: ERROR: Cannot initialize driver
Fri Apr 11 20:37:06 2014: ERROR: JackServer::Open failed with -1
Fri Apr 11 20:37:06 2014: ERROR: Failed to open server

I don't really know what's going on, and I don't have the necessary knowledge required to debug it. Any input is welcome.

Offline

#8 2014-04-12 07:49:13

tritonas00
Member
Registered: 2013-01-20
Posts: 71

Re: Attempting to get a Zoom R16 working

Reading the mailing lists, they say that capture works and they try to make playback to work

http://mailman.alsa-project.org/piperma … 74117.html
http://mailman.alsa-project.org/piperma … 74320.html

Last edited by tritonas00 (2014-04-12 07:50:29)

Offline

Board footer

Powered by FluxBB