-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how do I create configure a ucm2 conf file for my card just like an acp file #475
Comments
|
1_ list is empty (I assume my card is not using ucm than) |
Regarding 2) As per the other README (see https://github.com/alsa-project/alsa-ucm-conf/blob/master/ucm2/README.md):
I don't have any examples because I've never worked on UCM; maybe the best starting point would be to look through the configuration files in this repository. The documentation is mostly technical rather than instructive. Between that and there being no inclusion of user directories in the search path - I concluded that UCM configuration is pitched towards ALSA developers, not users like me (as much as I am a developer in other areas). |
yeah the readme doesn't give a specific file location like not /usr/share or /etc or whatever also I can look a the exemples in this repo all I want if I don't know where to put the files and how to use them or test them there is no use of looking and about the documentation being technical idk tbh a developer coming along and sharing his workflow will be more than nothing lol anyway yes |
I'm just reading the room, it doesn't seem like I'm supposed to mess about with what's underneath UCM - I only came across it recently as I'm learning more about PipeWire. To help developers, you probably want to clarify some details about the hardware, e.g. the output of: stephematician@home:~$ alsactl info NAME You can get the NAME from the I'm beginning to suspect that UCM won't be able to help you in your task (after some digging, I assume you want to follow this: https://github.com/luisbocanegra/linux-guide-split-audio-ports). |
than let indep_hp=yes stay and I want to replace the acp part of that guide
as was said before I want to seperate these two
into a speaker and headphones using ucm thats all |
@stephematician can you tag anyone you know working on this ucm stuff |
Some hints: Look to https://github.com/alsa-project/alsa-ucm-conf/blob/master/ucm2/DEBUG.md For HDA driver - we have complete UCM config, but it's used only for new hardware (SOF/AMD) - https://github.com/alsa-project/alsa-ucm-conf/blob/master/ucm2/HDA/HDA.conf , https://github.com/alsa-project/alsa-ucm-conf/blob/master/ucm2/HDA/HiFi-analog.conf . So, to use alt pcm, just skip the error at the end of HiFi.conf when indep hp control is present (ControlExists check) and declare Headphones with different PCM. Handle conflicting devices correctly. |
@perexg ALSA_CONFIG_UCM2 can I use this enviroment variable instead (thats easier for me to work with) especially since nixos doesn't respect fhs standards also thanks also is my desire of removing the headphones output if the jack is not pulgged possible using ucm2 |
so is the driver name that I should be filling here Line 51 in 0782bf4
named snd_hda_codec or snd_hda_codec_realtek or snd_hda_codec_hdmi I mean why was this snd dropped in the first place and stuff in conf.d starts with hda only |
so is putting a conf file inside conf.d/snd_hda_codec_realtek|snd_hda_codec/my_config.conf will take priority also I am talking in theory since I need to know if ALSA_CONFIG_UCM2 this works in the first place either way another question does priority gets decided by ucm2 as well |
It should work.
It's driver name not kernel module name. Driver name for apps is in /proc/asound/cards (string between
You should not bother with this. Little modifications to mentioned HDA files are only required. The conf.d subtree should not be touched, the redirection for the HDA driver is already there. Anyway, I suggest to play with the |
1_ how do I know if my card is using acp or ucm profile
2_ can ucm config file be availble in user directories
3_ how do i test a ucm profile
4_ if my card is using ucm is there a way to cooverride that file
5_ for more context https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4421
6_ as a tldr I want to take advanatage of indep_hp=yes (IDK why this is not enabled by default its a great feature compared to other platforms after all) either way I want to make hw:0,0 as speaker and hw:0,2 as headphones
can a ucm profile replace the indep_hp hint and udev rule and just porceed to seperate them directly
also indep_hp seperates speaker and headphones output is there a way to seperate internal mic and headphone speaker
also is there a way to put priority for headphones when the jack port is actually put or even disable it entirely and just default back to speaker automatically
thats all thanks
thats all and thanks
further editing will be filled once I have more questions and thanks
The text was updated successfully, but these errors were encountered: