LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-05-2019, 04:24 PM   #1
Yanis3001
LQ Newbie
 
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 6

Rep: Reputation: Disabled
No Sound with Intel(R) Display Audio and Realtek High Def Audio (Galaxy Book 12)


Good Evening,
So, this is my first post on this forum and I'm trying to make Kali Linux (not easiest to make work but not hardest tho and i need it) work on my new Samsung Galaxy Book 12. Making the WiFi work was a pain but I think making the sound work will be even worst because I don't know anything about sound in Linux, I've made some research but everything I tried seems to tell me that everything is fine. I don't have any more ideas on how to troubleshoot the problem. You will find bellow outputs that might help you figure out the problems. In any case, thank you for your help =).

Code:
root@kali:/home/kali# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC298 Analog [ALC298 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
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Code:
amixer -c0 scontrols
Simple mixer control 'Master',0
Simple mixer control 'PCM',0
Simple mixer control 'Mic',0
Simple mixer control 'Mic Boost',0
Simple mixer control 'IEC958',0
Simple mixer control 'IEC958',1
Simple mixer control 'IEC958',2
Simple mixer control 'IEC958',3
Simple mixer control 'IEC958',4
Simple mixer control 'Capture',0
Simple mixer control 'Internal Mic Boost',0
Simple mixer control 'Loopback Mixing',0
This gives me no sound at all :
Code:
speaker-test -c2 -t wav

speaker-test 1.1.7

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
 1 - Front Right
Time per period = 3.037324
Code:
root@kali:/home/kali# lspci -v | grep -B1 -A12 -i audio

00:1f.3 Multimedia audio controller: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
    Subsystem: Samsung Electronics Co Ltd Sunrise Point-LP HD Audio
    Flags: bus master, fast devsel, latency 32, IRQ 131
    Memory at df638000 (64-bit, non-prefetchable) [size=16K]
    Memory at df600000 (64-bit, non-prefetchable) [size=64K]
    Capabilities: [50] Power Management version 3
    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel, snd_soc_skl

00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
    Subsystem: Samsung Electronics Co Ltd Sunrise Point-LP SMBus
    Flags: medium devsel, IRQ 16
    Memory at df642000 (64-bit, non-prefetchable) [size=256]
Code:
sudo lshw | grep -B4 -A10 -i audio
             clock: 33MHz (30.3ns)
             configuration: latency=0
             resources: memory:df63c000-df63ffff
        *-multimedia:2
             description: Multimedia audio controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 21
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=snd_hda_intel latency=32
             resources: irq:131 memory:df638000-df63bfff memory:df600000-df60ffff
Code:
dmesg | grep intel
[    1.421121] intel_idle: MWAIT substates: 0x11142120
[    1.421122] intel_idle: v0.4.1 model 0x8E
[    1.421343] intel_idle: lapic_timer_reliable_states 0xffffffff
[    1.425944] intel_pstate: Intel P-state driver initializing
[    1.426174] intel_pstate: HWP enabled
[    1.603338] intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
[    1.639411] intel-lpss 0000:00:15.1: enabling device (0000 -> 0002)
[    2.708103] intel-lpss 0000:00:15.2: enabling device (0000 -> 0002)
[    2.716481] intel-lpss 0000:00:15.3: enabling device (0000 -> 0002)
[    2.722129] intel-lpss 0000:00:19.0: enabling device (0000 -> 0002)
[    2.722869] intel-lpss 0000:00:1e.0: enabling device (0000 -> 0002)
[    4.847892] fb: switching to inteldrmfb from EFI VGA
[    4.904511] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    5.029174] intel_rapl: Found RAPL domain package
[    5.029175] intel_rapl: Found RAPL domain core
[    5.029176] intel_rapl: Found RAPL domain uncore
[    5.029177] intel_rapl: Found RAPL domain dram
[    5.407689] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.409664] fbcon: inteldrmfb (fb0) is primary device
[    6.636465] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
Code:
lsmod | grep intel
snd_soc_acpi_intel_match    24576  1 snd_soc_skl
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_soc_skl
intel_rapl             24576  0
intel_powerclamp       16384  0
btintel                24576  1 btusb
snd_hda_intel          45056  7
bluetooth             643072  5 btrtl,btintel,btbcm,btusb
snd_hda_codec         151552  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
kvm_intel             241664  0
snd_hda_core           94208  7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_skl
kvm                   729088  1 kvm_intel
snd_pcm               114688  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core
intel_cstate           16384  0
snd                    94208  23 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
intel_uncore          135168  0
intel_rapl_perf        16384  0
intel_soc_dts_iosf     16384  1 processor_thermal_device
intel_pch_thermal      16384  0
intel_vbtn             16384  0
sparse_keymap          16384  1 intel_vbtn
crc32c_intel           24576  2
ghash_clmulni_intel    16384  0
aesni_intel           200704  4
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
intel_lpss_pci         20480  0
intel_lpss_acpi        16384  0
intel_lpss             16384  2 intel_lpss_pci,intel_lpss_acpi
If you've read till here tank you so much and have a nice evening =).
 
Old 02-06-2019, 01:08 PM   #2
Yanis3001
LQ Newbie
 
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 6

Original Poster
Rep: Reputation: Disabled
I've seen that there are a lot of views but no answer, so I'm wondering if I asked for help in the right place ? Or is my title is not so relevent ? Or something like that. If it's not the right place, or if the question is not ask correctly, feel free to tell =)

Or just if I did not give enough information, you can ask for more.

PS: I'm not asking for a complete tutorial to make it work just a direction to search.

Thank you so much.
 
Old 02-06-2019, 02:08 PM   #3
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: None, just FreeBSD
Posts: 735

Rep: Reputation: Disabled
Are you using Kali for pen testing from this device?
 
Old 02-06-2019, 03:36 PM   #4
Yanis3001
LQ Newbie
 
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 6

Original Poster
Rep: Reputation: Disabled
Accually, I am, and I know it's not the best device for it but it's the only device I've got for know. And I don't absolutely need sound but it's frustrating not to undestand and find a solution for a problem.

Do you have any idea of where the problem might come from ?
 
Old 02-06-2019, 03:56 PM   #5
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: None, just FreeBSD
Posts: 735

Rep: Reputation: Disabled
I do not - I am a pen tester but have no need of sound. It could be as easy as installing alsamixer and unmuting - I don't know what kali uses for sound, or if it even has a sound backend. Does kali have alsa or (shudder) pulseaudio?
 
Old 02-06-2019, 04:04 PM   #6
Yanis3001
LQ Newbie
 
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 6

Original Poster
Rep: Reputation: Disabled
Well I'm not 100% sure but I think everything comes preinstalled. But I reinstalled everything (not sure everything is intalled correctly tho) so I've got everything needed to make sound work.
Would you have anyway to test if everything is installed correctly ? From what I know and what I've found on the internet, everything is installed correctly but I think the problem can only come from here or from the drivers somehow maybe...
And yes, I tried installing alsamixer and unmuting but it didn't work sadly... That was the first I did accually.

In any case, thank you for your help
 
Old 02-07-2019, 07:21 AM   #7
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: None, just FreeBSD
Posts: 735

Rep: Reputation: Disabled
Apparently Kali does use pulseaudio - I did find quite a few threads on the web about kali and no sound. Not sure if you've tried anything with pulseaudio.

Here is one solution I found: https://unix.stackexchange.com/quest...-on-kali-linux

systemctl --user enable pulseaudio && systemctl --user start pulseaudio

The first solution on that page was to install and use alsamixer, which you have already done. Give the pulseaudio solution a try, can't hurt anything (famous last words!)
 
Old 02-07-2019, 12:52 PM   #8
Yanis3001
LQ Newbie
 
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 6

Original Poster
Rep: Reputation: Disabled
I've tried these solutions, and, sadly, nothing worked for me.
I have absolutely no idea what could be the problem, do you think I could send you anything that might help you to find out ?
Thank you so much for your interest in my problem because there is no way I'm solving this one on my own.
 
Old 02-07-2019, 01:07 PM   #9
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: None, just FreeBSD
Posts: 735

Rep: Reputation: Disabled
Oh no worries, I like a challenge! I am at work at the moment so will take a look again at your hardware output to see what I can come up with. I'll let you know if there is anything else I might need.
 
Old 02-07-2019, 01:23 PM   #10
Yanis3001
LQ Newbie
 
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 6

Original Poster
Rep: Reputation: Disabled
You're a life saver =)
Thank you so much
 
Old 02-07-2019, 04:35 PM   #11
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: None, just FreeBSD
Posts: 735

Rep: Reputation: Disabled
OK - found someone else with a galaxy book 10 and a similar issue: they tried installing pavucontrol but without success. Here is the thread link for your perusal: https://www.linuxquestions.org/quest...98-4175628193/

I hate reddit but found a thread on this here as well with a suggested solution that did not work for the OP but thought I'd include it: https://www.reddit.com/r/linux4noobs..._alc298_audio/

I did find that pulseaudio and alsa can compete for resources so not sure if that may cause a problem. I have not had sound issues in Linux for years so can't really give any personal experience in that regard. If you are starting pulseaudio with systemd, maybe make sure there alsa isn't starting as well.

According to my searches, the ALC298 chipset seems to be supported in Linux.

That's about all I could find for now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/bin/ld: errno TLS def.. mismatches non-TLS def.. maverick_pol Fedora 1 07-27-2007 10:50 AM
no sound on for realtek high def audio on ubuntu 5.10 sarathei Linux - Software 1 10-16-2006 10:20 AM
No sound on Intel High Def Audio on Fedora Core 3 ck1125 Linux - Hardware 2 06-06-2005 08:45 PM
Is there any app to convert emacs's syntax highlight def. file to vim's def. file ? cyu021 Linux - Software 0 10-05-2004 11:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration