[Topic DIscussion] 这里面拿个服务管声音呢?谢谢
Tofloor
poster avatar
jiutian123
deepin
2021-11-24 00:12
Author

nsz@nsz:$ sudo systemctl list-unit-files --type=service | grep enabled
accounts-daemon.service enabled
autovt@.service enabled
blk-availability.service enabled
com.deepin.userexperience.Daemon.service enabled
cron.service enabled
cups.service enabled
dbus-fi.w1.wpa_supplicant1.service enabled
dbus-org.freedesktop.login1.service enabled
dbus-org.freedesktop.ModemManager1.service enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
dbus-org.freedesktop.timesync1.service enabled
deepin-accounts-daemon.service enabled
deepin-anything-monitor.service enabled
deepin-anything-tool.service enabled
deepin-devcollect.service enabled
deepin-devicemanager-server.service enabled
deepin-devlicense.service enabled
deepin-elf-verify.service enabled
deepin-login-sound.service enabled
deepin-shutdown-sound.service enabled
getty@.service enabled
hwclock_stop.service enabled
license.service enabled
lvm2-monitor.service enabled
ModemManager.service enabled
network-manager.service enabled
networking.service enabled
NetworkManager-dispatcher.service enabled
NetworkManager-wait-online.service enabled
NetworkManager.service enabled
pppd-dns.service enabled
rsync.service enabled
rsyslog.service enabled
smbd.service enabled
ssh.service enabled
sshd.service enabled
syslog.service enabled
systemd-fsck-root.service enabled-runtime
systemd-logind.service enabled
systemd-timesyncd.service enabled
udisks2.service enabled
wpa_supplicant.service enabled

Reply Favorite View the author
All Replies
enforcee
deepin
2021-11-24 00:39
#1

哪个都不是。

无论是pulseaudio还是pipewire都是用户层的音频服务器,需要用--user参数查看

systemctl list-unit-files --user --type=service

不过deepin的pulseaudio似乎不是用systemd启动的,用pactl info看吧。直接找进程名pulseaudio也可以。

Reply View the author
jiutian123
deepin
2021-11-24 01:31
#2
enforcee

哪个都不是。

无论是pulseaudio还是pipewire都是用户层的音频服务器,需要用--user参数查看

systemctl list-unit-files --user --type=service

不过deepin的pulseaudio似乎不是用systemd启动的,用pactl info看吧。直接找进程名pulseaudio也可以。

nsz@nsz:~$ systemctl list-unit-files --user --type=service
UNIT FILE STATE
at-spi-dbus-bus.service static
bamfdaemon.service static
dbus.service static
deepin-turbo-booster-desktop.service disabled
deepin-turbo-booster-dtkwidget.service disabled
dirmngr.service static
glib-pacrunner.service static
gpg-agent.service static
gvfs-afc-volume-monitor.service static
gvfs-daemon.service static
gvfs-goa-volume-monitor.service static
gvfs-gphoto2-volume-monitor.service static gvfs-udisks2-volume-monitor.service static
obex.service disabled
pulseaudio.service disabled
redshift.service disabled
ssh-agent.service static
systemd-exit.service static
systemd-tmpfiles-clean.service static
systemd-tmpfiles-setup.service disabled

22 unit files listed.

Reply View the author
jiutian123
deepin
2021-11-24 01:33
#3
enforcee

哪个都不是。

无论是pulseaudio还是pipewire都是用户层的音频服务器,需要用--user参数查看

systemctl list-unit-files --user --type=service

不过deepin的pulseaudio似乎不是用systemd启动的,用pactl info看吧。直接找进程名pulseaudio也可以。

nsz@nsz:~$ pactl info
服务器字串:unix:/run/user/1000/pulse/native
程序库协议版本:32
服务器协议版本:32
是否本地服务器:是
客户端索引:11
区块大小: 65472
用户名:nsz
主机名:nsz
服务器名:pulseaudio
服务器版本:12.2
默认采样规格:s16le 2ch 44100Hz
默认声道映射:front-left,front-right
默认音频入口:alsa_output.pci-0000_00_1f.3.analog-stereo
默认信源: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie:da7b:5a60

Reply View the author
jiutian123
deepin
2021-11-24 01:34
#4
enforcee

哪个都不是。

无论是pulseaudio还是pipewire都是用户层的音频服务器,需要用--user参数查看

systemctl list-unit-files --user --type=service

不过deepin的pulseaudio似乎不是用systemd启动的,用pactl info看吧。直接找进程名pulseaudio也可以。

两个没变化

nsz@nsz:~$ pactl info list-unit-files --user --type=service
服务器字串:unix:/run/user/1000/pulse/native
程序库协议版本:32
服务器协议版本:32
是否本地服务器:是
客户端索引:12
区块大小: 65472
用户名:nsz
主机名:nsz
服务器名:pulseaudio
服务器版本:12.2
默认采样规格:s16le 2ch 44100Hz
默认声道映射:front-left,front-right
默认音频入口:alsa_output.pci-0000_00_1f.3.analog-stereo
默认信源: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie:da7b:5a60

Reply View the author
enforcee
deepin
2021-11-24 01:43
#5
jiutian123

两个没变化

nsz@nsz:~$ pactl info list-unit-files --user --type=service
服务器字串:unix:/run/user/1000/pulse/native
程序库协议版本:32
服务器协议版本:32
是否本地服务器:是
客户端索引:12
区块大小: 65472
用户名:nsz
主机名:nsz
服务器名:pulseaudio
服务器版本:12.2
默认采样规格:s16le 2ch 44100Hz
默认声道映射:front-left,front-right
默认音频入口:alsa_output.pci-0000_00_1f.3.analog-stereo
默认信源: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie:da7b:5a60

那是自然啦

你怎么会把systemd的选项移到pulseaudio上去了

shamed

Reply View the author
jiutian123
deepin
2021-11-24 01:47
#6
enforcee

哪个都不是。

无论是pulseaudio还是pipewire都是用户层的音频服务器,需要用--user参数查看

systemctl list-unit-files --user --type=service

不过deepin的pulseaudio似乎不是用systemd启动的,用pactl info看吧。直接找进程名pulseaudio也可以。

pulseaudio.service disabled

这个没启动 声音也正常,就是两个睡眠结果 唤醒后结果不同

Reply View the author
enforcee
deepin
2021-11-24 01:56
#7
jiutian123

pulseaudio.service disabled

这个没启动 声音也正常,就是两个睡眠结果 唤醒后结果不同

你用ps试一下pulseaudio的运行情况。deepin的pulseaudio应该不是systemd管的

Reply View the author
jiutian123
deepin
2021-11-24 01:58
#8
enforcee

你用ps试一下pulseaudio的运行情况。deepin的pulseaudio应该不是systemd管的

ps是什么?tail

Reply View the author
jiutian123
deepin
2021-11-24 02:00
#9
enforcee

你用ps试一下pulseaudio的运行情况。deepin的pulseaudio应该不是systemd管的

nsz@nsz:$ pulseaudio –start
E: [pulseaudio] main.c: Too many arguments.
nsz@nsz:
$ pulseaudio –kill
E: [pulseaudio] main.c: Too many arguments.

Reply View the author
enforcee
deepin
2021-11-24 03:27
#10
jiutian123

nsz@nsz:$ pulseaudio –start
E: [pulseaudio] main.c: Too many arguments.
nsz@nsz:
$ pulseaudio –kill
E: [pulseaudio] main.c: Too many arguments.

你在干什么

Reply View the author
jiutian123
deepin
2021-11-24 03:52
#11
enforcee

你在干什么

找哪个服务统管声音模块

Reply View the author
enforcee
deepin
2021-11-24 04:43
#12
jiutian123

找哪个服务统管声音模块

不告诉你是pulseaudio了吗

sweat

不用麻烦了,打开任务管理器,搜索pulseaudio

Reply View the author