alsa-project / alsa-utils

The Advanced Linux Sound Architecture (ALSA) - utilities
GNU General Public License v2.0
197 stars 136 forks source link

Unable to find amixer simple control #256

Closed drLite35 closed 5 months ago

drLite35 commented 7 months ago

Following are the output of terminal when trying to fetch amixer set:-

amixer: Unable to find simple control 'DC Mode Enable',0
1709919772.617362 WARNING measure-activity: Problem with amixer set "DC Mode Enable" mute amixer: Unable to find simple control 'V_REFOUT Enable',0
1709919772.664983 WARNING measure-activity: Problem with amixer set "V_REFOUT Enable" unmute amixer: Unable to find simple control 'Mic Boost (+20dB)',0
1709919772.766386 WARNING measure-activity: Problem with amixer set "Mic Boost (+20dB)" unmute amixer: Unable to find simple control 'DC Mode Enable',0
1709919772.866294 WARNING measure-activity: amixer: Could not get DC Mode
amixer: Unable to find simple control 'V_REFOUT Enable',0
1709919772.916730 WARNING measure-activity: amixer: Could not get mic bias voltage. amixer: Unable to find simple control 'Mic Boost (+20dB)',0
1709919773.016803 WARNING measure-activity: amixer: Could not get mic boost Traceback (most recent call last):
File "/usr/bin/sugar-activity3", line 5, in <module>
activityinstance.main()
File "/usr/lib/python3.7/dist-packages/sugar3/activity/activityinstance.py", line 230, in main instance = create_activity_instance(activity_constructor, activity_handle)
O
File "/usr/lib/python3.7/dist-packages/sugar3/activity/activityinstance.py", line 59, in create_activity_insta activity = constructor(handle)
File "/home/user/Activities/Measure/measure.py", line 187, in
self.audiograb
ag(self.wave.new buffer, self)
init
File "/home/user/Activities/Measure/audiograb.py", line 125, in init
self.pipeline.add(self.alsasrc)
TypeError: Argument 1 does not allow None as a value
Exited with status 1, pid 20470 activity id 53d702f16908eb0372466a8f3d74df190d6d00ca

Installed alsa-utils when amixer was missing using this command sudo apt-get alsa-utils

Currently on using command amixer controls this is the output

numid=3, iface-MIXER, name='Master Playback Volume' 
numid=2,iface-MIXER, name='Capture Switch'
numid=1, iface-MIXER, name='Capture Volume' 
perexg commented 5 months ago

Various drivers exports vairious controls. Also, it appears that your system is set to communication with a sound daemon by default (pulseaudio or pipewire). Try add option -c 0 or -D hw:0 to communicate directly with the hardware driver.