Page 1 of 1

no way to change line-in, line-out, mic-in to 5.1 [SOLVED]

PostPosted: Aug 29th, '21, 19:33
by BIKO84
Dear fellow developers, first of all you guys are great. I try to get rid of Windows completely and your distribution is the best for me as a non-pro user of linux since it is really comfortable to use and I can get run almost everything on it (I am no gamer) except one thing: my 5.1 pc-surround-system. I have a new gigabyte h410m s2h motherboard. As many new boards you have 3 multi-functional phone-jacks in the rear. 1x for line-in or rear speakter out, 1x line-out or front speaker out, 1x mic- in or subwoofer speaker out. In windows you can switch the function of every single phone-jack by the realtek audio software. In mageia you cant. So that the system detects only the line-out which means there is only 2.0 sound available. Is there any way to get the 5.1 surround sound running or could you develope this please? I am sure I am or wont be the only one with this problem since probably several mainboards have this gimmick. (With my old mainboard which had only 3x line-out for 5.1 system my speakers worked well under mageia) Thanks a lot in advance for you help! Sorry for my English. :-) Best Regards

Re: no way to change line-in, line-out, mic-in to 5.1 line-o

PostPosted: Aug 29th, '21, 23:06
by sturmvogel
Please check that you have the package "pavucontrol" installed. Open "PulseAudio-Volumecontrol" from menu. Go to the tab "configuration" and chose the best profile for your internal audio.

Re: no way to change line-in, line-out, mic-in to 5.1 line-o

PostPosted: Aug 29th, '21, 23:08
by doktor5000
Hi there, you can change the profile of your soundcard to 5.1 output, using e.g. pavucontrol or the mixer of your desktop environment.
In pavucontrol in the configuration tab you would need to choose the correct 5.1 profile for the soundcard where the surround system is attached.

For some more details, have a look at e.g. https://wiki.archlinux.org/title/PulseA ... nd_systems

Re: no way to change line-in, line-out, mic-in to 5.1 line-o

PostPosted: Aug 30th, '21, 11:22
by BIKO84
Thank you guys for your quick response. Unfortunately that doesnt help me, cause wether in the audio setting nor in the mixer or pavucontrol I cant choose analog 5.1 surround sound. There are only options for analog stereo, analog stereo duplex and several digital surround sound options via hdmi. On hdmi I have my beamer pluged in and my surround sound system has only phone jacks. As I have written above the line-in pin has to be switched to rear speaker out and the mic-in pin to subwoofer speaker out as it is discribed in my mainboard users guide. In windows I can do that by the realtek configuration software in mageia I cant. Mageia detects the line-in only as line-in (not as a rear speaker output) and the mic-in only as mic-in (not as a subwoofer output). There is no way to switch the function of these two phone jacks as it is possible in windows in the realtek software. If you have any further ideas how to manage that with the present software I would be very thankful, but it seems like it is a case for development. I dont believe I am or will be the only one with this problem. Can you please help out or report to a developer please? I hope I described my problem well. Dont hesitate for asking me more questions. Greetings from Dresden ;-)

Re: no way to change line-in, line-out, mic-in to 5.1 line-o

PostPosted: Aug 30th, '21, 11:23
by BIKO84
Thanks in advance for your efforts!!!!!

Re: no way to change line-in, line-out, mic-in to 5.1 line-o

PostPosted: Aug 30th, '21, 21:17
by doktor5000
Can you attach a screenshot of the configuration tab of pavucontrol after clicking on the dropdown menu for your card so all the profiles are listed?

Would be appreciated if you can add the outputs as regular user of
Code: Select all
LC_ALL=C pacmd ls
grep -i codec /proc/asound/card*/codec*
lspcidrake -v | grep -i audio
dmesg|grep hda

Re: no way to change line-in, line-out, mic-in to 5.1 line-o

PostPosted: Aug 30th, '21, 23:03
by BIKO84
I would like to take a screenshot, but with an open drop down menu mageia doesnt take it. I tried it with the print key and GIMP. Can you tell me how to take it? There are a lot of options in the drop down menu, but unfortunately no analog 5.1 surround (3 phone jacks), only analog stereo and digital surround sound over hdmi. I can take only a screenshot without drop down. See attachment.

these are the outputs:

Code: Select all
[martin@localhost ~]$ LC_ALL=C pacmd ls
grep -i codec /proc/asound/card*/codec*
lspcidrake -v | grep -i audio
dmesg|grep hda
Memory blocks currently allocated: 4, size: 69,9 KiB.
Memory blocks allocated during the whole lifetime: 72515, size: 165,9 MiB.
Memory blocks imported from other processes: 0, size: 0 B.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 2ch 44100Hz
Default channel map: front-left,front-right
Default sink name: alsa_output.pci-0000_00_1f.3.analog-stereo
Default source name: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
Memory blocks of type POOL: 3 allocated/24196 accumulated.
Memory blocks of type POOL_EXTERNAL: 1 allocated/47417 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/47866 accumulated.
Memory blocks of type IMPORTED: 0 allocated/453 accumulated.
22 module(s) loaded.
    index: 0
        name: <module-device-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute state of devices"
                module.version = "14.2.0-2.1.mga8"
    index: 1
        name: <module-stream-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute/device state of streams"
                module.version = "14.2.0-2.1.mga8"
    index: 2
        name: <module-card-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore profile of cards"
                module.version = "14.2.0-2.1.mga8"
    index: 3
        name: <module-augment-properties>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Augment the property sets of streams with additional static information"
                module.version = "14.2.0-2.1.mga8"
    index: 4
        name: <module-switch-on-port-available>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "David Henningsson"
                module.description = "Switches ports and profiles when devices are plugged/unplugged"
                module.version = "14.2.0-2.1.mga8"
    index: 5
        name: <module-udev-detect>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Detect available audio hardware and load matching drivers"
                module.version = "14.2.0-2.1.mga8"
    index: 6
        name: <module-alsa-card>
        argument: <device_id="0" name="pci-0000_00_1f.3" card_name="alsa_card.pci-0000_00_1f.3" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1">
        used: 2
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "ALSA Card"
                module.version = "14.2.0-2.1.mga8"
    index: 7
        name: <module-esound-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "ESOUND protocol (UNIX sockets)"
                module.version = "14.2.0-2.1.mga8"
    index: 8
        name: <module-native-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Native protocol (UNIX sockets)"
                module.version = "14.2.0-2.1.mga8"
    index: 9
        name: <module-gsettings>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Sylvain Baubeau"
                module.description = "GSettings Adapter"
                module.version = "14.2.0-2.1.mga8"
    index: 10
        name: <module-default-device-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the default sink and source"
                module.version = "14.2.0-2.1.mga8"
    index: 11
        name: <module-always-sink>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Hält stets ein Ziel geladen, selbst wenn dies ein Null-Ziel ist"
                module.version = "14.2.0-2.1.mga8"
    index: 12
        name: <module-intended-roles>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically set device of streams based on intended roles of devices"
                module.version = "14.2.0-2.1.mga8"
    index: 13
        name: <module-suspend-on-idle>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "When a sink/source is idle for too long, suspend it"
                module.version = "14.2.0-2.1.mga8"
    index: 14
        name: <module-systemd-login>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Create a client for each login session of this user"
                module.version = "14.2.0-2.1.mga8"
    index: 15
        name: <module-position-event-sounds>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
                module.version = "14.2.0-2.1.mga8"
    index: 16
        name: <module-role-cork>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Mute & cork streams with certain roles while others exist"
                module.version = "14.2.0-2.1.mga8"
    index: 17
        name: <module-filter-heuristics>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Detect when various filters are desirable"
                module.version = "14.2.0-2.1.mga8"
    index: 18
        name: <module-filter-apply>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Load filter sinks automatically when needed"
                module.version = "14.2.0-2.1.mga8"
    index: 19
        name: <module-x11-publish>
        argument: <display=:0 xauthority=/home/martin/.Xauthority>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "X11 credential publisher"
                module.version = "14.2.0-2.1.mga8"
    index: 20
        name: <module-x11-xsmp>
        argument: <display=:0 xauthority=/home/martin/.Xauthority session_manager=local/localhost.localdomain:@/tmp/.ICE-unix/6399,unix/localhost.localdomain:/tmp/.ICE-unix/6399>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "X11 session management"
                module.version = "14.2.0-2.1.mga8"
    index: 21
        name: <module-cli-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Command line interface protocol (UNIX sockets)"
                module.version = "14.2.0-2.1.mga8"
1 sink(s) available.
  * index: 0
        name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: IDLE
        suspend cause: (none)
        priority: 9039
        volume: front-left: 48497 /  74% / -7,85 dB,   front-right: 48497 /  74% / -7,85 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        current latency: 34,56 ms
        max request: 6 KiB
        max rewind: 6 KiB
        monitor source: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 1
        configured latency: 40,00 ms; range is 0,50 .. 2000,00 ms
        card: 0 <alsa_card.pci-0000_00_1f.3>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC887-VD Analog"
                alsa.id = "ALC887-VD Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xb1120000 irq 130"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a3f0"
                device.form_factor = "internal"
                device.string = "front:0"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "176400"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Internes Audio Analog Stereo"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: yes)
                        properties:

                analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-lineout>
1 source(s) available.
  * index: 0
        name: <alsa_output.pci-0000_00_1f.3.analog-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: RUNNING
        suspend cause: (none)
        priority: 1030
        volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max rewind: 6 KiB
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 1
        linked by: 1
        configured latency: 40,00 ms; range is 0,50 .. 2000,00 ms
        monitor_of: 0
        card: 0 <alsa_card.pci-0000_00_1f.3>
        module: 6
        properties:
                device.description = "Monitor of Internes Audio Analog Stereo"
                device.class = "monitor"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xb1120000 irq 130"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a3f0"
                device.form_factor = "internal"
                device.string = "0"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
9 client(s) logged in.
    index: 0
        driver: <module-systemd-login.c>
        owner module: 14
        properties:
                application.name = "Login Session c2"
                systemd-login.session = "c2"
    index: 7
        driver: <module-x11-xsmp.c>
        owner module: 20
        properties:
                application.name = "XSMP Session on KDE as 1028c1d320b210000163035792300000063990010"
                xsmp.vendor = "KDE"
                xsmp.client.id = "1028c1d320b210000163035792300000063990010"
    index: 8
        driver: <protocol-native.c>
        owner module: 8
        properties:
                application.name = "QPulse"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.process.id = "6408"
                application.process.user = "martin"
                application.process.host = "localhost.localdomain"
                application.process.binary = "plasmashell"
                application.language = "de_DE.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "a139778dc1594268aeb38a26d478b67a"
                application.process.session_id = "c2"
    index: 9
        driver: <protocol-native.c>
        owner module: 8
        properties:
                application.name = "PulseAudio-Lautstärkeregler"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.id = "org.PulseAudio.pavucontrol"
                application.icon_name = "audio-card"
                application.version = "0.1"
                application.process.id = "7656"
                application.process.user = "martin"
                application.process.host = "localhost.localdomain"
                application.process.binary = "pavucontrol-qt"
                application.language = "de_DE.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "a139778dc1594268aeb38a26d478b67a"
                application.process.session_id = "c2"
    index: 10
        driver: <protocol-native.c>
        owner module: 8
        properties:
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                window.x11.display = ":0"
                window.x11.screen = "0"
                application.process.id = "8303"
                application.process.user = "martin"
                application.process.host = "localhost.localdomain"
                application.process.binary = "firefox"
                application.language = "de_DE.UTF-8"
                application.process.machine_id = "a139778dc1594268aeb38a26d478b67a"
                application.process.session_id = "c2"
                application.icon_name = "firefox"
    index: 11
        driver: <protocol-native.c>
        owner module: 8
        properties:
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.icon_name = "firefox"
                application.version = "78.13.0"
                application.process.id = "8303"
                application.process.user = "martin"
                application.process.host = "localhost.localdomain"
                application.process.binary = "firefox"
                application.language = "de_DE.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "a139778dc1594268aeb38a26d478b67a"
                application.process.session_id = "c2"
    index: 12
        driver: <protocol-native.c>
        owner module: 8
        properties:
                application.name = "GNU Image Manipulation Program"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.icon_name = "gimp-wilber"
                window.x11.display = ":0"
                window.x11.screen = "0"
                application.process.id = "17202"
                application.process.user = "martin"
                application.process.host = "localhost.localdomain"
                application.process.binary = "gimp-2.10"
                application.language = "de_DE.UTF-8"
                application.process.machine_id = "a139778dc1594268aeb38a26d478b67a"
                application.process.session_id = "c2"
    index: 14
        driver: <protocol-native.c>
        owner module: 8
        properties:
                application.name = "KWin"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.id = "org.kde.kwin"
                application.icon_name = ""
                application.process.id = "6348"
                application.process.user = "martin"
                application.process.host = "localhost.localdomain"
                application.process.binary = "kwin_x11"
                application.language = "de_DE.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "a139778dc1594268aeb38a26d478b67a"
                application.process.session_id = "c2"
    index: 16
        driver: <cli.c>
        owner module: 21
        properties:
                application.name = "UNIX socket client"
1 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_00_1f.3>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xb1120000 irq 130"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a3f0"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Internes Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Analog Stereo-Eingabe (priority 65, available: unknown)
                output:analog-stereo: Analog Stereo-Ausgabe (priority 6500, available: unknown)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
                output:hdmi-stereo: Digital Stereo (HDMI)-Ausgabe (priority 5900, available: no)
                output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI)-Ausgabe + Analog Stereo-Eingabe (priority 5965, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI)-Ausgabe (priority 800, available: no)
                output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI)-Ausgabe + Analog Stereo-Eingabe (priority 865, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI)-Ausgabe (priority 800, available: no)
                output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI)-Ausgabe + Analog Stereo-Eingabe (priority 865, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2)-Ausgabe (priority 5700, available: no)
                output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2)-Ausgabe (priority 600, available: no)
                output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2)-Ausgabe + Analog Stereo-Eingabe (priority 665, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2)-Ausgabe (priority 600, available: no)
                output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2)-Ausgabe + Analog Stereo-Eingabe (priority 665, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3)-Ausgabe (priority 5700, available: unknown)
                output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: unknown)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3)-Ausgabe (priority 600, available: unknown)
                output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3)-Ausgabe + Analog Stereo-Eingabe (priority 665, available: unknown)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4)-Ausgabe (priority 5700, available: no)
                output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4)-Ausgabe (priority 600, available: no)
                output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4)-Ausgabe + Analog Stereo-Eingabe (priority 665, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4)-Ausgabe (priority 600, available: no)
                output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4)-Ausgabe + Analog Stereo-Eingabe (priority 665, available: no)
                output:hdmi-stereo-extra4: Digital Stereo (HDMI 5)-Ausgabe (priority 5700, available: no)
                output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: no)
                output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5)-Ausgabe (priority 600, available: no)
                output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5)-Ausgabe + Analog Stereo-Eingabe (priority 665, available: no)
                output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5)-Ausgabe (priority 600, available: no)
                output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5)-Ausgabe + Analog Stereo-Eingabe (priority 665, available: no)
                off: Aus (priority 0, available: unknown)
        active profile: <output:analog-stereo>
        sinks:
                alsa_output.pci-0000_00_1f.3.analog-stereo/#0: Internes Audio Analog Stereo
        sources:
                alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#0: Monitor of Internes Audio Analog Stereo
        ports:
                analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: yes)
                        properties:

                analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: yes)
                        properties:

                analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "LG PJTR"
                hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
0 sink input(s) available.
1 source output(s) available.
    index: 0
        driver: <protocol-native.c>
        flags: DONT_MOVE
        state: RUNNING
        source: 0 <alsa_output.pci-0000_00_1f.3.analog-stereo.monitor>
        volume: mono: 65536 / 100% / 0,00 dB
                balance 0,00
        muted: no
        current latency: 19,84 ms
        requested latency: 40,00 ms
        sample spec: float32le 1ch 25Hz
        channel map: mono
                     Mono
        resample method: peaks
        owner module: 8
        client: 9 <PulseAudio-Lautstärkeregler>
        properties:
                media.name = "Ausschlagsserkennung"
                application.name = "PulseAudio-Lautstärkeregler"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.id = "org.PulseAudio.pavucontrol"
                application.icon_name = "audio-card"
                application.version = "0.1"
                application.process.id = "7656"
                application.process.user = "martin"
                application.process.host = "localhost.localdomain"
                application.process.binary = "pavucontrol-qt"
                application.language = "de_DE.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "a139778dc1594268aeb38a26d478b67a"
                application.process.session_id = "c2"
                module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"
0 cache entrie(s) available.
/proc/asound/card0/codec#0:Codec: Realtek ALC887-VD
/proc/asound/card0/codec#2:Codec: Intel Kabylake HDMI
snd_hda_intel   : Intel Corporation|Device a3f0 [MULTIMEDIA_AUDIO_DEV] (vendor:8086 device:a3f0 subv:1458 subd:a0a3)
[    3.556441] snd_hda_intel 0000:00:1f.3: enabling device (0400 -> 0402)
[    3.556622] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.619278] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC887-VD: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[    3.619284] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=1 (0x17/0x0/0x0/0x0/0x0)
[    3.619289] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    3.619292] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    3.619294] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    3.619298] snd_hda_codec_realtek hdaudioC0D0:      Front Mic=0x19
[    3.619302] snd_hda_codec_realtek hdaudioC0D0:      Rear Mic=0x18
[    3.619305] snd_hda_codec_realtek hdaudioC0D0:      Line=0x1a


Thanks man!

Re: no way to change line-in, line-out, mic-in to 5.1 line-o

PostPosted: Aug 30th, '21, 23:39
by sturmvogel
With the program "spectacle" you can also take screenshots with time delays, so that drop down menus get captured. This program is installed by default on Mageia 8.

Please put all console outputs in "code" tags when you edit your posts here in the forum. This will make your posts better readable.
Code: Select all
Example here

Re: no way to change line-in, line-out, mic-in to 5.1 line-o

PostPosted: Aug 31st, '21, 13:09
by BIKO84
Thanks for the advice, sturmvogel! The delay option didnt came to my mind! Here are the screenshots. Thanks again so much for your efforts and help!

Re: no way to change line-in, line-out, mic-in to 5.1 line-o

PostPosted: Aug 31st, '21, 17:53
by doktor5000
Well, that's strange, the card doesn't seem to offer any analog surround profiles currently:

profiles:
input:analog-stereo: Analog Stereo-Eingabe (priority 65, available: unknown)
output:analog-stereo: Analog Stereo-Ausgabe (priority 6500, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
output:hdmi-stereo: Digital Stereo (HDMI)-Ausgabe (priority 5900, available: no)
output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI)-Ausgabe + Analog Stereo-Eingabe (priority 5965, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI)-Ausgabe (priority 800, available: no)
output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI)-Ausgabe + Analog Stereo-Eingabe (priority 865, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI)-Ausgabe (priority 800, available: no)
output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI)-Ausgabe + Analog Stereo-Eingabe (priority 865, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2)-Ausgabe (priority 5700, available: no)
output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2)-Ausgabe (priority 600, available: no)
output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2)-Ausgabe + Analog Stereo-Eingabe (priority 665, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2)-Ausgabe (priority 600, available: no)
output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2)-Ausgabe + Analog Stereo-Eingabe (priority 665, available: no)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3)-Ausgabe (priority 5700, available: unknown)
output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: unknown)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3)-Ausgabe (priority 600, available: unknown)
output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3)-Ausgabe + Analog Stereo-Eingabe (priority 665, available: unknown)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4)-Ausgabe (priority 5700, available: no)
output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4)-Ausgabe (priority 600, available: no)
output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4)-Ausgabe + Analog Stereo-Eingabe (priority 665, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4)-Ausgabe (priority 600, available: no)
output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4)-Ausgabe + Analog Stereo-Eingabe (priority 665, available: no)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5)-Ausgabe (priority 5700, available: no)
output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: no)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5)-Ausgabe (priority 600, available: no)
output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5)-Ausgabe + Analog Stereo-Eingabe (priority 665, available: no)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5)-Ausgabe (priority 600, available: no)
output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5)-Ausgabe + Analog Stereo-Eingabe (priority 665, available: no)
off: Aus (priority 0, available: unknown)
active profile: <output:analog-stereo>


That could be an autoconfig problem, you could try with one of the module-specific options for your codec, check https://www.kernel.org/doc/html/latest/ ... -1150-1220

Create the file /etc/modprobe.d/sound.conf with the following content
Code: Select all
options snd-hda-intel model=lenovo-y530

e.g. if you have a Lenovo Y530 or similar. Then reboot and try again.

You could also try the hint from https://www.freedesktop.org/wiki/Softwa ... ntspeakers

Re: no way to change line-in, line-out, mic-in to 5.1 line-o

PostPosted: Aug 31st, '21, 21:46
by BIKO84
Thanks man! But unfortunately both hints didnt help. I have an ALC887 codec, but none of the modules there. I have a desktop pc with a new gigabyte h410m s2h motherboard. This is the link to the manual: https://download.gigabyte.com/FileList/ ... -s2h_e.pdf

Also the second hint didnt work. I modified the deamon.conf as described and tried other things too, there where still the same options without analog surround.

As you can see in the manual on page 11 there is analog 5.1 surround sound available by using the phone jacks, but you need to change the ability of the mic in to subwoofer/center out and the line in to rear speaker out. Under windows i could do that by using the realtek settings software, but in mageia pulse audio doesnt has the ability to change the function of those two phone jacks. I guess that not only this mainboard has this special option and many or most surround sound speakers are working analog. Is there any hope for that pulse audio or mageia support that in future? Or do you have any other idea to make it work? (sounds dramatic when I write like this, but the only other option is to buy a soundcard with analog surround sound and hoping that pulse audio take it)

Re: no way to change line-in, line-out, mic-in to 5.1 line-o

PostPosted: Aug 31st, '21, 22:58
by doktor5000
BIKO84 wrote:Is there any hope for that pulse audio or mageia support that in future? Or do you have any other idea to make it work?

There's no special support from pulse needed for that, the problem is with the codec and the driver for it. If the auto-detection doesn't choose the correct model
then some things like jack sensing or something what you're trying to do won't work out of the box. Sometimes it's even dependent on what you have currently plugged into the card.

FWIW, I've got a Realtek 1150 codec and the analog surround options are available here, without any special changes.
Screenshot_20210831_223854.png
Screenshot_20210831_223854.png (71.38 KiB) Viewed 22084 times


Here are some links with related issues with that codec, you need to try what works for you:

https://gist.github.com/kiview/7540d2e1 ... 9bef388d46
https://bbs.archlinux.org/viewtopic.php?id=219228
https://forum.ubuntuusers.de/topic/kein ... erfuegbar/

You can also try to run alsamixer then select your card with F6 and see if there are any other settings that help.

Re: no way to change line-in, line-out, mic-in to 5.1 line-o

PostPosted: Sep 5th, '21, 21:29
by BIKO84
Hello Doktor, thanks for your help! I made it finally. I used the Terminal for opening the alsamixer, then select my soundcard with F6 as you mentioned and then go left to the option "channels" and select 6 instead of 2. Then I opend pavucontrol and finally found the option 5.1 analog surround sound. That was all. Thanks man for guiding me to the solution! :-) Have a good day!

Re: no way to change line-in, line-out, mic-in to 5.1 line-o

PostPosted: Sep 5th, '21, 23:25
by doktor5000
Please don't forget to mark the thread as solved, by editing the subject of the first post and prefix it with [SOLVED], thanks in advance.