Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==============================================================================================================================================
- lcarlin@LDA0269:~$ cat /etc/default/grub
- # If you change this file, run 'update-grub' afterwards to update
- # /boot/grub/grub.cfg.
- # For full documentation of the options in this file, see:
- # info -f grub -n 'Simple configuration'
- GRUB_DEFAULT=0
- GRUB_TIMEOUT_STYLE=hidden
- GRUB_TIMEOUT=10
- GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
- GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
- GRUB_CMDLINE_LINUX=""
- # If your computer has multiple operating systems installed, then you
- # probably want to run os-prober. However, if your computer is a host
- # for guest OSes installed via LVM or raw disk devices, running
- # os-prober can cause damage to those guest OSes as it mounts
- # filesystems to look for things.
- #GRUB_DISABLE_OS_PROBER=false
- # Uncomment to enable BadRAM filtering, modify to suit your needs
- # This works with Linux (no patch required) and with any kernel that obtains
- # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
- #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
- # Uncomment to disable graphical terminal
- #GRUB_TERMINAL=console
- # The resolution used on graphical terminal
- # note that you can use only modes which your graphic card supports via VBE
- # you can see them in real GRUB with the command `vbeinfo'
- #GRUB_GFXMODE=640x480
- # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
- #GRUB_DISABLE_LINUX_UUID=true
- # Uncomment to disable generation of recovery mode menu entries
- #GRUB_DISABLE_RECOVERY="true"
- # Uncomment to get a beep at grub start
- #GRUB_INIT_TUNE="480 440 1"
- ==============================================================================================================================================
- lcarlin@LDA0269:~$ sudo modprobe -r snd_hda_intel
- modprobe: FATAL: Module snd_hda_intel is in use.
- lcarlin@LDA0269:~$
- ==============================================================================================================================================
- lcarlin@LDA0269:~$ 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 <http://www.gnu.org/licenses/>.
- # 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
- ==============================================================================================================================================
- lcarlin@LDA0269:~$ 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 <http://www.gnu.org/licenses/>.
- ## 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 = alsa_output.pci-0000_00_1f.3.hdmi-stereo
- ; 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
- ==============================================================================================================================================
- lcarlin@LDA0269:~$ lspci -nnk | grep -n -A 4 -i audio
- 43:00:1f.3 Audio device [0403]: Intel Corporation Alder Lake-N PCH High Definition Audio Controller [8086:54c8]
- 44- DeviceName: Onboard - Sound
- 45- Subsystem: Intel Corporation Device [8086:7270]
- 46- Kernel driver in use: snd_hda_intel
- 47- Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
- ==============================================================================================================================================
- lcarlin@LDA0269:~$ sudo alsa-info
- ALSA Information Script v 0.5.3
- --------------------------------
- This script visits the following commands/files to collect diagnostic
- information about your ALSA installation and sound related hardware.
- dmesg
- lspci
- aplay
- amixer
- alsactl
- rpm, dpkg
- /proc/asound/
- /sys/class/sound/
- ~/.asoundrc (etc.)
- See '/usr/sbin/alsa-info --help' for command line options.
- pgrep: pattern that searches for process name longer than 15 characters will result in zero matches
- Try `pgrep -f' option to match against the complete command line.
- Automatically upload ALSA information to www.alsa-project.org? [y/N] : Y
- Your ALSA information is in /tmp/alsa-info.txt.j9NjL4lQ9L
- ==============================================================================================================================================
- lcarlin@LDA0269:~$ sudo fuser -v /dev/snd/*
- [sudo] senha para lcarlin:
- USUÁRIO PID ACESSO COMANDO
- /dev/snd/controlC0: lcarlin 2601 F.... wireplumber
- /dev/snd/controlC1: lcarlin 2601 F.... wireplumber
- /dev/snd/seq: lcarlin 2590 F.... pipewire
- ==============================================================================================================================================
- pactl list cards
- Placa #46
- Nome: alsa_card.usb-CSCTEK_USB_Audio_and_HID_A34004801402-00
- Driver: alsa
- Módulo proprietário: n/d
- Propriedades:
- api.acp.auto-port = "false"
- api.acp.auto-profile = "false"
- api.alsa.card = "1"
- api.alsa.card.longname = "CSCTEK USB Audio and HID at usb-0000:00:14.0-6, full speed"
- api.alsa.card.name = "USB Audio and HID"
- api.alsa.path = "hw:1"
- api.alsa.use-acp = "true"
- api.dbus.ReserveDevice1 = "Audio1"
- device.api = "alsa"
- device.bus = "usb"
- device.bus-id = "usb-CSCTEK_USB_Audio_and_HID_A34004801402-00"
- device.bus_path = "pci-0000:00:14.0-usb-0:6:1.0"
- device.description = "USB Audio and HID"
- device.enum.api = "udev"
- device.icon_name = "audio-card-analog-usb"
- device.name = "alsa_card.usb-CSCTEK_USB_Audio_and_HID_A34004801402-00"
- device.nick = "USB Audio and HID"
- device.plugged.usec = "4604277"
- device.product.id = "0x1573"
- device.product.name = "USB Audio and HID"
- device.serial = "CSCTEK_USB_Audio_and_HID_A34004801402"
- device.subsystem = "sound"
- sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/sound/card1"
- device.vendor.id = "0x0573"
- device.vendor.name = "Zoran Co. Personal Media Division (Nogatech)"
- media.class = "Audio/Device"
- factory.id = "14"
- client.id = "33"
- object.id = "46"
- object.serial = "46"
- object.path = "alsa:pcm:1"
- alsa.card = "1"
- alsa.card_name = "USB Audio and HID"
- alsa.long_card_name = "CSCTEK USB Audio and HID at usb-0000:00:14.0-6, full speed"
- alsa.driver_name = "snd_usb_audio"
- alsa.mixer_name = "USB Mixer"
- alsa.components = "USB0573:1573"
- alsa.id = "HID"
- device.string = "1"
- Perfis:
- off: Off (destino: 0, fontes: 0, prioridade: 0, disponível: sim)
- output:analog-stereo+input:mono-fallback: Analog Stereo Output + Mono Input (destino: 1, fontes: 1, prioridade: 6501, disponível: sim)
- output:analog-stereo: Analog Stereo Output (destino: 1, fontes: 0, prioridade: 6500, disponível: sim)
- output:iec958-stereo+input:mono-fallback: Digital Stereo (IEC958) Output + Mono Input (destino: 1, fontes: 1, prioridade: 5501, disponível: sim)
- output:iec958-stereo: Digital Stereo (IEC958) Output (destino: 1, fontes: 0, prioridade: 5500, disponível: sim)
- output:iec958-ac3-surround-51+input:mono-fallback: Digital Surround 5.1 (IEC958/AC3) Output + Mono Input (destino: 1, fontes: 1, prioridade: 301, disponível: sim)
- output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (destino: 1, fontes: 0, prioridade: 300, disponível: sim)
- pro-audio: Pro Audio (destino: 1, fontes: 1, prioridade: 1, disponível: sim)
- input:mono-fallback: Mono Input (destino: 0, fontes: 1, prioridade: 1, disponível: sim)
- Perfil ativo: output:iec958-stereo+input:mono-fallback
- Portas:
- analog-input-mic: Microphone (tipo: Mic, prioridade: 8700, mudança da latência: 0 usec, disponibilidade desconhecida)
- Propriedades:
- port.type = "mic"
- device.icon_name = "audio-input-microphone"
- card.profile.port = "0"
- Parte de perfil/perfis: input:mono-fallback, output:analog-stereo+input:mono-fallback, output:iec958-stereo+input:mono-fallback, output:iec958-ac3-surround-51+input:mono-fallback
- analog-output: Analog Output (tipo: Analógico, prioridade: 9900, mudança da latência: 0 usec, disponibilidade desconhecida)
- Propriedades:
- port.type = "analog"
- card.profile.port = "1"
- Parte de perfil/perfis: output:analog-stereo, output:analog-stereo+input:mono-fallback
- iec958-stereo-output: Digital Output (S/PDIF) (tipo: SPDIF, prioridade: 0, mudança da latência: 0 usec, disponibilidade desconhecida)
- Propriedades:
- port.type = "spdif"
- card.profile.port = "2"
- Parte de perfil/perfis: output:iec958-stereo, output:iec958-stereo+input:mono-fallback
- Placa #47
- Nome: alsa_card.pci-0000_00_1f.3
- Driver: alsa
- Módulo proprietário: n/d
- Propriedades:
- api.acp.auto-port = "false"
- api.acp.auto-profile = "false"
- api.alsa.card = "0"
- api.alsa.card.longname = "HDA Intel PCH at 0x6001110000 irq 134"
- api.alsa.card.name = "HDA Intel PCH"
- api.alsa.path = "hw:0"
- api.alsa.use-acp = "true"
- api.dbus.ReserveDevice1 = "Audio0"
- device.api = "alsa"
- device.bus = "pci"
- device.bus_path = "pci-0000:00:1f.3"
- device.description = "Built-in Audio"
- device.enum.api = "udev"
- device.form_factor = "internal"
- device.icon_name = "audio-card-analog-pci"
- device.name = "alsa_card.pci-0000_00_1f.3"
- device.nick = "HDA Intel PCH"
- device.plugged.usec = "4786625"
- device.product.id = "0x54c8"
- device.subsystem = "sound"
- sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
- device.vendor.id = "0x8086"
- device.vendor.name = "Intel Corporation"
- media.class = "Audio/Device"
- factory.id = "14"
- client.id = "33"
- object.id = "47"
- object.serial = "47"
- object.path = "alsa:pcm:0"
- alsa.card = "0"
- alsa.card_name = "HDA Intel PCH"
- alsa.long_card_name = "HDA Intel PCH at 0x6001110000 irq 134"
- alsa.driver_name = "snd_hda_intel"
- alsa.mixer_name = "Intel Alderlake-P HDMI"
- alsa.components = "HDA:8086281c,80860101,00100000"
- alsa.id = "PCH"
- device.string = "0"
- Perfis:
- off: Off (destino: 0, fontes: 0, prioridade: 0, disponível: sim)
- output:hdmi-stereo: Digital Stereo (HDMI) Output (destino: 1, fontes: 0, prioridade: 5900, disponível: sim)
- output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (destino: 1, fontes: 0, prioridade: 5700, disponível: não)
- output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (destino: 1, fontes: 0, prioridade: 5700, disponível: não)
- output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (destino: 1, fontes: 0, prioridade: 5700, disponível: não)
- output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (destino: 1, fontes: 0, prioridade: 800, disponível: sim)
- output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (destino: 1, fontes: 0, prioridade: 600, disponível: não)
- output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (destino: 1, fontes: 0, prioridade: 600, disponível: não)
- output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (destino: 1, fontes: 0, prioridade: 600, disponível: não)
- output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (destino: 1, fontes: 0, prioridade: 600, disponível: não)
- output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (destino: 1, fontes: 0, prioridade: 600, disponível: não)
- output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (destino: 1, fontes: 0, prioridade: 600, disponível: não)
- pro-audio: Pro Audio (destino: 4, fontes: 0, prioridade: 1, disponível: sim)
- Perfil ativo: output:hdmi-stereo
- Portas:
- hdmi-output-0: HDMI / DisplayPort (tipo: HDMI, prioridade: 5900, mudança da latência: 0 usec, grupo de disponibilidade: Legacy 1, disponível)
- Propriedades:
- port.type = "hdmi"
- port.availability-group = "Legacy 1"
- device.icon_name = "video-display"
- card.profile.port = "0"
- device.product.name = "AOC LCD"
- Parte de perfil/perfis: output:hdmi-stereo, output:hdmi-surround
- hdmi-output-1: HDMI / DisplayPort 2 (tipo: HDMI, prioridade: 5800, mudança da latência: 0 usec, grupo de disponibilidade: Legacy 2, não disponível)
- Propriedades:
- port.type = "hdmi"
- port.availability-group = "Legacy 2"
- device.icon_name = "video-display"
- card.profile.port = "1"
- Parte de perfil/perfis: output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
- hdmi-output-2: HDMI / DisplayPort 3 (tipo: HDMI, prioridade: 5700, mudança da latência: 0 usec, grupo de disponibilidade: Legacy 3, não disponível)
- Propriedades:
- port.type = "hdmi"
- port.availability-group = "Legacy 3"
- device.icon_name = "video-display"
- card.profile.port = "2"
- Parte de perfil/perfis: output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
- hdmi-output-3: HDMI / DisplayPort 4 (tipo: HDMI, prioridade: 5600, mudança da latência: 0 usec, grupo de disponibilidade: Legacy 4, não disponível)
- Propriedades:
- port.type = "hdmi"
- port.availability-group = "Legacy 4"
- device.icon_name = "video-display"
- card.profile.port = "3"
- Parte de perfil/perfis: output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3
- ==============================================================================================================================================
- sudo pactl set-default-sink alsa_output.pci-0000_00_1f.3.hdmi-stereo
- sudo pactl set-default-sink 138
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement