________________ > pulseaudio_ps_do user 2189 0.0 0.3 633920 26544 ? S which pulseaudio /usr/bin/pulseaudio ________________ > pidof pulseaudio 2189 ________________ > pulseaudio --version pulseaudio 15.99.1 ________________ > pactl info Server String: /run/user/1000/pulse/native Library Protocol Version: 35 Server Protocol Version: 35 Is Local: yes Client Index: 23 Tile Size: 65472 User Name: user Host Name: ubuntu Server Name: pulseaudio Server Version: 15.99.1 Default Sample Specification: s16le 2ch 44100Hz Default Channel Map: front-left,front-right Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo Cookie: fe16:d980 ________________ > pactl list Module #0 Name: module-device-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore the volume/mute state of devices" module.version = "15.99.1" Module #1 Name: module-stream-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore the volume/mute/device state of streams" module.version = "15.99.1" Module #2 Name: module-card-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore profile of cards" module.version = "15.99.1" Module #3 Name: module-augment-properties Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Augment the property sets of streams with additional static information" module.version = "15.99.1" Module #4 Name: module-switch-on-port-available Argument: Usage counter: n/a Properties: module.author = "David Henningsson" module.description = "Switches ports and profiles when devices are plugged/unplugged" module.version = "15.99.1" Module #5 Name: module-switch-on-connect Argument: Usage counter: n/a Properties: module.author = "Michael Terry" module.description = "When a sink/source is added, switch to it or conditionally switch to it" module.version = "15.99.1" Module #6 Name: module-udev-detect Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Detect available audio hardware and load matching drivers" module.version = "15.99.1" Module #7 Name: module-alsa-card Argument: device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" 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" Usage counter: 0 Properties: module.author = "Lennart Poettering" module.description = "ALSA Card" module.version = "15.99.1" Module #8 Name: module-bluetooth-policy Argument: Usage counter: n/a Properties: module.author = "Frédéric Dalleau, Pali Rohár" module.description = "Policy module to make using bluetooth devices out-of-the-box easier" module.version = "15.99.1" Module #9 Name: module-bluetooth-discover Argument: Usage counter: n/a Properties: module.author = "João Paulo Rechi Vita" module.description = "Detect available Bluetooth daemon and load the corresponding discovery module" module.version = "15.99.1" Module #10 Name: module-bluez5-discover Argument: Usage counter: n/a Properties: 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 = "15.99.1" Module #11 Name: module-native-protocol-unix Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Native protocol (UNIX sockets)" module.version = "15.99.1" Module #12 Name: module-gsettings Argument: Usage counter: n/a Properties: module.author = "Sylvain Baubeau" module.description = "GSettings Adapter" module.version = "15.99.1" Module #13 Name: module-default-device-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore the default sink and source" module.version = "15.99.1" Module #14 Name: module-always-sink Argument: Usage counter: n/a Properties: module.author = "Colin Guthrie" module.description = "Always keeps at least one sink loaded even if it's a null one" module.version = "15.99.1" Module #15 Name: module-intended-roles Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically set device of streams based on intended roles of devices" module.version = "15.99.1" Module #16 Name: module-suspend-on-idle Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "When a sink/source is idle for too long, suspend it" module.version = "15.99.1" Module #17 Name: module-systemd-login Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Create a client for each login session of this user" module.version = "15.99.1" Module #18 Name: module-position-event-sounds Argument: Usage counter: n/a 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 = "15.99.1" Module #19 Name: module-role-cork Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Mute & cork streams with certain roles while others exist" module.version = "15.99.1" Module #20 Name: module-snap-policy Argument: Usage counter: n/a Properties: module.author = "Canonical Ltd" module.description = "Ubuntu Snap policy management" module.version = "15.99.1" Module #21 Name: module-filter-heuristics Argument: Usage counter: n/a Properties: module.author = "Colin Guthrie" module.description = "Detect when various filters are desirable" module.version = "15.99.1" Module #22 Name: module-filter-apply Argument: Usage counter: n/a Properties: module.author = "Colin Guthrie" module.description = "Load filter sinks automatically when needed" module.version = "15.99.1" Module #23 Name: module-x11-publish Argument: display=:0 xauthority=/home/user/.Xauthority Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "X11 credential publisher" module.version = "15.99.1" Module #24 Name: module-x11-cork-request Argument: display=:0 xauthority=/home/user/.Xauthority Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Synthesize X11 media key events when cork/uncork is requested" module.version = "15.99.1" Module #25 Name: module-x11-xsmp Argument: display=:0 xauthority=/home/user/.Xauthority session_manager=local/ubuntu:@/tmp/.ICE-unix/2460,unix/ubuntu:/tmp/.ICE-unix/2460 Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "X11 session management" module.version = "15.99.1" Module #26 Name: module-cli-protocol-unix Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Command line interface protocol (UNIX sockets)" module.version = "15.99.1" Sink #0 State: SUSPENDED Name: alsa_output.pci-0000_00_1b.0.analog-stereo Description: Built-in 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 Source: alsa_output.pci-0000_00_1b.0.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 = "Generic Analog" alsa.id = "Generic Analog" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "HDA Intel" alsa.long_card_name = "HDA Intel at 0xfea10000 irq 47" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1b.0" sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "293e" device.product.name = "82801I (ICH9 Family) HD Audio Controller (QEMU Virtual Machine)" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "17632" device.buffering.fragment_size = "4408" device.access_mode = "mmap" device.profile.name = "analog-stereo" device.profile.description = "Analog Stereo" device.description = "Built-in Audio Analog Stereo" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Ports: analog-output-lineout: Line Out (type: Line, priority: 9000, availability unknown) Active Port: analog-output-lineout Formats: pcm Source #0 State: SUSPENDED Name: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor Description: Monitor of Built-in 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_1b.0.analog-stereo Latency: 0 usec, configured 0 usec Flags: DECIBEL_VOLUME LATENCY Properties: device.description = "Monitor of Built-in Audio Analog Stereo" device.class = "monitor" alsa.card = "0" alsa.card_name = "HDA Intel" alsa.long_card_name = "HDA Intel at 0xfea10000 irq 47" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1b.0" sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "293e" device.product.name = "82801I (ICH9 Family) HD Audio Controller (QEMU Virtual Machine)" device.form_factor = "internal" device.string = "0" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Formats: pcm Source #1 State: SUSPENDED Name: alsa_input.pci-0000_00_1b.0.analog-stereo Description: Built-in Audio Analog Stereo Driver: module-alsa-card.c Sample Specification: s16le 2ch 44100Hz Channel Map: front-left,front-right Owner Module: 7 Mute: yes Volume: front-left: 0 / 0% / -inf dB, front-right: 0 / 0% / -inf dB balance 0.00 Base Volume: 65536 / 100% / 0.00 dB Monitor of Sink: n/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 = "Generic Analog" alsa.id = "Generic Analog" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "HDA Intel" alsa.long_card_name = "HDA Intel at 0xfea10000 irq 47" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1b.0" sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "293e" device.product.name = "82801I (ICH9 Family) HD Audio Controller (QEMU Virtual Machine)" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "17632" device.buffering.fragment_size = "4408" device.access_mode = "mmap" device.profile.name = "analog-stereo" device.profile.description = "Analog Stereo" device.description = "Built-in Audio Analog Stereo" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Ports: analog-input-linein: Line In (type: Line, priority: 8100, availability unknown) Active Port: analog-input-linein Formats: pcm Client #0 Driver: module-systemd-login.c Owner Module: 17 Properties: application.name = "Login Session c2" systemd-login.session = "c2" Client #4 Driver: module-x11-xsmp.c Owner Module: 25 Properties: application.name = "XSMP Session on KDE as 10e9d7756e000164887053600000024600008" xsmp.vendor = "KDE" xsmp.client.id = "10e9d7756e000164887053600000024600008" Client #8 Driver: protocol-native.c Owner Module: 11 Properties: application.name = "Plasma PA" native-protocol.peer = "UNIX socket client" native-protocol.version = "35" application.id = "org.kde.plasma-pa" application.icon_name = "audio-card" application.process.id = "2482" application.process.user = "user" application.process.host = "ubuntu" application.process.binary = "plasmashell" application.language = "en_US.UTF-8" window.x11.display = ":0" application.process.machine_id = "0a0848da946744a89907ef428e4ccacd" application.process.session_id = "c2" Client #24 Driver: protocol-native.c Owner Module: 11 Properties: application.name = "pactl" native-protocol.peer = "UNIX socket client" native-protocol.version = "35" application.process.id = "4401" application.process.user = "user" application.process.host = "ubuntu" application.process.binary = "pactl" application.language = "C" window.x11.display = ":0" application.process.machine_id = "0a0848da946744a89907ef428e4ccacd" application.process.session_id = "c2" Card #0 Name: alsa_card.pci-0000_00_1b.0 Driver: module-alsa-card.c Owner Module: 7 Properties: alsa.card = "0" alsa.card_name = "HDA Intel" alsa.long_card_name = "HDA Intel at 0xfea10000 irq 47" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1b.0" sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "293e" device.product.name = "82801I (ICH9 Family) HD Audio Controller (QEMU Virtual Machine)" device.form_factor = "internal" device.string = "0" device.description = "Built-in Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Profiles: input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 32833, available: yes) output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 39268, available: yes) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 39333, available: yes) off: Off (sinks: 0, sources: 0, priority: 0, available: yes) Active Profile: output:analog-stereo+input:analog-stereo Ports: analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, availability unknown) Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, availability unknown) Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo ________________ > cat /etc/pulse/daemon.conf # This file is part of PulseAudio. # # PulseAudio is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # PulseAudio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with PulseAudio; if not, see . ## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for ## more information. Default values are commented out. Use either ; or # for ## commenting. ; daemonize = no ; fail = yes ; allow-module-loading = yes ; allow-exit = yes ; use-pid-file = yes ; system-instance = no ; local-server-type = user ; enable-shm = yes ; enable-memfd = yes ; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB ; lock-memory = no ; cpu-limit = no ; high-priority = yes ; nice-level = -11 ; realtime-scheduling = yes ; realtime-priority = 5 ; exit-idle-time = 20 ; scache-idle-time = 20 ; dl-search-path = (depends on architecture) ; load-default-script-file = yes ; default-script-file = /etc/pulse/default.pa ; log-target = auto ; log-level = notice ; log-meta = no ; log-time = no ; log-backtrace = 0 ; resample-method = speex-float-1 ; avoid-resampling = false ; enable-remixing = yes ; remixing-use-all-sink-channels = yes ; remixing-produce-lfe = no ; remixing-consume-lfe = no ; lfe-crossover-freq = 0 ; flat-volumes = no ; rescue-streams = yes ; rlimit-fsize = -1 ; rlimit-data = -1 ; rlimit-stack = -1 ; rlimit-core = -1 ; rlimit-as = -1 ; rlimit-rss = -1 ; rlimit-nproc = -1 ; rlimit-nofile = 256 ; rlimit-memlock = -1 ; rlimit-locks = -1 ; rlimit-sigpending = -1 ; rlimit-msgqueue = -1 ; rlimit-nice = 31 ; rlimit-rtprio = 9 ; rlimit-rttime = 200000 ; default-sample-format = s16le ; default-sample-rate = 44100 ; alternate-sample-rate = 48000 ; default-sample-channels = 2 ; default-channel-map = front-left,front-right ; default-fragments = 4 ; default-fragment-size-msec = 25 ; enable-deferred-volume = yes deferred-volume-safety-margin-usec = 1 ; deferred-volume-extra-delay-usec = 0 ________________ > cat /etc/pulse/client.conf # This file is part of PulseAudio. # # PulseAudio is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # PulseAudio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with PulseAudio; if not, see . ## Configuration file for PulseAudio clients. See pulse-client.conf(5) for ## more information. Default values are commented out. Use either ; or # for ## commenting. ; default-sink = ; default-source = ; default-server = ; default-dbus-server = ; autospawn = yes ; daemon-binary = /usr/bin/pulseaudio ; extra-arguments = --log-target=syslog ; cookie-file = ; enable-shm = yes ; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB ; auto-connect-localhost = no ; auto-connect-display = no ________________ > cat /etc/pulse/default.pa #!/usr/bin/pulseaudio -nF # # This file is part of PulseAudio. # # PulseAudio is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # PulseAudio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with PulseAudio; if not, see . # This startup script is used only if PulseAudio is started per-user # (i.e. not in system mode) .fail ### Automatically restore the volume of streams and devices load-module module-device-restore load-module module-stream-restore load-module module-card-restore ### Automatically augment property information from .desktop files ### stored in /usr/share/application load-module module-augment-properties ### Should be after module-*-restore but before module-*-detect load-module module-switch-on-port-available ### Use hot-plugged devices like Bluetooth or USB automatically (LP: #1702794) .ifexists module-switch-on-connect.so load-module module-switch-on-connect .endif ### Load audio drivers statically ### (it's probably better to not load these drivers manually, but instead ### use module-udev-detect -- see below -- for doing this automatically) #load-module module-alsa-sink #load-module module-alsa-source device=hw:1,0 #load-module module-oss device="/dev/dsp" sink_name=output source_name=input #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input #load-module module-null-sink #load-module module-pipe-sink ### Automatically load driver modules depending on the hardware available .ifexists module-udev-detect.so load-module module-udev-detect .else ### Use the static hardware detection module (for systems that lack udev support) load-module module-detect .endif ### Automatically connect sink and source if JACK server is present .ifexists module-jackdbus-detect.so .nofail load-module module-jackdbus-detect channels=2 .fail .endif ### Automatically load driver modules for Bluetooth hardware .ifexists module-bluetooth-policy.so load-module module-bluetooth-policy .endif .ifexists module-bluetooth-discover.so load-module module-bluetooth-discover .endif ### Load several protocols .ifexists module-esound-protocol-unix.so load-module module-esound-protocol-unix .endif load-module module-native-protocol-unix ### Network access (may be configured with paprefs, so leave this commented ### here if you plan to use paprefs) #load-module module-esound-protocol-tcp #load-module module-native-protocol-tcp #load-module module-zeroconf-publish ### Load the RTP receiver module (also configured via paprefs, see above) #load-module module-rtp-recv ### Load the RTP sender module (also configured via paprefs, see above) #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'" #load-module module-rtp-send source=rtp.monitor ### Load additional modules from GSettings. This can be configured with the paprefs tool. ### Please keep in mind that the modules configured by paprefs might conflict with manually ### loaded modules. .ifexists module-gsettings.so .nofail load-module module-gsettings .fail .endif ### Automatically restore the default sink/source when changed by the user ### during runtime ### NOTE: This should be loaded as early as possible so that subsequent modules ### that look up the default sink/source get the right value load-module module-default-device-restore ### Make sure we always have a sink around, even if it is a null sink. load-module module-always-sink ### Honour intended role device property load-module module-intended-roles ### Automatically suspend sinks/sources that become idle for too long load-module module-suspend-on-idle ### If autoexit on idle is enabled we want to make sure we only quit ### when no local session needs us anymore. .ifexists module-console-kit.so load-module module-console-kit .endif .ifexists module-systemd-login.so load-module module-systemd-login .endif ### Enable positioned event sounds load-module module-position-event-sounds ### Cork music/video streams when a phone stream is active load-module module-role-cork ### Block audio recording for snap confined packages unless they have ### the "pulseaudio" or "audio-record" interfaces plugged. .ifexists module-snap-policy.so load-module module-snap-policy .endif ### Modules to allow autoloading of filters (such as echo cancellation) ### on demand. module-filter-heuristics tries to determine what filters ### make sense, and module-filter-apply does the heavy-lifting of ### loading modules and rerouting streams. load-module module-filter-heuristics load-module module-filter-apply ### Make some devices default #set-default-sink output #set-default-source input ### Allow including a default.pa.d directory, which if present, can be used ### for additional configuration snippets. ### Note that those snippet files must have a .pa file extension, not .conf .nofail .include /etc/pulse/default.pa.d ________________ > cat /etc/pulse/system.pa #!/usr/bin/pulseaudio -nF # # This file is part of PulseAudio. # # PulseAudio is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # PulseAudio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with PulseAudio; if not, see . # This startup script is used only if PulseAudio is started in system # mode. ### Automatically restore the volume of streams and devices load-module module-device-restore load-module module-stream-restore load-module module-card-restore ### Automatically load driver modules depending on the hardware available .ifexists module-udev-detect.so load-module module-udev-detect .else ### Use the static hardware detection module (for systems that lack udev/hal support) load-module module-detect .endif ### Load several protocols .ifexists module-esound-protocol-unix.so load-module module-esound-protocol-unix .endif load-module module-native-protocol-unix ### Automatically restore the default sink/source when changed by the user ### during runtime ### NOTE: This should be loaded as early as possible so that subsequent modules ### that look up the default sink/source get the right value load-module module-default-device-restore ### Make sure we always have a sink around, even if it is a null sink. load-module module-always-sink ### Automatically suspend sinks/sources that become idle for too long load-module module-suspend-on-idle ### Enable positioned event sounds load-module module-position-event-sounds ### Allow including a system.pa.d directory, which if present, can be used ### for additional configuration snippets. ### Note that those snippet files must have a .pa file extension, not .conf .nofail .include /etc/pulse/system.pa.d ________________ > ls -alt /dev/snd/* crw-rw----+ 1 root audio 116, 3 Apr 1 20:35 /dev/snd/pcmC0D0c crw-rw----+ 1 root audio 116, 2 Apr 1 20:35 /dev/snd/pcmC0D0p crw-rw----+ 1 root audio 116, 5 Apr 1 20:35 /dev/snd/controlC0 crw-rw----+ 1 root audio 116, 4 Apr 1 20:35 /dev/snd/hwC0D0 crw-rw----+ 1 root audio 116, 1 Apr 1 20:35 /dev/snd/seq crw-rw----+ 1 root audio 116, 33 Apr 1 20:35 /dev/snd/timer /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 60 Apr 1 20:35 . drwxr-xr-x 3 root root 180 Apr 1 20:35 .. lrwxrwxrwx 1 root root 12 Apr 1 20:35 pci-0000:00:1b.0 -> ../controlC0 ________________ > lsof /dev/snd/* COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME pulseaudi 2189 user 16u CHR 116,5 0t0 447 /dev/snd/controlC0 pulseaudi 2189 user 24u CHR 116,5 0t0 447 /dev/snd/controlC0 pulseaudi 2189 user 30u CHR 116,5 0t0 447 /dev/snd/controlC0 ________________ > jacks_do card=0 numid=6,iface=CARD,name='Line Out Phantom Jack' ; type=BOOLEAN,access=r-------,values=1 : values=on numid=5,iface=CARD,name='Line Phantom Jack' ; type=BOOLEAN,access=r-------,values=1 : values=on ________________ > aplay -L null Discard all samples (playback) or generate zero samples (capture) default Playback/recording through the PulseAudio sound server samplerate Rate Converter Plugin Using Samplerate Library speexrate Rate Converter Plugin Using Speex Resampler jack JACK Audio Connection Kit oss Open Sound System pulse PulseAudio Sound Server upmix Plugin for channel upmix (4,6,8) vdownmix Plugin for channel downmix (stereo) with a simple spacialization hw:CARD=Intel,DEV=0 HDA Intel, Generic Analog Direct hardware device without any conversions plughw:CARD=Intel,DEV=0 HDA Intel, Generic Analog Hardware device with all software conversions sysdefault:CARD=Intel HDA Intel, Generic Analog Default Audio Device front:CARD=Intel,DEV=0 HDA Intel, Generic Analog Front output / input surround21:CARD=Intel,DEV=0 HDA Intel, Generic Analog 2.1 Surround output to Front and Subwoofer speakers surround40:CARD=Intel,DEV=0 HDA Intel, Generic Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0 HDA Intel, Generic Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0 HDA Intel, Generic Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0 HDA Intel, Generic Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0 HDA Intel, Generic Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers dmix:CARD=Intel,DEV=0 HDA Intel, Generic Analog Direct sample mixing device usbstream:CARD=Intel HDA Intel USB Stream Output ________________ > arecord -L null Discard all samples (playback) or generate zero samples (capture) default Playback/recording through the PulseAudio sound server samplerate Rate Converter Plugin Using Samplerate Library speexrate Rate Converter Plugin Using Speex Resampler jack JACK Audio Connection Kit oss Open Sound System pulse PulseAudio Sound Server upmix Plugin for channel upmix (4,6,8) vdownmix Plugin for channel downmix (stereo) with a simple spacialization hw:CARD=Intel,DEV=0 HDA Intel, Generic Analog Direct hardware device without any conversions plughw:CARD=Intel,DEV=0 HDA Intel, Generic Analog Hardware device with all software conversions sysdefault:CARD=Intel HDA Intel, Generic Analog Default Audio Device front:CARD=Intel,DEV=0 HDA Intel, Generic Analog Front output / input dsnoop:CARD=Intel,DEV=0 HDA Intel, Generic Analog Direct sample snooping device usbstream:CARD=Intel HDA Intel USB Stream Output ________________ > alsa_info_do /usr/sbin/alsa-info: line 661: tree: command not found dmesg: read kernel buffer failed: Operation not permitted upload=true&script=true&cardinfo= !!################################ !!ALSA Information Script v 0.5.1 !!################################ !!Script ran on: Sat Apr 2 03:40:25 UTC 2022 !!Linux Distribution !!------------------ Ubuntu Jammy Jellyfish (development branch) \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu Jammy Jellyfish (development branch)" PRETTY_NAME="Ubuntu Jammy Jellyfish (development branch)" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy Ubuntu 20.04.3 LTS (Focal Fossa) !!DMI Information !!--------------- Manufacturer: QEMU Product Name: Standard PC (Q35 + ICH9, 2009) Product Version: pc-q35-4.2 Firmware Version: 1.13.0-1ubuntu1.1 System SKU: Board Vendor: Board Name: !!ACPI Device Status Information !!--------------- /sys/bus/acpi/devices/LNXCPU:00/status 15 /sys/bus/acpi/devices/LNXCPU:01/status 15 /sys/bus/acpi/devices/LNXCPU:02/status 15 /sys/bus/acpi/devices/LNXCPU:03/status 15 /sys/bus/acpi/devices/LNXCPU:04/status 15 /sys/bus/acpi/devices/LNXCPU:05/status 15 /sys/bus/acpi/devices/PNP0303:00/status 15 /sys/bus/acpi/devices/PNP0501:00/status 15 /sys/bus/acpi/devices/PNP0A06:01/status 11 /sys/bus/acpi/devices/PNP0C0F:00/status 9 /sys/bus/acpi/devices/PNP0C0F:01/status 9 /sys/bus/acpi/devices/PNP0C0F:02/status 9 /sys/bus/acpi/devices/PNP0C0F:03/status 9 /sys/bus/acpi/devices/PNP0C0F:04/status 9 /sys/bus/acpi/devices/PNP0C0F:05/status 9 /sys/bus/acpi/devices/PNP0C0F:06/status 9 /sys/bus/acpi/devices/PNP0C0F:07/status 9 /sys/bus/acpi/devices/PNP0F13:00/status 15 /sys/bus/acpi/devices/QEMU0002:00/status 11 !!Kernel Information !!------------------ Kernel release: 5.15.0-23-generic Operating System: GNU/Linux Architecture: x86_64 Processor: x86_64 SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k5.15.0-23-generic Library version: 1.2.6.1 Utilities version: 1.2.6 !!Loaded ALSA modules !!------------------- snd_hda_intel (card 0) !!Sound Servers on this system !!---------------------------- PipeWire: Installed - Yes (/usr/bin/pipewire) Running - Yes Pulseaudio: Installed - Yes (/usr/bin/pulseaudio) Running - Yes !!Soundcards recognised by ALSA !!----------------------------- 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xfea10000 irq 47 !!PCI Soundcards installed in the system !!-------------------------------------- 00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03) Subsystem: Red Hat, Inc. QEMU Virtual Machine [1af4:1100] !!Modprobe options (Sound related) !!-------------------------------- snd_pcsp: index=-2 snd_usb_audio: index=-2 snd_atiixp_modem: index=-2 snd_intel8x0m: index=-2 snd_via82xx_modem: index=-2 snd_atiixp_modem: index=-2 snd_intel8x0m: index=-2 snd_via82xx_modem: index=-2 snd_usb_audio: index=-2 snd_usb_caiaq: index=-2 snd_usb_ua101: index=-2 snd_usb_us122l: index=-2 snd_usb_usx2y: index=-2 snd_cmipci: mpu_port=0x330 fm_port=0x388 snd_pcsp: index=-2 snd_usb_audio: index=-2 snd_hda_intel: probe_mask=1 !!Loaded sound module options !!--------------------------- !!Module: snd_hda_intel align_buffer_size : -1 bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 beep_mode : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N dmic_detect : Y enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y enable_msi : -1 id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) pm_blacklist : Y position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 power_save : 1 power_save_controller : Y probe_mask : 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 single_cmd : -1 snoop : -1 !!Sysfs card info !!--------------- !!Card: /sys/class/sound/card0 Driver: /sys/bus/pci/drivers/snd_hda_intel Tree: !!HDA-Intel Codec information !!--------------------------- --startcollapse-- Codec: QEMU Generic Address: 0 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x1af40022 Subsystem Id: 0x1af40022 Revision Id: 0x100101 No Modem Function Group found Default PCM: rates [0x1fc]: 16000 22050 32000 44100 48000 88200 96000 bits [0x2]: 16 formats [0x1]: PCM Default Amp-In caps: N/A Default Amp-Out caps: N/A State of AFG node 0x01: Power states: Power: setting=D0, actual=D0 GPIO: io=0, o=0, i=0, unsolicited=0, wake=0 Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out Control: name="Master Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Master Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Device: name="Generic Analog", type="Audio", device=0 Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1 Amp-Out vals: [0x4a 0x4a] Converter: stream=0, channel=0 PCM: rates [0x1fc]: 16000 22050 32000 44100 48000 88200 96000 bits [0x2]: 16 formats [0x1]: PCM Node 0x03 [Pin Complex] wcaps 0x400101: Stereo Pincap 0x00000010: OUT Pin Default 0x00004010: [Jack] Line Out at Ext N/A Conn = Unknown, Color = Green DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x40: OUT Connection: 1 0x02 Node 0x04 [Audio Input] wcaps 0x10011b: Stereo Amp-In Control: name="Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Capture Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Device: name="Generic Analog", type="Audio", device=0 Amp-In caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1 Amp-In vals: [0x80 0x80] Converter: stream=0, channel=0 SDI-Select: 0 PCM: rates [0x1fc]: 16000 22050 32000 44100 48000 88200 96000 bits [0x2]: 16 formats [0x1]: PCM Connection: 1 0x05 Node 0x05 [Pin Complex] wcaps 0x400001: Stereo Pincap 0x00000020: IN Pin Default 0x00805020: [Jack] Line In at Ext N/A Conn = Unknown, Color = Red DefAssociation = 0x2, Sequence = 0x0 Pin-ctls: 0x20: IN --endcollapse-- !!ALSA Device nodes !!----------------- crw-rw----+ 1 root audio 116, 5 Apr 1 20:35 /dev/snd/controlC0 crw-rw----+ 1 root audio 116, 4 Apr 1 20:35 /dev/snd/hwC0D0 crw-rw----+ 1 root audio 116, 3 Apr 1 20:35 /dev/snd/pcmC0D0c crw-rw----+ 1 root audio 116, 2 Apr 1 20:35 /dev/snd/pcmC0D0p crw-rw----+ 1 root audio 116, 1 Apr 1 20:35 /dev/snd/seq crw-rw----+ 1 root audio 116, 33 Apr 1 20:35 /dev/snd/timer /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 60 Apr 1 20:35 . drwxr-xr-x 3 root root 180 Apr 1 20:35 .. lrwxrwxrwx 1 root root 12 Apr 1 20:35 pci-0000:00:1b.0 -> ../controlC0 !!Aplay/Arecord output !!-------------------- APLAY **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: Generic Analog [Generic Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 ARECORD **** List of CAPTURE Hardware Devices **** card 0: Intel [HDA Intel], device 0: Generic Analog [Generic Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 !!Amixer output !!------------- !!-------Mixer controls for card Intel Card sysdefault:0 'Intel'/'HDA Intel at 0xfea10000 irq 47' Mixer name : 'QEMU Generic' Components : 'HDA:1af40022,1af40022,00100101' Controls : 9 Simple ctrls : 3 Simple mixer control 'Master',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 74 Mono: Front Left: Playback 74 [100%] [0.00dB] [on] Front Right: Playback 74 [100%] [0.00dB] [on] Simple mixer control 'PCM',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 255 [100%] [0.00dB] Front Right: Playback 255 [100%] [0.00dB] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 74 Front Left: Capture 0 [0%] [-74.00dB] [off] Front Right: Capture 0 [0%] [-74.00dB] [off] !!Alsactl output !!-------------- --startcollapse-- state.Intel { control.1 { iface MIXER name 'Master Playback Volume' value.0 74 value.1 74 comment { access 'read write' type INTEGER count 2 range '0 - 74' dbmin -7400 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.2 { iface MIXER name 'Master Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.3 { iface MIXER name 'Capture Volume' value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 74' dbmin -7400 dbmax 0 dbvalue.0 -7400 dbvalue.1 -7400 } } control.4 { iface MIXER name 'Capture Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.5 { iface CARD name 'Line Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.6 { iface CARD name 'Line Out Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.7 { iface PCM name 'Playback Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.8 { iface PCM name 'Capture Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.9 { iface MIXER name 'PCM Playback Volume' value.0 255 value.1 255 comment { access 'read write user' type INTEGER count 2 range '0 - 255' tlv '0000000100000008ffffec1400000014' dbmin -5100 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } } --endcollapse-- !!All Loaded Modules !!------------------ aesni_intel ahci async_memcpy async_pq async_raid6_recov async_tx async_xor autofs4 blake2b_generic bpfilter bridge btrfs cec cfg80211 crc32_pclmul crct10dif_pclmul cryptd crypto_simd drm drm_kms_helper failover fb_sys_fops ghash_clmulni_intel hid hid_generic i2c_i801 i2c_smbus input_leds intel_rapl_common intel_rapl_msr ip_tables ipmi_devintf ipmi_msghandler ipt_REJECT iptable_filter iptable_mangle iptable_nat joydev kvm kvm_intel ledtrig_audio libahci libcrc32c linear llc lp lpc_ich mac_hid msr multipath net_failover nf_conntrack nf_defrag_ipv4 nf_defrag_ipv6 nf_nat nf_reject_ipv4 nf_tables nfnetlink nft_chain_nat nft_counter parport parport_pc ppdev psmouse qemu_fw_cfg raid0 raid1 raid10 raid456 raid6_pq rc_core sch_fq_codel serio_raw snd snd_hda_codec snd_hda_codec_generic snd_hda_core snd_hda_intel snd_hwdep snd_intel_dspcfg snd_intel_sdw_acpi snd_pcm snd_rawmidi snd_seq snd_seq_device snd_seq_midi snd_seq_midi_event snd_timer soundcore stp syscopyarea sysfillrect sysimgblt tls usbhid virtio_blk virtio_dma_buf virtio_gpu virtio_net virtio_rng x_tables xor xt_CHECKSUM xt_MASQUERADE xt_conntrack xt_tcpudp zstd_compress !!Sysfs Files !!----------- /sys/class/sound/hwC0D0/init_pin_configs: 0x03 0x00004010 0x05 0x00805020 /sys/class/sound/hwC0D0/driver_pin_configs: /sys/class/sound/hwC0D0/user_pin_configs: /sys/class/sound/hwC0D0/init_verbs: /sys/class/sound/hwC0D0/hints: !!ALSA/HDA dmesg !!-------------- !!Packages installed !!-------------------- ii alsa-topology-conf 1.2.5.1-2 all ALSA topology configuration files ii alsa-ucm-conf 1.2.6.3-1ubuntu1 all ALSA Use Case Manager configuration files ii alsa-utils 1.2.6-1ubuntu1 amd64 Utilities for configuring and using ALSA