Показать сообщение отдельно
Старый 04.09.2014, 20:11   #192
aluver
Старший Пользователь
 
Регистрация: 05.07.2014
Возраст: 47
Регион: 34
Сообщений: 179
aluver is a glorious beacon of lightaluver is a glorious beacon of lightaluver is a glorious beacon of lightaluver is a glorious beacon of lightaluver is a glorious beacon of lightaluver is a glorious beacon of light
По умолчанию

Я опять за помощью. Никак не могу добиться листинга в терминале доступных контролов альса-миксера. Мне нужно иметь на руках команды управления громкостью PCM (музыкальных плееров) - только таким способом я могу регулировать громкость при выводе на USB-DAC. Один французский парень с xda-developers добавит эти команды в свой сервис Car Audio Service, перехватывающий нажатия кнопок на руле. И всемирное сообщество андроид-автомобилистов сможет регулировать громкость цифрового выхода
Ориентировался на это http://habrahabr.ru/post/140529/
Что имею сейчас:
Код:
root@android:/ # alsa_amixer -help
Usage: amixer <options> [command]

Available options:
  -h,--help       this help
  -c,--card N     select the card
  -D,--device N   select the device, default 'default'
  -d,--debug      debug mode
  -n,--nocheck    do not perform range checking
  -v,--version    print version of this program
  -q,--quiet      be quiet
  -i,--inactive   show also inactive controls
  -a,--abstract L select abstraction level (none or basic)
  -s,--stdin      Read and execute commands from stdin sequentially

Available commands:
  scontrols       show all mixer simple controls
  scontents       show contents of all mixer simple controls (default command)
  sset sID P      set contents for one mixer simple control
  sget sID        get contents for one mixer simple control
  controls        show all controls for given card
  contents        show contents of all controls for given card
  cset cID P      set control contents for one control
  cget cID        get control contents for one control
root@android:/ # alsa_amixer controls
root@android:/ # alsa_amixer scontrols
root@android:/ # alsa_amixer -v
amixer version 1.0.23
1|root@android:/ # alsa_amixer controls
То есть абсолютно не хочет откликаться на команду вывода контролов.
Куда копать?
aluver вне форума   Ответить с цитированием