Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 10/09/2022, à 10:32

Albator72

Son ne marche pas sous ubuntu 22.04.1 LTS

Bonjour,
J'ai installé en dual boot avec Windows 11 ubuntu 22.04.1 LTS sur ma machine  Lenovo Legion S7 16IAH7.
Je n'ai aucun son.

voici les infos complémentaires :

mh@mh-Legion-S7-16IAH7:~$ lspci | grep [Aa]udio ; lsusb | grep [Aa]udio
00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
01:00.1 Audio device: NVIDIA Corporation GA106 High Definition Audio Controller (rev a1)
mh@mh-Legion-S7-16IAH7:~$ cat /proc/asound/pcm
00-03: HDMI 0 : HDMI 0 : playback 1
00-07: HDMI 1 : HDMI 1 : playback 1
00-08: HDMI 2 : HDMI 2 : playback 1
00-09: HDMI 3 : HDMI 3 : playback 1
00-10: HDMI 4 : HDMI 4 : playback 1
01-00: HDA Analog (*) :  : playback 1 : capture 1
01-01: HDA Digital (*) :  : playback 1 : capture 1
01-03: HDMI1 (*) :  : playback 1
01-04: HDMI2 (*) :  : playback 1
01-05: HDMI3 (*) :  : playback 1
01-06: DMIC (*) :  : capture 1
01-07: DMIC16kHz (*) :  : capture 1
mh@mh-Legion-S7-16IAH7:~$ sudo fuser -v /dev/snd/*
[sudo] Mot de passe de mh : 
                     UTIL.       PID ACCÈS  COMMANDE
/dev/snd/controlC0:  mh         1803 F.... pulseaudio
/dev/snd/controlC1:  mh         1803 F.... pulseaudio
mh@mh-Legion-S7-16IAH7:~$ uname -a
Linux mh-Legion-S7-16IAH7 5.17.15-051715-generic #202206141358 SMP PREEMPT Tue Jun 14 18:53:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
mh@mh-Legion-S7-16IAH7:~$ 

Dernière modification par Albator72 (Le 10/09/2022, à 10:36)

Hors ligne

#2 Le 10/09/2022, à 10:49

xubu1957

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

Bonjour,

Avais-tu installé : pavucontrol ?

Tu pourrais regarder dans > TUTO Problèmes de sons sous Ubuntu


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#3 Le 10/09/2022, à 11:05

Albator72

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

oui, pavucontrol est installé:
Capture-d-cran-du-2022-09-10-11-02-17.png

Hors ligne

#4 Le 10/09/2022, à 11:08

xubu1957

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

Depuis un terminal, dont au préalable la fenêtre est élargie, afin de ne pas tronquer l'image, montre :

alsamixer

Voir les exemples > du message #6

Je préfère cela à des images, qui parfois sont supprimées dans le temps, par les sites d'hébergement.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#5 Le 10/09/2022, à 11:11

Albator72

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

Carte : HDA NVidia                              F1 :  Aide                 │
│    Puce : Nvidia GPU 9f HDMI/DP                   F2 :  Informations système │
│     Vue : F3:[Lecture] F4: Capture  F5: Tout      F6 :  Choisir la carte son │
│ Élement : S/PDIF                                  Esc : quitter              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                   ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐                   │
│                   │OO│     │OO│     │OO│     │OO│     │OO│                   │
│                   └──┘     └──┘     └──┘     └──┘     └──┘                   │
│                < S/PDIF >S/PDIF 1 S/PDIF 2 S/PDIF 3 S/PDIF 4                 │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                        

Dernière modification par Albator72 (Le 10/09/2022, à 11:14)

Hors ligne

#6 Le 10/09/2022, à 11:15

xubu1957

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

Heureusement, que je demande d'éviter les images, qui ne seront plus accessibles !!! roll

Pas d'autre carte son avec F6 ?

Dernière modification par xubu1957 (Le 10/09/2022, à 11:18)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#7 Le 10/09/2022, à 11:17

Albator72

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

Carte : HDA NVidia                              F1 :  Aide                 │
│    Puce : Nvidia GPU 9f HDMI/DP                   F2 :  Informations système │
│     Vue : F3:[Lecture] F4: Capture  F5: Tout      F6 :  Choisir la carte son │
│ Élement : S/PDIF                                  Esc : quitter              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                ┌──────────────── Carte Son ────────────────┐                 │
│                │-          (par défaut)                    │                 │
│                │default:0  HDA NVidia                      │                 │
│                │default:1  sof-hda-dsp                     │                 │
│                │           entrez le nom du périphérique...│                 │
│                └───────────────────────────────────────────┘                 │
│                < S/PDIF >S/PDIF 1 S/PDIF 2 S/PDIF 3 S/PDIF 4                 │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                          

Hors ligne

#8 Le 10/09/2022, à 11:19

xubu1957

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

Fournis les cartes son :

lspci | grep [Aa]udio && lsusb | grep [Aa]udio

et :

cat /proc/asound/pcm
sudo fuser -v /dev/snd/*

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#9 Le 10/09/2022, à 11:22

Albator72

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

mh@mh-Legion-S7-16IAH7:~$ lspci | grep [Aa]udio && lsusb | grep [Aa]udio

00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
01:00.1 Audio device: NVIDIA Corporation GA106 High Definition Audio Controller (rev a1)
mh@mh-Legion-S7-16IAH7:~$ cat /proc/asound/pcm
00-03: HDMI 0 : HDMI 0 : playback 1
00-07: HDMI 1 : HDMI 1 : playback 1
00-08: HDMI 2 : HDMI 2 : playback 1
00-09: HDMI 3 : HDMI 3 : playback 1
00-10: HDMI 4 : HDMI 4 : playback 1
01-00: HDA Analog (*) :  : playback 1 : capture 1
01-01: HDA Digital (*) :  : playback 1 : capture 1
01-03: HDMI1 (*) :  : playback 1
01-04: HDMI2 (*) :  : playback 1
01-05: HDMI3 (*) :  : playback 1
01-06: DMIC (*) :  : capture 1
01-07: DMIC16kHz (*) :  : capture 1
mh@mh-Legion-S7-16IAH7:~$ sudo fuser -v /dev/snd/*
[sudo] Mot de passe de mh : 
                     UTIL.       PID ACCÈS  COMMANDE
/dev/snd/controlC0:  mh         1803 F.... pulseaudio
/dev/snd/controlC1:  mh         1803 F.... pulseaudio
mh@mh-Legion-S7-16IAH7:~$ 

Hors ligne

#10 Le 10/09/2022, à 11:29

xubu1957

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

Que barjaque :

sudo dmesg | grep -iE 'snd|sof'

?

Pompé chez les bleus > Output can be seen in pavucontrol but no sound


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#11 Le 10/09/2022, à 11:31

Albator72

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

mh@mh-Legion-S7-16IAH7:~$ sudo dmesg | grep -iE 'snd|sof'
[sudo] Mot de passe de mh : 
Désolé, essayez de nouveau.
[sudo] Mot de passe de mh : 
[    0.795984] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.830817] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.830817] software IO TLB: mapped [mem 0x0000000057191000-0x000000005b191000] (64MB)
[    1.069135] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    1.069144] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    3.605230] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    3.605465] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    3.605546] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    3.605781] snd_hda_intel 0000:01:00.1: Disabling MSI
[    3.605786] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    3.682118] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    3.686093] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    3.686114] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[    3.687218] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    4.464520] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    4.464720] Modules linked in: snd_soc_dmic snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci iwlmvm snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus ledtrig_audio snd_soc_core intel_tcc_cooling snd_compress x86_pkg_temp_thermal ac97_bus intel_powerclamp bnep snd_hda_codec_hdmi snd_pcm_dmaengine coretemp i915 snd_hda_intel mac80211 snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec kvm_intel snd_hda_core snd_hwdep snd_pcm libarc4 btusb ttm kvm snd_seq_midi snd_seq_midi_event drm_kms_helper snd_rawmidi iwlwifi cec snd_seq btrtl crct10dif_pclmul ghash_clmulni_intel pmt_telemetry btbcm rc_core processor_thermal_device_pci mei_hdcp mei_pxp intel_rapl_msr pmt_class aesni_intel btintel iwlmei processor_thermal_device crypto_simd i2c_algo_bit nls_iso8859_1 btmtk snd_seq_device snd_hda_scodec_cs35l41_spi cryptd cfg80211 bluetooth snd_timer
[    4.464745]  processor_thermal_rfim fb_sys_fops rapl syscopyarea intel_spi_pci ucsi_acpi processor_thermal_mbox mei_me snd ideapad_laptop snd_hda_scodec_cs35l41_i2c processor_thermal_rapl input_leds think_lmi intel_spi typec_ucsi sysfillrect ecdh_generic snd_hda_scodec_cs35l41 intel_rapl_common platform_profile int3403_thermal intel_cstate int3400_thermal firmware_attributes_class joydev hid_multitouch wmi_bmof nvidia_wmi_ec_backlight spi_nor mei ecc soundcore sysimgblt igen6_edac intel_vsec typec mac_hid snd_soc_cs35l41_lib sparse_keymap int340x_thermal_zone acpi_thermal_rel acpi_pad acpi_tad sch_fq_codel ipmi_devintf ipmi_msghandler msr parport_pc ppdev lp drm parport ramoops reed_solomon pstore_blk mtd pstore_zone efi_pstore ip_tables x_tables autofs4 rndis_host cdc_ether usbnet usbhid mii hid_generic rtsx_pci_sdmmc crc32_pclmul nvme i2c_hid_acpi intel_lpss_pci i2c_i801 i2c_hid intel_lpss xhci_pci i2c_smbus rtsx_pci thunderbolt nvme_core idma64 xhci_pci_renesas hid video wmi
[    5.673849] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[    5.691827] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[    5.691830] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    5.691833] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[    5.692499] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:0:0-b678a
[    5.692500] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
[    5.692501] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[    5.692503] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[    5.805688] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:0:0-b678a
[    5.805695] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
[    5.805699] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[    5.813784] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:20:0 Kernel ABI 3:18:0
[    5.813796] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: topology ABI is more recent than kernel
[    5.839144] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC287: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    5.839151] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.839154] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    5.839156] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    5.839157] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    5.839159] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[    5.890601] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    5.890621] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[    5.913843] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input19
[    5.914149] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input20
[    5.914289] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input21
[    5.914427] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input22
[    5.914507] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input23
[  101.278704] audit: type=1326 audit(1662797960.962:56): auid=1000 uid=1000 gid=1000 ses=3 subj==snap.snap-store.ubuntu-software (enforce) pid=2503 comm="snap-store" exe="/snap/snap-store/582/usr/bin/snap-store" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7f10031e773d code=0x50000
[  103.402981] audit: type=1400 audit(1662797963.086:57): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/etc/PackageKit/Vendor.conf" pid=2503 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  103.586089] audit: type=1400 audit(1662797963.270:58): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/etc/appstream.conf" pid=2503 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  107.343288] audit: type=1326 audit(1662797967.026:59): auid=1000 uid=1000 gid=1000 ses=3 subj==snap.snap-store.ubuntu-software (enforce) pid=2503 comm="pool-org.gnome." exe="/snap/snap-store/582/usr/bin/snap-store" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7f10031de39b code=0x50000
[ 2382.781749] audit: type=1326 audit(1662800242.501:66): auid=1000 uid=1000 gid=1000 ses=3 subj==snap.snap-store.ubuntu-software (enforce) pid=7621 comm="snap-store" exe="/snap/snap-store/582/usr/bin/snap-store" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7f614ec7673d code=0x50000
[ 2383.596947] audit: type=1326 audit(1662800243.313:67): auid=1000 uid=1000 gid=1000 ses=3 subj==snap.snap-store.ubuntu-software (enforce) pid=2503 comm="pool-org.gnome." exe="/snap/snap-store/582/usr/bin/snap-store" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7f10031de39b code=0x50000
[ 2387.212179] audit: type=1326 audit(1662800246.929:68): auid=1000 uid=1000 gid=1000 ses=3 subj==snap.snap-store.ubuntu-software (enforce) pid=2503 comm="pool-org.gnome." exe="/snap/snap-store/582/usr/bin/snap-store" sig=0 arch=c000003e syscall=251 compat=0 ip=0x7f10031e773d code=0x50000
[ 2387.212192] audit: type=1326 audit(1662800246.929:69): auid=1000 uid=1000 gid=1000 ses=3 subj==snap.snap-store.ubuntu-software (enforce) pid=2503 comm="pool-org.gnome." exe="/snap/snap-store/582/usr/bin/snap-store" sig=0 arch=c000003e syscall=251 compat=0 ip=0x7f10031e773d code=0x50000
[ 2393.922993] audit: type=1326 audit(1662800253.642:70): auid=1000 uid=1000 gid=1000 ses=3 subj==snap.snap-store.ubuntu-software (enforce) pid=2503 comm="pool-org.gnome." exe="/snap/snap-store/582/usr/bin/snap-store" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7f10031de39b code=0x50000
[ 4061.869030] audit: type=1326 audit(1662801921.619:75): auid=1000 uid=1000 gid=1000 ses=3 subj==snap.snap-store.ubuntu-software (enforce) pid=9847 comm="snap-store" exe="/snap/snap-store/582/usr/bin/snap-store" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7f9cebd2c73d code=0x50000
mh@mh-Legion-S7-16IAH7:~$ 

Hors ligne

#12 Le 10/09/2022, à 11:31

xubu1957

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

Montre :

snap list --all

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#13 Le 10/09/2022, à 11:33

Albator72

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

le son passe par la prise jack dans mon casque mais pas par les hauts parleurs

Hors ligne

#14 Le 10/09/2022, à 11:34

Albator72

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

mh@mh-Legion-S7-16IAH7:~$ snap list --all
Nom                        Version           Révision  Suivi            Éditeur     Notes
bare                       1.0               5         latest/stable    canonical✓  base
core20                     20220719          1587      latest/stable    canonical✓  base,désactivé
core20                     20220826          1623      latest/stable    canonical✓  base
firefox                    103.0.1-1         1635      latest/stable/…  mozilla✓    désactivé
firefox                    104.0.2-1         1810      latest/stable/…  mozilla✓    -
gnome-3-38-2004            0+git.891e5bc     112       latest/stable/…  canonical✓  désactivé
gnome-3-38-2004            0+git.891e5bc     115       latest/stable/…  canonical✓  -
gtk-common-themes          0.1-81-g442e511   1535      latest/stable/…  canonical✓  -
snap-store                 41.3-60-gfe4703a  582       latest/stable/…  canonical✓  -
snapd                      2.56.2            16292     latest/stable    canonical✓  snapd
snapd-desktop-integration  0.1               14        latest/stable/…  canonical✓  -
mh@mh-Legion-S7-16IAH7:~$ 

Hors ligne

#15 Le 11/09/2022, à 06:51

xubu1957

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

Bonjour,

Montre :

sudo dmesg | grep snd

Piqué aussi chez les bleus > No speaker sound on Alder Lake (headphone out and BT works though)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#16 Le 11/09/2022, à 07:43

Albator72

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

mh@mh-Legion-S7-16IAH7:~$ sudo dmesg | grep snd
[sudo] Mot de passe de mh : 
[    2.963488] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    2.963717] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    2.963771] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    2.964033] snd_hda_intel 0000:01:00.1: Disabling MSI
[    2.964041] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    3.954220] Modules linked in: bnep intel_tcc_cooling snd_soc_dmic x86_pkg_temp_thermal intel_powerclamp snd_sof_pci_intel_tgl coretemp snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi iwlmvm soundwire_bus ledtrig_audio snd_soc_core snd_compress snd_hda_codec_hdmi mac80211 ac97_bus snd_pcm_dmaengine kvm_intel btusb i915 btrtl snd_hda_intel btbcm libarc4 kvm nls_iso8859_1 snd_intel_dspcfg snd_seq_midi btintel crct10dif_pclmul snd_seq_midi_event ghash_clmulni_intel iwlwifi snd_intel_sdw_acpi aesni_intel snd_hda_codec ttm btmtk snd_rawmidi crypto_simd snd_hda_core drm_kms_helper cryptd snd_hwdep iwlmei snd_seq pmt_telemetry cec intel_spi_pci bluetooth mei_pxp mei_hdcp pmt_class intel_rapl_msr rapl snd_pcm rc_core intel_spi snd_seq_device think_lmi ecdh_generic intel_cstate i2c_algo_bit processor_thermal_device_pci
[    3.954252]  firmware_attributes_class joydev input_leds cfg80211 hid_multitouch wmi_bmof nvidia_wmi_ec_backlight spi_nor ecc snd_timer snd_hda_scodec_cs35l41_spi mei_me processor_thermal_device fb_sys_fops processor_thermal_rfim snd syscopyarea mei processor_thermal_mbox sysfillrect processor_thermal_rapl soundcore sysimgblt ucsi_acpi intel_rapl_common igen6_edac intel_vsec typec_ucsi typec mac_hid snd_hda_scodec_cs35l41_i2c snd_hda_scodec_cs35l41 ideapad_laptop snd_soc_cs35l41_lib platform_profile int3403_thermal sparse_keymap int340x_thermal_zone int3400_thermal acpi_thermal_rel acpi_pad acpi_tad sch_fq_codel ipmi_devintf ipmi_msghandler msr parport_pc ppdev lp drm parport ramoops reed_solomon pstore_blk mtd pstore_zone efi_pstore ip_tables x_tables autofs4 usbhid hid_generic rtsx_pci_sdmmc crc32_pclmul i2c_hid_acpi nvme intel_lpss_pci i2c_hid i2c_i801 xhci_pci intel_lpss thunderbolt rtsx_pci i2c_smbus nvme_core idma64 xhci_pci_renesas hid wmi video pinctrl_tigerlake
[    5.327705] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC287: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    5.327710] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.327712] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    5.327713] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    5.327714] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    5.327715] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[    5.382886] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    5.382906] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
mh@mh-Legion-S7-16IAH7:~$ 

Hors ligne

#17 Le 11/09/2022, à 07:54

noje

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

Bonjour,
Le chipset audio de cette machine est normalement un Realtek, toutefois il ne charge pas correctement.


Dans le retour du message #11 et message #16 (aussi)

[    5.839144] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC287: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    5.839151] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.839154] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    5.839156] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    5.839157] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    5.839159] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[    5.890601] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[    5.890621] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten

En amont dans le retour de dmesg, il semble qu'une demande de carte Intel soit majoritairement appelée "sof-audio-pci-intel-tgl", pour finalement ne même pas être chargée et présente dans le système.


Il faut regarder pour ajouter ceci dans le grub, ça semble souvent résoudre souvent ce type de souci :

Éditer le fichier de configuration du Grub  "/etc/default/grub"

Dans la ligne :

GRUB_CMDLINE_LINUX=""

Ajouter :

GRUB_CMDLINE_LINUX="snd_hda_intel.probe_mask=0x01"

Mettre à jour le Grub :

sudo update-grub 

Puis rebooter, regarde et fait un retour pour dire si ça solutionne ton souci...

Dernière modification par noje (Le 11/09/2022, à 07:58)


- LTS 18.04 & 22.04 - jwm - cwm - zsh

Les seules vraies erreurs sont celles que nous commettons à répétition.
Les autres sont des occasions d'apprentissage. (Dalaï Lama)

Hors ligne

#18 Le 11/09/2022, à 07:59

Albator72

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

bonjour,

Ou ce trouve ce fichier /etc/default/grub? ( recherche dans les fichiers n'a rien donné)   comment on fait pour l’éditer?    merci

Hors ligne

#19 Le 11/09/2022, à 08:01

xubu1957

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

C'est pas simple vu linux.org/threads/so-sound-from-speakers-realtek-alc287.33341,

qui donne ce lien bugzilla.kernel.org/show_bug.cgi?id=208555 No sound from speakers using Realtek ALC287.

  Ajout, pour tenir compte de la réponse de noje, #17

commentaire 674 a écrit :

Philipp Jungkamp 2022-07-29 15:35:00 UTC
A note on the 'model' and 'patch' options of of the 'snd_hda_intel' module.

The 'model' option can be used to apply a fixup written for another device.
You can check the fixups available for the ALC287 in the docs or in the
'alc269_fixup_models' array at sound/pci/hda/pathch_realtek.c:9551.
See https://www.kernel.org/doc/html/latest/ … del-option

The 'patch' option is similar, but way more powerful.
I used it to try a lot of configurations before I got the sound working.
See https://www.kernel.org/doc/html/latest/ … y-patching

I'd like to see the patch merged so people with devices for which the fixup might work can try the module option instead of compiling a patched kernel.

Something along the lines of
---

# /etc/modprobe.d/snd.conf

# use snd_hda_intel instead of snd_sof
options snd_intel_dspcfg dsp_driver=1

# enable the fixup
options snd_hda_intel model=alc287-yoga9-bass-spk-pin

---
should then work to apply the fixup until a PCI_QUIRK is added.
I'll give an update when I know when it's going mainline.

There were actually three problems with the bass speakers on the Lenovo Yoga9 14IAP7:
1. The Pin Complex node of the codec with NID 0x17 on which the bass speakers are connected reported itself as unconnected.
2. The bass speakers have amplifiers which need to be enabled via NID 0x20 of the codec. (similar to the Lenovo Yoga 7 14ITL5 fixup)
3. The driver connected the bass speaker Pin Complex to the DAC on NID 0x06 of the codec which has no volume control. (bass speakers always on max volume)

You can check whether your device is affected by problem 1 by checking the 'Pin Default' on 'Node 0x17' in the 'HDA-Intel Codec information' in your alsa-info.txt.
e.g. $ grep -A6 'Node 0x17' < alsa-info.txt
A 'Pin Default' that starts with 0x4, 0x5, 0x6 or 0x7 indicates and unconnected pin and thus problem 1 assuming the bass speakers are really on NID 0x17 on your device.

If your device is not affected by problem 1, the mainline fixes for the 'Yoga 7 ITL5' or 'Legion 7i' might already work.

Pour info :

cat /etc/default/grub

Voir au § 7 de la Doc kernel, pour les modifications des paramètres du noyau.

Dernière modification par xubu1957 (Le 11/09/2022, à 08:22)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#20 Le 11/09/2022, à 08:10

Albator72

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

Bonjour Xubu 1957

avec cette commande

cat /etc/default/grub

, j’arrive à afficher le grub, mais pas à le modifier par un copié collé.. Dois je le réécrire en ajoutant la ligne de commande

GRUB_CMDLINE_LINUX="snd_hda_intel.probe_mask=0x01"

que Noje a suggéré?

Hors ligne

#21 Le 11/09/2022, à 08:15

noje

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

@xubu1957 et  @Albator72, ça ne coute rien de tenter, c'est une simple modif du grub.cfg.

Aussi le commentaire "Comment 674" dans le lien linux.org qui donne une alternative avec snd.conf.

Dernière modification par noje (Le 11/09/2022, à 08:15)


- LTS 18.04 & 22.04 - jwm - cwm - zsh

Les seules vraies erreurs sont celles que nous commettons à répétition.
Les autres sont des occasions d'apprentissage. (Dalaï Lama)

Hors ligne

#22 Le 11/09/2022, à 08:34

noje

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

Tape ceci :

sudo sed -i "s/GRUB_CMDLINE_LINUX=\"\"/GRUB_CMDLINE_LINUX=\"snd_hda_intel.probe_mask=0x01\"/" /etc/default/grub

Pour s'assurer que bien pris (mais ça va être le cas) :

grep "GRUB_CMDLINE_LINUX=" /etc/default/grub

La sortie de la commande ci-dessus ↑↑↑ donne ceci ↓↓↓ :

GRUB_CMDLINE_LINUX="snd_hda_intel.probe_mask=0x01"

Puis tapez ça, et quand la commande à terminer et redonne l'invite de commande, rebooter :

sudo update-grub

Dernière modification par noje (Le 11/09/2022, à 08:38)


- LTS 18.04 & 22.04 - jwm - cwm - zsh

Les seules vraies erreurs sont celles que nous commettons à répétition.
Les autres sont des occasions d'apprentissage. (Dalaï Lama)

Hors ligne

#23 Le 11/09/2022, à 08:44

Albator72

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

mh@mh-Legion-S7-16IAH7:~$ sudo sed -i "s/GRUB_CMDLINE_LINUX=\"\"/GRUB_CMDLINE_LINUX=\"snd_hda_intel.probe_mask=0x01\"/" /etc/default/grub
[sudo] Mot de passe de mh : 
mh@mh-Legion-S7-16IAH7:~$ grep "GRUB_CMDLINE_LINUX=" /etc/default/grub
GRUB_CMDLINE_LINUX="snd_hda_intel.probe_mask=0x01"
mh@mh-Legion-S7-16IAH7:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.17.15-051715-generic
Found initrd image: /boot/initrd.img-5.17.15-051715-generic
Found linux image: /boot/vmlinuz-5.15.0-47-generic
Found initrd image: /boot/initrd.img-5.15.0-47-generic
Found linux image: /boot/vmlinuz-5.15.0-43-generic
Found initrd image: /boot/initrd.img-5.15.0-43-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
mh@mh-Legion-S7-16IAH7:~$ 

Hors ligne

#24 Le 11/09/2022, à 08:48

Albator72

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

Le problème reste inchangé

Hors ligne

#25 Le 11/09/2022, à 10:43

noje

Re : Son ne marche pas sous ubuntu 22.04.1 LTS

Peux-tu redonner ceci :

sudo dmesg | grep snd

Et également relancer :

alsamixer

Refaire F6 (voir si une mention de Realtek).

Si rien n’as bouger, ont te fait enlever cette modification de Grub.


- LTS 18.04 & 22.04 - jwm - cwm - zsh

Les seules vraies erreurs sont celles que nous commettons à répétition.
Les autres sont des occasions d'apprentissage. (Dalaï Lama)

Hors ligne