Search found 299 matches

by Drumfix
Tue Mar 16, 2021 8:43 pm
Forum: Computer Related Hardware
Topic: USB sound card "freezes" the system
Replies: 9
Views: 2488

Re: USB sound card "freezes" the system

Looks like a standard USB1 class compliant interface.

Do you get a "duplicate endpoint" log messages?
by Drumfix
Tue Mar 16, 2021 8:09 pm
Forum: Computer Related Hardware
Topic: USB sound card "freezes" the system
Replies: 9
Views: 2488

Re: USB sound card "freezes" the system

Still the output of "lsusb -v" is necessary to get a better picture of how the device is supposed to work.
I find it strange that the driver tries to set the sample rate with the method for USB1, while the device says it is USB2.
Possibly a driver bug.
by Drumfix
Tue Mar 16, 2021 7:49 pm
Forum: Computer Related Hardware
Topic: USB sound card "freezes" the system
Replies: 9
Views: 2488

Re: USB sound card "freezes" the system

Oops, that phone plug is for an audio cable, not USB. So don't try it!!
by Drumfix
Tue Mar 16, 2021 7:41 pm
Forum: Computer Related Hardware
Topic: USB sound card "freezes" the system
Replies: 9
Views: 2488

Re: USB sound card "freezes" the system

Looks like this device has an USB class compliant port (phone symbol) and a non-class compliant port (USB symbol)
Can you try both and report "lsusb -v" for each of them ?
by Drumfix
Tue Mar 09, 2021 8:21 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 892
Views: 2760077

Re: Ultralite AVB

You cannot use a normal router to stream audio via AVB. You would need an AVB capable switch, e.g. from Presonus or Motu. AVB on Windows is only available via an RME Digiface AVB. On Linux, AVB requires a network interface based on the Intel i210 chipset and a special driver. That driver exposes the...
by Drumfix
Tue Mar 09, 2021 8:07 pm
Forum: Computer Related Hardware
Topic: Audient iD44
Replies: 11
Views: 4488

Re: Audient iD44

Most likely the device requires an implicit feedback quirk. Do you know how to compile a kernel for your distribution?
by Drumfix
Sun Jan 03, 2021 12:57 am
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 892
Views: 2760077

Re: Ultralite AVB

No i'm absolutely tired.

i think in xhci_urb_enqueue

Code: Select all

int lock_acquired = spin_trylock_irqsave(&xhci_lock, flags);
...

Code: Select all

if (lock_aquired)
   spin_unlock_irqrestore(&xhci_lock, flags);
should do the trick. No extra USB_HOST_LOCK_IS_ACQUIRED flag needed.
by Drumfix
Sun Jan 03, 2021 12:12 am
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 892
Views: 2760077

Re: Ultralite AVB

You need both flags.

URB_FAST_COMPLETION must be set in all submitted ISO URBs, no matter if they are submitted from inside and outside of the completion handler.
USB_HOST_LOCK_IS_ACQUIRED must be set in ISO urbs submitted from inside the completion handler only.
by Drumfix
Sat Jan 02, 2021 11:55 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 892
Views: 2760077

Re: Ultralite AVB

I see a solution for using the completion handler in hardirq context. The reason for your hardlock is, that when resubmitting an urb, xhci_urb_enqueue tries to acquire the xhci_lock that is already held by the interrupt handler. So adding a flag USB_HOST_LOCK_IS_ACQUIRED to the urb's flag when an ur...
by Drumfix
Sat Jan 02, 2021 10:36 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 892
Views: 2760077

Re: Ultralite AVB

The right thing to do would be to have a separate kernel thread that handles the ISO completion callbacks and is scheduled instead of the tasklet_hi_schedule.
by Drumfix
Sat Jan 02, 2021 9:51 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 892
Views: 2760077

Re: Ultralite AVB

I make it short: Doing a spin_unlock/spin_lock while inside hardirq context is the best way to create a kernel panic.
by Drumfix
Thu Oct 01, 2020 9:35 pm
Forum: Computer Related Hardware
Topic: Ultralite AVB
Replies: 892
Views: 2760077

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: 892
Views: 2760077

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 the...
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: 8674

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: 892
Views: 2760077

Re: Ultralite AVB

One more try