You are not logged in.

#1 2017-12-28 23:34:05

Kitsu
Member
Registered: 2014-10-27
Posts: 4

ALC892 & audio via headset problems after suspend

I have an Intel CM238 HD Audio Controller and the Realtek ALC892 card beneath I guess.

So the problem basically is in the title: after the resuming from suspension the headset (jack plug) doesn't play anything. Interesting thing that the sink is displayed in the pavucontrol. Moreover it fills volume bar when I play something.
There only way (that I found so far) how to make the headset working is a reboot.

Here some useful info:

$ lsmod | grep snd
snd_hda_codec_hdmi     57344  1
snd_hda_codec_realtek   102400  1
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
snd_hda_intel          45056  6
snd_hda_codec         151552  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core           90112  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               114688  6 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer              36864  1 snd_pcm
snd                    90112  18 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
soundcore              16384  1 snd



# lspci -s 00:1f.3 -v
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
        Subsystem: CLEVO/KAPOK Computer CM238 HD Audio Controller
        Flags: bus master, fast devsel, latency 32, IRQ 129
        Memory at 2fff020000 (64-bit, non-prefetchable) [size=16K]
        Memory at 2fff000000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [50] Power Management version 3
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel



$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  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
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0



$ pacmd list-cards
1 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_00_1f.3>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0x2fff020000 irq 129"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a171"
                device.product.name = "CM238 HD Audio Controller"
                device.form_factor = "internal"
 ~~ skipped ~~



$ pacmd list-sources       
2 source(s) available.
    index: 0
        name: <alsa_output.pci-0000_00_1f.3.analog-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: IDLE
        suspend cause: 
        priority: 1030
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 344 KiB
        sample spec: s16le 2ch 48000Hz
  ~~ skipped ~~
  * index: 1
        name: <alsa_input.pci-0000_00_1f.3.analog-stereo>
  ~~ skipped ~~

I'm using Plasma/KDE and it is started from the xinit script as a user processes, so does the pulseaudio server, if it matters. Kernel is default: 4.14.8-1

What works:

  • Mic

  • Laptop speakers before/after suspend

  • Headset before suspension

What have I tried:

  • Increase volume wherever it's possible

  • Change backend to phonon-vlc

  • Tried to test via speaker-test w/o DE/WM

  • Update everything

  • Specify some models in /etc/modprobe.d/sound.conf for snd-hda-intel

  • Use pasuspender /bin/true

  • pulseaudio -k && kstart pulseaudio

  • kill xorg

Last edited by Kitsu (2017-12-28 23:36:09)

Offline

#2 2018-01-30 20:02:03

Kitsu
Member
Registered: 2014-10-27
Posts: 4

Re: ALC892 & audio via headset problems after suspend

Gosh, this solves the problem for me, if anyone stucked with the same problem:

sudo alsactl init

Last edited by Kitsu (2018-01-30 20:07:43)

Offline

Board footer

Powered by FluxBB