LINUX.ORG.RU

ALSA в Gentoo не выводит звук на наушники

 , ,


0

1

Поставил Gentoo, но звук на наушники не выводится — выводится только на колонки ноута, а разъём исправен (проверял, врубив музыку с LiveCD). Звуковуха — Intel HDA. media-libs/alsa-lib, media-plugins/alsa-plugins, media-sound/alsa-tools, media-sound/alsa-utils установлены. USE-флаги

exif vaapi gtk acpi opengl -oss alsa sdl ncurses gnutls mesa bindist mmx sse sse2 X aac aalib audiofile bzip2 cups curl gzip gtk flac jpeg mime mp3 mp4 ncurses pdf png sdl seamonkey sndfile speex sockets sqlite sqlite3 tk v4l vorbis x264 zlib thread xft truetype

Вывод amixer

Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 73 [84%] [-10.50dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 75 [86%] [-9.00dB] [on]
Front Right: Playback 75 [86%] [-9.00dB] [on]
Simple mixer control 'Headphone Mic',0
Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Mono
Limits: Playback 0 - 31
Mono: Capture [on]
Front Left: Playback 0 [0%] [-34.50dB] [on]
Front Right: Playback 0 [0%] [-34.50dB] [on]
Simple mixer control 'Headphone Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 53 [61%] [-25.50dB] [off]
Front Right: Playback 53 [61%] [-25.50dB] [off]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 201 [79%] [-10.80dB]
Front Right: Playback 201 [79%] [-10.80dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 0 [0%] [-16.50dB] [on]
Front Right: Capture 0 [0%] [-16.50dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 0 [0%] [-30.00dB]
Front Right: Capture 0 [0%] [-30.00dB]
Simple mixer control 'Internal Mic',0
Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Mono
Limits: Playback 0 - 31
Mono: Capture [off]
Front Left: Playback 0 [0%] [-34.50dB] [on]
Front Right: Playback 0 [0%] [-34.50dB] [on]
Simple mixer control 'Internal Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]

Auto-Mute mode есть? Он тоже может быть виноват.

Ну и можно еще с моделями звуковухи поиграться, которая модулю ядра передается.

pztrn ★★★★
()
Ответ на: комментарий от Meyer

хз. я вот звук собирал по дефолту. валит в обе дырки

anonymous
()

Конфиг ядра и версию media-libs/alsa-lib в студию

Pinkbyte ★★★★★
()

Ну вот тебе уже 2 человека намекали: выложи grep 'CONFIG_SND_HDA' /usr/src/linux/.config. Скорее всего, у тебя не установлен параметр 'Support jack plugging notification via input layer' в конфигураторе. В config файле он называется, как отмечал Meyer, CONFIG_SND_HDA_INPUT_JACK.

Upd. Auto-Mute включенным оставь, не балуйся.

pS
()
Последнее исправление: pS (всего исправлений: 1)

Всем спасибо, сам разобрался — у меня на ноуте 1 гнездо для наушников, а система думает, что туда подключен микрофон, всё исправил следующей командой:

amixer sset 'Internal Mic' cap

 — так я переключил микрофон с разъёма на встроенный в ноут.

watashinoshi
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.