-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
None
In the HAL (e.g. from Intel) we list the control name in a way that they must match exactly the alsa driver output.
As this changes with HW platform (e.g. from a PC to a Minnow) creating a multiplatform binary is not possible.
For example as a hack to go to CES, I have changed the file IntelHdaHAL.c to declare the same control with multiple name.
{ .tag=Master_Playback_Volume, .ctl={.name="Master Playback Volume", .value=100 } },
{ .tag=Master_Playback_Volume, .ctl={.name="Video_Volume", .value=100 } },
It will create a warning but at least gives back some control.
The solution remains a hack and the simple control should be read from the alsa actual configuration.
Control name on real target can be read with the command (change hw:0 by valid ID to read other card that the default one)
amixer -D hw:0 controls