You are not logged in.
Hello,
I have been struggling to debug an issue with my external audio interface and thunderbolt adapter card. Sometimes it is recognized (in lscpi) and sometimes not, and I am not sure where to go from here.
---
Hardware:
- Asus X99 Pro 3.1 motherboard
- Intel 5930k
- IOMMU/VT-d enabled
- Asus Thunderbolt EX3 PCIe adapter card
- Universal Audio Apollo x6 audio interface
Goal: To use my external audio interface with arch.
Initial Problem: There are no Linux drivers for my audio interface.
Workaround: QEMU/Virt-Manager + Windows 10 + native pass-through of the Thunderbolt adapter card and audio interface.
Current Problem: Sometimes my audio interface is recognized by the host (arch) and sometimes it isn't. When it IS recognized, passing it through to the VM works. Sometimes power-cycling/rebooting the PC/audio interface causes it to be recognized; however, I cannot seem to reliably reproduce the issue. Sometimes it takes an hour of messing around before it is recognized.
---
However, I managed to save the output of
sudo lspci -vvvthe last time that it WAS working, and compared it to the same output when it wasn't.
The diff can be found here on Line 1426 (the right side is when it was working): https://pastebin.com/710STdwB
I am not sure where to begin with debugging the issue. Any help would be sincerely appreciated.
Thank you!
---
Extra info:
1/5:
boltctl ● Universal Audio, Inc. Thunderbolt 3 Option Card
├─ type: peripheral
├─ name: Thunderbolt 3 Option Card
├─ vendor: Universal Audio, Inc.
├─ uuid: 00527008-ddb7-7611-ffff-ffffffffffff
├─ generation: Thunderbolt 3
├─ status: authorized
│ ├─ domain: c4010000-0080-7518-23e8-26144a02a921
│ ├─ rx speed: 20 Gb/s = 2 lanes * 10 Gb/s
│ ├─ tx speed: 20 Gb/s = 2 lanes * 10 Gb/s
│ └─ authflags: none
├─ authorized: Sat 05 Feb 2022 06:15:44 AM
├─ connected: Sat 05 Feb 2022 06:15:44 AM
└─ stored: Sat 22 Jan 2022 04:37:57 AM
├─ policy: auto
└─ key: no2/5:
cat /etc/udev/rules.d/99-removable.rulesACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}=="0", ATTR{authorized}="1"3/5:
for iommu_group in $(find /sys/kernel/iommu_groups/ -maxdepth 1 -mindepth 1 -type d);do echo "IOMMU group $(basename "$iommu_group")"; for device in $(\ls -1 "$iommu_group"/devices/); do if [[ -e "$iommu_group"/devices/"$device"/reset ]]; then echo -n "[RESET]"; fi; echo -n $'\t';lspci -nns "$device"; done; doneOUTPUT: https://pastebin.com/fRYF5L1G
4/5:
sudo journalctl -bpart 1 of 2: https://pastebin.com/rtS3vUhb
part 2 of 2: https://pastebin.com/MZvXemzd
5/5
sudo dmesgLast edited by defunkt (2022-02-05 07:26:17)
Offline
Update: following advice from here (https://bbs.archlinux.org/viewtopic.php?id=253050), I added
pci=realloc,assign-busses,hpbussize=0x33to my
GRUB_CMDLINE_LINUX_DEFAULTin
/etc/default/gruband it seems to work. If I turn off my PC, turn on the interface, and then boot my PC, it's detected.
Offline