Skip to content

rabits/esi-maya22-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESI Maya22

This is control application for the ESI Maya22 usb sound device.

Features

  • Monitoring: Enable/Disable
  • Switch input: Line In, Mic, High-Z, Mic+High-Z, Mute
  • Level: Input L&R, Output L&R

Build

  • Install build requirements: sudo apt-get install build-essential libhidapi-dev
  • Build application: ./build.sh
  • Copy app to local: sudo cp maya22-control /usr/local/bin
  • Usage maya22-control binary:
$ maya22-control -h
Usage: ./maya22-control [options]

  -e          - Enumerate available devices
  -i          - Enable headphone
  -d          - Set default values
  -c <name>   - Set input channel ('mic', 'hiz', 'line', 'mic_hiz', 'mute')
  -M          - Input monitoring on
  -m          - Input monitoring off
  -l <0-127>  - Input left volume
  -r <0-127>  - Input right volume
  -L <0-145>  - Output left volume (seems 127 without gain and > with gain)
  -R <0-145>  - Output right volume (seems 127 without gain and > with gain)

Udev permissions & autoset defaults

Please, don't run this app with root permissions. Just create udev rule for hidraw device with autorun set defaults (/etc/udev/rules.d/50-esi-maya22.rules):

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

GUI application

You can find GUI more useful for your needs, so please check the following project: