You are not logged in.

#1 2019-07-11 20:52:02

aqua123
Member
Registered: 2013-03-05
Posts: 7

Realtek ALC295, no audio through headphones but works in Windows

I have this laptop - HP Spectre x360 13-w023dx.

Basically my headphones work in Windows but they don't work in Arch, where my headphones are detected (i.e. the system volume changes when I connect my headphones) but I can't seem to get any audio to play out at all.

I have tried audio when booting from an Ubuntu Live CD and it still doesn't work.

I've tried

hdajackretask

and following this, but all it does is play audio through the speakers like nothing was connected to the headphone jack at all.

Also, playing audio via a USB-C audio interface only works in Windows, a similar problem happens when playing in Linux.

Here is the output of

pactl list sinks

when the headphones are connected, if it helps:

    Sink #0
            State: SUSPENDED
            Name: alsa_output.pci-0000_00_1f.3.analog-stereo
            Description: Built-in Audio Analog Stereo
            Driver: module-alsa-card.c
            Sample Specification: s16le 2ch 48000Hz
            Channel Map: front-left,front-right
            Owner Module: 6
            Mute: no
            Volume: front-left: 16381 /  25% / -36.13 dB,   front-right: 16381 /  25% / -36.13 dB
                    balance 0.00
            Base Volume: 65536 / 100% / 0.00 dB
            Monitor Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
            Latency: 0 usec, configured 0 usec
            Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
            Properties:
                    alsa.resolution_bits = "16"
                    device.api = "alsa"
                    device.class = "sound"
                    alsa.class = "generic"
                    alsa.subclass = "generic-mix"
                    alsa.name = "ALC295 Analog"
                    alsa.id = "ALC295 Analog"
                    alsa.subdevice = "0"
                    alsa.subdevice_name = "subdevice #0"
                    alsa.device = "0"
                    alsa.card = "0"
                    alsa.card_name = "HDA Intel PCH"
                    alsa.long_card_name = "HDA Intel PCH at 0xdc228000 irq 134"
                    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 = "9d71"
                    device.product.name = "Sunrise Point-LP HD Audio"
                    device.form_factor = "internal"
                    device.string = "front:0"
                    device.buffering.buffer_size = "352800"
                    device.buffering.fragment_size = "176400"
                    device.access_mode = "mmap+timer"
                    device.profile.name = "analog-stereo"
                    device.profile.description = "Analog Stereo"
                    device.description = "Built-in Audio Analog Stereo"
                    alsa.mixer_name = "Realtek ALC295"
                    alsa.components = "HDA:10ec0295,103c827e,00100002 HDA:8086280b,80860101,00100000"
                    module-udev-detect.discovered = "1"
                    device.icon_name = "audio-card-pci"
            Ports:
                    analog-output-speaker: Speakers (priority: 10000, not available)
                    analog-output-headphones: Headphones (priority: 9000, available)
            Active Port: analog-output-headphones
            Formats:
                    pcm

Any help to get my headphones to work (and also USB-C audio) would be appreciated. Thanks!

Last edited by aqua123 (2019-07-11 21:26:35)

Offline

#2 2019-07-12 07:42:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,707

Re: Realtek ALC295, no audio through headphones but works in Windows

Do you still have an adjustment from hdajackretask active? Please post

amixer -c0
sudo fuser -v /dev/snd/*

and the list sinks output during actual playback.

Last edited by V1del (2019-07-12 09:13:28)

Offline

#3 2019-07-12 12:30:16

aqua123
Member
Registered: 2013-03-05
Posts: 7

Re: Realtek ALC295, no audio through headphones but works in Windows

Output of

amixer -c0
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 'Bass Speaker',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [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 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 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',4
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 63 [100%] [30.00dB] [on]
  Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
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]
Simple mixer control 'Mute-LED Mode',0
  Capabilities: enum
  Items: 'On' 'Off' 'Follow Master'
  Item0: 'Follow Master'

Output of

sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  ethan      1199 F.... pulseaudio
/dev/snd/pcmC0D0p:   ethan      1199 F...m pulseaudio

I disabled the hdajackretask thing.

Thanks!

Offline

Board footer

Powered by FluxBB