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.
|
 |
|
04-24-2019, 10:52 AM
|
#16
|
LQ Newbie
Registered: Apr 2019
Posts: 3
Rep: 
|
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.
|
|
|
04-28-2019, 01:27 PM
|
#17
|
LQ Newbie
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13
Original Poster
Rep: 
|
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
|
|
|
05-11-2019, 02:16 PM
|
#18
|
LQ Newbie
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13
Original Poster
Rep: 
|
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
|
|
|
05-11-2019, 02:45 PM
|
#19
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
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
|
|
|
05-14-2019, 10:33 AM
|
#20
|
LQ Newbie
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13
Original Poster
Rep: 
|
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.
|
|
|
05-14-2019, 08:46 PM
|
#21
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
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.
|
|
|
05-14-2019, 10:22 PM
|
#22
|
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
|
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.
|
|
|
05-15-2019, 03:28 PM
|
#23
|
LQ Newbie
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13
Original Poster
Rep: 
|
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
|
|
|
05-15-2019, 08:15 PM
|
#24
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
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" }
|
|
|
05-16-2019, 10:40 AM
|
#25
|
LQ Newbie
Registered: Feb 2019
Distribution: Kali Linux, Arch Linux
Posts: 13
Original Poster
Rep: 
|
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.
|
|
|
05-16-2019, 11:44 AM
|
#26
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
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.
|
|
|
06-11-2019, 09:27 PM
|
#27
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410
Rep: 
|
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/
|
|
|
02-21-2020, 03:59 PM
|
#28
|
LQ Newbie
Registered: Feb 2020
Posts: 23
Rep: 
|
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
|
|
|
02-21-2020, 06:56 PM
|
#29
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
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
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
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.
|
|
|
02-22-2020, 05:00 AM
|
#30
|
LQ Newbie
Registered: Feb 2020
Posts: 23
Rep: 
|
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
|
|
|
All times are GMT -5. The time now is 01:35 PM.
|
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
|
|