[alsa-devel] Cirrus CS4207 not working on 4.14.24
Takashi Iwai
tiwai at suse.de
Fri Mar 9 15:50:47 CET 2018
On Fri, 09 Mar 2018 15:30:59 +0100,
Jorge Fernandez Monteagudo wrote:
>
> Oh, I know... That's not possible. It's a custom carrier and we only have connected
>
> the Line Out 1 (node 0x03, node 0x0A) and the S/PDIF Out 1 (node 0x08, node 0x10)
>
> to external devices.
Ah, that explains why the driver doesn't work.
As default, the driver does the dynamic codec power-down depending on
the jack detection. And in your case, it's soldered.
That said, it's no real "bug" in the driver, but it's rather a special
use case.
As already mentioned, the power_save_node flag can be turned off via
codec hints. You can write a codec "patch" file containing the lines
like the following:
[codec]
0x10134207 0x10134207 0
[hint]
power_save_node = no
and put it in e.g. /lib/firmware/alsa/cs4207-hack, and pass it via a
module option, e.g. add the following line
options snd-hda-intel patch=,alsa/cs4207-hack
in any /etc/modprobe.d/*.conf file.
The comma (,) before "alsa/cs4207-hack" is no typo, it means to pass
to the secondary card.
The brief instruction is found in
Documentation/sound/hd-audio/notes.rst.
Takashi
More information about the Alsa-devel
mailing list