My Linux system is Ubuntu10.04 with no sound. The root cause is that the user has lost the permission to access the audio device. You can run the ls-la/dev/snd command to view the permission to use the audio device. For example in my system, output total0drwxr-xr-x2rootroot1802010-09-1608: 53. drwxr-xr-x12rootroot45802010-09-1513:
My Linux system is Ubuntu 10.04 and has no sound. The root cause is that the user has lost the permission to access the audio device. You can run the command
Ls-la/dev/snd
To view the permissions of the audio device. For example, in my system
Total 0
Drwxr-xr-x 2 root 180 2010-09-16 08:53.
Drwxr-xr-x 12 root 4580 ..
Crw-rw ---- 1 root 116, 8 2010-09-16 08:53 controlC0
Crw-rw ---- 1 root 116, 7 2010-09-16 08:53 hwC0D2
Crw-rw ---- 1 root 116, 6 2010-09-16 08:54 pcmC0D0c
Crw-rw ---- 1 root 116, 5 2010-09-16 14:04 pcmC0D0p
Crw-rw ---- 1 root 116, 4 2010-09-16 08:53 pcmC0D1p
Crw-rw ---- 1 root 116, 3 2010-09-16 08:53 seq
Crw-rw ---- 1 root 116, 2 2010-09-16 08:53 timer
This means that only users in the root and audio groups can use audio devices. That's why
Volume Control works normally under root, but cannot be used by other users. Maybe it is
Some incorrect operations will remove users from the audio group and disable the use of audio devices. Solution:
Sudo chmod-R a rwx/dev/snd
In this way, all users can access the audio devices. The more appropriate method is,
Sudo usermod-a-G audio usrname.
The preceding operation adds usrname to the audio group.