Search found 258 matches

by Drumfix
Thu Oct 01, 2020 9:35 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 436
Views: 51513

Re: Ultralite AVB

Since they started to build USB interfaces RME completely ignores Linux. So buying any of their newer interfaces is a complete waste of money. TotalMix doesn't work at all. Only USB class compliant work. tvaz Having a computer where the problems shows up very quickly is actually a good thing for deb...
by Drumfix
Sat Sep 05, 2020 7:38 am
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 436
Views: 51513

Re: Ultralite AVB

You can force loading of the driver on boot by putting a line into the file /etc/modules (including the module parameters). See "man modules". You can check what driver the device is using by "lsusb -t" Important is to look at inderfaces 0,1,2. If they are using snd-usb-audio then just execute the f...
by Drumfix
Wed Aug 19, 2020 9:42 pm
Forum: System Tuning and Configuration
Topic: How much RT optimization is still needed?
Replies: 31
Views: 1209

Re: How much RT optimization is still needed?

I bet that it's a sound card. :) But I don't know how to find mapping between devices connected to xhci controller and their IRQs. Easy. All devices use the first allocated irq of an xhci host controller. Simply because the use of xhci secondary event rings and allocation of devices/enpoints to the...
by Drumfix
Fri May 08, 2020 7:15 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 436
Views: 51513

Re: Ultralite AVB

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

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: 436
Views: 51513

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: 436
Views: 51513

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: 436
Views: 51513

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: 436
Views: 51513

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: 436
Views: 51513

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: 436
Views: 51513

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: 436
Views: 51513

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: 436
Views: 51513

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: 436
Views: 51513

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: 178

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.