Make ESI MAYA 22 USB work on Fedora 32

Posted on Fri 28 August 2020 in Fedora

The MAYA 22 USB is an audio interface you can easily connect over USB to your computer.

I like it for its small form factor and good build quality.

It works great with MAC, FreeBSD, Linux and Windows.

When I connected it to my Fedora 32 notebook the device was not recognized and available by default. After I installed the additional alsa usb stuff it appeared but did not play any sound.

The problem is, that it can be controlled over USB and needs to be initialized with the default values or custom settings. To do so, there is a software project on GitHub with a control tool you need to build. The tool then needs to be triggered when the device is connected and then configures the correct default values for the interface.

Here the short version of what you need to install, build and configure to make the MAYA 22 USB interface work for you on Linux:

sudo dnf groupinstall "Development Tools"

sudo dnf install hidapi-devel alsa-plugins-usbstream

git clone https://github.com/rabits/esi-maya22-linux.git

cd esi-maya22-linux

./build.sh

sudo cp maya22-control /usr/local/bin

sudo vim /etc/udev/rules.d/50-esi-maya22.rules

add the following line to that file and save it:

KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2573", ATTRS{idProduct}=="0017", GROUP="plugdev", MODE="0660", RUN+="/usr/local/bin/maya22-control -d"

This will call the maya22-control tool each time the USB interface is connected and recognized.

If you need a graphical UI to control the MAYA interface on Linux you should check out this project: https://www.esi-audio.de/produkte/maya22usb/ I haven't tested it, yet.