Ubuntu10.04 no audio solution instance

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.