今天早上,软件更新程序显示有新更新通知。内核是更新的一部分,因此需要重新启动。重新启动后,我的声音消失了,系统不再识别。我尝试了所有我知道的方法:重新启动 ALSA(强制),卸载 alsa 和 pulseaudio 并重新安装它们,但这些都不起作用。
我需要尽快恢复这台机器的声音,但像个白痴一样,在我彻底检查所有内容之前,我已经从系统中清除了以前的内核。
uname -a 的结果如下:
Linux z600-ubuntu-64-bit 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
更新:
好的,声音可以正常工作,只是 pulseaudio 和声音通知器(扬声器图标)不起作用。我还注意到控制面板中缺少大多数系统设置。控制面板中的内容如下:
语言支持、安全和隐私、打印机、景观服务以及软件和更新。
就是这样。有什么想法吗?
配置:
$ 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, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
## 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
; 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
; enable-remixing = yes
; enable-lfe-remixing = no
flat-volumes = no
; 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 = 1000000
; 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 = 8
default-fragment-size-msec = 10
; enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 1
; deferred-volume-extra-delay-usec = 0
没有 ~/.pulse/default.pa
另外,我有一个 Aferglow 无线耳机。在最近一次更新后,我的耳机可以正常工作,但麦克风不再被识别或工作。但它在 Windows/MAC OSX 上可以正常工作。
答案1
好的,我找到了问题所在。在 .default 中升级时遗留了一些驱动程序问题,导致脉冲音频无法正常工作。当我移除它们后,一切都恢复正常。