View sound card at Terminal: Aplay-l Successful display: * * * Playback Hardware Device list ****card 0:intel [HDA Intel], device 0:alc662 rev1 Analog [ALC662 rev1 Analog] Sub-device: 1/1 child device #0: Subdevice #0不成功显示: aplay: No sound card found unsuccessful, look down. Step one: Remove the system's own sound module sudo apt-get remove linux-sound-base alsa-base alsa-utils Step Two: Reinstall and install the latest module: sudo apt-get install Linux-sound-base alsa-base alsa-utils Step Three: You may not be able to enter the GDM Graph login window after rebooting. sudo apt-get install GDM ubuntu-desktop (xubuntu user input: sudo apt-get install GDM xubuntu-desktop) reboot. Fourth step: Install the ALSA module: sudo apt-get install build-essential linux-headers-$ (uname-r) module-assistant Alsa-source Fifth step: Reconfigure: sudo dpkg-reconfigure alsa-source will have a blue window asking if you want to install. Select Yes to then ask you to install the sound card model. If you know the model you want to install, choose the one you want, or select "All" to select all. If there is no error, it is success.
To record a WAV sound:
Aplay-c-D duration-t wav Hello.wav
To play a WAV sound:
Aplay Xxx.wav
Ubuntu Sound Problems