Sample Header Ad - 728x90

Make USB audio device default

0 votes
2 answers
367 views
1. Running Debian :
# uname --kernel-name --kernel-release --machine
    Linux 6.5.11-7-pve x86_64
    # cat /proc/asound/cards
    0 [PCH            ]: HDA-Intel - HDA Intel PCH
                        HDA Intel PCH at 0xfb410000 irq 98
    2 [USB            ]: USB-Audio - Scarlett Solo USB
                        Focusrite Scarlett Solo USB at usb-0000:00:14.0-7, high speed
2. Each time I boot, the order of the sound card changes, i.e. USB is randomly 0 or 2 3. How do I make sure USB is the default every time? ## UPDATE1
root@pve:/scripts# cat /etc/modprobe.d/sound/alsa.conf
# makes usb audio always index 0, needs reboot
options snd-usb-audio index=0
options snd-hda-intel index=1
root@pve:/scripts# cat /etc/asound.conf
defaults.pcm.card 2
defaults.ctl.card 2
root@pve:/scripts#
This is what I currently have, but USB can still end up as 2 and I had to use /etc/asound.conf to make it default without performing another reboot and hope it ends up as 0 ## UPDATE2
# cat /etc/modprobe.d/*.conf
# makes usb audio always index 0, needs reboot
#options snd-usb-audio index=0
#options snd-hda-intel index=1
# This file contains a list of modules which are not supported by Proxmox VE

# nvidiafb see bugreport https://bugzilla.proxmox.com/show_bug.cgi?id=701 
blacklist nvidiafb
options zfs zfs_arc_max=13488881664
Asked by bilogic (101 rep)
Jan 24, 2024, 08:15 AM
Last activity: Feb 21, 2024, 05:54 AM