RS780M HDMI audio broken since 4.9.180

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

RS880M HDMI audio is broken since kernel 4.9.180 (4.9.175 ok ).
Broken in the sense that HDMI profile is unavailable because unplugged in pavucontrol.

Not my laptop ( a friend ).
Last edited by LockBot on Thu Apr 13, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

System tested is Mint 20.3 Cinnamon.
Latest kernel tested: BOOT_IMAGE=/boot/vmlinuz-5.15.0-50-generic
Kernel tested from https://kernel.ubuntu.com/~kernel-ppa/mainline/ (generic amd64)

Code: Select all

15: PCI 01.0: 0604 PCI bridge (Normal decode)
  [Created at pci.386]
  Unique ID: vSkL.wWQj2dCdsQF
  SysFS ID: /devices/pci0000:00/0000:00:01.0
  SysFS BusID: 0000:00:01.0
  Hardware Class: bridge
  Model: "Samsung Electronics PCI bridge"
  Vendor: pci 0x144d "Samsung Electronics Co Ltd"
  Device: pci 0x9602 
  SubVendor: pci 0x144d "Samsung Electronics Co Ltd"
  SubDevice: pci 0xc575 
  Module Alias: "pci:v0000144Dd00009602sv0000144Dsd0000C575bc06sc04i00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  
19: PCI 105.1: 0403 Audio device
  [Created at pci.386]
  Unique ID: l4dC.k6LlxBM1YPD
  Parent ID: vSkL.wWQj2dCdsQF
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:05.1
  SysFS BusID: 0000:01:05.1
  Hardware Class: sound
  Model: "ATI RS880 HDMI Audio [Radeon HD 4200 Series]"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x970f "RS880 HDMI Audio [Radeon HD 4200 Series]"
  SubVendor: pci 0x1002 "ATI Technologies Inc"
  SubDevice: pci 0x9712 
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xd0110000-0xd0113fff (rw,non-prefetchable)
  IRQ: 19 (102 events)
  Module Alias: "pci:v00001002d0000970Fsv00001002sd00009712bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #15 (PCI bridge)
  
32: PCI 105.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: ul7N.UL+6pKRDU89
  Parent ID: vSkL.wWQj2dCdsQF
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:05.0
  SysFS BusID: 0000:01:05.0
  Hardware Class: graphics card
  Model: "ATI RS880M [Mobility Radeon HD 4225/4250]"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x9712 "RS880M [Mobility Radeon HD 4225/4250]"
  SubVendor: pci 0x144d "Samsung Electronics Co Ltd"
  SubDevice: pci 0xc576 
  Driver: "radeon"
  Driver Modules: "radeon"
  Memory Range: 0xb0000000-0xbfffffff (ro,non-prefetchable)
  I/O Ports: 0x9000-0x90ff (rw)
  Memory Range: 0xd0100000-0xd010ffff (rw,non-prefetchable)
  Memory Range: 0xd0000000-0xd00fffff (rw,non-prefetchable)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 18 (10383 events)
  Module Alias: "pci:v00001002d00009712sv0000144Dsd0000C576bc03sc00i00"
  Driver Info #0:
    Driver Status: radeon is active
    Driver Activation Cmd: "modprobe radeon"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #15 (PCI bridge)

33: PCI 14.2: 0403 Audio device
  [Created at pci.386]
  Unique ID: 5Dex._qe22OcYgFF
  SysFS ID: /devices/pci0000:00/0000:00:14.2
  SysFS BusID: 0000:00:14.2
  Hardware Class: sound
  Model: "ATI SBx00 Azalia (Intel HDA)"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x4383 "SBx00 Azalia (Intel HDA)"
  SubVendor: pci 0x144d "Samsung Electronics Co Ltd"
  SubDevice: pci 0xc575 
  Revision: 0x40
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xd0700000-0xd0703fff (rw,non-prefetchable)
  IRQ: 16 (5196 events)
  Module Alias: "pci:v00001002d00004383sv0000144Dsd0000C575bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=u
  
snd_hda_codec_generic: module = snd_hda_codec_generic
snd_hda_codec_hdmi: /devices/pci0000:00/0000:00:01.0/0000:01:05.1/hdaudioC1D0
snd_hda_codec_hdmi: module = snd_hda_codec_hdmi
snd_hda_codec_realtek: /devices/pci0000:00/0000:00:14.2/hdaudioC0D0
snd_hda_codec_realtek: module = snd_hda_codec_realtek

  pci device: name = 0000:01:05.0
    path = /devices/pci0000:00/0000:00:01.0/0000:01:05.0
    modalias = "pci:v00001002d00009712sv0000144Dsd0000C576bc03sc00i00"
    class = 0x30000
    vendor = 0x1002
    device = 0x9712
    subvendor = 0x144d
    subdevice = 0xc576
    irq = 18
    res[0] = 0xb0000000 0xbfffffff 0x42208
    res[1] = 0x9000 0x90ff 0x40101
    res[2] = 0xd0100000 0xd010ffff 0x40200
    res[5] = 0xd0000000 0xd00fffff 0x40200
    res[6] = 0xc0000 0xdffff 0x212
    config[64]
    found edid file at /sys/devices/pci0000:00/0000:00:01.0/0000:01:05.0/drm/card0/card0-HDMI-A-1/edid (size: 128)
      00 ff ff ff ff ff ff 00 4d 10 5b 10 00 00 00 00  "........M.[....."
      ff 14 01 03 80 73 41 78 2a 1b be a2 55 34 b3 26  ".....sAx*...U4.&"
      14 4a 52 af ce 00 a9 40 90 40 81 80 01 01 01 01  ".JR....@.@......"
      01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c  ".......:..q8-@X,"
      45 00 80 88 42 00 00 1e 66 21 50 b0 51 00 1b 30  "E...B...f!P.Q..0"
      40 70 36 00 00 00 00 00 00 1e 00 00 00 fc 00 53  "@p6............S"
      48 41 52 50 20 48 44 4d 49 0a 20 20 00 00 00 fd  "HARP HDMI.  ...."
      00 17 4c 0f 4b 11 00 0a 20 20 20 20 20 20 01 a5  "..L.K...      .."  
      
  I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  N: Name="HDA ATI HDMI HDMI/DP,pcm=3"
  P: Phys=ALSA
  S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1/input12
  U: Uniq=
  H: Handlers=event10 
  B: PROP=0
  B: EV=21
  B: SW=140
  
    P: /devices/pci0000:00/0000:00:01.0/0000:01:05.0/drm/card0/card0-HDMI-A-1
  L: 0
  E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:05.0/drm/card0/card0-HDMI-A-1
  E: SUBSYSTEM=drm
  E: USEC_INITIALIZED=4986994
  E: ID_PATH=pci-0000:01:05.0
  E: ID_PATH_TAG=pci-0000_01_05_0
  E: ID_FOR_SEAT=drm-pci-0000_01_05_0
  E: TAGS=:master-of-seat:seat:
  
    P: /devices/pci0000:00/0000:00:01.0/0000:01:05.1
  L: 0
  E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:05.1
  E: SUBSYSTEM=pci
  E: DRIVER=snd_hda_intel
  E: PCI_CLASS=40300
  E: PCI_ID=1002:970F
  E: PCI_SUBSYS_ID=1002:9712
  E: PCI_SLOT_NAME=0000:01:05.1
  E: MODALIAS=pci:v00001002d0000970Fsv00001002sd00009712bc04sc03i00
  E: USEC_INITIALIZED=22092133
  E: ID_PCI_CLASS_FROM_DATABASE=Multimedia controller
  E: ID_PCI_SUBCLASS_FROM_DATABASE=Audio device
  E: ID_VENDOR_FROM_DATABASE=Advanced Micro Devices, Inc. [AMD/ATI]
  E: ID_MODEL_FROM_DATABASE=RS880 HDMI Audio [Radeon HD 4200 Series]
  
  P: /devices/pci0000:00/0000:00:01.0/0000:01:05.1/hdaudioC1D0
  L: 0
  E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:05.1/hdaudioC1D0
  E: SUBSYSTEM=hdaudio
  E: DRIVER=snd_hda_codec_hdmi
  E: MODALIAS=hdaudio:v1002791Ar00100000a01
  
  P: /devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1
  L: 0
  E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1
  E: SUBSYSTEM=sound
  E: USEC_INITIALIZED=26089110
  E: ID_PATH=pci-0000:01:05.1
  E: ID_PATH_TAG=pci-0000_01_05_1
  E: ID_FOR_SEAT=sound-pci-0000_01_05_1
  E: SOUND_INITIALIZED=1
  E: ID_PCI_CLASS_FROM_DATABASE=Multimedia controller
  E: ID_PCI_SUBCLASS_FROM_DATABASE=Audio device
  E: ID_VENDOR_FROM_DATABASE=Advanced Micro Devices, Inc. [AMD/ATI]
  E: ID_MODEL_FROM_DATABASE=RS880 HDMI Audio [Radeon HD 4200 Series]
  E: ID_BUS=pci
  E: ID_VENDOR_ID=0x1002
  E: ID_MODEL_ID=0x970f
  E: SYSTEMD_WANTS=sound.target
  E: SYSTEMD_USER_WANTS=sound.target
  E: TAGS=:systemd:seat:
  
  P: /devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1/hwC1D0
  N: snd/hwC1D0
  L: 0
  E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1/hwC1D0
  E: SUBSYSTEM=sound
  E: DEVNAME=/dev/snd/hwC1D0
  E: MAJOR=116
  E: MINOR=3
  E: USEC_INITIALIZED=26097437
  E: TAGS=:uaccess:
  
  P: /devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1/input12
  L: 0
  E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1/input12
  E: SUBSYSTEM=input
  E: PRODUCT=0/0/0/0
  E: NAME="HDA ATI HDMI HDMI/DP,pcm=3"
  E: PHYS="ALSA"
  E: PROP=0
  E: EV=21
  E: SW=140
  E: MODALIAS=input:b0000v0000p0000e0000-e0,5,kramlsfw6,8,
  E: USEC_INITIALIZED=26095786
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:01:05.1
  E: ID_PATH_TAG=pci-0000_01_05_1
  E: ID_FOR_SEAT=input-pci-0000_01_05_1
  E: TAGS=:seat:
  
  P: /devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1/input12/event10
  N: input/event10
  L: 0
  E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1/input12/event10
  E: SUBSYSTEM=input
  E: DEVNAME=/dev/input/event10
  E: MAJOR=13
  E: MINOR=74
  E: USEC_INITIALIZED=26149677
  E: ID_INPUT=1
  E: ID_INPUT_SWITCH=1
  E: ID_PATH=pci-0000:01:05.1
  E: ID_PATH_TAG=pci-0000_01_05_1
  E: LIBINPUT_DEVICE_GROUP=0/0/0:ALSA
  E: TAGS=:power-switch:
  
  P: /devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1/pcmC1D3p
  N: snd/pcmC1D3p
  L: 0
  E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1/pcmC1D3p
  E: SUBSYSTEM=sound
  E: DEVNAME=/dev/snd/pcmC1D3p
  E: DEVTYPE=pcm
  E: MAJOR=116
  E: MINOR=2
  E: USEC_INITIALIZED=26106739
  E: TAGS=:uaccess:
  
  P: /devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1/controlC1
  N: snd/controlC1
  L: 0
  S: snd/by-path/pci-0000:01:05.1
  E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card1/controlC1
  E: SUBSYSTEM=sound
  E: DEVNAME=/dev/snd/controlC1
  E: MAJOR=116
  E: MINOR=4
  E: USEC_INITIALIZED=26140976
  E: ID_PATH=pci-0000:01:05.1
  E: ID_PATH_TAG=pci-0000_01_05_1
  E: DEVLINKS=/dev/snd/by-path/pci-0000:01:05.1
  E: TAGS=:uaccess:
  
  P: /devices/pci0000:00/0000:00:01.0/pci_bus/0000:01
  L: 0
  E: DEVPATH=/devices/pci0000:00/0000:00:01.0/pci_bus/0000:01
  E: SUBSYSTEM=pci_bus
  
  P: /devices/pci0000:00/0000:00:03.0
  L: 0
  E: DEVPATH=/devices/pci0000:00/0000:00:03.0
  E: SUBSYSTEM=pci
  E: DRIVER=pcieport
  E: PCI_CLASS=60400
  E: PCI_ID=1022:960B
  E: PCI_SUBSYS_ID=144D:C575
  E: PCI_SLOT_NAME=0000:00:03.0
  E: MODALIAS=pci:v00001022d0000960Bsv0000144Dsd0000C575bc06sc04i00
  E: USEC_INITIALIZED=21999093
  E: ID_PCI_CLASS_FROM_DATABASE=Bridge
  E: ID_PCI_SUBCLASS_FROM_DATABASE=PCI bridge
  E: ID_PCI_INTERFACE_FROM_DATABASE=Normal decode
  E: ID_VENDOR_FROM_DATABASE=Advanced Micro Devices, Inc. [AMD]
  E: ID_MODEL_FROM_DATABASE=RS780 PCI to PCI bridge (ext gfx port 1)
  
  P: /devices/pci0000:00/0000:00:03.0/0000:00:03.0:pcie010
  L: 0
  E: DEVPATH=/devices/pci0000:00/0000:00:03.0/0000:00:03.0:pcie010
  E: SUBSYSTEM=pci_express
  
  P: /devices/pci0000:00/0000:00:03.0/0000:02:00.0
  L: 0
  E: DEVPATH=/devices/pci0000:00/0000:00:03.0/0000:02:00.0
  E: SUBSYSTEM=pci
  E: DRIVER=radeon
  E: PCI_CLASS=30000
  E: PCI_ID=1002:68E0
  E: PCI_SUBSYS_ID=144D:C576
  E: PCI_SLOT_NAME=0000:02:00.0
  E: MODALIAS=pci:v00001002d000068E0sv0000144Dsd0000C576bc03sc00i00
  E: USEC_INITIALIZED=22201342
  E: ID_PCI_CLASS_FROM_DATABASE=Display controller
  E: ID_PCI_SUBCLASS_FROM_DATABASE=VGA compatible controller
  E: ID_PCI_INTERFACE_FROM_DATABASE=VGA controller
  E: ID_VENDOR_FROM_DATABASE=Advanced Micro Devices, Inc. [AMD/ATI]
  E: ID_MODEL_FROM_DATABASE=Park [Mobility Radeon HD 5430/5450/5470]
  
  P: /devices/pci0000:00/0000:00:03.0/0000:02:00.0/backlight/acpi_video0
  L: 0
  E: DEVPATH=/devices/pci0000:00/0000:00:03.0/0000:02:00.0/backlight/acpi_video0
  E: SUBSYSTEM=backlight
  E: USEC_INITIALIZED=4979655
  E: ID_PATH=pci-0000:02:00.0
  E: ID_PATH_TAG=pci-0000_02_00_0
  E: ID_FOR_SEAT=backlight-pci-0000_02_00_0
  E: SYSTEMD_WANTS=systemd-backlight@backlight:acpi_video0.service
  E: TAGS=:systemd:seat:
  
  P: /devices/pci0000:00/0000:00:03.0/0000:02:00.0/drm/card1
  N: dri/card1
  L: 0
  S: dri/by-path/pci-0000:02:00.0-card
  E: DEVPATH=/devices/pci0000:00/0000:00:03.0/0000:02:00.0/drm/card1
  E: SUBSYSTEM=drm
  E: DEVNAME=/dev/dri/card1
  E: DEVTYPE=drm_minor
  E: MAJOR=226
  E: MINOR=1
  E: USEC_INITIALIZED=4980347
  E: ID_PATH=pci-0000:02:00.0
  E: ID_PATH_TAG=pci-0000_02_00_0
  E: ID_FOR_SEAT=drm-pci-0000_02_00_0
  E: PRIMARY_DEVICE_FOR_DISPLAY=1
  E: DEVLINKS=/dev/dri/by-path/pci-0000:02:00.0-card
  E: TAGS=:master-of-seat:uaccess:seat:
  
  P: /devices/pci0000:00/0000:00:03.0/0000:02:00.0/drm/card1/card1-VGA-2
  L: 0
  E: DEVPATH=/devices/pci0000:00/0000:00:03.0/0000:02:00.0/drm/card1/card1-VGA-2
  E: SUBSYSTEM=drm
  E: USEC_INITIALIZED=4983256
  E: ID_PATH=pci-0000:02:00.0
  E: ID_PATH_TAG=pci-0000_02_00_0
  E: ID_FOR_SEAT=drm-pci-0000_02_00_0
  E: TAGS=:master-of-seat:seat:
User avatar
hglee
Level 7
Level 7
Posts: 1702
Joined: Fri Jun 22, 2018 4:31 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by hglee »

dufresnep wrote: Thu Oct 13, 2022 11:31 pm System tested is Mint 20.3 Cinnamon.
Latest kernel tested: BOOT_IMAGE=/boot/vmlinuz-5.15.0-50-generic
Kernel tested from https://kernel.ubuntu.com/~kernel-ppa/mainline/ (generic amd64)

Not my laptop ( a friend ).

If the kernel is installed from Ubuntu's Mainline, there's a good chance that it isn't officially supported by Mint.

But, this is nonetheless an occasion for friends to snack & chat, and bring the laptop along. There's wifi to share, yes? If not, you could temporarily tether the laptop to a smartphone for Internet access.


To post essential details about the PC setup: Plug in all relevant dongles, accessories, and peripherals. Then

Open a Terminal (ctrl-alt-T), then copy-and-paste the following long line of green text into the Terminal window, then tap Enter ...

Code: Select all

C=code];echo "[$C`inxi -Fxxxmprzc0 --usb;mokutil --sb;cat /proc/cmdline;dkms status;lsusb;lsblk -fir;lspci -nnk`[/$C"|xed -
Within a moment, xed text editor pops open, showing technical data that's useful for others to analyze PC & peripheral issues.

Copy-and-paste everything from xed into a Reply here. < The required [code] tags have been added for you />


Disable Secure Boot in your BIOS, as it's known to interfere with device drivers & firmware. If you run Windows on the same PC as Linux, disable Windows Fast Startup, otherwise it can leave your hardware in a zombie state at any time. When you exit Windows, to boot into Linux, do a full Shutdown, not just a Restart.

Linux Mint 21.3 Virginia, MATE 1.26.0, kernel 5.15.*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

Will have to wait a bit I return see that friend.

Note: /etc/default/grub have radeon.audio=1 ... did not helped with later kernel than 4.9.175... have not tested remove it in 4.9.175.

Unsure if it is better to execute suggested command on broken version or on working version.

I asked on Ubuntu kernel team mailing list help to identify which versions it would correspond in vanilla Linux.

For similar problem, others have said that the following command may help:

Code: Select all

Try to reenable HDMI audio with:

xrandr --output HDMI-0 --set audio on
or
xrandr --output HDMI-0 --set audio auto
Possible related issue:
https://bugzilla.kernel.org/show_bug.cgi?id=200945 (No HDMI audio output with CONFIG_VGA_SWITCHEROO=y listed in config file)

https://bugs.launchpad.net/ubuntu/+sour ... ug/1834771 ( No HDMI-audio after kernel 4.15.-0.50 )

https://gitlab.freedesktop.org/drm/amd/-/issues/1569 ( radeon - HDMI Audio now unusable - unfinished business - radeon_audio_component_get_eld() )

https://www.pclinuxos.com/forum/index.p ... msg1326307 (suggests that 4.12.14 could work [PCLinuxOS] )
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

Code: Select all

4.9.175: 2019-05-10 17:52:12 +0200
4.9.180: 2019-05-31 06:48:32 -0700
Age	Commit message (Expand)	Author
2019-05-31	ALSA: hda/realtek - Update headset mode for ALC256	Kailang Yang
2019-05-30	Merge tag 'sound-5.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...	Linus Torvalds
2019-05-30	treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201	Thomas Gleixner
2019-05-30	treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157	Thomas Gleixner
2019-05-30	treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156	Thomas Gleixner
2019-05-29	ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops	Hui Wang
2019-05-28	ALSA: hda - Force polling mode on CNL for fixing codec communication	Bard Liao
2019-05-28	ALSA: hda: move polling_mode flag to struct hdac_bus	Bard Liao
2019-05-28	ALSA: hda: assign polling_mode after azx_bus_init	Bard Liao
2019-05-24	treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 46	Thomas Gleixner
2019-05-24	treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 32	Thomas Gleixner
2019-05-24	ALSA: hda/realtek - Enable micmute LED for Huawei laptops	Ayman Bagabas
2019-05-23	ALSA: hda/realtek - Set default power save node to 0	Kailang Yang
2019-05-22	ALSA: hda/realtek - Check headset type by unplug and resume	Kailang Yang
2019-05-21	treewide: Add SPDX license identifier - Makefile/Kconfig	Thomas Gleixner
2019-05-21	treewide: Add SPDX license identifier for missed files	Thomas Gleixner
2019-05-14	ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug	Michał Wadowski
2019-05-10	ALSA: hda/realtek - Corrected fixup for System76 Gazelle (gaze14)	Jeremy Soller
2019-05-10	ALSA: hda/realtek - Avoid superfluous COEF EAPD setups	Takashi Iwai
2019-05-10	ALSA: hda/realtek - Fixup headphone noise via runtime suspend	
User avatar
hglee
Level 7
Level 7
Posts: 1702
Joined: Fri Jun 22, 2018 4:31 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by hglee »

dufresnep wrote: Fri Oct 14, 2022 9:35 am Unsure if it is better to execute suggested command on broken version or on working version.

Run this command-line on the configuration that you expect to use:

Code: Select all

LC_ALL=C C=code];echo "[$C`inxi -Fxxxmprzc0 --usb;mokutil --sb;cat /proc/cmdline;dkms status;lsusb;lsblk -fir;lspci -nnk`[/$C"|xed -
After xed opens, copy-and-paste everything into a Reply here. < The required [code] tags have been added for you />

Linux Mint 21.3 Virginia, MATE 1.26.0, kernel 5.15.*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

4.9.178 is broken too.
4.9.178 is 2019-05-21 18:49:02 +0200.
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

With 4.9.177, I am unable to generate unsigned kernel packages...
Some crypto package complained: camelia_avx, or something similar.
At first, because it was an fopen related to SSL problem, I thought that changing the modules to in the kernel, rather than modules would work.
It did not.

I followed https://github.com/lwfinger/rtw89/issues/78 that lead me to:
https://github.com/lwfinger/rtw89/issues/74

Now I still get:

Code: Select all

Kernel: arch/x86/boot/bzImage is ready  (#2)
  MODPOST 4282 modules
  BUILDDEB
  INSTALL arch/x86/crypto/aes-x86_64.ko
  INSTALL arch/x86/crypto/aesni-intel.ko
  INSTALL arch/x86/crypto/blowfish-x86_64.ko
  INSTALL arch/x86/crypto/cast5-avx-x86_64.ko
At main.c:158:
At main.c:158:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: : No such file or directory
sign-file: : No such file or directory
At main.c:158:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: : No such file or directory
scripts/Makefile.modinst:35: recipe for target 'arch/x86/crypto/aesni-intel.ko' failed
make[3]: *** [arch/x86/crypto/aesni-intel.ko] Error 1
make[3]: *** Attente des tâches non terminées....
scripts/Makefile.modinst:35: recipe for target 'arch/x86/crypto/aes-x86_64.ko' failed
make[3]: *** [arch/x86/crypto/aes-x86_64.ko] Error 1
scripts/Makefile.modinst:35: recipe for target 'arch/x86/crypto/cast5-avx-x86_64.ko' failed
make[3]: *** [arch/x86/crypto/cast5-avx-x86_64.ko] Error 1
At main.c:158:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: : No such file or directory
scripts/Makefile.modinst:35: recipe for target 'arch/x86/crypto/blowfish-x86_64.ko' failed
make[3]: *** [arch/x86/crypto/blowfish-x86_64.ko] Error 1
Makefile:1251: recipe for target '_modinst_' failed
make[2]: *** [_modinst_] Error 2
scripts/package/Makefile:96: recipe for target 'bindeb-pkg' failed
make[1]: *** [bindeb-pkg] Error 2
Makefile:1362: recipe for target 'bindeb-pkg' failed
make: *** [bindeb-pkg] Error 2
And I think I need to put back the .pem path in .config.

It has come to my mind that maybe snd-hda-intel could use some crypto modules signed with an unpresent key on the system...
Frankly a very wild guess from me.

Still... I think the laptop of my friend might be old enough to badly manage keys... and strangely seem to be able to boot in UEFI while not showing any UEFI options in BIOS.
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

I just mv .config on an other name, then "make menuconfig", saved, and try to continue:

Code: Select all

paul@rabachi:~/colinKernels/new4.9.177/4.9.177$ time nice make -j4 bindeb-pkg
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config/kernel.release
make KBUILD_SRC=
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  DESCEND  objtool
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  LD      arch/x86/crypto/built-in.o
  CC [M]  arch/x86/crypto/glue_helper.o
make[3]: ***  Aucune règle pour fabriquer la cible « debian/canonical-certs.pem », nécessaire pour « certs/x509_certificate_list ». Arrêt.
Makefile:1021: recipe for target 'certs' failed
make[2]: *** [certs] Error 2
make[2]: *** Attente des tâches non terminées....
  AS [M]  arch/x86/crypto/camellia-x86_64-asm_64.o
  CC [M]  arch/x86/crypto/camellia_glue.o
  AS [M]  arch/x86/crypto/camellia-aesni-avx-asm_64.o
  CC [M]  arch/x86/crypto/camellia_aesni_avx_glue.o
  AS [M]  arch/x86/crypto/camellia-aesni-avx2-asm_64.o
  CC [M]  arch/x86/crypto/camellia_aesni_avx2_glue.o
  LD [M]  arch/x86/crypto/camellia-aesni-avx2.o
  LD [M]  arch/x86/crypto/camellia-aesni-avx-x86_64.o
  LD [M]  arch/x86/crypto/camellia-x86_64.o
  LD      arch/x86/built-in.o
scripts/package/Makefile:96: recipe for target 'bindeb-pkg' failed
make[1]: *** [bindeb-pkg] Error 2
Makefile:1362: recipe for target 'bindeb-pkg' failed
make: *** [bindeb-pkg] Error 2

real	0m8,533s
user	0m11,543s
sys	0m3,787s
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

Looks like it will finish fine now that I have commented out the line in .config with canonical... .pem.

Will call my friend to go test 4.9.176 and 4.9.177 on his laptop with his TV.
Will check if it ask my to enroll the key I generated, and if it change something I do or not.
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

Both 4.9.176 and 4.9.177 worked.
It did not ask any key (or password) for 4.9.177.
So I am beginning to search between 4.9.177 working, and 4.9.178 not working.
v4.9.178 commit a5f56b52c8... Greg Kroah-Hartman 3 years
cod/tip/daily/2019-05-21 commit 5bdd9ad875... Linus Torvalds 3 years
cod/tip/drm-tip/2019-05-21 commit 17ad53a47e... Sean Paul 3 years
v5.2-rc1 commit a188339ca5... Linus Torvalds 3 years
cod/tip/daily/2019-05-20 commit a188339ca5... Linus Torvalds 3 years
cod/tip/daily/2019-05-18 commit 72cf0b0741... Linus Torvalds 3 years
cod/tip/drm-tip/2019-05-18 commit 3f2d6a47d9... Chris Wilson 3 years
cod/tip/daily/2019-05-17 commit 0d74471924... Linus Torvalds 3 years
v4.4.180 commit 0f654c12cd... Greg Kroah-Hartman 3 years
v4.9.177 commit 8baec4ebdf...
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

https://git.launchpad.net/~ubuntu-kerne ... cba6e54a9d

Suspicious removal:

Code: Select all

-static int find_ext_mic_pin(struct hda_codec *codec);
-
-static void alc286_shutup(struct hda_codec *codec)
-{
-	const struct hda_pincfg *pin;
-	int i;
-	int mic_pin = find_ext_mic_pin(codec);
-	/* don't shut up pins when unloading the driver; otherwise it breaks
-	 * the default pin setup at the next load of the driver
-	 */
-	if (codec->bus->shutdown)
-		return;
-	snd_array_for_each(&codec->init_pins, i, pin) {
-		/* use read here for syncing after issuing each verb */
-		if (pin->nid != mic_pin)
-			snd_hda_codec_read(codec, pin->nid, 0,
-					AC_VERB_SET_PIN_WIDGET_CONTROL, 0);
-	}
-	codec->pins_shutup = 1;
-}
-

Might try to compile with and without that particular commit.
Edit... probably not that... seems linked to mic in particular.
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

It goes a bit beyond what I have done in the past.

I did git clone a full git history (about 3 Gb).
git checkout v4.9.181
Then revert -m 1 72cf...

I got:

Code: Select all

/* turn on/off EAPD controls of the codec */
static void alc_auto_setup_eapd(struct hda_codec *codec, bool on)
{
        /* We currently only handle front, HP */
        static hda_nid_t pins[] = {
                0x0f, 0x10, 0x14, 0x15, 0x17, 0
        };
        hda_nid_t *p;
        for (p = pins; *p; p++)
                set_eapd(codec, *p, on);
}

static void alc_shutup_pins(struct hda_codec *codec)
{
        struct alc_spec *spec = codec->spec;

<<<<<<< HEAD
        switch (codec->core.vendor_id) {
        case 0x10ec0283:
        case 0x10ec0286:
        case 0x10ec0288:
        case 0x10ec0298:
                alc_headset_mic_no_shutup(codec);
                break;
        default:
                if (!spec->no_shutup_pins)
                        snd_hda_shutup_pins(codec);
                break;
        }
=======
        if (!spec->no_shutup_pins)
                snd_hda_shutup_pins(codec);
>>>>>>> parent of 72cf0b07418a... Merge tag 'sound-fix-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
I intend to choose the second (I suppose it is the older because more simple???).
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

Code: Select all

<<<<<<< HEAD
        SND_PCI_QUIRK(0x1558, 0x8551, "System76 Gazelle (gaze14)", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x1558, 0x8560, "System76 Gazelle (gaze14)", ALC269_FIXUP_HEADSET_MIC),
        SND_PCI_QUIRK(0x1558, 0x8561, "System76 Gazelle (gaze14)", ALC269_FIXUP_HEADSET_MIC),
        SND_PCI_QUIRK(0x1558, 0x8562, "Clevo NH[5|7][0-9]RZ[Q]", ALC269_FIXUP_DMIC),
        SND_PCI_QUIRK(0x1558, 0x8668, "Clevo NP50B[BE]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x1558, 0x8680, "Clevo NJ50LU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x1558, 0x8686, "Clevo NH50[CZ]U", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x1558, 0x8a20, "Clevo NH55DCQ-Y", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x1558, 0x8a51, "Clevo NH70RCQ-Y", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x1558, 0x8d50, "Clevo NH55RCQ-M", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x1558, 0x951d, "Clevo N950T[CDF]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x1558, 0x961d, "Clevo N960S[CDF]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x1558, 0x971d, "Clevo N970T[CDF]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x1558, 0xa500, "Clevo NL53RU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
=======
        SND_PCI_QUIRK(0x1558, 0x8560, "System76 Gazelle (gaze14)", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
>>>>>>> parent of 72cf0b07418a... Merge tag 'sound-fix-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Again, choosing 2nd option... not knowing really what I do.
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

finally going with: $ git revert -m 1 --strategy theirs 72cf0b07418a9c8349aa9137194b1ccba6e54a9d
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

I have come to realize that the offending commit I mentioned is a merge, and so is made of many commits.
So I have accepted that I need to do a git bitsect command to find the real commit among including the commits in the merge.
But I did like done it only one, long ago, and needed to refresh my memory.
Well, I just done this beginner's guide to git bitsect: https://www.metaltoad.com/blog/beginner ... limination

So now with the real stuff.

Code: Select all

paul@rabachi:~/colinKernels/new4.9.180$ cd my4.9.180/
paul@rabachi:~/colinKernels/new4.9.180/my4.9.180$ git bisect start
paul@rabachi:~/colinKernels/new4.9.180/my4.9.180$ git bisect bad v4.9.178
paul@rabachi:~/colinKernels/new4.9.180/my4.9.180$ git bisect good v4.9.177
Bissection : 22 révisions à tester après ceci (à peu près 5 étapes)
[fef85fb00224cb22f9efec262e9ffe8970e555ee] mm/mincore.c: make mincore() more conservative
paul@rabachi:~/colinKernels/new4.9.180/my4.9.180$ 
So it seems there is 22 commits to tests, and that I should find it in 5 steps.
User avatar
SMG
Level 25
Level 25
Posts: 35056
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: RS780M HDMI audio broken since 4.9.180

Post by SMG »

dufresnep wrote: Tue Oct 18, 2022 9:21 amSo it seems there is 22 commits to tests, and that I should find it in 5 steps.
Could you please explain how what you are doing is relevant to Linux Mint?

Linux Mint does not use the 4.9 kernel series so saying your friend updated from 4.9 kernel to another 4.9 kernel appears to have no meaning at all for Linux Mint users.

This is a support forum for Linux Mint. Please provide the Linux Mint system information and explain how what you are doing is relevant to Linux Mint users.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

Code: Select all

System:
  Kernel: 5.15.0-50-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
    Desktop: MATE 1.26.0 info: mate-panel wm: marco 1.26.0 vt: 7
    dm: LightDM 1.30.0 Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: SAMSUNG product: R425D/R525D v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: SAMSUNG model: R425D/R525D serial: <superuser required>
    BIOS: Phoenix v: 02UF date: 10/16/2010
Battery:
  ID-1: BATT charge: 0% condition: 47.5/47.5 Wh (100.0%) volts: 6.2 min: 10.8
    model: SAMSUNG Electronics type: Li-ion serial: N/A status: Charging
Memory:
  RAM: total: 3.59 GiB used: 1.5 GiB (41.7%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: dual core model: AMD Athlon II P360 bits: 64 type: MCP
    smt: <unsupported> arch: K10 rev: 3 cache: L1: 256 KiB L2: 1024 KiB
  Speed (MHz): avg: 800 min/max: 800/2300 boost: disabled cores: 1: 800
    2: 800 bogomips: 9176
  Flags: ht lm nx pae sse sse2 sse3 sse4a svm
Graphics:
  Device-1: AMD RS880M [Mobility Radeon HD 4225/4250] vendor: Samsung Co
    driver: radeon v: kernel ports: active: HDMI-A-1,LVDS-1 empty: VGA-1
    bus-ID: 01:05.0 chip-ID: 1002:9712 class-ID: 0300
  Device-2: AMD Park [Mobility Radeon HD 5430/5450/5470] vendor: Samsung Co
    driver: radeon v: kernel pcie: speed: 2.5 GT/s lanes: 8 ports: active: none
    empty: VGA-2 bus-ID: 02:00.0 chip-ID: 1002:68e0 class-ID: 0300
  Device-3: DigiTech USB 2.0 PC Camera type: USB driver: uvcvideo
    bus-ID: 2-4:2 chip-ID: 1210:25f4 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.3 compositor: marco v: 1.26.0
    driver: X: loaded: ati,radeon unloaded: fbdev,modesetting,vesa gpu: radeon
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3286x1080 s-dpi: 96 s-size: 869x285mm (34.2x11.2")
    s-diag: 915mm (36")
  Monitor-1: HDMI-0 mapped: HDMI-A-1 pos: right model: Sharp HDMI
    res: 1920x1080 hz: 60 dpi: 42 size: 1152x648mm (45.4x25.5")
    diag: 1322mm (52") modes: max: 1920x1080 min: 720x400
  Monitor-2: LVDS pos: primary,left res: 1366x768 hz: 60 dpi: 101
    size: 344x193mm (13.5x7.6") diag: 394mm (15.5")
  OpenGL: renderer: AMD RS880 (DRM 2.50.0 / 5.15.0-50-generic LLVM 13.0.1)
    v: 3.3 Mesa 22.0.5 compat-v: 3.0 direct render: Yes
Audio:
  Device-1: AMD SBx00 Azalia vendor: Samsung Co driver: snd_hda_intel
    v: kernel bus-ID: 00:14.2 chip-ID: 1002:4383 class-ID: 0403
  Device-2: AMD RS880 HDMI Audio [Radeon HD 4200 Series]
    driver: snd_hda_intel v: kernel bus-ID: 01:05.1 chip-ID: 1002:970f
    class-ID: 0403
  Sound Server-1: ALSA v: k5.15.0-50-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Qualcomm Atheros AR9285 Wireless Network Adapter vendor: Askey
    driver: ath9k v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0
    chip-ID: 168c:002b class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  Device-2: Marvell 88E8040 PCI-E Fast Ethernet vendor: Samsung Co
    driver: sky2 v: 1.30 pcie: speed: 2.5 GT/s lanes: 1 port: b000
    bus-ID: 04:00.0 chip-ID: 11ab:4354 class-ID: 0200
  IF: enp4s0 state: down mac: <filter>
Drives:
  Local Storage: total: 298.09 GiB used: 10.7 GiB (3.6%)
  ID-1: /dev/sda vendor: Western Digital model: WD3200LPVX-75V0TT0
    size: 298.09 GiB speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 1A01 scheme: GPT
Partition:
  ID-1: / size: 291.85 GiB used: 10.69 GiB (3.7%) fs: ext4 dev: /dev/sda3
  ID-2: /boot/efi size: 512 MiB used: 5.2 MiB (1.0%) fs: vfat
    dev: /dev/sda2
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 5 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 2-0:1 info: Full speed or root hub ports: 5 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 2-4:2 info: DigiTech USB 2.0 PC Camera type: Video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 1210:25f4 class-ID: 0e02
  Hub-3: 3-0:1 info: Full speed or root hub ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 4-0:1 info: Full speed or root hub ports: 5 rev: 1.1
    speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900
  Device-1: 4-1:2 info: HP Optical Mouse [672662-001] type: Mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s
    power: 100mA chip-ID: 03f0:094a class-ID: 0301
  Hub-5: 5-0:1 info: Full speed or root hub ports: 5 rev: 1.1
    speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900
  Hub-6: 6-0:1 info: Full speed or root hub ports: 2 rev: 1.1
    speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900
  Hub-7: 7-0:1 info: Full speed or root hub ports: 4 rev: 1.1
    speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900
Sensors:
  System Temperatures: cpu: 70.8 C mobo: N/A gpu: radeon temp: 61.5 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: apt: 2104
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com vanessa main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 201 Uptime: 15m wakeups: 12 Init: systemd v: 249 runlevel: 5
  Compilers: gcc: 11.2.0 alt: 11 Shell: Bash v: 5.1.16
  running-in: mate-terminal inxi: 3.3.13
BOOT_IMAGE=/boot/vmlinuz-5.15.0-50-generic root=UUID=2db14083-ebb6-4a5a-b0b1-4a65e79069d7 ro quiet splash
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 1210:25f4 DigiTech USB 2.0 PC Camera
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 03f0:094a HP, Inc Optical Mouse [672662-001]
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda       
sda1       
sda2 vfat FAT32  BAE8-B1CB 506,7M 1% /boot/efi
sda3 ext4 1.0  2db14083-ebb6-4a5a-b0b1-4a65e79069d7 266,3G 4% /
sr0       
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge [1022:9601]
	Subsystem: Samsung Electronics Co Ltd RS880 Host Bridge [144d:c575]
00:01.0 PCI bridge [0604]: Samsung Electronics Co Ltd Device [144d:9602]
00:03.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 1) [1022:960b]
	Kernel driver in use: pcieport
00:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 0) [1022:9604]
	Kernel driver in use: pcieport
00:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (PCIE port 2) [1022:9606]
	Kernel driver in use: pcieport
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] [1002:4391]
	Subsystem: Samsung Electronics Co Ltd SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] [144d:c575]
	Kernel driver in use: ahci
	Kernel modules: ahci
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
	Subsystem: Samsung Electronics Co Ltd SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [144d:c575]
	Kernel driver in use: ohci-pci
00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
	Subsystem: Samsung Electronics Co Ltd SB7x0/SB8x0/SB9x0 USB EHCI Controller [144d:c575]
	Kernel driver in use: ehci-pci
00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
	Subsystem: Samsung Electronics Co Ltd SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [144d:c575]
	Kernel driver in use: ohci-pci
00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
	Subsystem: Samsung Electronics Co Ltd SB7x0/SB8x0/SB9x0 USB EHCI Controller [144d:c575]
	Kernel driver in use: ehci-pci
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller [1002:4385] (rev 42)
	Kernel modules: i2c_piix4, sp5100_tco
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383] (rev 40)
	Subsystem: Samsung Electronics Co Ltd SBx00 Azalia (Intel HDA) [144d:c575]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d] (rev 40)
	Subsystem: Samsung Electronics Co Ltd SB7x0/SB8x0/SB9x0 LPC host controller [144d:c575]
00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge [1002:4384] (rev 40)
00:14.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller [1002:4399]
	Subsystem: Samsung Electronics Co Ltd SB7x0/SB8x0/SB9x0 USB OHCI2 Controller [144d:c575]
	Kernel driver in use: ohci-pci
00:16.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
	Subsystem: Samsung Electronics Co Ltd SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [144d:c575]
	Kernel driver in use: ohci-pci
00:16.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
	Subsystem: Samsung Electronics Co Ltd SB7x0/SB8x0/SB9x0 USB EHCI Controller [144d:c575]
	Kernel driver in use: ehci-pci
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration [1022:1200]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map [1022:1201]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller [1022:1202]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control [1022:1203]
	Kernel driver in use: k10temp
	Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control [1022:1204]
01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RS880M [Mobility Radeon HD 4225/4250] [1002:9712]
	Subsystem: Samsung Electronics Co Ltd RS880M [Mobility Radeon HD 4225/4250] [144d:c576]
	Kernel driver in use: radeon
	Kernel modules: radeon
01:05.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] RS880 HDMI Audio [Radeon HD 4200 Series] [1002:970f]
	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] RS880 HDMI Audio [Radeon HD 4200 Series] [1002:9712]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470] [1002:68e0]
	Subsystem: Samsung Electronics Co Ltd Park [Mobility Radeon HD 5430/5450/5470] [144d:c576]
	Kernel driver in use: radeon
	Kernel modules: radeon
03:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
	Subsystem: Askey Computer Corp. AR9285 Wireless Network Adapter (PCI-Express) [144f:7167]
	Kernel driver in use: ath9k
	Kernel modules: ath9k
04:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller [11ab:4354]
	Subsystem: Samsung Electronics Co Ltd 88E8040 PCI-E Fast Ethernet Controller [144d:c575]
	Kernel driver in use: sky2
	Kernel modules: sky2
dufresnep
Level 1
Level 1
Posts: 35
Joined: Sun Feb 24, 2019 3:41 pm

Re: RS780M HDMI audio broken since 4.9.180

Post by dufresnep »

The problem was first discovered in Mint 20.2.
I discovered that older kernels was not having problems with HDMI audio.
I am searching the specific commit that cause the HDMI device to become not available even when well plugged.

Bug present in 6.0.1 kernel from https://kernel.ubuntu.com/~kernel-ppa/m ... _amd64.deb
User avatar
SMG
Level 25
Level 25
Posts: 35056
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: RS780M HDMI audio broken since 4.9.180

Post by SMG »

dufresnep wrote: Tue Oct 18, 2022 5:33 pm The problem was first discovered in Mint 20.2.
The default kernel for LM20.2 is the 5.4 LTS kernel. One can also use the 5.15 LTS kernel (which is LTS for LM21) in LM20.2.

If someone runs into an issue with a kernel breaking something, one usually tries the prior version. For example, if there is a problem with 5.15.0-50, then one would try 5.15.0-48 or one of the 5.4 kernels.

Canonical starts with the mainline 5.4 or 5.15 kernels and then makes cumulative changes to it as described in 5.4.0-131.147 changelog and 5.15.0-52.58 changelog. The changes are usually either bug fixes or backporting fixes from newer kernels.

Presumably, the LM20.2 install did work at one point which means a 5.4 kernel (or a 5.15 kernel) did work so I am still confused as to why you are bisecting 4.9 mainline kernels. Linux Mint main edition does not use mainline kernels. (LMDE uses mainline kernels, but LM20.2 is not LMDE.)
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Hardware Support”