
12.10 から 13.04 にアップグレードした後、Lubuntu で USB サウンドカード (Polycom) を取り外して再度差し込むと、オーディオ再生が失われました。ボリューム コントロールが灰色で、pulseaudio ミキサー (インストールされていません) につながっていたため、pulseaudio パッケージをアンインストールしました。また、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
.conf に次のように記述します。
defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 1
以下は両方のデバイスで同じ結果になります。aplay -vv -D front:CARD=NVidia,DEV=0 "Release the Pressure.wav":
Playing WAVE 'Release the Pressure.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
aplay: set_params:1087: Channels count non available
Guayadeque 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 カードを接続しましたが、これも動作するようになりました。