mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	acp: rename fields
pulseaudio -> pipewire PULSE_* -> ACP_* Hopefully this does not interfere with pulseaudio anymore. See #436
This commit is contained in:
		
							parent
							
								
									1934b0adb9
								
							
						
					
					
						commit
						c61502f57c
					
				
					 3 changed files with 76 additions and 76 deletions
				
			
		| 
						 | 
					@ -15,125 +15,125 @@
 | 
				
			||||||
# You should have received a copy of the GNU Lesser General Public License
 | 
					# You should have received a copy of the GNU Lesser General Public License
 | 
				
			||||||
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
 | 
					# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SUBSYSTEM!="sound", GOTO="pulseaudio_end"
 | 
					SUBSYSTEM!="sound", GOTO="pipewire_end"
 | 
				
			||||||
ACTION!="change", GOTO="pulseaudio_end"
 | 
					ACTION!="change", GOTO="pipewire_end"
 | 
				
			||||||
KERNEL!="card*", GOTO="pulseaudio_end"
 | 
					KERNEL!="card*", GOTO="pipewire_end"
 | 
				
			||||||
SUBSYSTEMS=="usb", GOTO="pulseaudio_check_usb"
 | 
					SUBSYSTEMS=="usb", GOTO="pipewire_check_usb"
 | 
				
			||||||
SUBSYSTEMS=="pci", GOTO="pulseaudio_check_pci"
 | 
					SUBSYSTEMS=="pci", GOTO="pipewire_check_pci"
 | 
				
			||||||
SUBSYSTEMS=="firewire", GOTO="pulseaudio_firewire_quirk"
 | 
					SUBSYSTEMS=="firewire", GOTO="pipewire_firewire_quirk"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SUBSYSTEMS=="platform", DRIVERS=="thinkpad_acpi", ENV{PULSE_IGNORE}="1"
 | 
					SUBSYSTEMS=="platform", DRIVERS=="thinkpad_acpi", ENV{ACP_IGNORE}="1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Force enable speaker and internal mic for some laptops
 | 
					# Force enable speaker and internal mic for some laptops
 | 
				
			||||||
# This should only be necessary for kernels 3.3, 3.4 and 3.5 (as they are lacking the phantom jack kctls).
 | 
					# This should only be necessary for kernels 3.3, 3.4 and 3.5 (as they are lacking the phantom jack kctls).
 | 
				
			||||||
# Acer AOA150
 | 
					# Acer AOA150
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1025", ATTRS{subsystem_device}=="0x015b", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1025", ATTRS{subsystem_device}=="0x015b", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Acer Aspire 4810TZ
 | 
					# Acer Aspire 4810TZ
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1025", ATTRS{subsystem_device}=="0x022a", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1025", ATTRS{subsystem_device}=="0x022a", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Packard bell dot m/a
 | 
					# Packard bell dot m/a
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1025", ATTRS{subsystem_device}=="0x028c", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1025", ATTRS{subsystem_device}=="0x028c", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Acer Aspire 1810TZ
 | 
					# Acer Aspire 1810TZ
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1025", ATTRS{subsystem_device}=="0x029b", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1025", ATTRS{subsystem_device}=="0x029b", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Acer AOD260 and AO532h
 | 
					# Acer AOD260 and AO532h
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1025", ATTRS{subsystem_device}=="0x0349", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1025", ATTRS{subsystem_device}=="0x0349", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Dell MXC051
 | 
					# Dell MXC051
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x01b5", ENV{PULSE_PROFILE_SET}="force-speaker.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x01b5", ENV{ACP_PROFILE_SET}="force-speaker.conf"
 | 
				
			||||||
# Dell Inspiron 6400 and E1505
 | 
					# Dell Inspiron 6400 and E1505
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x01bd", ENV{PULSE_PROFILE_SET}="force-speaker.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x01bd", ENV{ACP_PROFILE_SET}="force-speaker.conf"
 | 
				
			||||||
# Dell Latitude D620
 | 
					# Dell Latitude D620
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x01c2", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x01c2", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Dell Latitude D820
 | 
					# Dell Latitude D820
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x01cc", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x01cc", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Dell Latitude D520
 | 
					# Dell Latitude D520
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x01d4", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x01d4", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Dell Latitude D420
 | 
					# Dell Latitude D420
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x01d6", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x01d6", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Dell Inspiron 1525
 | 
					# Dell Inspiron 1525
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x022f", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x022f", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Dell Inspiron 1011
 | 
					# Dell Inspiron 1011
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x02f4", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x02f4", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Dell XPS 14 (L401X)
 | 
					# Dell XPS 14 (L401X)
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x0468", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x0468", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Dell XPS 15 (L501X)
 | 
					# Dell XPS 15 (L501X)
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x046e", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x046e", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Dell XPS 15 (L502X)
 | 
					# Dell XPS 15 (L502X)
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x050e", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x050e", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Dell Inspiron 3420
 | 
					# Dell Inspiron 3420
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x0553", ENV{PULSE_PROFILE_SET}="force-speaker.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x0553", ENV{ACP_PROFILE_SET}="force-speaker.conf"
 | 
				
			||||||
# Dell Inspiron 3520
 | 
					# Dell Inspiron 3520
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x0555", ENV{PULSE_PROFILE_SET}="force-speaker.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x0555", ENV{ACP_PROFILE_SET}="force-speaker.conf"
 | 
				
			||||||
# Dell Vostro 2420
 | 
					# Dell Vostro 2420
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x0556", ENV{PULSE_PROFILE_SET}="force-speaker.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x0556", ENV{ACP_PROFILE_SET}="force-speaker.conf"
 | 
				
			||||||
# Dell Vostro 2520
 | 
					# Dell Vostro 2520
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x0558", ENV{PULSE_PROFILE_SET}="force-speaker.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x0558", ENV{ACP_PROFILE_SET}="force-speaker.conf"
 | 
				
			||||||
# Dell Inspiron One 2020
 | 
					# Dell Inspiron One 2020
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x0579", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1028", ATTRS{subsystem_device}=="0x0579", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Asus 904HA (1000H)
 | 
					# Asus 904HA (1000H)
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1043", ATTRS{subsystem_device}=="0x831a", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1043", ATTRS{subsystem_device}=="0x831a", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Asus T101MT
 | 
					# Asus T101MT
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1043", ATTRS{subsystem_device}=="0x83ce", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1043", ATTRS{subsystem_device}=="0x83ce", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Sony Vaio VGN-SR21M
 | 
					# Sony Vaio VGN-SR21M
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x104d", ATTRS{subsystem_device}=="0x9033", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x104d", ATTRS{subsystem_device}=="0x9033", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Sony Vaio VPC-W115XG
 | 
					# Sony Vaio VPC-W115XG
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x104d", ATTRS{subsystem_device}=="0x9064", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x104d", ATTRS{subsystem_device}=="0x9064", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Fujitsu Lifebook S7110
 | 
					# Fujitsu Lifebook S7110
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x10cf", ATTRS{subsystem_device}=="0x1397", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x10cf", ATTRS{subsystem_device}=="0x1397", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Fujitsu Lifebook A530
 | 
					# Fujitsu Lifebook A530
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x10cf", ATTRS{subsystem_device}=="0x1531", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x10cf", ATTRS{subsystem_device}=="0x1531", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Toshiba A200
 | 
					# Toshiba A200
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1179", ATTRS{subsystem_device}=="0xff00", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1179", ATTRS{subsystem_device}=="0xff00", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# MSI X360
 | 
					# MSI X360
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x1462", ATTRS{subsystem_device}=="0x1053", ENV{PULSE_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
					ATTRS{subsystem_vendor}=="0x1462", ATTRS{subsystem_device}=="0x1053", ENV{ACP_PROFILE_SET}="force-speaker-and-int-mic.conf"
 | 
				
			||||||
# Lenovo 3000 Y410
 | 
					# Lenovo 3000 Y410
 | 
				
			||||||
ATTRS{subsystem_vendor}=="0x17aa", ATTRS{subsystem_device}=="0x384e", ENV{PULSE_PROFILE_SET}="force-speaker.conf"
 | 
					ATTRS{subsystem_vendor}=="0x17aa", ATTRS{subsystem_device}=="0x384e", ENV{ACP_PROFILE_SET}="force-speaker.conf"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
GOTO="pulseaudio_end"
 | 
					GOTO="pipewire_end"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LABEL="pulseaudio_check_usb"
 | 
					LABEL="pipewire_check_usb"
 | 
				
			||||||
ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="1978", ENV{PULSE_PROFILE_SET}="native-instruments-audio8dj.conf"
 | 
					ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="1978", ENV{ACP_PROFILE_SET}="native-instruments-audio8dj.conf"
 | 
				
			||||||
ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="0839", ENV{PULSE_PROFILE_SET}="native-instruments-audio4dj.conf"
 | 
					ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="0839", ENV{ACP_PROFILE_SET}="native-instruments-audio4dj.conf"
 | 
				
			||||||
ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="baff", ENV{PULSE_PROFILE_SET}="native-instruments-traktorkontrol-s4.conf"
 | 
					ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="baff", ENV{ACP_PROFILE_SET}="native-instruments-traktorkontrol-s4.conf"
 | 
				
			||||||
ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="4711", ENV{PULSE_PROFILE_SET}="native-instruments-korecontroller.conf"
 | 
					ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="4711", ENV{ACP_PROFILE_SET}="native-instruments-korecontroller.conf"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# This ID 17cc:041c is verified for the older Audio 2 DJ model (pre-2014 ish).
 | 
					# This ID 17cc:041c is verified for the older Audio 2 DJ model (pre-2014 ish).
 | 
				
			||||||
ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="041c", ENV{PULSE_PROFILE_SET}="native-instruments-traktor-audio2.conf"
 | 
					ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="041c", ENV{ACP_PROFILE_SET}="native-instruments-traktor-audio2.conf"
 | 
				
			||||||
ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="041d", ENV{PULSE_PROFILE_SET}="native-instruments-traktor-audio2.conf"
 | 
					ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="041d", ENV{ACP_PROFILE_SET}="native-instruments-traktor-audio2.conf"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# There appear to be two IDs in use for Traktor Audio 6 (or maybe 17cc:1011
 | 
					# There appear to be two IDs in use for Traktor Audio 6 (or maybe 17cc:1011
 | 
				
			||||||
# is just incorrect - 17cc:1010 has been verified to be correct at least
 | 
					# is just incorrect - 17cc:1010 has been verified to be correct at least
 | 
				
			||||||
# for some hardware).
 | 
					# for some hardware).
 | 
				
			||||||
ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="1010", ENV{PULSE_PROFILE_SET}="native-instruments-traktor-audio6.conf"
 | 
					ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="1010", ENV{ACP_PROFILE_SET}="native-instruments-traktor-audio6.conf"
 | 
				
			||||||
ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="1011", ENV{PULSE_PROFILE_SET}="native-instruments-traktor-audio6.conf"
 | 
					ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="1011", ENV{ACP_PROFILE_SET}="native-instruments-traktor-audio6.conf"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="1021", ENV{PULSE_PROFILE_SET}="native-instruments-traktor-audio10.conf"
 | 
					ATTRS{idVendor}=="17cc", ATTRS{idProduct}=="1021", ENV{ACP_PROFILE_SET}="native-instruments-traktor-audio10.conf"
 | 
				
			||||||
ATTRS{idVendor}=="0763", ATTRS{idProduct}=="2012", ENV{PULSE_PROFILE_SET}="maudio-fasttrack-pro.conf"
 | 
					ATTRS{idVendor}=="0763", ATTRS{idProduct}=="2012", ENV{ACP_PROFILE_SET}="maudio-fasttrack-pro.conf"
 | 
				
			||||||
ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02bb", ENV{PULSE_PROFILE_SET}="kinect-audio.conf"
 | 
					ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02bb", ENV{ACP_PROFILE_SET}="kinect-audio.conf"
 | 
				
			||||||
ATTRS{idVendor}=="041e", ATTRS{idProduct}=="322c", ENV{PULSE_PROFILE_SET}="sb-omni-surround-5.1.conf"
 | 
					ATTRS{idVendor}=="041e", ATTRS{idProduct}=="322c", ENV{ACP_PROFILE_SET}="sb-omni-surround-5.1.conf"
 | 
				
			||||||
ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="4014", ENV{PULSE_PROFILE_SET}="dell-dock-tb16-usb-audio.conf"
 | 
					ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="4014", ENV{ACP_PROFILE_SET}="dell-dock-tb16-usb-audio.conf"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ID 1038:12ad is for the 2018 refresh of the Arctis 7.
 | 
					# ID 1038:12ad is for the 2018 refresh of the Arctis 7.
 | 
				
			||||||
# ID 1038:1294 is for Arctis Pro Wireless (which works with the Arctis 7 configuration).
 | 
					# ID 1038:1294 is for Arctis Pro Wireless (which works with the Arctis 7 configuration).
 | 
				
			||||||
ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1260", ENV{PULSE_PROFILE_SET}="usb-gaming-headset.conf"
 | 
					ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1260", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
 | 
				
			||||||
ATTRS{idVendor}=="1038", ATTRS{idProduct}=="12ad", ENV{PULSE_PROFILE_SET}="usb-gaming-headset.conf"
 | 
					ATTRS{idVendor}=="1038", ATTRS{idProduct}=="12ad", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
 | 
				
			||||||
ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1294", ENV{PULSE_PROFILE_SET}="usb-gaming-headset.conf"
 | 
					ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1294", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
 | 
				
			||||||
ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1730", ENV{PULSE_PROFILE_SET}="usb-gaming-headset.conf"
 | 
					ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1730", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
 | 
				
			||||||
# Lucidsound LS31
 | 
					# Lucidsound LS31
 | 
				
			||||||
ATTRS{idVendor}=="2f12", ATTRS{idProduct}=="0109", ENV{PULSE_PROFILE_SET}="usb-gaming-headset.conf"
 | 
					ATTRS{idVendor}=="2f12", ATTRS{idProduct}=="0109", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
 | 
				
			||||||
# ID 9886:002c is for the Astro A50 Gen4
 | 
					# ID 9886:002c is for the Astro A50 Gen4
 | 
				
			||||||
ATTRS{idVendor}=="9886", ATTRS{idProduct}=="002c", ENV{PULSE_PROFILE_SET}="usb-gaming-headset.conf"
 | 
					ATTRS{idVendor}=="9886", ATTRS{idProduct}=="002c", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
 | 
				
			||||||
# ID 1532:0520 is for the Razer Kraken Tournament Edition
 | 
					# ID 1532:0520 is for the Razer Kraken Tournament Edition
 | 
				
			||||||
ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0520", ENV{PULSE_PROFILE_SET}="usb-gaming-headset.conf"
 | 
					ATTRS{idVendor}=="1532", ATTRS{idProduct}=="0520", ENV{ACP_PROFILE_SET}="usb-gaming-headset.conf"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ID 1038:1250 is for the Arctis 5
 | 
					# ID 1038:1250 is for the Arctis 5
 | 
				
			||||||
# ID 1037:12aa is for the Arctis 5 2019
 | 
					# ID 1037:12aa is for the Arctis 5 2019
 | 
				
			||||||
# ID 1038:1252 is for the Arctis Pro 2019 edition
 | 
					# ID 1038:1252 is for the Arctis Pro 2019 edition
 | 
				
			||||||
ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1250", ENV{PULSE_PROFILE_SET}="steelseries-arctis-common-usb-audio.conf"
 | 
					ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1250", ENV{ACP_PROFILE_SET}="steelseries-arctis-common-usb-audio.conf"
 | 
				
			||||||
ATTRS{idVendor}=="1038", ATTRS{idProduct}=="12aa", ENV{PULSE_PROFILE_SET}="steelseries-arctis-common-usb-audio.conf"
 | 
					ATTRS{idVendor}=="1038", ATTRS{idProduct}=="12aa", ENV{ACP_PROFILE_SET}="steelseries-arctis-common-usb-audio.conf"
 | 
				
			||||||
ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1252", ENV{PULSE_PROFILE_SET}="steelseries-arctis-common-usb-audio.conf"
 | 
					ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1252", ENV{ACP_PROFILE_SET}="steelseries-arctis-common-usb-audio.conf"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ATTRS{idVendor}=="147a", ATTRS{idProduct}=="e055", ENV{PULSE_PROFILE_SET}="cmedia-high-speed-true-hdaudio.conf"
 | 
					ATTRS{idVendor}=="147a", ATTRS{idProduct}=="e055", ENV{ACP_PROFILE_SET}="cmedia-high-speed-true-hdaudio.conf"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# HyperX Cloud Orbit S has three modes. Each mode has a separate product ID.
 | 
					# HyperX Cloud Orbit S has three modes. Each mode has a separate product ID.
 | 
				
			||||||
# ID_SERIAL for this device is the device name + mode repeated three times.
 | 
					# ID_SERIAL for this device is the device name + mode repeated three times.
 | 
				
			||||||
| 
						 | 
					@ -145,27 +145,27 @@ ATTRS{idVendor}=="0951", ATTRS{idProduct}=="16ff", ENV{ID_ID}="usb-HyperX_Cloud_
 | 
				
			||||||
ATTRS{idVendor}=="0951", ATTRS{idProduct}=="1702", ENV{ID_ID}="usb-HyperX_Cloud_Orbit_S_Hi-Res_2Ch-$env{ID_USB_INTERFACE_NUM}"
 | 
					ATTRS{idVendor}=="0951", ATTRS{idProduct}=="1702", ENV{ID_ID}="usb-HyperX_Cloud_Orbit_S_Hi-Res_2Ch-$env{ID_USB_INTERFACE_NUM}"
 | 
				
			||||||
ATTRS{idVendor}=="0951", ATTRS{idProduct}=="1703", ENV{ID_ID}="usb-HyperX_Cloud_Orbit_S_3D_8Ch-$env{ID_USB_INTERFACE_NUM}"
 | 
					ATTRS{idVendor}=="0951", ATTRS{idProduct}=="1703", ENV{ID_ID}="usb-HyperX_Cloud_Orbit_S_3D_8Ch-$env{ID_USB_INTERFACE_NUM}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
GOTO="pulseaudio_end"
 | 
					GOTO="pipewire_end"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LABEL="pulseaudio_check_pci"
 | 
					LABEL="pipewire_check_pci"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Creative SoundBlaster Audigy-based cards
 | 
					# Creative SoundBlaster Audigy-based cards
 | 
				
			||||||
# EMU10k2/CA0100/CA0102/CA10200
 | 
					# EMU10k2/CA0100/CA0102/CA10200
 | 
				
			||||||
ATTRS{vendor}=="0x1102", ATTRS{device}=="0x0004", ENV{PULSE_PROFILE_SET}="audigy.conf"
 | 
					ATTRS{vendor}=="0x1102", ATTRS{device}=="0x0004", ENV{ACP_PROFILE_SET}="audigy.conf"
 | 
				
			||||||
# CA0108/CA10300
 | 
					# CA0108/CA10300
 | 
				
			||||||
ATTRS{vendor}=="0x1102", ATTRS{device}=="0x0008", ENV{PULSE_PROFILE_SET}="audigy.conf"
 | 
					ATTRS{vendor}=="0x1102", ATTRS{device}=="0x0008", ENV{ACP_PROFILE_SET}="audigy.conf"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
GOTO="pulseaudio_end"
 | 
					GOTO="pipewire_end"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LABEL="pulseaudio_firewire_quirk"
 | 
					LABEL="pipewire_firewire_quirk"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Focusrite Saffire Pro 10/26 i/o has a quirk to disappear from IEEE 1394 bus when losing connections.
 | 
					# Focusrite Saffire Pro 10/26 i/o has a quirk to disappear from IEEE 1394 bus when losing connections.
 | 
				
			||||||
# https://bugzilla.kernel.org/show_bug.cgi?id=199365
 | 
					# https://bugzilla.kernel.org/show_bug.cgi?id=199365
 | 
				
			||||||
ENV{ID_VENDOR_ID}=="0x00130e", ENV{ID_MODEL_ID}=="0x000003", ENV{PULSE_IGNORE}="1"
 | 
					ENV{ID_VENDOR_ID}=="0x00130e", ENV{ID_MODEL_ID}=="0x000003", ENV{ACP_IGNORE}="1"
 | 
				
			||||||
# Both of Saffire Pro 10 i/o and Liquid Saffire 56 have the same ID_MODEL_ID
 | 
					# Both of Saffire Pro 10 i/o and Liquid Saffire 56 have the same ID_MODEL_ID
 | 
				
			||||||
# (0x000006), but Liquid Saffire 56 doesn't suffer from the problem, so we
 | 
					# (0x000006), but Liquid Saffire 56 doesn't suffer from the problem, so we
 | 
				
			||||||
# can't use ID_MODEL_ID to identify the problematic card. ID_MODEL works
 | 
					# can't use ID_MODEL_ID to identify the problematic card. ID_MODEL works
 | 
				
			||||||
# better here.
 | 
					# better here.
 | 
				
			||||||
ENV{ID_VENDOR_ID}=="0x00130e", ENV{ID_MODEL}=="Pro10IO" ENV{PULSE_IGNORE}="1"
 | 
					ENV{ID_VENDOR_ID}=="0x00130e", ENV{ID_MODEL}=="Pro10IO" ENV{ACP_IGNORE}="1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LABEL="pulseaudio_end"
 | 
					LABEL="pipewire_end"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -239,10 +239,10 @@ static int emit_object_info(struct impl *this, uint32_t id, struct udev_device *
 | 
				
			||||||
	items[n_items++] = SPA_DICT_ITEM_INIT(SPA_KEY_API_ALSA_PATH, path);
 | 
						items[n_items++] = SPA_DICT_ITEM_INIT(SPA_KEY_API_ALSA_PATH, path);
 | 
				
			||||||
	items[n_items++] = SPA_DICT_ITEM_INIT(SPA_KEY_API_ALSA_CARD, str);
 | 
						items[n_items++] = SPA_DICT_ITEM_INIT(SPA_KEY_API_ALSA_CARD, str);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if ((str = udev_device_get_property_value(dev, "PULSE_NAME")) && *str)
 | 
						if ((str = udev_device_get_property_value(dev, "ACP_NAME")) && *str)
 | 
				
			||||||
		items[n_items++] = SPA_DICT_ITEM_INIT(SPA_KEY_DEVICE_NAME, str);
 | 
							items[n_items++] = SPA_DICT_ITEM_INIT(SPA_KEY_DEVICE_NAME, str);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if ((str = udev_device_get_property_value(dev, "PULSE_PROFILE_SET")) && *str)
 | 
						if ((str = udev_device_get_property_value(dev, "ACP_PROFILE_SET")) && *str)
 | 
				
			||||||
		items[n_items++] = SPA_DICT_ITEM_INIT(SPA_KEY_DEVICE_PROFILE_SET, str);
 | 
							items[n_items++] = SPA_DICT_ITEM_INIT(SPA_KEY_DEVICE_PROFILE_SET, str);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if ((str = udev_device_get_property_value(dev, "SOUND_CLASS")) && *str)
 | 
						if ((str = udev_device_get_property_value(dev, "SOUND_CLASS")) && *str)
 | 
				
			||||||
| 
						 | 
					@ -322,7 +322,7 @@ static int need_notify(struct impl *this, struct udev_device *dev, uint32_t acti
 | 
				
			||||||
	const char *str;
 | 
						const char *str;
 | 
				
			||||||
	uint32_t idx, i, found = SPA_ID_INVALID;
 | 
						uint32_t idx, i, found = SPA_ID_INVALID;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (udev_device_get_property_value(dev, "PULSE_IGNORE"))
 | 
						if (udev_device_get_property_value(dev, "ACP_IGNORE"))
 | 
				
			||||||
		return 0;
 | 
							return 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if ((str = udev_device_get_property_value(dev, "SOUND_CLASS")) && strcmp(str, "modem") == 0)
 | 
						if ((str = udev_device_get_property_value(dev, "SOUND_CLASS")) && strcmp(str, "modem") == 0)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -17,7 +17,7 @@
 | 
				
			||||||
; is used as fallback for all cards that have no special mapping
 | 
					; is used as fallback for all cards that have no special mapping
 | 
				
			||||||
; assigned (and should be good enough for the vast majority of
 | 
					; assigned (and should be good enough for the vast majority of
 | 
				
			||||||
; cards). If you want to assign a different profile set than this one
 | 
					; cards). If you want to assign a different profile set than this one
 | 
				
			||||||
; to a device, either set the udev property PULSE_PROFILE_SET for the
 | 
					; to a device, either set the udev property ACP_PROFILE_SET for the
 | 
				
			||||||
; card, or use the "profile_set" module argument when loading
 | 
					; card, or use the "profile_set" module argument when loading
 | 
				
			||||||
; module-alsa-card.
 | 
					; module-alsa-card.
 | 
				
			||||||
;
 | 
					;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue