PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : KDE PulseAudio ignoreirt default-Einstellungen



JRausi
08.04.17, 12:46
Hallo,

Unter KDE gibt es unter Multimedia die Möglichkeit die Gerätepriorität des bevorzugten Ausgabe/Wiedergabegerätes einzustellen.
Das funktioniert soweit. Ich stelle das Geräte um - Anwenden - Geräteliste anwenden auf ... - alle auswählen ... Anwenden. Thema erledigt.

Kann man das auch per Kommandozeile machen?
Ich würde mir gern zwei Buttons in eine Kontrolleiste legen um dadurch die Gerätepriorität schnell wechseln zu können. In meinem Fall zwischen HDMI(Monitor) und onboard(Kopfhörer).

Ich habe ...
openSUSE 13.1
KDE 4.11.5
ALSA k3.11.10-11-desktop

Sauerland1
08.04.17, 15:41
pactl ist Dein Freund.
Ausgeführt als User.

Aber die openSUSE 13.1 würde ich einmal aktualisieren und sofort Leap 42.2 nehmen.

Alles andere wird nicht mehr bzw. bald nicht mehr unterstützt.

JRausi
08.04.17, 17:53
Alles klar probier ich.
Hab erst mit pacmd probiert, aber das hat KDE immer einfach ignoriert. KDE hat nur akzeptiert was ich in der Gerätepriorität eingestellt habe.

... und ja. Mein 13.1 ist nicht mehr das neueste. Habs zwar immer dank diversen Repos und einigen manuellen Kompilierungen halbwegs aktuell gehalten, aber spätestens beim neuen Rechner im Herbst wird eh neu installiert und dann wechsle ich auch auf ein aktuelles Leap. Mit der Zeit hat man so viele Anpassungen an seinem Linux gemacht und so viele kleine Scripte hier und da eingebaut und angepasst - da hat hab ich immer etwas Scheu davor alles neu installieren zu müssen. ;)

JRausi
09.04.17, 17:21
Mhmmm...
HIer mal die Ausgabe von pactl list:

Modul #0
Name: module-device-restore
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute state of devices"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #1
Name: module-stream-restore
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute/device state of streams"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #2
Name: module-card-restore
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "Automatically restore profile of cards"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #3
Name: module-augment-properties
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "Augment the property sets of streams with additional static information"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #4
Name: module-switch-on-port-available
Argument:
Nutzungszähler: k. A.
Eigenschaften:


Modul #5
Name: module-udev-detect
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "Detect available audio hardware and load matching drivers"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #6
Name: module-alsa-card
Argument: device_id="1" name="pci-0000_01_00.1" card_name="alsa_card.pci-0000_01_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
Nutzungszähler: 0
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "ALSA Card"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #7
Name: module-alsa-card
Argument: device_id="0" name="pci-0000_00_14.2" card_name="alsa_card.pci-0000_00_14.2" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
Nutzungszähler: 0
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "ALSA Card"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #8
Name: module-alsa-card
Argument: device_id="2" name="pci-0000_04_06.0" card_name="alsa_card.pci-0000_04_06.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
Nutzungszähler: 0
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "ALSA Card"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #9
Name: module-jackdbus-detect
Argument: channels=2
Nutzungszähler: k. A.
Eigenschaften:
module.author = "David Henningsson"
module.description = "Adds JACK sink/source ports when JACK is started"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #10
Name: module-bluetooth-policy
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Frédéric Dalleau"
module.description = "When a bluetooth sink or source is added, load module-loopback"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #11
Name: module-bluetooth-discover
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "João Paulo Rechi Vita"
module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #12
Name: module-bluez5-discover
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "João Paulo Rechi Vita"
module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #13
Name: module-esound-protocol-unix
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "ESOUND protocol (UNIX sockets)"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #14
Name: module-native-protocol-unix
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "Native protocol (UNIX sockets)"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #15
Name: module-default-device-restore
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "Automatically restore the default sink and source"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #16
Name: module-rescue-streams
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #17
Name: module-always-sink
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Colin Guthrie"
module.description = "Hält stets einen Sink geladen, selbst wenn dies ein Null-Sink ist"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #18
Name: module-intended-roles
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "Automatically set device of streams based on intended roles of devices"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #19
Name: module-suspend-on-idle
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "When a sink/source is idle for too long, suspend it"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #20
Name: module-console-kit
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "Create a client for each ConsoleKit session of this user"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #21
Name: module-systemd-login
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "Create a client for each login session of this user"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #22
Name: module-position-event-sounds
Argument:
Nutzungszähler: k. A.
Eigenschaften:
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 = "4.0-270-g9490a-rebootstrapped"

Modul #23
Name: module-role-cork
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "Mute & cork streams with certain roles while others exist"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #24
Name: module-filter-heuristics
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Colin Guthrie"
module.description = "Detect when various filters are desirable"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #25
Name: module-filter-apply
Argument:
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Colin Guthrie"
module.description = "Load filter sinks automatically when needed"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #26
Name: module-device-manager
Argument: do_routing=1
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Colin Guthrie"
module.description = "Keep track of devices (and their descriptions) both past and present and prioritise by role"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #27
Name: module-x11-publish
Argument: display=:0
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "X11 credential publisher"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #28
Name: module-x11-cork-request
Argument: display=:0
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "Synthesize X11 media key events when cork/uncork is requested"
module.version = "4.0-270-g9490a-rebootstrapped"

Modul #29
Name: module-x11-xsmp
Argument: display=:0 session_manager=local/linuxpc:@/tmp/.ICE-unix/4152,unix/linuxpc:/tmp/.ICE-unix/4152
Nutzungszähler: k. A.
Eigenschaften:
module.author = "Lennart Poettering"
module.description = "X11 session management"
module.version = "4.0-270-g9490a-rebootstrapped"

Sink #0
State: SUSPENDED
Name: alsa_output.pci-0000_01_00.1.hdmi-stereo
Description: Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] Digital Stereo (HDMI)
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 6
Mute: no
Volume: front-left: 90521 / 138% / 8,42 dB, front-right: 90521 / 138% / 8,42 dB
balance 0,00
Base Volume: 65536 / 100% / 0,00 dB
Monitor Source: alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 0"
alsa.id = "HDMI 0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "3"
alsa.card = "1"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfdefc000 irq 44"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "aab0"
device.product.name = "Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]"
device.string = "hdmi:1"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo"
device.profile.description = "Digital Stereo (HDMI)"
device.description = "Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] Digital Stereo (HDMI)"
alsa.mixer_name = "ATI R6xx HDMI"
alsa.components = "HDA:1002aa01,00aa0100,00100300"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profile:
hdmi-output-0: HDMI / DisplayPort (priority: 5900, available)
Aktive Profile: hdmi-output-0
Formats:
ac3-iec61937, format.rate = "[ 32000, 44100, 48000 ]"
eac3-iec61937, format.rate = "[ 32000, 44100, 48000 ]"
mpeg-iec61937, format.rate = "[ 32000, 44100, 48000 ]"
dts-iec61937, format.rate = "[ 32000, 44100, 48000 ]"
pcm

Sink #1
State: SUSPENDED
Name: alsa_output.pci-0000_00_14.2.analog-stereo
Description: Internes Audio Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 7
Mute: no
Volume: front-left: 55542 / 85% / -4,31 dB, front-right: 55542 / 85% / -4,31 dB
balance 0,00
Base Volume: 65536 / 100% / 0,00 dB
Monitor Source: alsa_output.pci-0000_00_14.2.analog-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC889A Analog"
alsa.id = "ALC889A Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA ATI SB"
alsa.long_card_name = "HDA ATI SB at 0xfe024000 irq 16"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:14.2"
sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "4383"
device.product.name = "SBx00 Azalia (Intel HDA)"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Internes Audio Analog Stereo"
alsa.mixer_name = "Realtek ALC889A"
alsa.components = "HDA:10ec0885,1458a102,00100101"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profile:
analog-output-lineout: Line Out (priority: 9900, available)
analog-output-headphones: Analoge Kopfhörer (priority: 9000, not available)
Aktive Profile: analog-output-lineout
Formats:
pcm

Sink #2
State: SUSPENDED
Name: alsa_output.pci-0000_04_06.0.analog-surround-51
Description: CMI8738/CMI8768 PCI Audio (Aureon 5.1) Analog Surround 5.1
Driver: module-alsa-card.c
Sample Specification: s16le 6ch 44100Hz
Channel Map: front-left,front-right,rear-left,rear-right,front-center,lfe
Owner Module: 8
Mute: no
Volume: front-left: 65536 / 100%, front-right: 65536 / 100%, rear-left: 65536 / 100%, rear-right: 65536 / 100%, front-center: 65536 / 100%, lfe: 65536 / 100%
balance 0,00
Base Volume: 65536 / 100%
Monitor Source: alsa_output.pci-0000_04_06.0.analog-surround-51.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "C-Media PCI 2nd DAC"
alsa.id = "CMI8738-MC6"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "1"
alsa.card = "2"
alsa.card_name = "C-Media CMI8738"
alsa.long_card_name = "C-Media CMI8738 (model 55) at 0xbe00, irq 20"
alsa.driver_name = "snd_cmipci"
device.bus_path = "pci-0000:04:06.0"
sysfs.path = "/devices/pci0000:00/0000:00:14.4/0000:04:06.0/sound/card2"
device.bus = "pci"
device.vendor.id = "13f6"
device.vendor.name = "C-Media Electronics Inc"
device.product.id = "0111"
device.product.name = "CMI8738/CMI8768 PCI Audio (Aureon 5.1)"
device.string = "surround51:2"
device.buffering.buffer_size = "65532"
device.buffering.fragment_size = "32760"
device.access_mode = "mmap+timer"
device.profile.name = "analog-surround-51"
device.profile.description = "Analog Surround 5.1"
device.description = "CMI8738/CMI8768 PCI Audio (Aureon 5.1) Analog Surround 5.1"
alsa.mixer_name = "CMedia PCI"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profile:
analog-output: Analoge Ausgabe (priority: 9900)
Aktive Profile: analog-output
Formats:
pcm

Source #0
State: SUSPENDED
Name: alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
Description: Monitor of Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] Digital Stereo (HDMI)
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 6
Mute: no
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
Monitor of Sink: alsa_output.pci-0000_01_00.1.hdmi-stereo
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.description = "Monitor of Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] Digital Stereo (HDMI)"
device.class = "monitor"
alsa.card = "1"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfdefc000 irq 44"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "aab0"
device.product.name = "Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]"
device.string = "1"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Formats:
pcm

Source #1
State: SUSPENDED
Name: alsa_output.pci-0000_00_14.2.analog-stereo.monitor
Description: Monitor of Internes Audio Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 7
Mute: no
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
Monitor of Sink: alsa_output.pci-0000_00_14.2.analog-stereo
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.description = "Monitor of Internes Audio Analog Stereo"
device.class = "monitor"
alsa.card = "0"
alsa.card_name = "HDA ATI SB"
alsa.long_card_name = "HDA ATI SB at 0xfe024000 irq 16"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:14.2"
sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "4383"
device.product.name = "SBx00 Azalia (Intel HDA)"
device.form_factor = "internal"
device.string = "0"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Formats:
pcm

Source #2
State: SUSPENDED
Name: alsa_input.pci-0000_00_14.2.analog-stereo
Description: Internes Audio Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 7
Mute: no
Volume: front-left: 3547 / 5% / -76,00 dB, front-right: 3547 / 5% / -76,00 dB
balance 0,00
Base Volume: 6554 / 10% / -60,00 dB
Monitor of Sink: k. A.
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC889A Analog"
alsa.id = "ALC889A Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA ATI SB"
alsa.long_card_name = "HDA ATI SB at 0xfe024000 irq 16"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:14.2"
sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "4383"
device.product.name = "SBx00 Azalia (Intel HDA)"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Internes Audio Analog Stereo"
alsa.mixer_name = "Realtek ALC889A"
alsa.components = "HDA:10ec0885,1458a102,00100101"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profile:
analog-input-front-mic: Front Microphone (priority: 8500, not available)
analog-input-rear-mic: Rear Microphone (priority: 8200, not available)
analog-input-linein: Line In (priority: 8100, not available)
Aktive Profile: analog-input-linein
Formats:
pcm

Source #3
State: SUSPENDED
Name: alsa_output.pci-0000_04_06.0.analog-surround-51.monitor
Description: Monitor of CMI8738/CMI8768 PCI Audio (Aureon 5.1) Analog Surround 5.1
Driver: module-alsa-card.c
Sample Specification: s16le 6ch 44100Hz
Channel Map: front-left,front-right,rear-left,rear-right,front-center,lfe
Owner Module: 8
Mute: no
Volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB, rear-left: 65536 / 100% / 0,00 dB, rear-right: 65536 / 100% / 0,00 dB, front-center: 65536 / 100% / 0,00 dB, lfe: 65536 / 100% / 0,00 dB
balance 0,00
Base Volume: 65536 / 100% / 0,00 dB
Monitor of Sink: alsa_output.pci-0000_04_06.0.analog-surround-51
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.description = "Monitor of CMI8738/CMI8768 PCI Audio (Aureon 5.1) Analog Surround 5.1"
device.class = "monitor"
alsa.card = "2"
alsa.card_name = "C-Media CMI8738"
alsa.long_card_name = "C-Media CMI8738 (model 55) at 0xbe00, irq 20"
alsa.driver_name = "snd_cmipci"
device.bus_path = "pci-0000:04:06.0"
sysfs.path = "/devices/pci0000:00/0000:00:14.4/0000:04:06.0/sound/card2"
device.bus = "pci"
device.vendor.id = "13f6"
device.vendor.name = "C-Media Electronics Inc"
device.product.id = "0111"
device.product.name = "CMI8738/CMI8768 PCI Audio (Aureon 5.1)"
device.string = "2"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Formats:
pcm

Client #0
Treiber: module-systemd-login.c
Owner-Modul: 21
Eigenschaften:
application.name = "Login Session 1"
systemd-login.session = "1"

Client #4
Treiber: protocol-native.c
Owner-Modul: 14
Eigenschaften:
application.name = "KMix"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "29"
application.process.id = "4194"
application.process.user = "joerg"
application.process.host = "linuxpc"
application.process.binary = "kdeinit4"
application.language = "de_DE.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "a101a70076324be7995d68b67cb57aa7"
application.process.session_id = "1"

Client #8
Treiber: protocol-native.c
Owner-Modul: 14
Eigenschaften:
application.name = "KMix"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "29"
application.process.id = "4079"
application.process.user = "joerg"
application.process.host = "linuxpc"
application.process.binary = "kdeinit4"
application.language = "de_DE.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "a101a70076324be7995d68b67cb57aa7"
application.process.session_id = "1"

Client #11
Treiber: module-x11-xsmp.c
Owner-Modul: 29
Eigenschaften:
application.name = "XSMP Session on KDE as 10e4d9d175000149175342600000041520008"
xsmp.vendor = "KDE"
xsmp.client.id = "10e4d9d175000149175342600000041520008"

Client #12
Treiber: protocol-native.c
Owner-Modul: 14
Eigenschaften:
application.name = "Thunderbird"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "29"
window.x11.screen = "0"
window.x11.display = ":0"
application.process.id = "4283"
application.process.user = "joerg"
application.process.host = "linuxpc"
application.process.binary = "thunderbird-bin"
application.language = "de_DE.UTF-8"
application.process.machine_id = "a101a70076324be7995d68b67cb57aa7"
application.process.session_id = "1"

Client #13
Treiber: protocol-native.c
Owner-Modul: 14
Eigenschaften:
application.name = "Firefox"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "29"
window.x11.screen = "0"
window.x11.display = ":0"
application.process.id = "4397"
application.process.user = "joerg"
application.process.host = "linuxpc"
application.process.binary = "firefox"
application.language = "de_DE.UTF-8"
application.process.machine_id = "a101a70076324be7995d68b67cb57aa7"
application.process.session_id = "1"
application.icon_name = "firefox"

Client #14
Treiber: protocol-native.c
Owner-Modul: 14
Eigenschaften:
application.name = "Firefox"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "29"
application.version = "52.0.2"
application.icon_name = "firefox"
application.process.id = "4397"
application.process.user = "joerg"
application.process.host = "linuxpc"
application.process.binary = "firefox"
window.x11.display = ":0"
application.language = "de_DE.UTF-8"
application.process.machine_id = "a101a70076324be7995d68b67cb57aa7"
application.process.session_id = "1"

Client #15
Treiber: protocol-native.c
Owner-Modul: 14
Eigenschaften:
application.name = "pactl"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "29"
application.process.id = "4754"
application.process.user = "joerg"
application.process.host = "linuxpc"
application.process.binary = "pactl"
application.language = "de_DE.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "a101a70076324be7995d68b67cb57aa7"
application.process.session_id = "1"

Karte #0
Name: alsa_card.pci-0000_01_00.1
Treiber: module-alsa-card.c
Owner-Modul: 6
Eigenschaften:
alsa.card = "1"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfdefc000 irq 44"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "aab0"
device.product.name = "Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]"
device.string = "1"
device.description = "Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profile:
output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5400, available: yes)
off: Aus (sinks: 0, sources: 0, priority: 0, available: yes)
Aktive Profile: output:hdmi-stereo
Profile:
hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, available)
Properties:
device.icon_name = "video-display"
Part of profile(s): output:hdmi-stereo

Karte #1
Name: alsa_card.pci-0000_00_14.2
Treiber: module-alsa-card.c
Owner-Modul: 7
Eigenschaften:
alsa.card = "0"
alsa.card_name = "HDA ATI SB"
alsa.long_card_name = "HDA ATI SB at 0xfe024000 irq 16"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:14.2"
sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "4383"
device.product.name = "SBx00 Azalia (Intel HDA)"
device.form_factor = "internal"
device.string = "0"
device.description = "Internes Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profile:
input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 60, available: yes)
input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority: 55, available: yes)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6060, available: yes)
output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 6055, available: yes)
output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 700, available: yes)
output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 760, available: yes)
output:analog-surround-40+input:iec958-stereo: Analog Surround 4.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 755, available: yes)
output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 800, available: yes)
output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 860, available: yes)
output:analog-surround-41+input:iec958-stereo: Analog Surround 4.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 855, available: yes)
output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 700, available: yes)
output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 760, available: yes)
output:analog-surround-50+input:iec958-stereo: Analog Surround 5.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 755, available: yes)
output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 800, available: yes)
output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 860, available: yes)
output:analog-surround-51+input:iec958-stereo: Analog Surround 5.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 855, available: yes)
output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority: 700, available: yes)
output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 760, available: yes)
output:analog-surround-71+input:iec958-stereo: Analog Surround 7.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 755, available: yes)
output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5560, available: yes)
output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (sinks: 1, sources: 1, priority: 5555, available: yes)
off: Aus (sinks: 0, sources: 0, priority: 0, available: yes)
Aktive Profile: output:analog-stereo+input:analog-stereo
Profile:
analog-input-front-mic: Front Microphone (priority: 8500, latency offset: 0 usec, not available)
Properties:
device.icon_name = "audio-input-microphone"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo
analog-input-rear-mic: Rear Microphone (priority: 8200, latency offset: 0 usec, not available)
Properties:
device.icon_name = "audio-input-microphone"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo
analog-input-linein: Line In (priority: 8100, latency offset: 0 usec, not available)
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo
iec958-stereo-input: Digital Input (S/PDIF) (priority: 0, latency offset: 0 usec)
Part of profile(s): input:iec958-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-41+input:iec958-stereo, output:analog-surround-50+input:iec958-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71+input:iec958-stereo, output:iec958-stereo+input:iec958-stereo
analog-output-lineout: Line Out (priority: 9900, latency offset: 0 usec, available)
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-41+input:iec958-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-50+input:iec958-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71, output:analog-surround-71+input:analog-stereo, output:analog-surround-71+input:iec958-stereo
analog-output-headphones: Analoge Kopfhörer (priority: 9000, latency offset: 0 usec, not available)
Properties:
device.icon_name = "audio-headphones"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo
iec958-stereo-output: Digital Output (S/PDIF) (priority: 0, latency offset: 0 usec)
Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-stereo+input:iec958-stereo

Karte #2
Name: alsa_card.pci-0000_04_06.0
Treiber: module-alsa-card.c
Owner-Modul: 8
Eigenschaften:
alsa.card = "2"
alsa.card_name = "C-Media CMI8738"
alsa.long_card_name = "C-Media CMI8738 (model 55) at 0xbe00, irq 20"
alsa.driver_name = "snd_cmipci"
device.bus_path = "pci-0000:04:06.0"
sysfs.path = "/devices/pci0000:00/0000:00:14.4/0000:04:06.0/sound/card2"
device.bus = "pci"
device.vendor.id = "13f6"
device.vendor.name = "C-Media Electronics Inc"
device.product.id = "0111"
device.product.name = "CMI8738/CMI8768 PCI Audio (Aureon 5.1)"
device.string = "2"
device.description = "CMI8738/CMI8768 PCI Audio (Aureon 5.1)"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Profile:
input:analog-mono: Analog Mono Input (sinks: 0, sources: 1, priority: 1, available: yes)
input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 60, available: yes)
input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority: 55, available: yes)
output:analog-mono: Analog Mono Output (sinks: 1, sources: 0, priority: 100, available: yes)
output:analog-mono+input:analog-mono: Analog Mono Duplex (sinks: 1, sources: 1, priority: 101, available: yes)
output:analog-mono+input:analog-stereo: Analog Mono Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 160, available: yes)
output:analog-mono+input:iec958-stereo: Analog Mono Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 155, available: yes)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes)
output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (sinks: 1, sources: 1, priority: 6001, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6060, available: yes)
output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 6055, available: yes)
output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 700, available: yes)
output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 800, available: yes)
output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 700, available: yes)
output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 800, available: yes)
output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
output:iec958-stereo+input:analog-mono: Digital Stereo (IEC958) Output + Analog Mono Input (sinks: 1, sources: 1, priority: 5501, available: yes)
output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5560, available: yes)
output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (sinks: 1, sources: 1, priority: 5555, available: yes)
off: Aus (sinks: 0, sources: 0, priority: 0, available: yes)
Aktive Profile: output:analog-surround-51
Profile:
analog-input-mic;input-boost-on: Mikrofon / Boost (priority: 8700, latency offset: 0 usec)
Properties:
device.icon_name = "audio-input-microphone"
Part of profile(s): input:analog-mono, input:analog-stereo, output:analog-mono+input:analog-mono, output:analog-mono+input:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-mono, output:iec958-stereo+input:analog-stereo
analog-input-mic;input-boost-off: Mikrofon / Kein Boost (priority: 8700, latency offset: 0 usec)
Properties:
device.icon_name = "audio-input-microphone"
Part of profile(s): input:analog-mono, input:analog-stereo, output:analog-mono+input:analog-mono, output:analog-mono+input:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-mono, output:iec958-stereo+input:analog-stereo
analog-input-linein: Line In (priority: 8100, latency offset: 0 usec)
Part of profile(s): input:analog-mono, input:analog-stereo, output:analog-mono+input:analog-mono, output:analog-mono+input:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-mono, output:iec958-stereo+input:analog-stereo
analog-input-aux: Analoge Eingabe (priority: 8000, latency offset: 0 usec)
Part of profile(s): input:analog-mono, input:analog-stereo, output:analog-mono+input:analog-mono, output:analog-mono+input:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-mono, output:iec958-stereo+input:analog-stereo
iec958-stereo-input: Digital Input (S/PDIF) (priority: 0, latency offset: 0 usec)
Part of profile(s): input:iec958-stereo, output:analog-mono+input:iec958-stereo, output:analog-stereo+input:iec958-stereo, output:iec958-stereo+input:iec958-stereo
analog-output: Analoge Ausgabe (priority: 9900, latency offset: 0 usec)
Part of profile(s): output:analog-mono, output:analog-mono+input:analog-mono, output:analog-mono+input:analog-stereo, output:analog-mono+input:iec958-stereo, output:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-40, output:analog-surround-41, output:analog-surround-50, output:analog-surround-51
iec958-stereo-output: Digital Output (S/PDIF) (priority: 0, latency offset: 0 usec)
Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-mono, output:iec958-stereo+input:analog-stereo, output:iec958-stereo+input:iec958-stereo


Da aktuell im KDE HDMI als Ausgabe eingestellt ist, wollte ich mal umschalten auf den onboad-Sound mit ...
pactl set-default-sink alsa_output.pci-0000_00_14.2.analog-stereo
Es brachte keinen Fehler, aber auch keinen Erfolg. Im KDE ist weiterhin HDMI als Audioausgabe eingestellt.

Gibt es da einen anderen Befehl den KDE den auch versteht und verarbeitet?

PulseAudo ist übrigens Version 4.0.git.270.g9490a-20.1 (offizielles von SUSE 13.1)
libpulse ist 4.0.0

Sauerland1
09.04.17, 18:53
pactl set-sink-port alsa_output.pci-0000_00_14.2.analog-stereo analog-output

Evtl. so?

snowcrash23
10.04.17, 02:38
Das gleiche Problem das du hast konnte ich für mich mit folgendem script Lösen:

#!/bin/bash
# script to switch active sink in pulseaudio.

sinks=($(pacmd list-sinks | grep index | \
awk '{ if ($1 == "*") print "1"; else print "0" }'))

inputs=($(pacmd list-sink-inputs | grep index | awk '{print $2}'))

# find active sink:
active=0
for i in ${sinks }
do
if [ $i -eq 0 ]
then active=$((active+1))
else break
fi
done

# switch to next sink:
swap=$(((active+1)%${#sinks[@]}))
pacmd set-default-sink $swap &> /dev/null

# move running inputs to new sink:
for i in ${inputs }
do
pacmd move-sink-input $i $swap &> /dev/null
done


Das tolle an dem Skript ist das es auch noch die aktuell laufenden Streams auf das neue Device verschiebt so dass man laufende Anwendungen nicht neu zu starten braucht.
Du kannst dir auch leicht was selber bauen, der wichtigste befehl dürfte
pacmd set-default-sink X sein, hier für X einfach 0, 1 oder 2 einsetzen.

MfG
snowcrash23

edit: die libpulse liegt bei mir allerdings in version 10.0 vor und ich habe auch kein KDE am laufen... Aber vielleicht hilft es dir ja trotzdem ein bisschen weiter.

JRausi
20.04.17, 09:18
Hallo zusammen,

also ich hab jetzt vieles probiert - nur leider alles ohne Erfolg.
Auf der Kommandozeile klappt es, da wird mir die Info korrekt angezeigt, dass das Standardgerät umgeschaltet wurde, nur leider ignoriert das KDE komplett und will es immer in seinen Multimedia-Einstellungen separat geändert haben.

Vielen Dank für Eure HIlfe, aber ich denke ich werd' jetzt einfach so weiterarbeiten wie bisher und wenn im Herbst ein kompletter Umbau meines PC stattfindet und ich dann auch auf ein neues openSUSE (vermutl. 42.3) gehe probier ich es mal wieder.