For the “Pirate Audio: Headphone Amp for Raspberry Pi”, how do you control volume from the command line or from
E.g., alsa mixer gives “This device has no controls”. There are various threads online with people trying to fix this, but no fixes I could follow.
The device works:
> aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0
> sudo pactl list sinks Connection failure: Connection refused pa_context_connect() failed: Connection refused
shows that the volume is not available for setting.