LinuxQuestions.org
Visit Jeremy's Blog.
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 04-24-2019, 10:52 AM   #16
Adilek
LQ Newbie
 
Registered: Apr 2019
Posts: 3

Rep: Reputation: Disabled

These are the steps how I make it work:

1. Installed ALSA daily build (https://launchpad.net/~ubuntu-audio-...aily/+packages).
The problem here is perhaps you wont be able to compile (or install) correctly because the prefix of kernel version need to match yours. You achieve simply by changing kernel_version file in the sources. Then compile it (dpkg-buildpackage -us -uc -ui). Install generated deb file.

2. In /etc/modprobe.d/alsa-base.conf file add the following line:
Code:
options snd-hda-intel model=alc225-wyse
3.
Code:
sudo alsa force-reload
4. Reboot

After that sound works fine with headphones. But speakers do not work yet.

I will search for solution for speakers. If I can find some solution I will change the drivers and let you know.
 
Old 04-28-2019, 01:27 PM   #17
Yanis3001
LQ Newbie
 
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hi,

I didn't manage to make it work sadly, neither you're solution for headphone neither a for speakers... But it's my fault, I've broken things even more while trying to make things work. I think I'm gonna reinstall everything and retry from the beginning, it's going to be easier.

Did you find anything more ?

Thank you
 
Old 05-11-2019, 02:16 PM   #18
Yanis3001
LQ Newbie
 
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13

Original Poster
Rep: Reputation: Disabled
Good evening,

Have you or anyone else found anything ?
I'm still searching but I don't have much time so I'm barely making any progress...

I'm really hoping you find a solution

Thank you very much
 
Old 05-11-2019, 02:45 PM   #19
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
did you adjust the mixer levels? Things are muted and set to 0% volume by default.

$ alsamixer -c 0

$ cat /proc/asound/cards

$ amixer contents
$ amixer controls

Also make sure the user is in the audio group. Most likely is if your headphones work.

$ groups
 
Old 05-14-2019, 10:33 AM   #20
Yanis3001
LQ Newbie
 
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hello,

It's not muted in alsamixer.

The outputs of the following commands are :

Code:
yanis@NoName:~$ groups
yanis adm cdrom sudo audio dip plugdev lpadmin sambashare
Code:
yanis@NoName:~$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xdf638000 irq 132
Code:
yanis@NoName:~$ amixer contents
numid=39,iface=CARD,name='HDMI/DP,pcm=10 Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=15,iface=CARD,name='HDMI/DP,pcm=3 Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=21,iface=CARD,name='HDMI/DP,pcm=7 Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=27,iface=CARD,name='HDMI/DP,pcm=8 Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=33,iface=CARD,name='HDMI/DP,pcm=9 Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=11,iface=CARD,name='Internal Mic Phantom Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=on
numid=10,iface=CARD,name='Mic Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=on
numid=12,iface=CARD,name='Speaker Phantom Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=on
numid=2,iface=MIXER,name='Master Playback Switch'
  ; type=BOOLEAN,access=rw------,values=2
  : values=on,on
numid=1,iface=MIXER,name='Master Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=127,step=0
  : values=102,102
  | dBscale-min=-63.50dB,step=0.50dB,mute=0
numid=50,iface=MIXER,name='PCM Playback Volume'
  ; type=INTEGER,access=rw---RW-,values=2,min=0,max=255,step=0
  : values=255,0
  | dBscale-min=-51.00dB,step=0.20dB,mute=0
numid=8,iface=MIXER,name='Mic Boost Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
  : values=0,0
  | dBscale-min=0.00dB,step=10.00dB,mute=0
numid=5,iface=MIXER,name='Mic Playback Switch'
  ; type=BOOLEAN,access=rw------,values=2
  : values=off,off
numid=4,iface=MIXER,name='Mic Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
  : values=0,0
  | dBscale-min=-34.50dB,step=1.50dB,mute=0
numid=7,iface=MIXER,name='Capture Switch'
  ; type=BOOLEAN,access=rw------,values=2
  : values=on,on
numid=6,iface=MIXER,name='Capture Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=127,step=0
  : values=91,91
  | dBscale-min=-33.50dB,step=0.50dB,mute=0
numid=3,iface=MIXER,name='Loopback Mixing'
  ; type=ENUMERATED,access=rw------,values=1,items=2
  ; Item #0 'Disabled'
  ; Item #1 'Enabled'
  : values=0
numid=16,iface=MIXER,name='IEC958 Playback Con Mask'
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=22,iface=MIXER,name='IEC958 Playback Con Mask',index=1
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=28,iface=MIXER,name='IEC958 Playback Con Mask',index=2
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=34,iface=MIXER,name='IEC958 Playback Con Mask',index=3
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=40,iface=MIXER,name='IEC958 Playback Con Mask',index=4
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=17,iface=MIXER,name='IEC958 Playback Pro Mask'
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=23,iface=MIXER,name='IEC958 Playback Pro Mask',index=1
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=29,iface=MIXER,name='IEC958 Playback Pro Mask',index=2
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=35,iface=MIXER,name='IEC958 Playback Pro Mask',index=3
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=41,iface=MIXER,name='IEC958 Playback Pro Mask',index=4
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=18,iface=MIXER,name='IEC958 Playback Default'
  ; type=IEC958,access=rw------,values=1
  : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00]
numid=24,iface=MIXER,name='IEC958 Playback Default',index=1
  ; type=IEC958,access=rw------,values=1
  : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00]
numid=30,iface=MIXER,name='IEC958 Playback Default',index=2
  ; type=IEC958,access=rw------,values=1
  : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00]
numid=36,iface=MIXER,name='IEC958 Playback Default',index=3
  ; type=IEC958,access=rw------,values=1
  : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00]
numid=42,iface=MIXER,name='IEC958 Playback Default',index=4
  ; type=IEC958,access=rw------,values=1
  : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00]
numid=19,iface=MIXER,name='IEC958 Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=off
numid=25,iface=MIXER,name='IEC958 Playback Switch',index=1
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=31,iface=MIXER,name='IEC958 Playback Switch',index=2
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=37,iface=MIXER,name='IEC958 Playback Switch',index=3
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=43,iface=MIXER,name='IEC958 Playback Switch',index=4
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=9,iface=MIXER,name='Internal Mic Boost Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0
  : values=0,0
  | dBscale-min=0.00dB,step=10.00dB,mute=0
numid=14,iface=PCM,name='Capture Channel Map'
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=0,0
  | container
    | chmap-fixed=FL,FR

numid=13,iface=PCM,name='Playback Channel Map'
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=0,0
  | container
    | chmap-fixed=FL,FR

numid=20,iface=PCM,name='ELD',device=3
  ; type=BYTES,access=r--v----,values=0
  : values=
numid=45,iface=PCM,name='Playback Channel Map',device=3
  ; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
  : values=0,0,0,0,0,0,0,0
  | container
    | chmap-variable=FL,FR

numid=26,iface=PCM,name='ELD',device=7
  ; type=BYTES,access=r--v----,values=0
  : values=
numid=46,iface=PCM,name='Playback Channel Map',device=7
  ; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
  : values=0,0,0,0,0,0,0,0
  | container
    | chmap-variable=FL,FR

numid=32,iface=PCM,name='ELD',device=8
  ; type=BYTES,access=r--v----,values=0
  : values=
numid=47,iface=PCM,name='Playback Channel Map',device=8
  ; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
  : values=0,0,0,0,0,0,0,0
  | container
    | chmap-variable=FL,FR

numid=38,iface=PCM,name='ELD',device=9
  ; type=BYTES,access=r--v----,values=0
  : values=
numid=48,iface=PCM,name='Playback Channel Map',device=9
  ; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
  : values=0,0,0,0,0,0,0,0
  | container
    | chmap-variable=FL,FR

numid=44,iface=PCM,name='ELD',device=10
  ; type=BYTES,access=r--v----,values=0
  : values=
numid=49,iface=PCM,name='Playback Channel Map',device=10
  ; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
  : values=0,0,0,0,0,0,0,0
  | container
    | chmap-variable=FL,FR
Code:
yanis@NoName:~$ amixer controls
numid=39,iface=CARD,name='HDMI/DP,pcm=10 Jack'
numid=15,iface=CARD,name='HDMI/DP,pcm=3 Jack'
numid=21,iface=CARD,name='HDMI/DP,pcm=7 Jack'
numid=27,iface=CARD,name='HDMI/DP,pcm=8 Jack'
numid=33,iface=CARD,name='HDMI/DP,pcm=9 Jack'
numid=11,iface=CARD,name='Internal Mic Phantom Jack'
numid=10,iface=CARD,name='Mic Jack'
numid=12,iface=CARD,name='Speaker Phantom Jack'
numid=2,iface=MIXER,name='Master Playback Switch'
numid=1,iface=MIXER,name='Master Playback Volume'
numid=50,iface=MIXER,name='PCM Playback Volume'
numid=8,iface=MIXER,name='Mic Boost Volume'
numid=5,iface=MIXER,name='Mic Playback Switch'
numid=4,iface=MIXER,name='Mic Playback Volume'
numid=7,iface=MIXER,name='Capture Switch'
numid=6,iface=MIXER,name='Capture Volume'
numid=3,iface=MIXER,name='Loopback Mixing'
numid=16,iface=MIXER,name='IEC958 Playback Con Mask'
numid=22,iface=MIXER,name='IEC958 Playback Con Mask',index=1
numid=28,iface=MIXER,name='IEC958 Playback Con Mask',index=2
numid=34,iface=MIXER,name='IEC958 Playback Con Mask',index=3
numid=40,iface=MIXER,name='IEC958 Playback Con Mask',index=4
numid=17,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=23,iface=MIXER,name='IEC958 Playback Pro Mask',index=1
numid=29,iface=MIXER,name='IEC958 Playback Pro Mask',index=2
numid=35,iface=MIXER,name='IEC958 Playback Pro Mask',index=3
numid=41,iface=MIXER,name='IEC958 Playback Pro Mask',index=4
numid=18,iface=MIXER,name='IEC958 Playback Default'
numid=24,iface=MIXER,name='IEC958 Playback Default',index=1
numid=30,iface=MIXER,name='IEC958 Playback Default',index=2
numid=36,iface=MIXER,name='IEC958 Playback Default',index=3
numid=42,iface=MIXER,name='IEC958 Playback Default',index=4
numid=19,iface=MIXER,name='IEC958 Playback Switch'
numid=25,iface=MIXER,name='IEC958 Playback Switch',index=1
numid=31,iface=MIXER,name='IEC958 Playback Switch',index=2
numid=37,iface=MIXER,name='IEC958 Playback Switch',index=3
numid=43,iface=MIXER,name='IEC958 Playback Switch',index=4
numid=9,iface=MIXER,name='Internal Mic Boost Volume'
numid=14,iface=PCM,name='Capture Channel Map'
numid=13,iface=PCM,name='Playback Channel Map'
numid=20,iface=PCM,name='ELD',device=3
numid=45,iface=PCM,name='Playback Channel Map',device=3
numid=26,iface=PCM,name='ELD',device=7
numid=46,iface=PCM,name='Playback Channel Map',device=7
numid=32,iface=PCM,name='ELD',device=8
numid=47,iface=PCM,name='Playback Channel Map',device=8
numid=38,iface=PCM,name='ELD',device=9
numid=48,iface=PCM,name='Playback Channel Map',device=9
numid=44,iface=PCM,name='ELD',device=10
numid=49,iface=PCM,name='Playback Channel Map',device=10
My headphone don't work, in fact, I tried his solution which did not work.
I've restored everything since that to be sure I didn't break anything more.
 
Old 05-14-2019, 08:46 PM   #21
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
Are you using the HDMI audio? Is there a DVI adapter in the mix? DVI is basically HDMI without ANY audio.

$ speaker-test -c 2 -l 1 -D hw:0,0
(the default, should be speakers if on a laptop)

$ speaker-test -c 2 -l 1 -D hw:0,3
$ speaker-test -c 2 -l 1 -D hw:0,7
$ speaker-test -c 2 -l 1 -D hw:0,8
$ speaker-test -c 2 -l 1 -D hw:0,9
$ speaker-test -c 2 -l 1 -D hw:0,10
(the HDMI options depending on what thing is plug into what thing.)
(some of which depends on the volume level set in the hardware / monitor)

Which could not work at all if pulseaudio or jackd is in play. -D jack, -D pulse, -D default, and other options depending on configuration settings.
 
Old 05-14-2019, 10:22 PM   #22
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
you must be in some ubuntu system I guess install alsamixer start the alsamixer set your channel.
Obviously the output is set to incorrect channel. Remember alsa is part of the kernel. alsamixer is the sound server.

pulseaudio is a soundserver that requires alsa libraries and alsamixer. now install pavucontrol
and make sure you can run both servers. configure your default device with alsamixer.

after you got things right. use pavucontrol. if using jackd or jack2 with pulseaudio read read read,
https://github.com/Drakeo/jack-pulse...e-jack-scripts
remember if installing jackd or jack2 you must rebuild pulse audio and alsa-plugins and ffmpeg againt it.
or install ubuntu studio. or learn linux install slackware.
https://github.com/Drakeo/jack-pulse...aster/examples

Last edited by Drakeo; 05-14-2019 at 10:24 PM.
 
Old 05-15-2019, 03:28 PM   #23
Yanis3001
LQ Newbie
 
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13

Original Poster
Rep: Reputation: Disabled
I didn't figure it out yet but I've got a few things. And, yes i'm running ubuntu 19.04, kernel 5.0.0-15-generic on a samsung galaxy book 12.

First of all, pavucontrol is showing that sound is playing, even though i can't hear anything. And I don't really know if it's linked but when I go on the microphone tab in pavucontrol, I can see that the computer records the sounds.
This should be good.

Sadly, the speaker-test are not working, any of them:
Code:
yanis@NoName:~$ sudo speaker-test -c 2 -l 1 -D hw:0,0

speaker-test 1.1.8

Playback device is hw:0,0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy

And what do you mean the output is set to the wrong channel ?
I don't really know anything about sound. Never got any problem with it actually.

And guys, I have never heard of jackd or jack2 ?
What is it ?

PS: I'm going to some research on my own, I'm just posting that in case you have time to explain or if it helps you figuring something more.

Thank you very much in any case
 
Old 05-15-2019, 08:15 PM   #24
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
If pulseaudio is running, trying to access alsa natively won't work. And you do NOT need sudo if you have permissions, aka in the audio group (obviously are if headphones work).

$ speaker-test -c 2 -l 1 -D pulse

$ speaker-test -c 2 -l 1 -D default

Although -D pulse doesn't work on my current setup. It did when I had pulseaudio networked. Probably just a matter of setting up .asoundrc to use that naming convention. Works now that I made that file with that reference.

$ cat .asoundrc
Code:
pcm.pulse    { type pulse  fallback "sysdefault" }
ctl.pulse    { type pulse  fallback "sysdefault" }
pcm.!default { type pulse  fallback "sysdefault" }
ctl.!default { type pulse  fallback "sysdefault" }
 
Old 05-16-2019, 10:40 AM   #25
Yanis3001
LQ Newbie
 
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13

Original Poster
Rep: Reputation: Disabled
Well, in fact, the sound is not working in headphones.
But, I'm for sure in the audio group.

I tried making the same .asoundrc but I can't hear any difference.

Can't the problem come from the sound card driver ?

And the sound is working on Bluetooth so i was wondering if bluetooth needed alsa and pulseaudio.
Because if bluetooth needs a functioning alsa and pulseaudio, i can be sure that they are both correctly functioning. It could help narrowing down the origin of the problem.
 
Old 05-16-2019, 11:44 AM   #26
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
There's bluealsa to not need pulseaudio, but in general it works easiest with pulseaudio. Not sure if that needs alsa though. I only ever had one bluetooth headset and it sucked, so I gave it away. It worked fine with the pocketchip, even at 80'-ish. Although the module to have it auto bluetooth on connect was a bit flaky. Granted an old distro + 1GHz cpu on a low ram embedded device of sorts.

About all the .asoundrc would do in the previous was give " -D pulse " a place to go. It's also the config needed for a pulse over jackd configuration. What I normally do when I network audio. AKA many machines, one good sound card, one good set of speakers. Most of my sound cards use the snd-usb-audio driver and function nicely. I've had snd-hda-intel devices before and they can be flaky, but generally do work with the right kernel version, and perhaps some extra parameters to the module. Or in the software that uses it. Like " -p 3 " ( -p 2 default ) for jack. It works without that but sound gets distorted and weird.

You could google the vender:device numbers for yours and see if others have your issues. That seems the most "unique" way of identification, since seo and other things muddy the waters for any other searches. More so these days than days of old. Google one way mirrors and get 15 pages of one way airline tickets before you get to anything about mirrors. Or so it seems.

lspci -nnk
Code:
00:09.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Device [1022:157a]
	Subsystem: Hewlett-Packard Company Device [103c:81f9]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
so google 1022:157a (in my case)

lsusb
Code:
Bus 001 Device 008: ID 1235:8202 Focusrite-Novation
for my focusrite 2i2 usb soundcard. So google 1235:8202 on that one.
 
Old 06-11-2019, 09:27 PM   #27
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410

Rep: Reputation: 141Reputation: 141
I was just doing some searching and found this thread. I don't have my sound working completely, either, but it's on an ASUS VC66-C with Realtek HD Audio. You might want to look through my thread where Shadow 7 has attempted to help me, to see if you get any ideas from what I've done and what progress I've made. I've at least got my headphones working, even if the HDMI sound output doesn't. I've taken what I've found at multiple sites and their sound threads, along with Shadow 7's input, to get as far as I have, so some of it may be helpful. Mostly, it's just a few settings in /etc/modprobe.d/snd_hda_intel.conf and modesetting.conf (for i915 error).

Sound continues to be the sticking point for "Linux to the masses".

https://www.linuxquestions.org/quest...ed-4175655147/
 
Old 02-21-2020, 03:59 PM   #28
ilker4fun
LQ Newbie
 
Registered: Feb 2020
Posts: 23

Rep: Reputation: Disabled
I have Galaxy Book 10.6 (W620) with the same problem on ubuntu 19.04. I have tried many solutions on the internet like "options snd-hda-intel model=mono-speakers" with no luck. Has anybody found a solution for this sound problem?

Thanks in advance
 
Old 02-21-2020, 06:56 PM   #29
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
OP

in post 11 there is a link to a thread....that I actually replied to. Not that the OP to that thread has yet deemed me worthy to respond to.

Never the less...we need to be careful about grasping at other posts but some are misleading.

OP has Samsung Galaxy Book 12 ....using ALC298
Unfortunately in post 16 a solution was offered that may have suggested set your model to alc225.
but we can set your model to alc298.....using a similar method.

so first lets look at alc298 model=string permutations.

Quote:
ALC22x/23x/25x/269/27x/28x/29x (and vendor-specific ALC3xxx models)
======
laptop-amic Laptops with analog-mic input
laptop-dmic Laptops with digital-mic input
alc269-dmic Enable ALC269(VA) digital mic workaround
alc271-dmic Enable ALC271X digital mic workaround
inv-dmic Inverted internal mic workaround
headset-mic Indicates a combined headset (headphone+mic) jack
headset-mode More comprehensive headset support for ALC269 & co
headset-mode-no-hp-mic Headset mode support without headphone mic
lenovo-dock Enables docking station I/O for some Lenovos
hp-gpio-led GPIO LED support on HP laptops
dell-headset-multi Headset jack, which can also be used as mic-in
dell-headset-dock Headset jack (without mic-in), and also dock I/O
alc283-dac-wcaps Fixups for Chromebook with ALC283
alc283-sense-combo Combo jack sensing on ALC283
tpt440-dock Pin configs for Lenovo Thinkpad Dock support
ref
https://elixir.bootlin.com/linux/v4....dio-Models.txt

Now do you want sound from laptop speakers and inserted headphones?
----you need analog sound

If you want a fancy surround sound via hdmi cable you need hdmi...which needs a different setting.

we can eliminate all those that specify alc2 <not 9> and some hardware models too

so at first glance it looks like we have only model=laptop-amic where the A refers to analog.


#########################

Please undo any changes you made /etc/modprobe.d/alsa-base.conf

Can you confirm will run any suggestions by me as a local user.....that is....a non-root user.
And can you confirm that
Code:
sudo su
will give you root ...if we need it for multiple root powered commands.

Unfortunately I disagree with some other assertions here....that you can not run alsa commands if Pulseaudio (PA) is also running.
I can prove it on my system....but just pointing it out....PA is a front end its not a back end.
PA can interfere with alsa....but if alsa sound works....we can spank PA and make it behave later

I prefer to leave /etc/modprobe.d/alsa-base.conf unaltered and create a new file.

only after fixing up above file we try this

Code:
sudo su
input your local user password and you are now root and copy and paste the following

Code:
FILE=/etc/modprobe.d/model.conf
[ -f $FILE ] || echo 'options snd_hda_intel model=laptop-amic' > $FILE
cat $FILE
here is link of proof of what it should do to your system file
https://imgur.com/67xJ7Mh

Next I am a simple person so we do a full reboot to test analog sound.

Also I am assuming you have not made any changes to /etc/pulse
or .config/pulse
or made a .asoundrc
or made any other changes to sound configs under /etc

after reboot copy and paste this command as a local user please
Code:
alsamixer -c0 -Vall
take a screenshot of it and upload to ingur.com and then link to it ...like I have done.

Next tell us do you now have sound etc etc
Getting the mixer level right....getting certain alsa controls right....can over ride PA because
PA has no way of dealing with model=string etc.

Last edited by aus9; 02-21-2020 at 07:30 PM.
 
Old 02-22-2020, 05:00 AM   #30
ilker4fun
LQ Newbie
 
Registered: Feb 2020
Posts: 23

Rep: Reputation: Disabled
Firstly, thank you for your attention. As you said, I went back to default alsa-base.config. Since I didn't modify anything other than this file, I went to square one.
After that, I wrote your code in the terminal and rebooted my tablet. Unfortunately, after reboot, I still can't hear any sound both speaker and headset.

Here is the SS link you requested:
https://imgur.com/a/jJqNVpe
 
  


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 01:35 PM.

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
Open Source Consulting | Domain Registration