WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] No sound on HP elitebook laptop with conexant cx20724 codec  (Read 5521 times)

Offline ltrk

  • Newbie
  • *
  • Posts: 24
Hi

I can't get audio to work on my 4.14.10-tinycore. I have read Rich's alsa setup guide but no luck.
Sorry for the long post but for some reason I cant attach the files so I pasted them.
I understand that for intel HD audio the model must be specified as a parameter but I cant find an entry for conexant cx20724 in the models file.
aplay device list:
Code: [Select]
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20724 Analog [CX20724 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


Here is my modules list

Code: [Select]
lsmod | grep snd
snd_hda_codec_hdmi     28672  1
snd_hda_codec_conexant    12288  1
snd_hda_codec_generic    40960  1 snd_hda_codec_conexant
snd_hda_intel          24576  0
snd_hda_codec          57344  4 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel
snd_hda_core           36864  5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec
snd_hwdep              12288  1 snd_hda_codec
snd_pcm                49152  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              20480  1 snd_pcm
snd                    36864  8 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore              12288  1 snd


amixer output:
Code: [Select]
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 74
  Mono: Playback 64 [86%] [-10.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 74
  Mono:
  Front Left: Playback 74 [100%] [0.00dB] [on]
  Front Right: Playback 74 [100%] [0.00dB] [on]
Simple mixer control 'Speaker+LO',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 74
  Mono:
  Front Left: Playback 74 [100%] [0.00dB] [on]
  Front Right: Playback 74 [100%] [0.00dB] [on]
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 'Line',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Line 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 'Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
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 [on]
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 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 7
  Mono: Playback 3 [43%] [-16.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 80
  Front Left: Capture 0 [0%] [-74.00dB] [off]
  Front Right: Capture 0 [0%] [-74.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Speaker Only' 'Line Out+Speaker'
  Item0: 'Line Out+Speaker'
Simple mixer control 'Internal Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
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'
 

« Last Edit: July 09, 2020, 08:22:24 AM by Rich »

Offline ltrk

  • Newbie
  • *
  • Posts: 24
Re: No sound on HP elitebook laptop with conexant cx20724 codec
« Reply #1 on: July 05, 2020, 03:09:31 AM »
I'm also posting snippets of alsa-info, I could not paste the whole file due to size limits. Pulse audio reports a confifguration problem and does not run but I thought I will first get alsa working and then reinstall pulse audio
Code: [Select]
!!ALSA/HDA dmesg
!!--------------

random: crng init done
snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
snd_hda_intel 0000:00:1f.3: failed to add i915 component master (-19)
snd_hda_codec_conexant hdaudioC0D0: CX20724: BIOS auto-probing.
snd_hda_codec_conexant hdaudioC0D0: action: 0 gpio_led: 0
snd_hda_codec_conexant hdaudioC0D0: autoconfig for CX20724: line_outs=1 (0x16/0x0/0x0/0x0/0x0) type:line
snd_hda_codec_conexant hdaudioC0D0:    speaker_outs=1 (0x17/0x0/0x0/0x0/0x0)
snd_hda_codec_conexant hdaudioC0D0:    hp_outs=1 (0x1d/0x0/0x0/0x0/0x0)
snd_hda_codec_conexant hdaudioC0D0:    mono: mono_out=0x0
snd_hda_codec_conexant hdaudioC0D0:    inputs:
snd_hda_codec_conexant hdaudioC0D0:      Mic=0x19
snd_hda_codec_conexant hdaudioC0D0:      Internal Mic=0x1a
snd_hda_codec_conexant hdaudioC0D0:      Line=0x18
snd_hda_codec_conexant hdaudioC0D0: Enable sync_write for stable communication
snd_hda_codec_conexant hdaudioC0D0: action: 1 gpio_led: 0
snd_hda_codec_conexant hdaudioC0D0: action: 2 gpio_led: 0
snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
input: HDA Intel PCH Dock Line Out as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input19
input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input20
wl: loading out-of-tree module taints kernel.
--
wlan0: associated
snd_hda_codec_conexant hdaudioC0D0: action: 2 gpio_led: 1
snd_hda_codec_conexant hdaudioC0D0: action: 2 gpio_led: 1
snd_hda_codec_conexant hdaudioC0D0: action: 2 gpio_led: 0
snd_hda_codec_conexant hdaudioC0D0: action: 2 gpio_led: 0
pavucontrol[11287]: segfault at 8be58962 ip b6fb465f sp bf98e9d0 error 4 in libgobject-2.0.so.0.5200.3[b6f90000+30000]
snd_hda_codec_conexant hdaudioC0D0: action: 2 gpio_led: 0
snd_hda_codec_conexant hdaudioC0D0: action: 2 gpio_led: 0
snd_hda_codec_conexant hdaudioC0D0: action: 2 gpio_led: 0


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: No sound on HP elitebook laptop with conexant cx20724 codec
« Reply #2 on: July 05, 2020, 03:13:13 AM »
Have you tried rebooting with no alsa extensions loaded “onboot” and then loading (in that order) graphics-KERNEL alsa-config and alsa?

Offline ltrk

  • Newbie
  • *
  • Posts: 24
Re: No sound on HP elitebook laptop with conexant cx20724 codec
« Reply #3 on: July 05, 2020, 02:51:57 PM »
I did as you said, deleting alsa extensions and rebooting. Then installing one module and rebooting before installing the next one. But no change in sound

aus9

  • Guest
Re: No sound on HP elitebook laptop with conexant cx20724 codec
« Reply #4 on: July 05, 2020, 10:18:25 PM »
Quote
I understand that for intel HD audio the model must be specified as a parameter
Not "must". Maybe needed if something is not working or a tweak or quirk is required.

Please name the exact model of Elitebook.

It appears some may have a bios setting that affects sound as per
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1536948

2) Do you want sound to come out of analog or HDMI or both?



« Last Edit: July 05, 2020, 10:21:57 PM by aus9 »

Offline ltrk

  • Newbie
  • *
  • Posts: 24
Re: No sound on HP elitebook laptop with conexant cx20724 codec
« Reply #5 on: July 05, 2020, 11:59:18 PM »
Tkx aus9!
DUH
It turned out the bios setting was somehow lost  and the internal speaker, headphone output were disabled in BIOS! I had used this machine a while ago with working sound on windows so not sure what happened.
It works now after enabling it in bios

aus9

  • Guest
Re: No sound on HP elitebook laptop with conexant cx20724 codec
« Reply #6 on: July 06, 2020, 04:18:37 AM »
If no other issues you can ask Rich to mark as Solved please.

Offline ltrk

  • Newbie
  • *
  • Posts: 24
Re: No sound on HP elitebook laptop with conexant cx20724 codec
« Reply #7 on: July 09, 2020, 08:20:54 AM »
Please mark as solved

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11656
Re: [Solved] No sound on HP elitebook laptop with conexant cx20724 codec
« Reply #8 on: July 09, 2020, 08:22:54 AM »
Hi ltrk
Please mark as solved
Done. :)