LINUX.ORG.RU

Не работает звук при подключении наушников

 ,


0

1

Раньше работало, но, внезапно, решило сломаться. Когда отвалилось в качестве дистрибутива был Linux Mint Xfce какой-то там околопоследней версии, ну я решил забить - хотел потестить новую винду и пережить на ней до выхода ubuntu 15.10; дождался, но звук не починился. Причём в динамиках звук есть.

  • Девайс: Asus k56cb
  • Звуковуха: Realtek ALC270
  • Дистр: kubuntu 15.10
  • Ядро: 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
vadim@vadim-K56CB:~$ aplay -lL
default
    Playback/recording through the PulseAudio sound server
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=PCH
    HDA Intel PCH, ALC270 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
dmix:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    Direct sample mixing device
dmix:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample snooping device
hw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Hardware device with all software conversions
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC270 Analog [ALC270 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
vadim@vadim-K56CB:~$ lspci -vvnn | grep -A1 '040[1-3]'
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
        Subsystem: ASUSTeK Computer Inc. Device [1043:1587]
vadim@vadim-K56CB:~$ cat /proc/asound/modules
0 snd_hda_intel
vadim@vadim-K56CB:~$ for i in /proc/asound/card[0-9]*; do echo "--- $i ---";amixer -c $(cat $i/id); done
--- /proc/asound/card0 ---
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control '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 '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 19 [61%] [12.00dB] [on]
  Front Right: Capture 19 [61%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
vadim@vadim-K56CB:~$ lsmod | grep ^snd
snd_hda_codec_realtek    86016  1
snd_hda_codec_generic    77824  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     49152  1
snd_hda_intel          36864  3
snd_hda_codec         135168  4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_hda_core           65536  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               102400  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            32768  1 snd_seq_midi
snd_seq                69632  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              32768  2 snd_pcm,snd_seq
snd                    81920  17 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device

Что пробовал: Правил /etc/modprobe.d/alsa-base.conf в разных выриантах:

  • options snd-hda-intel model=auto
  • options snd-hda-intel probe_mask=1
  • options snd-hda-intel index=1

Пытался собрать драйвер с сайта Realtek, падает на:

make[1]: Entering directory '/usr/src/linux-headers-4.2.0-16-generic'
  CC [M]  /home/vadim/RTD/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/info.o
/home/vadim/RTD/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/info.c: In function ‘snd_info_version_read’:
/home/vadim/RTD/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/info.c:1065:22: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
       "Compiled on " __DATE__ " for kernel %s"
                      ^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/home/vadim/RTD/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/info.o' failed
make[3]: *** [/home/vadim/RTD/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/info.o] Error 1
scripts/Makefile.build:403: recipe for target '/home/vadim/RTD/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore' failed
make[2]: *** [/home/vadim/RTD/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore] Error 2
Makefile:1398: recipe for target '_module_/home/vadim/RTD/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa' failed
make[1]: *** [_module_/home/vadim/RTD/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-16-generic'
Makefile:167: recipe for target 'compile' failed
make: *** [compile] Error 2
Ну и естественно перезагрузки/переустановки alsa/pulse не помогли



Последнее исправление: Anvill (всего исправлений: 1)
Ответ на: комментарий от targitaj

Я не знаю, как это расценивать, но оно починилось само. Девайс не использовался с момента написания топика. Только сейчас решил поковырять его: поставил 3.16 ядро, с первого раза загрузиться не получилось, загрузился в 4.2, а звук, как оказалось, уже работает. Короче, всё труднее оставаться атеистом - то тут, то там магия случается.

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