I upgraded to Ubuntu 17.04 from 16.10 yesterday on my HP Spectre x360 13-w0XX. After upgrading, I noticed that the sound wasn't working anymore: the volume sliders in the menu bar were grayed out, pressing the volume increase/decrease hotkeys didn't do anything, and there was no sound output.
I followed some online guides about the same question and found that the audio card is being identified, and I can select an audio output in system preferences (see below).
sudo update-initramfs -u and rebooting, the volume sliders are no longer grayed out and the speakers work, but there is no sound when I plug in headphones.
Having been through many online guides, I don't really know where to go from here, so any help is appreciated.
Here is some additional information:
The volume is not muted on
I followed this guide, to no avail. Here is is the output of
sudo aplay -l:
**** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC295 Analog [ALC295 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 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
and here is the output of
lspci -v | grep -A7 -i 'audio':
00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21) (prog-if 80) Subsystem: Hewlett-Packard Company Device 827e Flags: bus master, fast devsel, latency 32, IRQ 286 Memory at dc228000 (64-bit, non-prefetchable) [size=16K] Memory at dc200000 (64-bit, non-prefetchable) [size=64K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel, snd_soc_skl
This is the result of running
wget http://www.alsa-project.org/alsa-info.sh -O alsa-info.sh && chmod +x alsa-info.sh && ./alsa-info.sh
Update: opening a Windows 10 VM in Ubuntu 17.10 shows a volume icon with a red X on it. I can fix the speakers in the VM using Windows troubleshooting, but it says that headphones are not plugged in while troubleshooting (they are plugged in).
grep "pulseaudio" /var/log/syslog* and got this output:
pulseaudio: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files pulseaudio: [alsa-sink-Generic Analog] alsa-mixer.c: Failed to set switch of Headphone: Input/output error