Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-21-2002, 06:17 PM
|
#1
|
Member
Registered: Apr 2002
Location: Manchester, England
Distribution: Slackware 9.1
Posts: 113
Rep:
|
Sound card permissions
After recompiling my kernel with es1371 driver (no module)
I can only get sound when i am logged in as root.
I don't have a lot of exp. with permissions
What should i do?
Debian 3.0 "woody"
|
|
|
08-21-2002, 09:11 PM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Not sure if there is a different way to do this in Debian, but I would assume it's the same.
These are the 2 best ways I know of going about this:
You can create a new user. Call him sound. Give him permissions on the /dev/dsp /dev/mixer /dev/audio devices, and make him the group 'sound'. Now add your regular user to this 'sound' group, and you should be good to go.
OR (the lazy way, ie my way)
chmod 777 /dev/dsp, /dev/mixer, /dev/audio
If I am wrong anybody, or if there are better ways, or a better string after chmod to use, please advise. Thanks.
Cool
Last edited by MasterC; 08-22-2002 at 07:06 AM.
|
|
|
08-22-2002, 07:03 AM
|
#3
|
Member
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328
Rep:
|
Try chmod 755 as this gives read and execute permissions but no write to other users and groups.
|
|
|
08-22-2002, 12:29 PM
|
#4
|
Member
Registered: Apr 2002
Location: Manchester, England
Distribution: Slackware 9.1
Posts: 113
Original Poster
Rep:
|
Thank you for your help,
I logged in as root and went to users manager and set my normal account
in the "audio" group as well as some other devices.
But just because it was sorted out, it doesn't mean i will stop here i'll
have a look into this command "chmod" command!!
|
|
|
08-23-2002, 01:43 AM
|
#5
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Cool, glad we could help, and you got it all sorted.
|
|
|
08-23-2002, 02:47 AM
|
#6
|
Member
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328
Rep:
|
For more info on chmod and how it works check this thread out: -
http://www.linuxquestions.org/questi...ighlight=chmod
|
|
|
08-23-2002, 03:41 AM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Or, read the man: man chmod
|
|
|
09-02-2002, 10:51 PM
|
#8
|
Member
Registered: Oct 2001
Location: Tokyo, Japan
Distribution: Slackware
Posts: 105
Rep:
|
Is there a risk in having users being able to write to the sound? I've always used chmod 666 /dev/dsp and so on. What harm could anyone do if they have 777 for sound? I don't get it? Blow the speakers?
|
|
|
11-22-2021, 12:06 PM
|
#9
|
LQ Newbie
Registered: Nov 2021
Posts: 1
Rep: 
|
What about Kali linux ?
Quote:
Originally Posted by MasterC
Not sure if there is a different way to do this in Debian, but I would assume it's the same.
These are the 2 best ways I know of going about this:
You can create a new user. Call him sound. Give him permissions on the /dev/dsp /dev/mixer /dev/audio devices, and make him the group 'sound'. Now add your regular user to this 'sound' group, and you should be good to go.
OR (the lazy way, ie my way)
chmod 777 /dev/dsp, /dev/mixer, /dev/audio
If I am wrong anybody, or if there are better ways, or a better string after chmod to use, please advise. Thanks.
Cool
|
I tried to commit the solution above,,, However, in kali the /dev folder does not have "/dev/ dsp, /dev/ mixer, /dev/ audio"!
What should I do?
|
|
|
All times are GMT -5. The time now is 09:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|