0

"amixer sset PCM 96%" fails with "Unable to find simple control"

I have a Raspberry Pi 2 and I have bought HiFiBerry DAC+ (HW 1.0). I am succesfully using it with OpenELEC. The setup was really easy. The card works very well with the volume lovered from the maximum value.

There is just one problem. I cannot set the PCM simple property using amixer as described in the documentation: OpenELEC + device tree overlays, Mixer settings

openelec:~ # amixer sset PCM 96%
amixer: Unable to find simple control 'PCM',0




The simple control PCM is not there:

openelec:~ # amixer scontrols
Simple mixer control 'DSP Program',0
Simple mixer control 'Playback',0
Simple mixer control 'Playback Boost',0
Simple mixer control 'Auto Mute',0
Simple mixer control 'Auto Mute Mono',0
Simple mixer control 'Auto Mute Time Left',0
Simple mixer control 'Auto Mute Time Right',0
Simple mixer control 'Clock Missing Period',0
Simple mixer control 'Deemphasis',0
Simple mixer control 'Digital',0
Simple mixer control 'Volume Ramp Down Emergency Rate',0
Simple mixer control 'Volume Ramp Down Emergency Step',0
Simple mixer control 'Volume Ramp Down Rate',0
Simple mixer control 'Volume Ramp Down Step',0
Simple mixer control 'Volume Ramp Up Rate',0
Simple mixer control 'Volume Ramp Up Step',0




Additional information:

openelec:~ # lsb_release -a
OpenELEC (official) - Version: 5.0.6

openelec:~ # uname -a
Linux openelec 3.18.9 #1 SMP Fri Mar 13 20:38:13 CET 2015 armv7l GNU/Linux

openelec:~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0

openelec:~ # aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=sndrpihifiberry
snd_rpi_hifiberry_dacplus,
Default Audio Device
sysdefault:CARD=sndrpihifiberry
snd_rpi_hifiberry_dacplus,
Default Audio Device

openelec:~ # lsmod
Module Size Used by
snd_soc_pcm512x_i2c 1487 1
snd_soc_pcm512x 5932 1 snd_soc_pcm512x_i2c
regmap_i2c 1932 1 snd_soc_pcm512x_i2c
snd_soc_bcm2708_i2s 5975 2
regmap_mmio 2050 1 snd_soc_bcm2708_i2s
snd_soc_hifiberry_dacplus 2368 0
snd_soc_hifiberry_dac 2167 0
snd_soc_core 104953 4 snd_soc_pcm512x,snd_soc_hifiberry_dac,snd_soc_hifiberry_dacplus,snd_soc_bcm2708_i2s
snd_compress 6924 1 snd_soc_core
snd_pcm_dmaengine 2811 1 snd_soc_core
snd_pcm 60222 4 snd_soc_core,snd_soc_hifiberry_dac,snd_pcm_dmaengine
snd_timer 16287 1 snd_pcm
snd 38962 5 snd_soc_core,snd_timer,snd_pcm,snd_compress
bcm2708_rng 801 0




Please, what is wrong with my setup? Why is not the PCM simple control there? Does not it have just a different name (Digital)?

6 comments

Please sign in to leave a comment.