LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-16-2003, 11:22 AM   #1
awdoyle
Member
 
Registered: Aug 2002
Location: Portland, OR
Distribution: Xubuntu
Posts: 135

Rep: Reputation: 15
Onboard sound only works with root login


My Slackware 8.1 install didn't recognize my motherboard's (ASUS A7M266) onboard sound. I downloaded the C-Media audio driver from ASUS and followed the install instructions, which paralleled several steps in this kernel compiling howto - so I did that too. The C-Media README gives these instructions for enabling sound:
Quote:
Slackware 4.0 (a little dated, I know) Add the 'modprobe cmpci' command in your /etc/rc.d/rc.modules file.so you can start the driver automatically each time booting.
Sound now works in KDE if I log in as root; if I log in as myself, a dialog opens up that says:
device /dev/dsp can't be opened (no such device)
I've seen this error all over the forums, but I haven't figured out how to resolve it when root login works and regular user login doesn't. The /etc/rc.d/rc.modules is executable by all users. Please let me know if more specific information would help, and thanks in advance for any advice you can offer.
 
Old 06-16-2003, 01:33 PM   #2
C++freak
Member
 
Registered: Apr 2002
Location: NB, Canada
Distribution: Gentoo
Posts: 180

Rep: Reputation: 30
login as root, open a shell, and do this:

chmod 0666 /dev/dsp*; chmod 0666 /dev/mixer*

now try to play some tunes as a regular user.
 
Old 06-16-2003, 02:27 PM   #3
awdoyle
Member
 
Registered: Aug 2002
Location: Portland, OR
Distribution: Xubuntu
Posts: 135

Original Poster
Rep: Reputation: 15
C++freak I owe you a beer. I also did a
chmod /dev/audio*
Thanks for the help!
 
Old 06-16-2003, 02:29 PM   #4
C++freak
Member
 
Registered: Apr 2002
Location: NB, Canada
Distribution: Gentoo
Posts: 180

Rep: Reputation: 30
Do you want shipping information for that beer? ;-)

lol, I'm glad I could help
 
  


Reply



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 works in root - no sound in user - Debian seanb Debian 9 02-28-2004 12:42 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
MPlayer; MY SiS Onboard sound WORKS!!!!!!! TheDanLayerOSI Linux - Software 1 12-06-2003 10:07 PM
su works but root login fails? Pcghost Linux - General 2 08-29-2003 08:26 PM
sound only works as root matt_w_lambert Linux - General 4 05-03-2003 11:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:46 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
Open Source Consulting | Domain Registration