pax_global_header00006660000000000000000000000064145352026330014515gustar00rootroot0000000000000052 comment=334f21ccd388dbe292338b2942950dfeadfb3c83 alsa-ucm-conf-asahi-5/000077500000000000000000000000001453520263300147335ustar00rootroot00000000000000alsa-ucm-conf-asahi-5/LICENSE.asahi000066400000000000000000000030241453520263300170230ustar00rootroot00000000000000BSD 3-Clause License Copyright (c) 2019, Advanced Linux Sound Architecture (ALSA) project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. alsa-ucm-conf-asahi-5/README.asahi000066400000000000000000000005401453520263300166760ustar00rootroot00000000000000# alsa-ucm-conf-asahi This tree contains so-called ALSA UCM configuration describing internal sound peripherals on Apple hardware. This is to overlay the parent alsa-ucm-conf package at /usr/share/alsa. ## License These configuration files are licensed, to anybody obtaining a copy, under the terms of the BSD-3 license. See the LICENSE.asahi file. alsa-ucm-conf-asahi-5/ucm2/000077500000000000000000000000001453520263300156015ustar00rootroot00000000000000alsa-ucm-conf-asahi-5/ucm2/conf.d/000077500000000000000000000000001453520263300167505ustar00rootroot00000000000000alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/000077500000000000000000000000001453520263300205325ustar00rootroot00000000000000alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/Mac Studio J375.conf000066400000000000000000000003321453520263300237400ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { Comment "Default" Define.JackCodec "cs42l84" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Speaker Volume" File "/conf.d/macaudio/desktops/mono/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/Mac Studio J475.conf000066400000000000000000000003321453520263300237410ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { Comment "Default" Define.JackCodec "cs42l84" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Speaker Volume" File "/conf.d/macaudio/desktops/mono/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/Mac mini J274.conf000066400000000000000000000003431453520263300234250ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { Comment "Default" Define.JackCodec "cs42l83" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Speaker Playback Volume" File "/conf.d/macaudio/desktops/mono/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/Mac mini J473.conf000066400000000000000000000003321453520263300234240ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { Comment "Default" Define.JackCodec "cs42l84" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Speaker Volume" File "/conf.d/macaudio/desktops/mono/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/Mac mini J474.conf000066400000000000000000000003321453520263300234250ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { Comment "Default" Define.JackCodec "cs42l84" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Speaker Volume" File "/conf.d/macaudio/desktops/mono/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/MacBook Air J313.conf000066400000000000000000000003771453520263300240200ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { Comment "Default" Define.JackCodec "cs42l83" Define.PlaybackChannels "2" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Left Speaker Playback Volume" File "/conf.d/macaudio/laptops/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/MacBook Air J413.conf000066400000000000000000000003751453520263300240170ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { Comment "Default" Define.JackCodec "cs42l84" Define.PlaybackChannels "4" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Left Woofer Speaker Volume" File "/conf.d/macaudio/laptops/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/MacBook Air J415.conf000066400000000000000000000003771453520263300240230ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { Comment "Default" Define.JackCodec "cs42l84" Define.PlaybackChannels "6" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Left Woofer 1 Speaker Volume" File "/conf.d/macaudio/laptops/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/MacBook Pro J293.conf000066400000000000000000000004051453520263300240440ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { Comment "Default" Define.JackCodec "cs42l83" Define.PlaybackChannels "4" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Left Front Speaker Playback Volume" File "/conf.d/macaudio/laptops/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/MacBook Pro J314.conf000066400000000000000000000003771453520263300240460ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { Comment "Default" Define.JackCodec "cs42l84" Define.PlaybackChannels "6" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Left Woofer 1 Speaker Volume" File "/conf.d/macaudio/laptops/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/MacBook Pro J316.conf000066400000000000000000000003771453520263300240500ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { Comment "Default" Define.JackCodec "cs42l84" Define.PlaybackChannels "6" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Left Woofer 1 Speaker Volume" File "/conf.d/macaudio/laptops/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/MacBook Pro J414.conf000066400000000000000000000003771453520263300240470ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { Comment "Default" Define.JackCodec "cs42l84" Define.PlaybackChannels "6" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Left Woofer 1 Speaker Volume" File "/conf.d/macaudio/laptops/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/MacBook Pro J416.conf000066400000000000000000000003771453520263300240510ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { Comment "Default" Define.JackCodec "cs42l84" Define.PlaybackChannels "6" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Left Woofer 1 Speaker Volume" File "/conf.d/macaudio/laptops/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/MacBook Pro J493.conf000066400000000000000000000003741453520263300240530ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { Comment "Default" Define.JackCodec "cs42l84" Define.PlaybackChannels "4" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Left Front Speaker Volume" File "/conf.d/macaudio/laptops/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/cs42l83/000077500000000000000000000000001453520263300216345ustar00rootroot00000000000000alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/cs42l83/Headphones.conf000066400000000000000000000007461453520263300245700ustar00rootroot00000000000000SectionDevice."Headphones" { Comment "Headphones" EnableSequence [ cset "name='Jack ADC Boost Switch' on" ] Value { PlaybackPriority 300 PlaybackPCM "hw:${CardId},${var:JackDevice}" JackControl "Headphone Jack" PlaybackMixerElem "Jack Mixer" } } SectionDevice."Headset" { Comment "Headset Microphone" Value { CapturePriority 300 CapturePCM "hw:${CardId},${var:JackDevice}" CaptureChannels 1 JackControl "Headset Mic Jack" CaptureMixerElem "Jack ADC" } } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/cs42l84/000077500000000000000000000000001453520263300216355ustar00rootroot00000000000000alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/cs42l84/Headphones.conf000066400000000000000000000016271453520263300245700ustar00rootroot00000000000000SectionDevice."Headphones" { Comment "Headphones" EnableSequence [ cset "name='Headphone Switch' on" cset "name='Jack DACA Select' 'ASP RX CH1'" cset "name='Jack DACB Select' 'ASP RX CH2'" ] Value { PlaybackPriority 300 PlaybackPCM "hw:${CardId},${var:JackDevice}" JackControl "Headphone Jack" PlaybackMixerElem "Jack DAC" } } SectionDevice."Headset" { Comment "Headset Microphone" EnableSequence [ cset "name='Headset Mic Switch' on" cset "name='Jack ADC WNF Switch' on" cset "name='Jack WNF Corner Frequency' 1" cset "name='Jack ADC HPF Switch' on" cset "name='Jack HPF Corner Frequency' 1" cset "name='Jack ADC Preamp Gain' 2" cset "name='Jack SDOUT1 Select' 'ADC'" ] Value { CapturePriority 300 CapturePCM "hw:${CardId},${var:JackDevice}" CaptureChannels 1 CaptureMixerElem "Jack ADC PGA" CaptureMasterElem "Jack ADC Preamp" JackControl "Headset Mic Jack" } } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/desktops/000077500000000000000000000000001453520263300223665ustar00rootroot00000000000000alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/desktops/mono/000077500000000000000000000000001453520263300233365ustar00rootroot00000000000000alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/desktops/mono/HiFi.conf000066400000000000000000000015731453520263300250320ustar00rootroot00000000000000# Mono desktops SectionVerb { EnableSequence [ cset "name='Headphone Playback Mux' 'Primary'" cset "name='Speaker Playback Mux' 'Secondary'" ] Value { TQ "HiFi" } } If.cs42l84 { Condition { Type String String1 "${var:JackCodec}" String2 "cs42l84" } True { Include.hp.File "/conf.d/macaudio/cs42l84/Headphones.conf" } } If.cs42l83 { Condition { Type String String1 "${var:JackCodec}" String2 "cs42l83" } True { Include.hp.File "/conf.d/macaudio/cs42l83/Headphones.conf" } } If.havespk { Condition { Type ControlExists Control "name='${var:SpeakerElem}'" } True { SectionDevice."Speaker" { Comment "Speaker" EnableSequence [ cset "name='Speaker Switch' on" ] EnableSequence [ cset "name='ASI1 Sel' 'LeftRightDiv2'" ] Value { PlaybackPriority 100 PlaybackPCM "hw:${CardId},${var:SpeakerDevice}" } } } } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/iMac J456.conf000066400000000000000000000006531453520263300226670ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { # Well, sure, the iMac isn't a laptop, but it needs essentially # the same config. (That is until there will be support for the # internal mic on the laptops.) Comment "Default" Define.JackCodec "cs42l83" Define.PlaybackChannels "6" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Left Woofer 1 Speaker Playback Volume" File "/conf.d/macaudio/laptops/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/iMac J457.conf000066400000000000000000000006531453520263300226700ustar00rootroot00000000000000Syntax 6 SectionUseCase."HiFi" { # Well, sure, the iMac isn't a laptop, but it needs essentially # the same config. (That is until there will be support for the # internal mic on the laptops.) Comment "Default" Define.JackCodec "cs42l83" Define.PlaybackChannels "6" Define.JackDevice "0" Define.SpeakerDevice "1" Define.SpeakerElem "Left Woofer 1 Speaker Playback Volume" File "/conf.d/macaudio/laptops/HiFi.conf" } alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/laptops/000077500000000000000000000000001453520263300222145ustar00rootroot00000000000000alsa-ucm-conf-asahi-5/ucm2/conf.d/macaudio/laptops/HiFi.conf000066400000000000000000000016201453520263300237010ustar00rootroot00000000000000# For laptops with 6 speakers (4 woofers and 2 tweeters) SectionVerb { EnableSequence [ cset "name='Headphone Playback Mux' 'Primary'" cset "name='Speaker Playback Mux' 'Secondary'" ] Value { TQ "HiFi" } } If.cs42l84 { Condition { Type String String1 "${var:JackCodec}" String2 "cs42l84" } True { Include.hp.File "/conf.d/macaudio/cs42l84/Headphones.conf" } } If.cs42l83 { Condition { Type String String1 "${var:JackCodec}" String2 "cs42l83" } True { Include.hp.File "/conf.d/macaudio/cs42l83/Headphones.conf" } } If.havespk { Condition { Type ControlExists Control "name='${var:SpeakerElem}'" } True { SectionDevice."Speaker" { Comment "Speakers" EnableSequence [ cset "name='Speaker Switch' on" ] Value { PlaybackChannels "${var:PlaybackChannels}" PlaybackPriority 100 PlaybackPCM "hw:${CardId},${var:SpeakerDevice}" } } } }