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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
02-05-2019, 04:24 PM
|
#1
|
LQ Newbie
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13
Rep: 
|
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 =).
|
|
|
02-06-2019, 01:08 PM
|
#2
|
LQ Newbie
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13
Original Poster
Rep: 
|
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.
|
|
|
02-06-2019, 02:08 PM
|
#3
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
Are you using Kali for pen testing from this device?
|
|
|
02-06-2019, 03:36 PM
|
#4
|
LQ Newbie
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13
Original Poster
Rep: 
|
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 ?
|
|
|
02-06-2019, 03:56 PM
|
#5
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
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?
|
|
|
02-06-2019, 04:04 PM
|
#6
|
LQ Newbie
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13
Original Poster
Rep: 
|
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
|
|
|
02-07-2019, 07:21 AM
|
#7
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
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!)
|
|
|
02-07-2019, 12:52 PM
|
#8
|
LQ Newbie
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13
Original Poster
Rep: 
|
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.
|
|
|
02-07-2019, 01:07 PM
|
#9
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
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.
|
|
|
02-07-2019, 01:23 PM
|
#10
|
LQ Newbie
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13
Original Poster
Rep: 
|
You're a life saver =)
Thank you so much
|
|
|
02-07-2019, 04:35 PM
|
#11
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
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.
|
|
|
04-20-2019, 03:01 PM
|
#12
|
LQ Newbie
Registered: Apr 2019
Posts: 3
Rep: 
|
Hello,
I am also having sound problem with my Samsung Pen S Laptop. It uses intel hda with realtek ALC298 chip.
I installed ALSA driver from daily builds and now there is some progress. If I use headphones there is a sound, however it has very low volume and distorted sound. Speaker is unavailable at all.
When I add the following line in /etc/modprobe.d/alsa-base.conf:
options snd-hda-intel model=alc298-dell1
Speakers are activated but still no sound (or maybe very low). The headphones has clean sound for 2-3 minutes but the volume is super-low. After 2-3 minutes the same distorted sound comes.
Are there any ideas? Did someone find a solution?
Thanks.
|
|
|
04-23-2019, 03:22 AM
|
#13
|
LQ Newbie
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13
Original Poster
Rep: 
|
Hi,
No still can't find a solution, didn't search a lot more tho. I found a few things like you but nothing that really works.
One interresting thing is that sound works absolutly perfectly with a bluetooth speaker. I think this might help us figuring out the origin of the problem but I don't have enough knowledge.
I'd really like to make it work and I'll keep you update if I find something.
Thank you
|
|
|
04-23-2019, 03:41 AM
|
#14
|
LQ Newbie
Registered: Apr 2019
Posts: 3
Rep: 
|
Hi,
Thank you for the information.
In case of bluetooth it uses different device and drivers. The same applies for hdmi. In my case sound works perfect with HDMI.
Yesterday I was able to make it work with earphones. But still no sound from speakers. It is strange. I will try more and tell you details. I will provide my solution soon (I am writing from mobile now).
|
|
|
04-24-2019, 08:57 AM
|
#15
|
LQ Newbie
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13
Original Poster
Rep: 
|
I hope so much you're gonna find. I'm still searching but I don't have much hope...
|
|
|
All times are GMT -5. The time now is 05:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|