New user to Linux Mint 19.2 Tina has no sound

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
metalspunk
Level 1
Level 1
Posts: 39
Joined: Tue Nov 12, 2019 8:00 am

New user to Linux Mint 19.2 Tina has no sound

Post by metalspunk »

Hi, I am a new user to linux. I have just install Linux Mint 19.2 Tina to gain new experience other than Windows.
My problem after installation that I noticed so far is that this machine has no sound at all.
I have tried few method that I search through google but none of them success. Please help me.

From inxi -Fxz,

Code: Select all

System:
  Host: zam Kernel: 4.15.0-66-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 
  Desktop: Cinnamon 4.2.4 Distro: Linux Mint 19.2 Tina 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Desktop Mobo: AMI model: Cherry Trail CR serial: <filter> 
  UEFI: American Megatrends v: 5.11 date: 10/16/2017 
Battery:
  ID-1: axp288_fuel_gauge charge: 20% condition: N/A model: N/A 
  status: Charging 
CPU:
  Topology: Quad Core model: Intel Atom x5-Z8350 bits: 64 type: MCP 
  arch: Airmont rev: 4 L2 cache: 1024 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 11520 
  Speed: 849 MHz min/max: 480/1920 MHz Core speeds (MHz): 1: 619 2: 659 
  3: 494 4: 523 
Graphics:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series 
  PCI Configuration Registers 
  driver: i915 v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics (Cherrytrail) 
  v: 4.5 Mesa 19.0.8 direct render: Yes 
Audio:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series 
  Imaging Unit 
  driver: N/A bus ID: 00:03.0 
  Sound Server: ALSA v: k4.15.0-66-generic 
Network:
  Message: No Device data found. 
  IF-ID-1: wlan0 state: up mac: <filter> 
Drives:
  Local Storage: total: 58.24 GiB used: 15.78 GiB (27.1%) 
  ID-1: /dev/mmcblk0 model: DF4064 size: 58.24 GiB 
Partition:
  ID-1: / size: 56.58 GiB used: 15.77 GiB (27.9%) fs: ext4 
  dev: /dev/mmcblk0p2 
Sensors:
  System Temperatures: cpu: 69.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 191 Uptime: 39m Memory: 3.76 GiB used: 911.4 MiB (23.6%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32
Last edited by Moem on Tue Nov 12, 2019 8:25 am, edited 1 time in total.
Reason: Adding [code] tags. They retain some formatting that makes your output easier to read.

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: New user to Linux Mint 19.2 Tina has no sound

Post by MrEen »

Hi metalspunk, and welcome to the forum.

To help you get the sound working, please paste back the output of the following terminal commands: aplay -l, pacmd list-cards and dmesg | grep snd.

When pasting large blocks of text, please enclose the results in-between [ⅽode] and [/ⅽode] code markers by selecting </> from the mini toolbar above the textbox where you type your reply.

metalspunk
Level 1
Level 1
Posts: 39
Joined: Tue Nov 12, 2019 8:00 am

Re: New user to Linux Mint 19.2 Tina has no sound

Post by metalspunk »

Hi Mr Een, thank you. See below,

aplay -l

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pacmd list-cards

Code: Select all

1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_02.0-platform-hdmi-lpe-audio>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "0"
		alsa.card_name = "Intel HDMI/DP LPE Audio"
		alsa.long_card_name = "Intel HDMI/DP LPE Audio"
		alsa.driver_name = "snd_hdmi_lpe_audio"
		device.bus_path = "pci-0000:00:02.0-platform-hdmi-lpe-audio"
		sysfs.path = "/devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "22b0"
		device.product.name = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers"
		device.string = "0"
		device.description = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:stereo-fallback: Stereo Output (priority 5100, available: unknown)
		output:multichannel-output: Multichannel Output (priority 100, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:stereo-fallback>
	sinks:
		alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.stereo-fallback/#0: Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers Stereo
	sources:
		alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.stereo-fallback.monitor/#0: Monitor of Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers Stereo
	ports:
		analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
		multichannel-output: Multichannel Output (priority 0, latency offset 0 usec, available: unknown)
			properties:
dmesg | grep snd - nothing comeout/back to the command prompt.

Code: Select all

~$ 

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: New user to Linux Mint 19.2 Tina has no sound

Post by MrEen »

Oh darn. You have one of those systems that are a little more tricky to get sound working on, and it's not showing the codec we need to see to determine the next step. Let's see if what we need is hidden is this output: journalctl -k | grep -Ei "snd|sound|audio|multi"

Those Intel Atom CherryTrail and similar devices use a SoC sound device that requires a slight workaround to get things working.

If I don't see the info I need from the journalctl output, we can try a higher kernel that may recognize things. We'll deal with that if/when we get there.

metalspunk
Level 1
Level 1
Posts: 39
Joined: Tue Nov 12, 2019 8:00 am

Re: New user to Linux Mint 19.2 Tina has no sound

Post by metalspunk »

I've gone through in the forum it's seems this model Intel Atom X5-Z8350 model has this sound problems.

journalctl -k | grep -Ei "snd|sound|audio|multi"

Code: Select all

Nov 12 22:34:45 zam kernel: ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
Nov 12 22:34:45 zam kernel: ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
Nov 12 22:34:45 zam kernel: [drm] HDaudio controller not detected, using LPE audio instead
Nov 12 22:34:46 zam kernel: input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=0 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input8
Nov 12 22:34:46 zam kernel: input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=1 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input9
Nov 12 22:34:46 zam kernel: input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input10
Though, I'm not sure and try yet to play *.mp3 or *.mp4 in this machine. Just noticed this no sound issue when I opened Youtube videos in the browser.

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: New user to Linux Mint 19.2 Tina has no sound

Post by MrEen »

Okay, 2 choices here. You can either run this in the terminal:

Code: Select all

wget -qO- https://gist.github.com/heikomat/3fe272431b44b580c933bfb901a92257/raw | bash
If you decide to try it, I'd strongly suggest you make sure you have a Timeshift restore point set up before trying it. I'm not saying anything bad will happen, but that script makes some major system changes, and I just want you to be able to restore things to how they were if something goes wrong.

The alternative, and probably overall safer way, open Update Manager, click on View > Linux kernels, select 5.3 in the left pane, then the highest kernel in the right pane, then click on Install. Finish with a reboot and your sound should be working.

metalspunk
Level 1
Level 1
Posts: 39
Joined: Tue Nov 12, 2019 8:00 am

Re: New user to Linux Mint 19.2 Tina has no sound

Post by metalspunk »

I've done both options but still has no sound appear.

I did the 2nd option first, reboot. Negative result.

Then I run the 2nd option, ended with below,

Code: Select all

 -> All done. Please reboot! <-
 If you still have no sound after rebooting, try the following: 

 - Change the audio-output in your audio-control
 - Set the default sink with:
      pacmd set-default-sink $(pactl list short sinks | grep cx2072x | cut -c1)
Then reboot, and still negative result.

So I change the audio-output in audio-control, still negative.

Then I did below,

Code: Select all

:~$ pacmd set-default-sink $(pactl list short sinks | grep cx2072x | cut -c1)
You need to specify a sink either by its name or its index.
The question is how to know the sink name or index ?

metalspunk
Level 1
Level 1
Posts: 39
Joined: Tue Nov 12, 2019 8:00 am

Re: New user to Linux Mint 19.2 Tina has no sound

Post by metalspunk »

I've just noticed one of my USB port is not functioning now. :?

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: New user to Linux Mint 19.2 Tina has no sound

Post by MrEen »

We'll come back to the USB port issue.

Let's see the output of aplay -l and pacmd list-sinks now. I'd like to see inxi -Fxz again as well please.

metalspunk
Level 1
Level 1
Posts: 39
Joined: Tue Nov 12, 2019 8:00 am

Re: New user to Linux Mint 19.2 Tina has no sound

Post by metalspunk »

As below,

aplay -l

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pacmd list-sinks

Code: Select all

1 sink(s) available.
  * index: 2
	name: <alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.multichannel-output>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9030
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB,   rear-left: 65536 / 100% / 0.00 dB,   rear-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 request: 0 KiB
	max rewind: 0 KiB
	monitor source: 2
	sample spec: s16le 4ch 48000Hz
	channel map: front-left,front-right,rear-left,rear-right
	             Surround 4.0
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 1600.00 ms
	card: 0 <alsa_card.pci-0000_00_02.0-platform-hdmi-lpe-audio>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "Intel HDMI/DP LPE Audi"
		alsa.id = "HdmiLpeAudio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "Intel HDMI/DP LPE Audio"
		alsa.long_card_name = "Intel HDMI/DP LPE Audio"
		alsa.driver_name = "snd_hdmi_lpe_audio"
		device.bus_path = "pci-0000:00:02.0-platform-hdmi-lpe-audio"
		sysfs.path = "/devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "22b0"
		device.product.name = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers"
		device.string = "hw:0"
		device.buffering.buffer_size = "614400"
		device.buffering.fragment_size = "614400"
		device.access_mode = "mmap+timer"
		device.profile.name = "multichannel-output"
		device.profile.description = "Multichannel"
		device.description = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers Multichannel"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		multichannel-output: Multichannel Output (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <multichannel-output>
inxi -Fxz

Code: Select all

System:
  Host: zam Kernel: 5.3.0-22-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 
  Desktop: Cinnamon 4.2.4 Distro: Linux Mint 19.2 Tina 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Desktop Mobo: AMI model: Cherry Trail CR serial: <filter> 
  UEFI: American Megatrends v: 5.11 date: 10/16/2017 
Battery:
  ID-1: axp288_fuel_gauge charge: 40% condition: N/A model: N/A 
  status: Discharging 
CPU:
  Topology: Quad Core model: Intel Atom x5-Z8350 bits: 64 type: MCP 
  arch: Airmont rev: 4 L2 cache: 1024 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 11520 
  Speed: 506 MHz min/max: 480/1920 MHz Core speeds (MHz): 1: 480 2: 480 
  3: 1023 4: 735 
Graphics:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series 
  PCI Configuration Registers 
  driver: i915 v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics (Cherrytrail) 
  v: 4.5 Mesa 19.0.8 direct render: Yes 
Audio:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series 
  Imaging Unit 
  driver: intel_atomisp2_pm v: kernel bus ID: 00:03.0 
  Sound Server: ALSA v: k5.3.0-22-generic 
Network:
  Message: No Device data found. 
  IF-ID-1: wlan0 state: up mac: <filter> 
Drives:
  Local Storage: total: 58.24 GiB used: 22.16 GiB (38.0%) 
  ID-1: /dev/mmcblk0 model: DF4064 size: 58.24 GiB 
Partition:
  ID-1: / size: 56.58 GiB used: 22.15 GiB (39.1%) fs: ext4 
  dev: /dev/mmcblk0p2 
Sensors:
  System Temperatures: cpu: 59.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 208 Uptime: 2h 34m Memory: 3.75 GiB used: 989.3 MiB (25.7%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: New user to Linux Mint 19.2 Tina has no sound

Post by MrEen »

I'm truly sorry it's taking this much effort to get sound working! The darn codec is still hiding from us. The missing codec should look similar to one of these:

Code: Select all

cx2072x
byt-max98090
byt-rt5640
bytcht-da7213
bytcht-nocodec
bytcht-pcm512x
bytcr-rt5640
bytcr-rt5651
cht-bsw-rt5672
chtmax98090
chtnau8824
chtrt5645
skl_hda_card
sof-bxt-pcm512x
sof-bxtda7219max
sof-bytcht-da7213
sof-bytcr-rt5640
sof-bytcr-rt5651
sof-cht-bsw-rt5672
sof-chtmax98090
sof-chtrt5645
Suprisingly, your inxi output showed something I've never seen before:
Audio:
Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series
Imaging Unit
driver: intel_atomisp2_pm v: kernel bus ID: 00:03.0
Sound Server: ALSA v: k5.3.0-22-generic
Let's see if this helps us. Paste back the output of lsmod and hopefully I'll see something that gives me an indication of which codec is in use. Also, let's see if dmesg | grep -C1 -E 'ALSA|HDA|HDMI|snd[_-]|sound|hda.codec|hda.intel' has anything.

metalspunk
Level 1
Level 1
Posts: 39
Joined: Tue Nov 12, 2019 8:00 am

Re: New user to Linux Mint 19.2 Tina has no sound

Post by metalspunk »

Is it something related to the Cinnamon ? I mean will this happen the same way if I'm using MATE or Xfce ?

lsmod

Code: Select all

Module                  Size  Used by
uas                    24576  0
usb_storage            73728  1 uas
rfcomm                 81920  16
cmac                   16384  1
bnep                   24576  2
nls_iso8859_1          16384  1
mei_hdcp               24576  0
intel_powerclamp       20480  0
coretemp               20480  0
kvm_intel             241664  0
kvm                   651264  1 kvm_intel
irqbypass              16384  1 kvm
axp288_adc             16384  0
axp288_fuel_gauge      28672  0
punit_atom_debug       16384  0
axp288_charger         24576  0
industrialio           73728  2 axp288_adc,axp288_fuel_gauge
axp20x_pek             16384  0
extcon_axp288          20480  0
crct10dif_pclmul       16384  1
gpio_keys              20480  0
crc32_pclmul           16384  0
intel_rapl_msr         20480  0
ghash_clmulni_intel    16384  0
aesni_intel           372736  2
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
glue_helper            16384  1 aesni_intel
intel_cstate           20480  0
uvcvideo               94208  0
videobuf2_vmalloc      20480  1 uvcvideo
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
input_leds             16384  0
videobuf2_common       53248  2 videobuf2_v4l2,uvcvideo
sof_acpi_dev           20480  0
videodev              208896  3 videobuf2_v4l2,uvcvideo,videobuf2_common
mc                     53248  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
joydev                 28672  0
snd_sof_intel_byt      24576  1 sof_acpi_dev
snd_sof_intel_bdw      24576  1 sof_acpi_dev
snd_sof_intel_ipc      20480  2 snd_sof_intel_bdw,snd_sof_intel_byt
hci_uart              122880  0
btqca                  20480  1 hci_uart
btrtl                  20480  1 hci_uart
snd_sof                98304  4 snd_sof_intel_bdw,sof_acpi_dev,snd_sof_intel_byt,snd_sof_intel_ipc
btbcm                  16384  1 hci_uart
btintel                24576  1 hci_uart
snd_sof_xtensa_dsp     16384  1 sof_acpi_dev
bluetooth             573440  44 btrtl,btqca,btintel,hci_uart,btbcm,bnep,rfcomm
snd_seq_midi           20480  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_intel_sst_acpi     20480  0
ecdh_generic           16384  2 bluetooth
snd_intel_sst_core     53248  1 snd_intel_sst_acpi
ecc                    32768  1 ecdh_generic
snd_soc_sst_atom_hifi2_platform   110592  1 snd_intel_sst_core
snd_rawmidi            36864  1 snd_seq_midi
snd_soc_acpi_intel_match    28672  2 sof_acpi_dev,snd_intel_sst_acpi
snd_soc_acpi           16384  3 snd_soc_acpi_intel_match,sof_acpi_dev,snd_intel_sst_acpi
snd_soc_core          237568  2 snd_sof,snd_soc_sst_atom_hifi2_platform
snd_compress           24576  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
snd_hdmi_lpe_audio     28672  1
lpc_ich                24576  0
mei_txe                24576  1
mei                   102400  3 mei_hdcp,mei_txe
intel_xhci_usb_role_switch    16384  1
snd_pcm               102400  5 snd_sof,snd_hdmi_lpe_audio,snd_soc_sst_atom_hifi2_platform,snd_soc_core,snd_pcm_dmaengine
roles                  16384  2 extcon_axp288,intel_xhci_usb_role_switch
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              36864  2 snd_seq,snd_pcm
snd                    86016  11 snd_seq,snd_seq_device,snd_timer,snd_compress,snd_hdmi_lpe_audio,snd_soc_sst_atom_hifi2_platform,snd_soc_core,snd_pcm,snd_rawmidi
r8723bs               593920  0
spi_pxa2xx_platform    28672  0
soundcore              16384  1 snd
cfg80211              708608  1 r8723bs
axp20x_i2c             16384  0
intel_hid              20480  0
axp20x                 32768  1 axp20x_i2c
sparse_keymap          16384  1 intel_hid
extcon_intel_int3496    20480  0
dw_dmac                16384  8
dw_dmac_core           28672  1 dw_dmac
8250_dw                20480  0
soc_button_array       20480  0
processor_thermal_device    20480  0
int3400_thermal        20480  0
int3403_thermal        16384  0
intel_rapl_common      24576  2 intel_rapl_msr,processor_thermal_device
int3406_thermal        16384  0
acpi_thermal_rel       16384  1 int3400_thermal
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
intel_soc_dts_iosf     20480  1 processor_thermal_device
mac_hid                16384  0
intel_atomisp2_pm      16384  0
intel_int0002_vgpio    16384  1
acpi_pad              184320  0
sch_fq_codel           20480  5
parport_pc             36864  0
ppdev                  24576  0
lp                     20480  0
parport                53248  3 parport_pc,lp,ppdev
ip_tables              32768  0
x_tables               40960  1 ip_tables
autofs4                45056  2
btrfs                1236992  0
xor                    24576  1 btrfs
zstd_compress         163840  1 btrfs
raid6_pq              114688  1 btrfs
libcrc32c              16384  1 btrfs
dm_mirror              24576  0
dm_region_hash         20480  1 dm_mirror
dm_log                 20480  2 dm_region_hash,dm_mirror
hid_generic            16384  0
usbhid                 53248  0
hid                   131072  2 usbhid,hid_generic
mmc_block              49152  3
dwc3                  131072  0
ulpi                   20480  1 dwc3
udc_core               57344  1 dwc3
i915                 1937408  18
i2c_algo_bit           16384  1 i915
drm_kms_helper        180224  1 i915
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
drm                   487424  6 drm_kms_helper,i915
dwc3_pci               20480  0
video                  49152  2 int3406_thermal,i915
sdhci_acpi             24576  0
sdhci                  57344  1 sdhci_acpi
dmesg | grep -C1 -E 'ALSA|HDA|HDMI|snd[_-]|sound|hda.codec|hda.intel'

Code: Select all

[    0.263521] ACPI: Added _OSI(Linux-Dell-Video)
[    0.263524] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.263527] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
--
[    8.780293] pnetdev = 000000007b44a32b
[    8.881039] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=0 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input12
[    8.881198] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=1 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input13
[    8.881342] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input14
[    8.973969] RTL8723BS: rtw_ndev_init(wlan0)
--
[14769.327840] WARNING: CPU: 2 PID: 148 at /build/linux-hwe-edge-enEgm5/linux-hwe-edge-5.3.0/kernel/workqueue.c:2600 check_flush_dependency+0x115/0x130
[14769.327841] Modules linked in: uas(E) usb_storage(E) rfcomm(E) cmac(E) bnep(E) nls_iso8859_1(E) mei_hdcp(E) intel_powerclamp(E) coretemp(E) kvm_intel(E) kvm(E) irqbypass(E) axp288_adc(E) axp288_fuel_gauge(E) punit_atom_debug(E) axp288_charger(E) industrialio(E) axp20x_pek(E) extcon_axp288(E) crct10dif_pclmul(E) gpio_keys(E) crc32_pclmul(E) intel_rapl_msr(E) ghash_clmulni_intel(E) aesni_intel(E) aes_x86_64(E) crypto_simd(E) cryptd(E) glue_helper(E) intel_cstate(E) uvcvideo(E) videobuf2_vmalloc(E) videobuf2_memops(E) videobuf2_v4l2(E) input_leds(E) videobuf2_common(E) sof_acpi_dev(E) videodev(E) mc(E) joydev(E) snd_sof_intel_byt(E) snd_sof_intel_bdw(E) snd_sof_intel_ipc(E) hci_uart(E) btqca(E) btrtl(E) snd_sof(E) btbcm(E) btintel(E) snd_sof_xtensa_dsp(E) bluetooth(E) snd_seq_midi(E) snd_seq_midi_event(E) snd_intel_sst_acpi(E) ecdh_generic(E) snd_intel_sst_core(E) ecc(E) snd_soc_sst_atom_hifi2_platform(E) snd_rawmidi(E) snd_soc_acpi_intel_match(E) snd_soc_acpi(E) snd_soc_core(E)
[14769.327908]  snd_compress(E) ac97_bus(E) snd_pcm_dmaengine(E) snd_seq(E) snd_hdmi_lpe_audio(E) lpc_ich(E) mei_txe(E) mei(E) intel_xhci_usb_role_switch(E) snd_pcm(E) roles(E) snd_seq_device(E) snd_timer(E) snd(E) r8723bs(CE) spi_pxa2xx_platform(E) soundcore(E) cfg80211(E) axp20x_i2c(E) intel_hid(E) axp20x(E) sparse_keymap(E) extcon_intel_int3496(E) dw_dmac(E) dw_dmac_core(E) 8250_dw(E) soc_button_array(E) processor_thermal_device(E) int3400_thermal(E) int3403_thermal(E) intel_rapl_common(E) int3406_thermal(E) acpi_thermal_rel(E) int340x_thermal_zone(E) intel_soc_dts_iosf(E) mac_hid(E) intel_atomisp2_pm(E) intel_int0002_vgpio(E) acpi_pad(E) sch_fq_codel(E) parport_pc(E) ppdev(E) lp(E) parport(E) ip_tables(E) x_tables(E) autofs4(E) btrfs(E) xor(E) zstd_compress(E) raid6_pq(E) libcrc32c(E) dm_mirror(E) dm_region_hash(E) dm_log(E) hid_generic(E) usbhid(E) hid(E) mmc_block(E) dwc3(E) ulpi(E) udc_core(E) i915(E) i2c_algo_bit(E) drm_kms_helper(E) syscopyarea(E) sysfillrect(E) sysimgblt(E)
[14769.327976]  fb_sys_fops(E) drm(E) dwc3_pci(E) video(E) sdhci_acpi(E) sdhci(E)

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: New user to Linux Mint 19.2 Tina has no sound

Post by MrEen »

It's not a Cinnamon issue at all. It's your computer not properly recognizing/reporting the available hardware. Sometimes this mysteriously fixes itself, sometimes it takes a re-install to fix it.

Here's some things I'd like you to try. First, shut down the computer completely and leave it off for several minutes. Then boot into the Live version you used to install with, but stop in your BIOS first. Make sure any audio related settings are on/enabled. Then finish booting into the Live version and see if aplay -l lists anything other than HdmiLpeAudio [Intel HDMI/DP LPE Audi]. If it does, there's a decent chance the next boot into your installed version will work.

If aplay -l still lists the same stuff as before, see if disabling Secure boot and/or Fast boot in the BIOS helps.

The missing codec is almost certainly cx2072x, and the drivers for it are already in the 5.3+ kernel, but drivers don't get loaded when the system doesn't report the hardware that needs them, and your system is playing hide-and-seek with that codec.

I'll try to find some other ideas until I hear from you.

metalspunk
Level 1
Level 1
Posts: 39
Joined: Tue Nov 12, 2019 8:00 am

Re: New user to Linux Mint 19.2 Tina has no sound

Post by metalspunk »

In my BIOS Audio Configuration --> LPE Audio Support, has 3 options:

1) Disable
2) LPE Audio PCI Mode
3) LPE Audio ACPI Mode

By default, the setting is at option 3) LPE Audio ACPI Mode. So I've changed it to option 2) LPE Audio PCI Mode then continue into Live version and run

Code: Select all

aplay -l
. Same output HdmiLpeAudio [Intel HDMI/DP LPE Audi].

Then I went into the BIOS again, disabling Secure Boot and Fast Boot, continue into Live version and run

Code: Select all

aplay -l
. Same output HdmiLpeAudio [Intel HDMI/DP LPE Audi].

It's seems nothing changes. Do I need to reinstall ??

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: New user to Linux Mint 19.2 Tina has no sound

Post by MrEen »

The problem is I cannot guarantee that reinstalling is going to change anything. If it were me, and there was nothing else on the computer, I would try reinstalling with a newly downloaded/burned iso.

Is there any remains of Windows on the computer? If so, boot to Windows and verify sound is working there. Then ensure fast startup is off. Instructions here if you need them. Now turn of the computer. Wait 5 minutes then power up into Mint, and verify aplay -l is showing the missing codec. If it's there, your sound should be working, but may still need some adjustments, such as checking for mute, etc.

Here's a thread where you can see in the inxi output what I'm expecting yours to look similar to: viewtopic.php?f=49&t=302882&p=1706565&h ... x#p1706565

Notice the audio section:

Code: Select all

Audio:
  Device-1: Intel HDMI/DP LPE Audio driver: HdmiLpeAudio 
  message: bus/chip ids unavailable 
  Device-2: bytcht-cx2072x driver: bytcht-cx2072x 
  message: bus/chip ids unavailable 
  Sound Server: ALSA v: k5.2.0+
The aplay output would/should be similar.

Two other options that remain regardless; Bluetooth should work, and USB headphones or a USB sound card like this should also work.

Like I said, if it were me, I'd try the reinstall. Before running the installer, I'd check to see if the codec is showing in the freshly downloaded/burned iso while running the Live version. Some people have even installed other distros like Ubuntu, found that the sound was working, then came back to Mint, and it was suddenly working there as well.

One other thing I can think of is to check to see if there's an update for your BIOS.

Whatever you decide, I have a couple of config edits we can try to see if they help get the info from your BIOS, after you've had a chance to absorb everything in this post.

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: New user to Linux Mint 19.2 Tina has no sound

Post by MrEen »

Oh darn, the config edits I thinking of are only good for the snd-hda-intel module that your system doesn't use. I'll see if I can find anything else.

metalspunk
Level 1
Level 1
Posts: 39
Joined: Tue Nov 12, 2019 8:00 am

Re: New user to Linux Mint 19.2 Tina has no sound

Post by metalspunk »

:D ... I have totally wipe out Windows. The only remain OS in this machine is Linux Mint now. So I don't have the option to check the sound except to make it work here.

I'll try to disable fast boot first.

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: New user to Linux Mint 19.2 Tina has no sound

Post by MrEen »

Here's one more command that may help:

Code: Select all

apt install --reinstall alsa-base alsa-utils pulseaudio linux-sound-base libasound2
I'm hoping that doesn't break anything the heikomat fix added.

metalspunk
Level 1
Level 1
Posts: 39
Joined: Tue Nov 12, 2019 8:00 am

Re: New user to Linux Mint 19.2 Tina has no sound

Post by metalspunk »

Done. I noticed the output from the 3 commands you gave earlier slightly different.
Check below if there any indication to you. I've tried to play *.mp3 & *.mp4, negative result.

aplay -l

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: bytcrrt5651 [bytcr-rt5651], device 0: Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: bytcrrt5651 [bytcr-rt5651], device 1: Deep-Buffer Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

pacmd list-cards

Code: Select all

1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_02.0-platform-hdmi-lpe-audio>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "0"
		alsa.card_name = "Intel HDMI/DP LPE Audio"
		alsa.long_card_name = "Intel HDMI/DP LPE Audio"
		alsa.driver_name = "snd_hdmi_lpe_audio"
		device.bus_path = "pci-0000:00:02.0-platform-hdmi-lpe-audio"
		sysfs.path = "/devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "22b0"
		device.product.name = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers"
		device.string = "0"
		device.description = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:stereo-fallback: Stereo Output (priority 5100, available: unknown)
		output:multichannel-output: Multichannel Output (priority 100, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:stereo-fallback>
	sinks:
		alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.stereo-fallback/#0: Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers Stereo
	sources:
		alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.stereo-fallback.monitor/#0: Monitor of Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers Stereo
	ports:
		analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
		multichannel-output: Multichannel Output (priority 0, latency offset 0 usec, available: unknown)
			properties:
				

dmesg | grep snd

Code: Select all

[   10.126199] bytcr_rt5651 bytcr_rt5651: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
[   10.126944] bytcr_rt5651 bytcr_rt5651: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok

User avatar
MrEen
Level 17
Level 17
Posts: 7065
Joined: Mon Jun 12, 2017 8:39 pm

Re: New user to Linux Mint 19.2 Tina has no sound

Post by MrEen »

Yeah, we finally found it!!:

Code: Select all

card 1: bytcrrt5651 [bytcr-rt5651], device 0: Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: bytcrrt5651 [bytcr-rt5651], device 1: Deep-Buffer Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
It's a different codec than I was expecting, but that's fine. Do these one line at a time in the terminal:

Code: Select all

cd ~/
apt install git
git clone https://github.com/plbossart/UCM.git
sudo cp -rf ~/UCM/bytcr-rt5651 /usr/share/alsa/ucm
sudo cp ~/UCM/bytcr-rt5651/asound.state /var/lib/alsa
sudo alsa force-reload
The sound may start working right away. You could need a reboot first. And we may need to blacklist the HDMI card before the sound starts working. We'll deal with that when we get there.

Post Reply

Return to “Sound, Multimedia, & Codecs”