
從 12.10 Lubuntu 升級到 13.04 後,拔下 USB 音效卡 (Polycom) 並重新插入後,音訊播放遺失。 音量控制呈灰色,導致脈衝音訊混音器(未安裝),因此我卸載了脈衝音訊軟體包。我還刪除並重新安裝了 alsa-base 軟體包。重新啟動後,我讓 alsamixer 恢復了一切,看起來一切如常(音量 100%,取消靜音),但無論我選擇什麼設備,每個聲音程式都會出錯。
播放-L:
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default:CARD=NVidia
HDA NVidia, ALC662 rev1 Analog
Default Audio Device
sysdefault:CARD=NVidia
HDA NVidia, ALC662 rev1 Analog
Default Audio Device
front:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
Front speakers
surround40:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
dmix:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
Direct sample mixing device
dmix:CARD=NVidia,DEV=1
HDA NVidia, ALC662 rev1 Digital
Direct sample mixing device
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=1
HDA NVidia, ALC662 rev1 Digital
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample snooping device
hw:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=1
HDA NVidia, ALC662 rev1 Digital
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=1
HDA NVidia, ALC662 rev1 Digital
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Hardware device with all software conversions
default:CARD=Communicator
Default Audio Device
sysdefault:CARD=Communicator
Default Audio Device
front:CARD=Communicator,DEV=0
Polycom Communicator, USB Audio
Front speakers
surround40:CARD=Communicator,DEV=0
Polycom Communicator, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Communicator,DEV=0
Polycom Communicator, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Communicator,DEV=0
Polycom Communicator, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Communicator,DEV=0
Polycom Communicator, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Communicator,DEV=0
Polycom Communicator, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Communicator,DEV=0
Polycom Communicator, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Communicator,DEV=0
Polycom Communicator, USB Audio
Direct sample mixing device
dsnoop:CARD=Communicator,DEV=0
Polycom Communicator, USB Audio
Direct sample snooping device
hw:CARD=Communicator,DEV=0
Polycom Communicator, USB Audio
Direct hardware device without any conversions
plughw:CARD=Communicator,DEV=0
Polycom Communicator, USB Audio
Hardware device with all software conversions
等/asound.conf:
defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 1
以下兩個設備得到相同的結果。 aplay -vv -D front:CARD=NVidia,DEV=0 "釋放壓力.wav":
Playing WAVE 'Release the Pressure.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
aplay: set_params:1087: Channels count non available
瓜亞德克mp3播放:
AL lib: alsa_open_playback: Could not open playback device 'default': No such file or directory
21:32:14: Error: Gstreamer error 'Configured audiosink playbackbin is not working.'
大膽:
ALSA error: snd_mixer_attach failed: No such file or directory.
ALSA error: snd_pcm_open failed: No such device.
那麼如何修復我的音訊呢?
更新:我刪除了 USB 音效卡並刪除了所有 alsa 配置。一切都像安裝前一樣工作,但感覺很脆弱。
答案1
我拔掉了 USB 音效卡清除的所有 alsa 和 asound 配置。現在它又開始工作了。我連接了 USB 卡,現在它也可以工作了。