Announcement

Collapse
No announcement yet.

No sound after update kernel 6.14.0-36-generic and kernel 6.17.0-14-generic

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [RESOLVED] No sound after update kernel 6.14.0-36-generic and kernel 6.17.0-14-generic

    After update to the kernels above the network card and the sound card did not work só i installed linux-headers-generic linux-headers-6.14.0-37-generic and kernel 6.17.0-14-generic after a reboot
    kubuntu detected the network card but not the sound card my sound card is a Realtek ALC1220. The sound card is working with kernel 6.14.0-36-generic

    command (lspci | grep Audio) is showing on all the kernels

    01:00.1 Audio device: NVIDIA Corporation GA102 High Definition
    Audio Controller (rev a1)
    06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir
    Radeon High Definition Audio Controller
    06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h
    19h HD Audio Controller


    command (cat /proc/asound/cards) on kernel 6.14.0-36-generic is showing

    0 [NVidia ]: HDA-Intel - HDA NVidia
    HDA NVidia at 0xfc080000 irq 82
    1 [Generic_1 ]: HDA-Intel - HD-Audio Generic
    HD-Audio Generic at 0xfc508000 irq 84
    2 [Generic ]: HDA-Intel - HD-Audio Generic
    HD-Audio Generic at 0xfc500000 irq 85

    but on kernel 6.14.0-37-generic and 6.17.0-14-generic
    it says
    --- no soundcards ---

    command ( aplay -l ) on kernel 6.14.0-36-generic is showing

    **** List of PLAYBACK Hardware Devices ****
    card 0: NVidia [HDA NVidia], device 3: HDMI 0 [27G64]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: Generic_1 [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: Generic_1 [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: Generic_1 [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: Generic_1 [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: Generic_1 [HD-Audio Generic], device 10: HDMI 4 [HDMI 4]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: Generic_1 [HD-Audio Generic], device 11: HDMI 5 [HDMI 5]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: Generic [HD-Audio Generic], device 0: ALC897 Analog [ALC897 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: Generic [HD-Audio Generic], device 1: ALC897 Digital [ALC897 Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    On the newer kernels is shows no output

    Command (arecord -l) on kernel 6.14.0-36-generic is showing


    **** List of CAPTURE Hardware Devices ****
    card 2: Generic [HD-Audio Generic], device 0: ALC897 Analog [ALC897 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: Generic [HD-Audio Generic], device 2: ALC897 Alt Analog [ALC897 Alt Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    On kernel 6.14.0-37-generic and 6.17.0-14-generic there is no output

    Booting from kubunto 24.04.4 on a usb flash drive the sound card works
    What am i missing

    #2
    found the problem the update to kernel-6.17.0-14-gerecic did not install linux-modules-extra-6.17.0-14-generic after installing and rebooting the sound is working now

    Comment


      #3
      Glad you found it on your own. What you experienced can often happen when moving to a different kernel series. For whatever reason, not all the kernel packages are installed so if you have any kernel packages like "...module-extra..." installed, you have to manually add it.

      My method when "upgrading" to a new kernel series is to list all currently installed kernel packages and match that list with the new kernel. I use the terminal to do this, so moving from 6.14.0-32 to 6.17.0-14, in Konsole I entered
      Code:
      dpkg -l |grep " 6.14.0-32"
      This simply lists the installed packages like this:
      Code:
      ii  linux-headers-6.14.0-32-generic               6.14.0-32.32~24.04.1                                         amd64        Linux kernel headers for version 6.14.0
      ii  linux-hwe-6.14-headers-6.14.0-32              6.14.0-32.32~24.04.1                                         all          Header files related to Linux kernel version 6.14.0
      ii  linux-image-6.14.0-32-generic                 6.14.0-32.32~24.04.1                                         amd64        Signed kernel image generic
      ii  linux-modules-6.14.0-32-generic               6.14.0-32.32~24.04.1                                         amd64        Linux kernel extra modules for version 6.14.0
      ii  linux-modules-extra-6.14.0-32-generic         6.14.0-32.32~24.04.1                                         amd64        Linux kernel extra modules for version 6.14.0​
      Or you can get "fancy" and you awk to change the output.

      This
      Code:
      dpkg -l |grep " 6.14.0-32" |awk '{ print $2 }'
      gets you this:
      Code:
      linux-headers-6.14.0-32-generic
      linux-hwe-6.14-headers-6.14.0-32
      linux-image-6.14.0-32-generic
      linux-modules-6.14.0-32-generic
      linux-modules-extra-6.14.0-32-generic


      Now all you need to do is install these packages substituting the new kernel version of 6.17.0-14 for the old version.

      A few minutes of work and one could write a small script or bash one-liner to accomplish this programatically, but how often are we doing this?

      Please Read Me

      Comment

      Users Viewing This Topic

      Collapse

      There are 0 users viewing this topic.

      Working...
      X