Skip to content

Instantly share code, notes, and snippets.

@LeifAndersen
Created June 17, 2019 18:42
Show Gist options
  • Save LeifAndersen/900af389d77861e740913ec5e3e4db3e to your computer and use it in GitHub Desktop.
Save LeifAndersen/900af389d77861e740913ec5e3e4db3e to your computer and use it in GitHub Desktop.
SUBSYSTEM!="sound", GOTO="my_usb_audio_end"
ACTION!="add", GOTO="my_usb_audio_end"
DEVPATH=="/devices/pci0000:00/0000:00:1f.3/sound/card?", ATTR{id}="BUILTIN"
DEVPATH=="/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.3/sound/card?", ATTR{id}="CL1"
DEVPATH=="/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.3/sound/card?", ATTR{id}="CL2"
LABEL="my_usb_audio_end"
pcm.!default {
type hw
card "BUILTIN"
device 0
}
ctl.!default {
type hw
card "BUILTIN"
device 0
}
pcm.BUILTIN {
type hw
card "BUILTIN"
device 0
}
ctl.BUILTIN {
type hw
card "BUILTIN"
device 0
}
pcm.CL1 {
type hw
card "CL1"
device 0
}
ctl.CL1 {
type hw
card "CL1"
device 0
}
pcm.CL2 {
type hw
card "CL2"
device 0
}
pcm.CL2 {
type hw
card "CL2"
device 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment