You are not logged in.

#1 2019-05-25 08:19:08

xenobro
Member
Registered: 2019-05-25
Posts: 100

[SOLVED] No sound on laptop speakers

Hi, everyone.
About 2 days ago, my laptop speakers have stopped working, but I remember them working that morning. The only thing of note I had done was a system update that installed a new kernel.
Headphones, external and internal mikes, line out and S/PDIF (p2) all work with headsets and external speakers, although internal mic doesn't work on line out and S/PDIF is horrible, but the latter may be from me plugging common p2 headphones on its outlet... Even beeping only works during POST, before GRUB, or on headphones, external speakers, etc. after it.
This is a Positivo Mobile W98 from ~ 10 years ago, but it's my main PC right now, so I'd like to rule out software issues before trying to mess with hardware.
I'm using a pretty minimalistic config (e.g. evilwm as Window Manager), and as far as I can tell, there's no Pulseaudio installed, though the pactl command is here.
Anyway here's the output of some commands I've seen people using when dealing with these issues:

[x@archlinux ~]$ pacman -Q linux
linux 5.1.4.arch1-1
[x@archlinux ~]$ uname -a
Linux archlinux 5.1.4-arch1-1-ARCH #1 SMP PREEMPT Wed May 22 08:06:56 UTC 2019 x86_64 GNU/Linux
[x@archlinux ~]$ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
    HDA Intel, ALC883 Analog
    Default Audio Device
sysdefault:CARD=Intel
    HDA Intel, ALC883 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    Front speakers
surround21:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC883 Digital
    IEC958 (S/PDIF) Digital Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[x@archlinux ~]$ sudo fuser -v /dev/snd/*
[x@archlinux ~]$
[x@archlinux ~]$ dmesg|grep snd
[   19.614972] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC883: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   19.614977] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   19.614980] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[   19.614982] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   19.614985] snd_hda_codec_realtek hdaudioC0D0:    dig-out=0x1e/0x0
[   19.614987] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   19.614990] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x19
[   19.614993] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[   19.614995] snd_hda_codec_realtek hdaudioC0D0:      Line=0x1a
[x@archlinux ~]$ systemctl --user mask pulseaudio.socket
Unit pulseaudio.socket does not exist, proceeding anyway.
Created symlink /home/x/.config/systemd/user/pulseaudio.socket → /dev/null.
[x@archlinux ~]$ systemctl --user unmask pulseaudio.socket
Removed /home/x/.config/systemd/user/pulseaudio.socket.
[x@archlinux ~]$ systemctl --user stop pulseaudio
Failed to stop pulseaudio.service: Unit pulseaudio.service not loaded.
[x@archlinux ~]$ pulseaudio -vvv
bash: pulseaudio: command not found
[x@archlinux ~]$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 1 [8086:27d0] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 2 [8086:27d2] (rev 02)
00:1c.2 PCI bridge [0604]: Intel Corporation NM10/ICH7 Family PCI Express Port 3 [8086:27d4] (rev 02)
00:1d.0 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 02)
00:1d.1 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 [8086:27c9] (rev 02)
00:1d.2 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 [8086:27ca] (rev 02)
00:1d.3 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 [8086:27cb] (rev 02)
00:1d.7 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller [8086:27cc] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [IDE mode] [8086:27c4] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation NM10/ICH7 Family SMBus Controller [8086:27da] (rev 02)
02:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection [8086:4222] (rev 02)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 01)
06:07.0 CardBus bridge [0607]: Texas Instruments PCIxx12 Cardbus Controller [104c:8039]
06:07.1 FireWire (IEEE 1394) [0c00]: Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller [104c:803a]
06:07.2 Mass storage controller [0180]: Texas Instruments PCIxx12 Flash Media Controller [104c:803b]
06:07.3 SD Host controller [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller [104c:803c]

Also, none of the channels in alsamixer is muted, Auto-Mute Mode is disabled, most volumes are maxed or close, mics only work with Boost and Loopback mixing enabled, line out only works with 4ch or 6ch.
Thank you very much in advance.

Last edited by xenobro (2019-09-05 20:04:42)

Offline

#2 2019-05-25 12:24:39

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED] No sound on laptop speakers

there's no Pulseaudio installed, though the pactl command is here.

pactl comes with libpulse, that's the minimal required to satisfy applications built with pulseaudio support.
If you want to verify, run pacman -Qs pulse .

Where other things then the kernel (like alsa-utils ) updated ?
Please post /var/log/pacman.log from that day.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2019-05-26 12:11:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,415

Re: [SOLVED] No sound on laptop speakers

A lot of work has gone into jack detection recently, so you might see a kernel regression here. I'd check if a kernel downgrade or the LTS kernel exhibits the same issue.

Online

#4 2019-05-28 00:26:23

xenobro
Member
Registered: 2019-05-25
Posts: 100

Re: [SOLVED] No sound on laptop speakers

Thank you very much for your responses and sorry for taking so long to answer.

V1del, I'm hoping it won't come to that, but if it comes, do I just do this:

pacman -U https://archive.archlinux.org/packages/l/linux/linux-5.1.3.arch2-1-x86_64.pkg.tar.xz

Or do I have to do something else? Because the wiki seems to imply I should also downgrade/download virtual-host-modules, when the kernel package already has the modules in it, and the versions of linux-api-headers don't match the linux package.

Lone_Wolf, unfortunately my /var/log is on RAM and I also cleared pacman's cache and packages after checking if the "basics" were working. However I managed to approximate what was installed in the system in those days checking the kernel date on the boot folder (22/05), then trying to find everything installed in the system since that day in main folders and piping it to pacman to see which packages owned those files:

[x@archlinux ~]$ sudo find /boot /etc /usr -newermt "2019-05-22" ! -newermt "2019-05-23"|pacman -Qo - 2>/dev/null

The list was pretty big, mainly because many folders were "owned" by many different packages that weren't installed in that day, so I excluded them from the search; then left only the package names and versions, sorted them, cut off repeating lines and got these results for each day between 22/05 and 25/05:

[x@archlinux ~]$ sudo find /boot /etc /usr ! -path /etc/pam.d ! -path /etc/default ! -path /etc/dbus-1 ! -path '/usr/share/man/*' ! -path '/usr/share/licenses/*' \
! -path '/usr/share/locale/*' ! -path /usr/share/dbus-1 ! -path '/usr/share/icons/*' ! -path /usr/share/pixmaps ! -path '/usr/lib/systemd/*' ! -path /usr/lib/sysusers.d \
-newermt "2019-05-22" ! -newermt "2019-05-23"|pacman -Qo -|cut -d " " -f4,5|sort|uniq
alsa-lib 1.1.9-1
dbus 1.12.14-1
dbus-glib 0.110-1
firefox 67.0-1
js60 60.7.0-1
libwbclient 4.10.4-1
linux 5.1.4.arch1-1
mesa 19.0.5-1
mplayer 38139-1
smbclient 4.10.4-1
tslib 1.20-1
[x@archlinux ~]$ sudo find /boot /etc /usr ! -path '/usr/share/man/*' ! -path '/usr/share/locale/*' ! -path /usr/share/glib-2.0/schemas ! -path \
/usr/share/bash-completion/completions ! -path /usr/share/zsh/site-functions ! -path /usr/share/gettext/its ! -path /usr/share/libalpm/hooks ! -path /usr/lib/initcpio ! \
-path /usr/lib/initcpio/install ! -path /usr/lib/initcpio/hooks ! -path /usr/lib/initcpio/udev ! -path '/usr/lib/modules/5.1.4-arch1-1-ARCH/kernel/*' ! -path \
/usr/lib/cups/backend ! -path /boot ! -path /usr/share/gdb/auto-load/usr/lib ! -path /usr/lib/kernel/install.d -newermt "2019-05-23" ! -newermt "2019-05-24"|pacman -Qo - \
2>/dev/null|cut -d " " -f4,5|sort|uniq
cups 2.2.11-2
cups-filters 1.23.0-1
filesystem 2019.05-2
glib2 2.60.3-1
krb5 1.16.2-1
linux 5.1.4.arch1-1
mkinitcpio 25-2
[x@archlinux ~]$ sudo find /boot /etc /usr ! -path /usr/include/sys ! -path /usr/include/GLES ! -path /usr/include/GLES2 ! -path /usr/include/GLES3 ! -path \
/usr/include/GL ! -path /usr/include/GL/internal ! -path /usr/include/KHR ! -path /usr/include/EGL ! -path /usr/include/d3dadapter ! -path /usr/share ! -path \
'/usr/share/man/*' ! -path '/usr/share/locale/*' ! -path /usr/share/aclocal ! -path /usr/share/applications ! -path /usr/lib/systemd/system ! -path /usr/lib/udev/rules.d \
-newermt "2019-05-24" ! -newermt "2019-05-25"|pacman -Qo - 2>/dev/null|cut -d " " -f4,5|sort|uniq
alsa-lib 1.1.9-1
alsa-utils 1.1.9-1
harfbuzz 2.5.0-1
libcanberra 0.30+2+gc0620e4-2
libomxil-bellagio 0.9.3-2
mesa 19.0.5-1

I put the commands up because that may help someone else who also lost pacman's log, cache and packages, even if somethings seem strange, like the kernel and alsa-lib appearing twice in different days with the same version, but anyway we can see that alsa-lib, alsa-utils and the kernel were updated those days.
What should I do now? Downgrade alsa-lib and alsa-utils?

Thank you very much in advance,
xenobro.

Last edited by xenobro (2019-05-28 00:29:32)

Offline

#5 2019-05-29 02:55:55

xenobro
Member
Registered: 2019-05-25
Posts: 100

Re: [SOLVED] No sound on laptop speakers

Update: I downgraded alsa-lib, alsa-utils, zita-alsa-pcmi and mplayer in that order, rebooting each time, and the speakers still didn't work, even the beeps (except before GRUB, as I mentioned before).
So, if I should downgrade the kernel as V1del said, is it just the kernel or also headers, etc.? Also, the headers on the Archive don't exactly match the kernel package, so what should I do? Or should I try something else before that?

Once again,
Thank you very much in advance,
xenobro.

Offline

#6 2019-05-29 07:10:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,415

Re: [SOLVED] No sound on laptop speakers

The headers are "only" relevant if you need self built modules, if your only external module are the virtualbox-host-modules package then indeed you'd have to downgrade that to the relevantly compatible version as well (though if it's just for testing whether you can reproduce the jack event regression, it also wouldn't relevantly hurt to simply not load these, or do you have a VM that you absolutely must be able to use?

Online

#7 2019-05-31 13:51:22

xenobro
Member
Registered: 2019-05-25
Posts: 100

Re: [SOLVED] No sound on laptop speakers

Hi V1del, and once again, thanks for your help.
I only mentioned the virtual-box-host-modules and headers in my previous post because the wiki seemed to imply I had to mess with those to downgrade the kernel, but thankfully it was not the case: I checked the Arch Linux Archive to see which version(s) of the kernel matched the days the problem started and found that version 5.1.3.arch1-1 from 17/05 and version 5.1.3.arch2-1 from 22/05 should be the last ones to work with my laptop speakers. I then downgraded the kernel to those versions and voilà, they worked.
Just to be sure, I subsequently upgraded it to one by one of the newer versions (5.1.4.arch1-1, 5.1.5.arch1-1 and 5.1.5.arch2-1), and, again, there was no sound on my speakers.
While I'm happy to have it working again, I'm worried because it's been 3 updates and this problem hasn't gone away, so my system might eventually become unusable if can't upgrade the kernel anymore.
So my question is: should I just wait it out? Or file a bug somewhere? If so, where?
Oh, and should I mark this as "solved"? Just editing the thread title and writing "[SOLVED]"?

Thank you very much for your help,
xenobro.

Offline

#8 2019-06-05 13:50:51

xenobro
Member
Registered: 2019-05-25
Posts: 100

Re: [SOLVED] No sound on laptop speakers

Update: Laptop speakers still don't work with the newer versions (5.1.6.arch1-1, 5.1.7.arch1-1) of the kernel, but continue to work fine with 5.1.3.arch1-1 and 5.1.3.arch2-1. Should I move this thread to the "Kernel & Hardware section"? Or report a bug in Arch's Bugtracker?

Thank you very much in advance,
xenobro.

Offline

#9 2019-06-05 14:09:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,415

Re: [SOLVED] No sound on laptop speakers

Best would be better to report a bug upstream to the kernel developers, even better if you can identify the offending commit, since it is within the stable releases your version range will be small. What's your exact laptop model? I suspect one of these to have a hand

commit 8e9dbdd685abdd79169214527444e536eb4b0d60
Author: Michał Wadowski <wadosm@gmail.com>
Date:   Tue May 14 16:58:00 2019 +0200

    ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug
    
    commit 56df90b631fc027fe28b70d41352d820797239bb upstream.
    
    Add patch for realtek codec in Lenovo B50-70 that fixes inverted
    internal microphone channel.
    Device IdeaPad Y410P has the same PCI SSID as Lenovo B50-70,
    but first one is about fix the noise and it didn't seem help in a
    later kernel version.
    So I replaced IdeaPad Y410P device description with B50-70 and apply
    inverted microphone fix.
    
    Bugzilla: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1524215
    Signed-off-by: Michał Wadowski <wadosm@gmail.com>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

commit d018003ec035c87cdc27688799cb1fdc368122b8
Author: Kailang Yang <kailang@realtek.com>
Date:   Fri May 10 16:28:57 2019 +0800

    ALSA: hda/realtek - Fixup headphone noise via runtime suspend
    
    commit dad3197da7a3817f27bb24f7fd3c135ffa707202 upstream.
    
    Dell platform with ALC298.
    system enter to runtime suspend. Headphone had noise.
    Let Headset Mic not shutup will solve this issue.
    
    [ Fixed minor coding style issues by tiwai ]
    
    Signed-off-by: Kailang Yang <kailang@realtek.com>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

commit f15d4a2542c5bd95bdd34d5468f21dcc6230ced0
Author: Jeremy Soller <jeremy@system76.com>
Date:   Fri May 10 10:15:07 2019 -0400

    ALSA: hda/realtek - Corrected fixup for System76 Gazelle (gaze14)
    
    commit 891afcf2462d2cc4ef7caf94215358ca61fa32cb upstream.
    
    A mistake was made in the identification of the four variants of the
    System76 Gazelle (gaze14). This patch corrects the PCI ID of the
    17-inch, GTX 1660 Ti variant from 0x8560 to 0x8551. This patch also
    adds the correct fixups for the 15-inch and 17-inch GTX 1650 variants
    with PCI IDs 0x8560 and 0x8561.
    
    Tests were done on all four variants ensuring full audio capability.
    
    Fixes: 80a5052db751 ("ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14)")
    Signed-off-by: Jeremy Soller <jeremy@system76.com>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

you could try to properly identify the offending commit by bisecting the kernel package see the following for information:

https://bbs.archlinux.org/viewtopic.php … 1#p1834541 -- For an example of how this could look like, you'd need to adjust accordingly for the versions/commits in your case. If you find this confusing and loqs doesn't beat me to it I can check if I can give you a properly updated template in the evening.

Online

#10 2019-06-08 07:35:49

xenobro
Member
Registered: 2019-05-25
Posts: 100

Re: [SOLVED] No sound on laptop speakers

Hi, V1del, thank you again.
That seems like a great idea, but I have some questions, since I'm not familiar with git, though I get the general gist of the commands in the thread you linked.
Since I'll be using "makepkg -i", how can I reverse it if something goes awry? Do I just boot from an archiso and "pacman -U" the previous running kernel or do I have to change root before doing it? If so, how exactly?
I have to reboot between each "makepkg", right? Will each of those kernels just substitute the original in the "/boot" directory with the same name or will I have to change something in grub?
Finally, that template would be great, but could you also post the PKGBUILD I should use?

Thank you once again,
xenobro.

Offline

#11 2019-06-26 02:33:30

xenobro
Member
Registered: 2019-05-25
Posts: 100

Re: [SOLVED] No sound on laptop speakers

Hi V1del and everyone.
The problem remains up till the current kernel (5.1.15-arch1-1).
All I need to git bisect the kernel until I find the "guilty" commit is a PKGBUILD like the one in the link provided by V1del and basic instructions on what to change in it every bisect.
Could somebody help me with that please? It seems like I'm so close to figuring out exactly what the issue is...

Oh, and I seem to have forgotten to say what my laptop model was: it's a Positivo Mobile W98, a Brazilian "generic" netbook from about a decade ago. These commands seem to reveal the actual parts "under the hood":

[x@archlinux ~]$ lscpu
Arquitetura:                     x86_64
Modo(s) operacional da CPU:      32-bit, 64-bit
Ordem dos bytes:                 Little Endian
Tamanhos de endereço:            36 bits physical, 48 bits virtual
CPU(s):                          2
Lista de CPU(s) on-line:         0,1
Thread(s) per núcleo:            1
Núcleo(s) por soquete:           2
Soquete(s):                      1
Nó(s) de NUMA:                   1
ID de fornecedor:                GenuineIntel
Família da CPU:                  6
Modelo:                          15
Nome do modelo:                  Intel(R) Core(TM)2 CPU         T5300  @ 1.73GHz
Step:                            2
CPU MHz:                         831.040
CPU MHz máx.:                    1733,0000
CPU MHz mín.:                    800,0000
BogoMIPS:                        3459.19
cache de L1d:                    64 KiB
cache de L1i:                    64 KiB
cache de L2:                     2 MiB
CPU(s) de nó0 NUMA:              0,1
Vulnerability L1tf:              Mitigation; PTE Inversion
Vulnerability Mds:               Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Full generic retpoline, STIBP disabled, RSB filling
Opções:                          fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx f
                                 xsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid
                                  aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti dtherm
[x@archlinux ~]$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 3 (rev 02)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [IDE mode] (rev 02)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 02)
02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 01)
06:07.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
06:07.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
06:07.2 Mass storage controller: Texas Instruments PCIxx12 Flash Media Controller
06:07.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
[x@archlinux ~]$ sudo lshw
archlinux                   
    description: Computer
    product: Positivo Mobile
    vendor: Positivo
    version: Not Applicable
    serial: 2469091
    width: 4294967295 bits
    capabilities: smbios-2.4 dmi-2.4 smp vsyscall32
    configuration: administrator_password=disabled boot=oem-specific frontpanel_password=unknown keyboard_password=unknown power-on_password=disabled 
uuid=0090F55E-CA32-0000-0000-000000000000
  *-core
       description: Motherboard
       product: M520N
       vendor: CLEVO
       physical id: 0
       version: Not Applicable
       serial: Not Applicable
     *-firmware
          description: BIOS
          vendor: Phoenix Technologies LTD
          physical id: 0
          version: NAPA0001.86C.00
          date: 05/23/07
          size: 98KiB
          capacity: 960KiB
          capabilities: isa pci pcmcia pnp apm upgrade shadowing escd cdboot acpi usb agp biosbootspecification
     *-cpu
          description: CPU
          product: Intel(R) Core(TM)2 CPU         T5300  @ 1.73GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          slot: U2E1
          size: 798MHz
          capacity: 2048MHz
          width: 64 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti dtherm cpufreq
        *-cache:0
             description: L1 cache
             physical id: 5
             slot: L1 Cache
             size: 16KiB
             capacity: 16KiB
             capabilities: asynchronous internal write-back
             configuration: level=1
        *-cache:1
             description: L2 cache
             physical id: 6
             slot: L2 Cache
             size: 2MiB
             capabilities: burst external write-back
             configuration: level=2
     *-memory
          description: System Memory
          physical id: 13
          slot: System board or motherboard
          size: 2GiB
          capacity: 3GiB
        *-bank:0
             description: SODIMM DDR2 Synchronous
             physical id: 0
             slot: M1
             size: 1GiB
             width: 32 bits
        *-bank:1
             description: SODIMM DDR2 Synchronous
             physical id: 1
             slot: M2
             size: 1GiB
             width: 32 bits
     *-pci
          description: Host bridge
          product: Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 03
          width: 32 bits
          clock: 33MHz
        *-display:0
             description: VGA compatible controller
             product: Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 03
             width: 32 bits
             clock: 33MHz
             capabilities: msi pm vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:16 memory:d8100000-d817ffff ioport:1800(size=8) memory:c0000000-cfffffff memory:d8200000-d823ffff memory:c0000-dffff
        *-display:1 UNCLAIMED
             description: Display controller
             product: Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2.1
             bus info: pci@0000:00:02.1
             version: 03
             width: 32 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: latency=0
             resources: memory:d8180000-d81fffff
        *-multimedia
             description: Audio device
product: NM10/ICH7 Family High Definition Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: 02
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress bus_master cap_list
             configuration: driver=snd_hda_intel latency=0
             resources: irq:27 memory:d8440000-d8443fff
        *-pci:0
             description: PCI bridge
             product: NM10/ICH7 Family PCI Express Port 1
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:24 ioport:2000(size=4096) memory:d4000000-d5ffffff ioport:d0000000(size=33554432)
           *-network
                description: Wireless interface
                product: PRO/Wireless 3945ABG [Golan] Network Connection
                vendor: Intel Corporation
                physical id: 0
                bus info: pci@0000:02:00.0
                logical name: wlp2s0
                version: 02
                serial: 00:1b:77:b5:34:b2
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=iwl3945 driverversion=5.1.15-arch1-1-ARCH firmware=15.32.2.9 ip=192.168.0.2
 latency=0 link=yes multicast=yes wireless=IEEE 802.11
                resources: irq:29 memory:d4000000-d4000fff
        *-pci:1
             description: PCI bridge
             product: NM10/ICH7 Family PCI Express Port 2
             vendor: Intel Corporation
             physical id: 1c.1
             bus info: pci@0000:00:1c.1
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:25 ioport:3000(size=4096) memory:d6000000-d7ffffff ioport:d2000000(size=33554432)
           *-network DISABLED
                description: Ethernet interface
                product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:03:00.0
                logical name: enp3s0
                version: 01
                serial: 00:90:f5:5e:ca:32
                width: 64 bits
                clock: 33MHz
                capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical
                configuration: broadcast=yes driver=r8169 latency=0 link=no multicast=yes
                resources: irq:28 ioport:3000(size=256) memory:d6000000-d6000fff memory:d6020000-d603ffff
        *-pci:2
             description: PCI bridge
             product: NM10/ICH7 Family PCI Express Port 3
             vendor: Intel Corporation
             physical id: 1c.2
             bus info: pci@0000:00:1c.2
             version: 02
width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:26 ioport:4000(size=4096) memory:80000000-801fffff ioport:80200000(size=2097152)
        *-usb:0
             description: USB controller
             product: NM10/ICH7 Family USB UHCI Controller #1
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@0000:00:1d.0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0
             resources: irq:23 ioport:1820(size=32)
           *-usbhost
                product: UHCI Host Controller
                vendor: Linux 5.1.15-arch1-1-ARCH uhci_hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 5.01
                capabilities: usb-1.10
                configuration: driver=hub slots=2 speed=12Mbit/s
        *-usb:1
             description: USB controller
             product: NM10/ICH7 Family USB UHCI Controller #2
             vendor: Intel Corporation
             physical id: 1d.1
             bus info: pci@0000:00:1d.1
             version: 02
             width: 32 bits
             clock: 33MHz
capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0
             resources: irq:19 ioport:1840(size=32)
           *-usbhost
                product: UHCI Host Controller
                vendor: Linux 5.1.15-arch1-1-ARCH uhci_hcd
                physical id: 1
                bus info: usb@3
                logical name: usb3
                version: 5.01
                capabilities: usb-1.10
                configuration: driver=hub slots=2 speed=12Mbit/s
        *-usb:2
             description: USB controller
             product: NM10/ICH7 Family USB UHCI Controller #3
             vendor: Intel Corporation
             physical id: 1d.2
             bus info: pci@0000:00:1d.2
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0
             resources: irq:18 ioport:1860(size=32)
           *-usbhost
                product: UHCI Host Controller
                vendor: Linux 5.1.15-arch1-1-ARCH uhci_hcd
                physical id: 1
                bus info: usb@4
                logical name: usb4
                version: 5.01
                capabilities: usb-1.10
                configuration: driver=hub slots=2 speed=12Mbit/s
        *-usb:3
             description: USB controller
product: NM10/ICH7 Family USB UHCI Controller #4
             vendor: Intel Corporation
             physical id: 1d.3
             bus info: pci@0000:00:1d.3
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd latency=0
             resources: irq:16 ioport:1880(size=32)
           *-usbhost
                product: UHCI Host Controller
                vendor: Linux 5.1.15-arch1-1-ARCH uhci_hcd
                physical id: 1
                bus info: usb@5
                logical name: usb5
                version: 5.01
                capabilities: usb-1.10
                configuration: driver=hub slots=2 speed=12Mbit/s
        *-usb:4
             description: USB controller
             product: NM10/ICH7 Family USB2 EHCI Controller
             vendor: Intel Corporation
             physical id: 1d.7
             bus info: pci@0000:00:1d.7
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: pm debug ehci bus_master cap_list
             configuration: driver=ehci-pci latency=0
             resources: irq:23 memory:d8444000-d84443ff
           *-usbhost
                product: EHCI Host Controller
                vendor: Linux 5.1.15-arch1-1-ARCH ehci_hcd
                physical id: 1
 bus info: usb@1
                logical name: usb1
                version: 5.01
                capabilities: usb-2.00
                configuration: driver=hub slots=8 speed=480Mbit/s
        *-pci:3
             description: PCI bridge
             product: 82801 Mobile PCI Bridge
             vendor: Intel Corporation
             physical id: 1e
             bus info: pci@0000:00:1e.0
             version: e2
             width: 32 bits
             clock: 33MHz
             capabilities: pci subtractive_decode bus_master cap_list
             resources: ioport:5000(size=4096) memory:d8000000-d80fffff
           *-pcmcia
                description: CardBus bridge
                product: PCIxx12 Cardbus Controller
                vendor: Texas Instruments
                physical id: 7
                bus info: pci@0000:06:07.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pcmcia bus_master cap_list
                configuration: driver=yenta_cardbus latency=176 maxlatency=5 mingnt=192
                resources: irq:16 memory:d8004000-d8004fff ioport:5000(size=256) ioport:5400(size=256) memory:84000000-87ffffff memory:88000000-8bffffff
           *-firewire
                description: FireWire (IEEE 1394)
                product: PCIxx12 OHCI Compliant IEEE 1394 Host Controller
                vendor: Texas Instruments
                physical id: 7.1
                bus info: pci@0000:06:07.1
version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm ohci bus_master cap_list
                configuration: driver=firewire_ohci latency=32 maxlatency=4 mingnt=3
                resources: irq:17 memory:d8006000-d80067ff memory:d8000000-d8003fff
           *-storage
                description: Mass storage controller
                product: PCIxx12 Flash Media Controller
                vendor: Texas Instruments
                physical id: 7.2
                bus info: pci@0000:06:07.2
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: storage pm bus_master cap_list
                configuration: driver=tifm_7xx1 latency=57 maxlatency=4 mingnt=7
                resources: irq:18 memory:d8005000-d8005fff
           *-generic
                description: SD Host controller
                product: PCIxx12 SDA Standard Compliant SD Host Controller
                vendor: Texas Instruments
                physical id: 7.3
                bus info: pci@0000:06:07.3
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm bus_master cap_list
                configuration: driver=sdhci-pci latency=57 maxlatency=4 mingnt=7
                resources: irq:19 memory:d8006800-d80068ff
        *-isa
             description: ISA bridge
             product: 82801GBM (ICH7-M) LPC Interface Bridge
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: driver=lpc_ich latency=0
             resources: irq:0
        *-ide
             description: IDE interface
             product: 82801GBM/GHM (ICH7-M Family) SATA Controller [IDE mode]
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             version: 02
             width: 32 bits
             clock: 66MHz
             capabilities: ide pm isa_compatibility_mode-only_controller__supports_bus_mastering bus_master cap_list
             configuration: driver=ata_piix latency=0
             resources: irq:19 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:18b0(size=16)
        *-serial
             description: SMBus
             product: NM10/ICH7 Family SMBus Controller
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 02
             width: 32 bits
             clock: 33MHz
             configuration: driver=i801_smbus latency=0
             resources: irq:19 ioport:18c0(size=32)
  *-remoteaccess UNCLAIMED
       vendor: Intel
       physical id: 1
       capabilities: inbound

Anyway, thank you very much in advance,
xenobro.

Last edited by xenobro (2019-06-26 03:02:46)

Offline

#12 2019-07-04 01:51:22

xenobro
Member
Registered: 2019-05-25
Posts: 100

Re: [SOLVED] No sound on laptop speakers

Update: Finally managed to use the PKGBUILD provided by loqs in this thread and started bisecting the kernel.
To anyone going through the same, follow all instructions until the part about editing the PKGBUILD; save the forum file in your home folder and open it, substitute "v4.19.2" at the end of the uncommented address in "source=" with the first DEFECTIVE version of the kernel (in my case, v5.1.4) and the values in "sha256sums" with the ones in the PKGBUILD of the linux-git folder, save it, copy the file you've just edited to the linux-git folder and follow the rest of the instructions.
For some reason, neither "export MAKEFLAGS='-j2'" nor editing /etc/makepkg.conf work in my system, so each kernel compilation has been taking 4 hours... Does anyone have any idea why and what can I do?
Anyway, I'll try to put the "-j2" directly in the build() function next to see if it works.

Thank you very much,
xenobro.

Offline

#13 2019-07-04 08:25:37

Skunky
Member
Registered: 2018-01-25
Posts: 230

Re: [SOLVED] No sound on laptop speakers

about

xenobro wrote:

MAKEFLAGS='-j2

not working i had the same problem once and needed to add

 --threads=0  

as stated here Utilizing multiple cores on compression

Last edited by Skunky (2019-07-04 08:26:09)

Offline

#14 2019-07-14 07:57:10

xenobro
Member
Registered: 2019-05-25
Posts: 100

Re: [SOLVED] No sound on laptop speakers

Hi, everyone, sorry for taking so long to reply and thank you for your help, Skunky.

I wound up bisecting the kernel 4 times: first, I messed up around the 4th compilation and had to restart everything; the 2nd time, after testing Skunky's tip and thinking "-j2" was still not working since it was still taking hours to compile and the make flags were not appearing on "ps ax", I took out the flag and wound up taking almost twice the time,  so I put it back and finished bisecting without issues; still not sure of my results, I restarted bisecting for a 3rd time to confirm them, but a power outage messed up my files and, finally, everything went fine the 4th time and I got the same results as the 2nd time. This is the "offending" commit:

(v5.1.3.r52)

7d2e0a8c884f2d74ee6cca4b333a1628242b8a60 is the first bad commit
commit 7d2e0a8c884f2d74ee6cca4b333a1628242b8a60
Author: Kailang Yang <kailang@realtek.com>
Date:   Fri Apr 26 16:35:41 2019 +0800

    ALSA: hda/realtek - EAPD turn on later

    commit 607ca3bd220f4022e6f5356026b19dafc363863a upstream.

    Let EAPD turn on after set pin output.

    [ NOTE: This change is supposed to reduce the possible click noises at
      (runtime) PM resume.  The functionality should be same (i.e. the
      verbs are executed correctly) no matter which order is, so this
      should be safe to apply for all codecs -- tiwai ]

    Signed-off-by: Kailang Yang <kailang@realtek.com>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

 sound/pci/hda/patch_realtek.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

It might be worth noting that the previous 2 commits were also ALSA related.
About the compiling times, it took 450 mins to download the ~1.3GB and compile v5.1.4.r0 (no sound), 329 min to compile v5.1.3.r0 (sound ok), 240 mins for v5.1.3.r63, 51 mins for r31, 49 mins for r47, 51 mins for r55, 52 mins for r51, 51 mins for r53 and 51 mins for r52.
While it's clear that the more bisect advanced, the less it had to compile thus the less it took to do it, and that git's /lib/modules/5*git* taking 252MB instead my system kernel's only 85MB helped explain the huge times, I still don't know why this is happening, since the PKGBUILD calling "make olddefconfig" should create it pretty much like my current one, or if those times are normal for an Intel Core 2 Duo T5300 @1.73GHz with 2GB of RAM. Isn't that a tad too slow for those specs?

Anyway, now that I know where the problem is, can someone help me file a bug in the upstream kernel site?

Thank you very much in advance,
xenobro.

Offline

#15 2019-08-15 23:21:44

xenobro
Member
Registered: 2019-05-25
Posts: 100

Re: [SOLVED] No sound on laptop speakers

Hi, everyone.

So, I think I did pretty much every test I can think of and gathered all the info I could get before filing a bug at the Kernel Bugzilla.
Now, can someone help me do it? Are there any specific guidelines I should follow?
Any help would be greatly appreciated.

Thank you very much in advance,
xenobro.

Offline

#16 2019-09-04 19:41:38

xenobro
Member
Registered: 2019-05-25
Posts: 100

Re: [SOLVED] No sound on laptop speakers

Hi, everyone.
So, I filed a bug at the Kernel Bugzilla and it was solved with the patches (especially the 2nd) in the following link:
https://bugzilla.kernel.org/show_bug.cgi?id=204727
According to Mr. Iwai, the patch will be included in 5.3-rc7 soon, and it will be backported to stable trees after that.

Thank you very much to anyone who tried to help.
P.S.: Do I just edit the thread title and write "[SOLVED]" before everything else?

Offline

#17 2019-09-04 22:53:08

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] No sound on laptop speakers

xenobro wrote:

P.S.: Do I just edit the thread title and write "[SOLVED]" before everything else?

Yes.

How to Post


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#18 2019-09-05 07:22:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,415

Re: [SOLVED] No sound on laptop speakers

Sorry for making myself so scarce here, good on you for providing an useful bug report that lead to a proper fix.

Online

#19 2019-09-05 20:03:30

xenobro
Member
Registered: 2019-05-25
Posts: 100

Re: [SOLVED] No sound on laptop speakers

No problems, you've helped a lot, V1del.
And actually, I'll need your (and everyone else's) help soon with a new Positivo computer I've got that's giving me a reasonable amount of headaches lately... But I'll be posting those soon in new threads.

Once again, thank you very much,
xenobro.

Offline

Board footer

Powered by FluxBB