UR22 MKII and access "Audio Level"

Hello,

I want to access “Audio Level” when my audio card is set to UR22 MKII which is connected to the usb port, but this is impossible.
Here are the logs with journalctl -f:
Tue 01 21:02:50 zynthian startx[478]: ERROR:zynthian_gui.zyncoder_read: list index out of range
Tue 01 21:02:50 zynthian startx[478]: Traceback (most recent call last):
Tue 01 21:02:50 zynthian startx[478]: File “./zynthian_gui.py”, line 1318, in zyncoder_read
Tue 01 21:02:50 zynthian startx[478]: self.zynswitches()
Tue 01 21:02:50 zynthian startx[478]: File “./zynthian_gui.py”, line 1026, in zynswitches
Tue 01 21:02:50 zynthian startx[478]: self.zynswitch_short(i)
Tue 01 21:02:50 zynthian startx[478]: File “./zynthian_gui.py”, line 1214, in zynswitch_short
Tue 01 21:02:50 zynthian startx[478]: self.screens[self.active_screen].switch_select(‘S’)
Tue 01 21:02:50 zynthian startx[478]: File “/home/pi/zynthian-ui/zyngui/zynthian_gui_selector.py”, line 256, in switch_select
Tue 01 21:02:50 zynthian startx[478]: self.click_listbox(None, t)
Tue 01 21:02:50 zynthian startx[478]: File “/home/pi/zynthian-ui/zyngui/zynthian_gui_selector.py”, line 252, in click_listbox
Tue 01 21:02:50 zynthian startx[478]: self.select_action(self.index, t)
Tue 01 21:02:50 zynthian startx[478]: File “/home/pi/zynthian-ui/zyngui/zynthian_gui_main.py”, line 69, in select_action
Tue 01 21:02:50 zynthian startx[478]: self.last_action(t)
Tue 01 21:02:50 zynthian startx[478]: File “/home/pi/zynthian-ui/zyngui/zynthian_gui_main.py”, line 111, in alsa_mixer
Tue 01 21:02:50 zynthian startx[478]: self.zyngui.show_modal(“alsa_mixer”)
Tue 01 21:02:50 zynthian startx[478]: File “./zynthian_gui.py”, line 454, in show_modal
Tue 01 21:02:50 zynthian startx[478]: self.screens[screen].show()
Tue 01 21:02:50 zynthian startx[478]: File “/home/pi/zynthian-ui/zyngui/zynthian_gui_control.py”, line 66, in show
Tue 01 21:02:50 zynthian startx[478]: self.click_listbox()
Tue 01 21:02:50 zynthian startx[478]: File “/home/pi/zynthian-ui/zyngui/zynthian_gui_selector.py”, line 250, in click_listbox
Tue 01 21:02:50 zynthian startx[478]: self.skip_separators(self.get_cursel())
Tue 01 21:02:50 zynthian startx[478]: File “/home/pi/zynthian-ui/zyngui/zynthian_gui_selector.py”, line 221, in skip_separators
Tue 01 21:02:50 zynthian startx[478]: if self.list_data[index][0] is None:
Tue 01 21:02:50 zynthian startx[478]: IndexError: list index out of range

Do you have a solution to solve this problem?

Looking forward to your participation.
Best regards

Hi @Melsiar , from the command line, use the “alsamixer” command to see if some “Audio Level” settings are available through alsa.

Hello 51, Thank you for this follow-up.

Here is what alsamixer sends me:
root@zynthian:~# alsamixer cannot open mixer: No such file or directory

Some information:
root@zynthian:~# ls /dev/snd
by-id by-path controlC1 midiC1D0 pcmC1D0c pcmC1D0p seq timer

root@zynthian:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: UR22mkII [Steinberg UR22mkII], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0

root@zynthian:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
hw:CARD=UR22mkII,DEV=0
Steinberg UR22mkII, USB Audio
Direct hardware device without any conversions
plughw:CARD=UR22mkII,DEV=0
Steinberg UR22mkII, USB Audio
Hardware device with all software conversions
default:CARD=UR22mkII
Steinberg UR22mkII, USB Audio
Default Audio Device
sysdefault:CARD=UR22mkII
Steinberg UR22mkII, USB Audio
Default Audio Device
front:CARD=UR22mkII,DEV=0
Steinberg UR22mkII, USB Audio
Front output / input
surround21:CARD=UR22mkII,DEV=0
Steinberg UR22mkII, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=UR22mkII,DEV=0
Steinberg UR22mkII, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=UR22mkII,DEV=0
Steinberg UR22mkII, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=UR22mkII,DEV=0
Steinberg UR22mkII, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=UR22mkII,DEV=0
Steinberg UR22mkII, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=UR22mkII,DEV=0
Steinberg UR22mkII, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=UR22mkII,DEV=0
Steinberg UR22mkII, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=UR22mkII,DEV=0
Steinberg UR22mkII, USB Audio
Direct sample mixing device

I tryed
root@zynthian:~# alsamixer -c 1

But alsamixer tells me that: This sound device does no have any controls.
Thanks for the help.

Regards

This is clear: you can’t control anything (hardware inputs or outputs levels) on your USB device through Alsa <=> software controled

1 Like

Hello Le51, thank you for this feedback. I will do with the physical buttons of the UR22-MKii.