Search found 255 matches

by Drumfix
Fri May 08, 2020 7:15 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 371
Views: 45164

Re: Ultralite AVB

One more try
by Drumfix
Fri May 08, 2020 6:40 am
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 371
Views: 45164

Re: Ultralite AVB

Yes, there is hope. The reason why i did not get the scheduling bug was, because i compiled the kernel without preemption. Now that i compile it as low-latency kernel i also get the "scheduling while atomic" bug (but without a hardlock), so i can have a look whats happening. Btw, for the new Ultrali...
by Drumfix
Wed May 06, 2020 10:28 am
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 371
Views: 45164

Re: Ultralite AVB

I will be on irc freenode, #linuxmusicians this evening from 20:00 CEST. Better and faster to sort out the problems there.
by Drumfix
Mon May 04, 2020 9:57 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 371
Views: 45164

Re: Ultralite AVB

Then split the patchfile into separate files for each patch and test them incrementally.

The patchfile consists of 3 patches, each starting with the line containing the "diff".

The 3rd patch is the important one for the channel hopping, so start with that one.
by Drumfix
Mon May 04, 2020 6:47 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 371
Views: 45164

Re: Ultralite AVB

@bluebell Try to boot with the option "nowatchdog".
by Drumfix
Sun May 03, 2020 10:24 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 371
Views: 45164

Re: Ultralite AVB

So, the attached patch should fix the following: - startup problems with pulseaudio or jack in duplex mode - channel hopping/bit crushing due to x-runs or sync issues - channel hopping when changing buffersize on the fly with jack_bufsize Note: It can take up to about 10 seconds for sound to come ba...
by Drumfix
Sat May 02, 2020 8:10 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 371
Views: 45164

Re: Ultralite AVB

The patches will only go into the kernel after i get verification from users of the Ultralite AVB that they solve the problem. I can only check with my 16A AVB which uses the same vendor/product ID as all the other AVB products. With the patches, everything runs smooth. Without the patches, channel ...
by Drumfix
Fri May 01, 2020 6:21 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 371
Views: 45164

Re: Ultralite AVB

My bad, i added the proper line in the clock.c file and then forgot about it.
I'd say linux is to blame here because the descriptor for the isoc IN endpoint has the implicit feedback bit set and that's ignored by the driver.
by Drumfix
Fri May 01, 2020 4:11 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 371
Views: 45164

Re: Ultralite AVB

Now that the clock patch of @puleglot is in kernel 5.7-rc3, the patch for the AVB units reduces to this: --- linux-5.7-rc3/sound/usb/pcm.c.orig 2020-05-01 17:52:23.410987252 +0200 +++ linux-5.7-rc3/sound/usb/pcm.c 2020-05-01 17:42:05.458101734 +0200 @@ -366,6 +366,10 @@ static int set_sync_ep_implic...
by Drumfix
Thu Apr 16, 2020 5:17 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 371
Views: 45164

Re: Ultralite AVB

The patches are so trivial that anybody should find the right place and copy it over for their kernel. Regarding USB 2/3: For a device it doesn't matter, if it is USB2 or USB3. From my developer view the xhci controller is a hundrt times easier to program than an ehci, and theoretically, it has a ma...
by Drumfix
Thu Apr 16, 2020 1:08 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 371
Views: 45164

Re: Ultralite AVB

You could try my patches (attached are the patched files for kernel 5.6.2). The necessary changes are enclosed with /* drumfix */, so it should be easy to apply them to other kernel versions. The files need to be copied into directory <kernel-source>/sound/usb and then the kernel built. Some notes: ...
by Drumfix
Sun Apr 12, 2020 3:17 pm
Forum: Running non-linux software
Topic: only 16 MIDI devices are available when running Windows software via WINE
Replies: 1
Views: 153

Re: only 16 MIDI devices are available when running Windows software via WINE

Unfortunately you will have to recompile wine.

Change the two constants in <wine-src>/include/mmddk.h:

#define MAX_MIDIINDRV (16)
#define MAX_MIDIOUTDRV (16)

to whatever number of ports you want to use.
by Drumfix
Mon Mar 30, 2020 8:22 pm
Forum: Recorders & Sequencers
Topic: Compatibility of USB audio sound card BOSS ME-80
Replies: 10
Views: 668

Re: Compatibility of USB audio sound card BOSS ME-80

The important lines are the two that i marked with the "+" at the beginning. And they are not in any kernel.
by Drumfix
Sat Mar 21, 2020 12:19 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 371
Views: 45164

Re: Ultralite AVB

The firmware that should work without any additional patches is this one:

http://cdn-data.motu.com/downloads/audi ... B16.update

The only thing you loose is the Touchconsole.
by Drumfix
Sat Mar 14, 2020 5:02 pm
Forum: Recorders & Sequencers
Topic: Compatibility of USB audio sound card BOSS ME-80
Replies: 10
Views: 668

Re: Compatibility of USB audio sound card BOSS ME-80

if i remember right some Boss/Roland devices need to receive some output urbs first before they start filling input urbs. This requires a patch to the usb audio driver. in your case: In the file <your-kernel-src>/sound/usb/endpoint.c, function snd_usb_start_endpoint: + if (ep->chip->usb_id != USB_ID...