Thread: Linux NATIVE
View Single Post
Old 05-17-2017, 05:15 AM   #1823
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default

Quote:
Originally Posted by Jack Winter View Post
To recap, AFAIK, it's important to set the priority of the interrupt servicing the soundcard
THIS is the main issue I want to get to the bottom of. This thread had become so large I can't find your original instructions how to do this I would like to write a guide on this for my website.

What is the most simple method to do this in a step by step manner (for the confused windows escapee)? How about:

Code:
cat /proc/asound/cards
 0 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xaa230000 irq 47
 1 [USB            ]: USB-Audio - Scarlett 6i6 USB
                      Focusrite Scarlett 6i6 USB at usb-0000:00:14.0-2, high speed
Tells me what sound cards I have, and shows the one I want Focusrite Scarlett 6i6

I can show all the interrupts:

Code:
cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3       
  0:         40          0          0          0  IR-IO-APIC   2-edge      timer
  3:          0          0          0          0  IR-IO-APIC   3-edge      nuvoton-cir
  8:          1          0          0          0  IR-IO-APIC   8-edge      rtc0
  9:          2          0          0          2  IR-IO-APIC   9-fasteoi   acpi
 18:          0          0          0          0  IR-IO-APIC  18-fasteoi   i801_smbus
 23:         13          7          7          6  IR-IO-APIC  23-fasteoi   ehci_hcd:usb1
 40:          0          0          0          0  DMAR-MSI   0-edge      dmar0
 41:          0          0          0          0  DMAR-MSI   1-edge      dmar1
 42:      14410       3610       9428       4738  IR-PCI-MSI 1572864-edge      ahci[0000:03:00.0]
 43:      65773      11099     116853      30739  IR-PCI-MSI 327680-edge      xhci_hcd
 44:         24         11        225         20  IR-PCI-MSI 409600-edge      enp0s25
 45:       6191       2714       5404       2291  IR-PCI-MSI 32768-edge      i915
 46:         14          0          0          0  IR-PCI-MSI 360448-edge      mei_me
 47:        350         79        581        284  IR-PCI-MSI 49152-edge      snd_hda_intel:card0
 48:       1004        618       2511        812  IR-PCI-MSI 1048576-edge      iwlwifi
NMI:         23         23         22         19   Non-maskable interrupts
LOC:      68210      66314      58408      57996   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:         23         23         22         19   Performance monitoring interrupts
IWI:          0          0          1          0   IRQ work interrupts
RTR:          3          0          0          0   APIC ICR read retries
RES:      11196      10558       8464       6274   Rescheduling interrupts
CAL:      24867      23747      27494      23526   Function call interrupts
TLB:      23528      22095      25743      21905   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
DFR:          0          0          0          0   Deferred Error APIC interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:          3          3          3          3   Machine check polls
ERR:          0
MIS:          0
PIN:          0          0          0          0   Posted-interrupt notification event
PIW:          0          0          0          0   Posted-interrupt wakeup event
But nowhere does it say the magic words Focusrite Scarlett 6i6.

I got so far a while ago, but got lost when I tried to:

1. run a script at boot in Fedora, that was another rabbit hole I got lost in.

2. somehow find if it was allocated the exact same interuupt on boot if I used different USB ports or unplugged anything from them.
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------
David Else is offline