kszaq Sorry for late answering, I have seen your commet too late.
I tried the command echo "44.1k" > /sys/class/amhdmitx/amhdmitx0/aud_mode
but it seems, that the file file aud_mode is not accessalbe from the shell. The file is empty before and after I typed the command. It's also not accessable with vi (can't read 'aud_mode').
In the directory are several files:
-r--r--r-- 1 root root 4096 Sep 29 23:09 aud_cap
-rw-rw-r-- 1 root root 4096 Sep 29 23:09 aud_ch
-rw-r--r-- 1 root root 4096 Sep 29 23:10 aud_mode
-rw-rw-r-- 1 root root 4096 Sep 29 23:09 aud_output_chs
...
All files have the timestamp from last reboot of the box, but the file aud_mode has the timestamp from the moment, when I type the echo... command.
cat aud_cap
CodingType MaxChannels SamplingFreq SampleSize
PCM, 2 ch, 32/44.1/48/88.2/96 kHz, 16/20/24 bit
AC-3, 6 ch, 32/44.1/48 kHz, bit
cat aud_ch
hdmi_channel = 2 ch
aud_mode and aud_output_chs are empty. I haven't ckecked the other files in the directory.
Doe's this information help?