12-02-2019, 12:50 PM
(12-02-2019, 07:44 AM)stefano_mbp Wrote:(12-01-2019, 08:34 PM)Tim Curtis Wrote: Yes, the issue where ALSA volume is blank with that particular USB DAC.
Post the output from the cmd below so I can see what ALSA reports about the DAC's controls and mixer name.
Code:amixer -c 1
Thank you, here the code
Code:pi@moode:~ $ amixer -c 1
Simple mixer control 'CA Audio 2.0 Output',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'CA Audio 2.0 Output',1
Capabilities: pswitch pswitch-joined
Playback channels: Front Left - Front Right
Mono: Playback [on]
That matches the mixer name that moOde is picking up. The only other possibility I can think of is that the actual mixer name has a trailing space, same as the mixer name in the Khadas Tone board. We had to code an exception for this device.
IIRC the way you determine this is to dump the USB descriptors for the device by using the command below and then sift through the output looking for the mixer name to see if it has the trailing space. Something like that.
Code:
lsusb -v