using amixer to set iec958 controls #177
Closed
claudiubeznea
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a Linux driver for a IEC958 device (SPDIFTX) which exports the following controls:
root@sama7g5ek-sd:~# amixer controls
numid=1,iface=PCM,name='IEC958 Playback Default'
numid=2,iface=PCM,name='IEC958 Playback Mask'
numid=3,iface=PCM,name='IEC958 Playback Mask',index=1
numid=4,iface=PCM,name='IEC958 Playback Mask',index=2
numid=5,iface=PCM,name='IEC958 Playback Mask',index=3
numid=6,iface=PCM,name='IEC958 Subcode Playback Default'
I can set control numid=1,iface=PCM,name='IEC958 Playback Default' using iecset application. I cannot find a way to pass the control ID to iecset. I tried -n numid option but with no success.
Using amixer I cannot find a way to pass data to my controls. I looked a bit a though amixer source code and it looked to me that it cannot be done (but I may be wrong as I have zero experience with this project).
Do you know how can I set control numid=6,iface=PCM,name='IEC958 Subcode Playback Default' that I have?
The alsamixer version I have installed on my target is 1.2.1.
Thank you,
Claudiu Beznea
Beta Was this translation helpful? Give feedback.
All reactions