LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 08-21-2002, 07:17 PM   #1
Rodcl
Member
 
Registered: Apr 2002
Location: Manchester, England
Distribution: Slackware 9.1
Posts: 113

Rep: Reputation: 15
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"
 
Old 08-21-2002, 10:11 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
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 08:06 AM.
 
Old 08-22-2002, 08:03 AM   #3
dai
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: Reputation: 30
Try chmod 755 as this gives read and execute permissions but no write to other users and groups.
 
Old 08-22-2002, 01:29 PM   #4
Rodcl
Member
 
Registered: Apr 2002
Location: Manchester, England
Distribution: Slackware 9.1
Posts: 113

Original Poster
Rep: Reputation: 15
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!!
 
Old 08-23-2002, 02:43 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Cool, glad we could help, and you got it all sorted.
 
Old 08-23-2002, 03:47 AM   #6
dai
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: Reputation: 30
For more info on chmod and how it works check this thread out: -

http://www.linuxquestions.org/questi...ighlight=chmod
 
Old 08-23-2002, 04:41 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Or, read the man: man chmod
 
Old 09-02-2002, 11:51 PM   #8
enzo250gto
Member
 
Registered: Oct 2001
Location: Tokyo, Japan
Distribution: Slackware
Posts: 105

Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound card Issues in Suse 9.3 with a ??Conexant?? Sound card in Gateway laptop hackerarchangel Linux - Hardware 3 12-31-2005 12:35 AM
Changing primary sound card or disabling a sound card tfr Linux - Hardware 2 02-10-2005 09:33 AM
keep onboard sound card enabled when a second sound card has been added ViralHex Linux - Hardware 0 06-08-2004 02:06 PM
Diabling onboard sound card and enabling pci slot sound card abhatia Linux - Hardware 4 01-12-2004 03:10 AM
How do you set permissions for the sound card? kidicarus Linux - Hardware 3 09-19-2003 01:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration