Cannot get ALC269VC sound working.

Hello,

I am using a Novatech N870HK laptop.

I am trying to get sound working. I get sound on Ubuntu 17.04 Live DVD just fine.

I am using XFCE desktop.

dmesg | grep realtek shows:

9.011932] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC269VC: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
9.011935] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
9.011935] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
9.011936] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
9.011936] snd_hda_codec_realtek hdaudioC0D0:    inputs:
9.011937] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
9.011938] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12

lspci shows:

00:00.0 Host bridge: Intel Corporation Device 5910 (rev 05)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 05)
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #7 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Device a171 (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 3D controller: NVIDIA Corporation Device 1c8c (rev a1)
02:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5287 (rev 01)
03:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
04:00.0 Network controller: Intel Corporation Device 24fd (rev 78)

lsusb shows:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 1c7a:0603 LighTuning Technology Inc.
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 002: ID 04f2:b59e Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Yast only sees an Intel sound card which I guess is for the HDMI display.

I cannot remove the Intel sound card it won’t disappear.

I tried to add a sound card and there are no Realtek or HD Audio ones listed.

Can anyone help?

Thanks.

Well, Ubuntu 17.04 has a MUCH newer kernel - which also likely means a newer audio driver.

I am not familiar with the XFCE desktop - does that mean pulse audio is not enabled ?

I appreciate you providing various output - but I confess I am not smart enough to understand why those would help me understand your audio problem. I do see its a realtek but what is one to do with that ? The “Audio device: Intel Corporation Device a171 (rev 31)” is not something I can interpet.

There is a better way to get excellent audio diagnostic information.

Please could you run in an xterm, as a regular user, with PC connected to the internet, the following command (which runs a diagnostic script and uploads output to a shared place on internet) :


/usr/sbin/alsa-info.sh

select the SHARE/UPLOAD option when prompted. Let the script run to completion. When it is complete it will have in the xterm the URL/address where the script’s configuration check (upload) was placed. Please post that URL/address here so we can look at that and try to make a judgment call as to your audio problem.

Hopefully its not the kernel (for openSUSE-42.3 has a 4.4.87 kernel as opposed to the much newer Ubuntu-17.04 v 4.10 kernel).

From this I deduce you are trying to use analog audio ?

Maybe it is supposed to be an Intel (for HDMI).

Lets start by checking the diagnostic script.

Note there is planned work tomorrow which may disrupt the forum for a while.

I recommend following oldcpu’s advice first and foremost, …but if it does turn out to be down to the kernel version in use, then you might try upgrading to the current stable kernel…

zypper ar -f http://download.opensuse.org/repositories/Kernel:/stable/standard/ kernel
zypper ref
zypper dup -r kernel

then reboot and see if you then have working sound.

Thanks for the replies.

I am not really interested in getting HDMI audio working, just sound from the loudspeakers or headphones.

I ran the ALSA info script and the output is at:

http://www.alsa-project.org/db/?f=220411cd2f31a60cf554f4927cc9f6a399675ca7

Ok thanks. I note only one instance of the "snd_hda_intel " sound module loaded where HDMI and analog audio share the same sound module. I note pulse audio is running.

The mixer setup is not good , and I recommend you focus your attention there initially. Note this from the script:


!!Amixer output
!!-------------
**
!!-------Mixer controls for card 0 [PCH]**

Card hw:0 'PCH'/'HDA Intel PCH at 0xdf420000 irq 138'
  Mixer name	: **'Realtek ALC269VC'**
...
**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] **[off]**
.....**
Simple mixer control 'Speaker',0**
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] **[off]**
  Front Right: Playback 87 [100%] [0.00dB] **[off]**

Both the ‘master’ and the ‘Speaker’ outputs are “off” which is guaranteed to block sound. Please unmute those and switch them to ON. If you need help knowing how to do that please ask.

Further there are also some entries in the dmesg that suggest there may be other problems:


   15.136122] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to polling mode: last cmd=0x208f8100
   16.144111] snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x208f8100
   17.152208] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to single_cmd mode: last cmd=0x208f8100
   17.152338] azx_single_wait_for_response: 102 callbacks suppressed
   17.162287] snd_hda_codec_hdmi hdaudioC0D2: Unable to sync register 0x2f0d00. -5

but lets first fix the mixer settings and then see where we may be.

Thanks for all the replies.

I updated the kernel as suggested. A 4.13 Kernel was installed with some firmware.

I now have sound after installing a gadget on the taskbar and using the mixer option.

Here is the output from the alsa-info script.

http://www.alsa-project.org/db/?f=c7bd93c2ec2e1d1913e44afbfa3b4d0d46259dfb

I cannot shutdown on the 4.13 Kernel, which is outside the scope of this thread. I got Yast2 to get grub to boot the previous kernel. I still have sound and can shutdown cleanly.

Here is the current alsa-info as running at this time.

http://www.alsa-project.org/db/?f=78885fd27e2094f020ea9839e38982fde369dddd

I hope this helps.

[Could a moderator flag this thread as solved?]

That is good to know.

I cannot shutdown on the 4.13 Kernel, which is outside the scope of this thread. I got Yast2 to get grub to boot the previous kernel. I still have sound and can shutdown cleanly.

Are you saying that even when using the older Leap kernel you still have sound? Perhaps using the newer kernel-firmware was the answer here. The stable kernel repo currently has kernel-firmware-20170906-35.1 available, while the Leap 42.3 OSS repo has 20170530-9.1.

Anyway, you could check that with

zypper se -si kernel-firmware

Thanks. The above actually appears to be your Ubuntu boot with its 4.10 kernel.

That’s your openSUSE with the older 4.4.87 kernel.

Anyway, not showing the 4.13 kernel is a mute point as you now have this working - which (pardon the pun) is not ‘mute’. :slight_smile: Congratulations!

I’m happy to read sound works now. Kudo’s to deano_ferrari for suggesting the updated kernel.

That’s always an annoyance. You could try opening an xterm and with root permissions type: ‘shutdown -h now’ and see if that works to shutdown. But as you note that is outside the scope of this thread.

I confess as a moderator, I don’t know how to do that with out breaking the NNTP threads which use the title to order their posts.

I think we do close a thread after some period of time (preventing posts in such) but I believe we wait some TBD period of time before doing such.
.

We don’t do that here, but if you wish you can reflect this in the title of your final reply (as I have done with this reply).