LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-27-2002, 10:40 AM   #1
omICron
LQ Newbie
 
Registered: Jul 2002
Distribution: RH 7.3
Posts: 10

Rep: Reputation: 0
how to allow ordinary users to use sound ??


Ok heres a stooooopid newbie question but how do i allow ordinary users to use sound ?? as in where and on what do i assign the appropriate perms ??

Thanx in advance ?
 
Old 07-27-2002, 11:00 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
what sound server are you using? gnome=esd kde=arts also could be alsa (think that does servery stuff as well as drivers) or flat oss or similar. if it's esd or such then it should have a helper app tyo control access to it, eg. esdctl
 
Old 07-27-2002, 11:28 AM   #3
omICron
LQ Newbie
 
Registered: Jul 2002
Distribution: RH 7.3
Posts: 10

Original Poster
Rep: Reputation: 0
im running gnome , although im not sure which sound server is running ??none of the ones u mention show up in the process list ?

in esdctl there is an unlock option do i run that as root and that will allow non root users to use sound even on a reboot without having to run the command ?

Cheers
 
Old 07-27-2002, 07:20 PM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Check the permissions on your sound devices in /dev
 
Old 07-27-2002, 09:33 PM   #5
omICron
LQ Newbie
 
Registered: Jul 2002
Distribution: RH 7.3
Posts: 10

Original Poster
Rep: Reputation: 0
forgive my newbieness but exactly what in /dev shoould i be lookin for ? there are a stack of entries in there and i have no idea which one points to the sound device?

Are there any other methods ? of achieving sound for ordinary users ? su - is a bit of pain just to get freakin sound !
 
Old 07-27-2002, 09:40 PM   #6
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
/dev/audio*, /dev/dsp*, /dev/mixer* and /dev/sequencer*
 
Old 07-27-2002, 10:03 PM   #7
omICron
LQ Newbie
 
Registered: Jul 2002
Distribution: RH 7.3
Posts: 10

Original Poster
Rep: Reputation: 0
worked like a charm !


Cheers
 
Old 07-29-2002, 01:18 PM   #8
lacrimae
Member
 
Registered: Feb 2002
Distribution: slackware 8.1; redhat 7.2
Posts: 65

Rep: Reputation: 15
what does putting a * mean? (Hard to look this up as star is wildcard in searches) Never saw this anywhere...
 
Old 07-29-2002, 07:26 PM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
You use the wildcard entry because there are several of each device, dsp0, dsp1 etc...
 
Old 07-29-2002, 07:36 PM   #10
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
Note: This is much easier if you're using devfs for you /dev since you won't get inundated with thousands of entries for devices that don't exists... you'll only get the ones that do (hopefully). Eg: /dev/hd* would normally show all the possible combinations (hdaX hdbX hdcX, etc), whereas with devfs you'll only be given the ones that are actually on your system!

Just thought I'd mention it for ya.
 
Old 07-30-2002, 03:48 AM   #11
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
I wonder why I can't get my sound card working? I've tried all these suggestions and others and I still don't get sound coming from the speakers.

Here is the link from my original thread:

http://www.linuxquestions.org/questi...a&pagenumber=1
 
Old 07-30-2002, 04:01 AM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
Quote:
Originally posted by lacrimae
what does putting a * mean? (Hard to look this up as star is wildcard in searches) Never saw this anywhere...
heh, it IS a wildcard
 
Old 07-30-2002, 07:39 AM   #13
omICron
LQ Newbie
 
Registered: Jul 2002
Distribution: RH 7.3
Posts: 10

Original Poster
Rep: Reputation: 0
Ok This is Weird but when i set the perms g+rw and o+rw on /dev/audio*, /dev/dsp*, /dev/mixer* and /dev/sequencer* and i take the machine down for reboot the permissions are lost and i have to reset them.

Theres obvisiously a way to have them set on boot??

THankz in advance
 
  


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
Expand ordinary 2.0 to Surround Sound Napalm Llama Linux - General 3 07-14-2006 08:20 AM
fat32 partition, ordinary users read/write quietbyday Linux - General 1 08-01-2005 11:31 PM
Three security flaws could be used by an ordinary users to access Linux boxen witeshark Linux - Security 1 02-20-2004 01:45 AM
X wont start with ordinary users IanS Linux - Newbie 1 10-05-2003 12:51 PM
No sound for users Tez218 Slackware 5 08-04-2003 12:31 PM


All times are GMT -5. The time now is 09:57 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration