LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 02-25-2006, 04:50 PM   #1
Neruocomp
Member
 
Registered: Oct 2004
Distribution: Slackware, CentOS
Posts: 135

Rep: Reputation: 15
Angry Music Plays No Sound Need Help


Now this sounds like a permissions problem, but I've tried all sorts of things and its still not working.

I'm running slackware current and use the 2.6 kernel(so I also have the 2.6 version of alsa-driver installed) I use the snd-emu10k1 module, which loads just fine. modprobe.conf is setup correctly and I also have my user in the audio group. Still I can't get any sound. Xmms plays fine, just no sound. Almost like its muted, which its not, unless alsamixer is lying to me.

I log in as root and it plays fine. So I check the permissions on the /dev/sound/* devices and they are 0662 So I go into the udev rules and change it to 0666 and reboot. Still no sound.

I found this out there and tried it but only got errors
"options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0666 snd_device_gid=17 snd_device_uid=0"

I ran mpg123 to see if I got any errors and nothing, it plays, just no sound. Whats going on?
 
Old 02-25-2006, 04:59 PM   #2
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,178

Rep: Reputation: 49
I know you've already checked it, but it really does sound like an alsaconf goof-up. Did you run 'alsactl -store' after setting it? Take a look at it as a regular user then take another look as root and see what's different -- sometimes it'll not be muted, but just be turned down very low for some reason, et cetera.
 
Old 02-25-2006, 05:02 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 59
If it plays OK from root, there's no ALSA or sound driver problem. Do you have an 'audio' group?
 
Old 02-25-2006, 05:10 PM   #4
Neruocomp
Member
 
Registered: Oct 2004
Distribution: Slackware, CentOS
Posts: 135

Original Poster
Rep: Reputation: 15
haha I got it working but I still don't understand why it wasn't working in the first place. I ran alsaconf and it must have rewrote some config somewhere and now my sound works great. Weird. I do have to mention this happened when I upgraded the kernel and alsa-driver from 2.6.12.2 to 2.6.14.6(and now 2.6.15.3)

Thanks for the help

Oh and yea I do have an audio group
 
Old 02-25-2006, 08:23 PM   #5
Oinopion
Member
 
Registered: May 2005
Location: Kraków, PL
Distribution: Slackware
Posts: 33

Rep: Reputation: 15
In linux privs are checked at three levels: owner, owner group, others. 662 means 6 for owner, 6 for owner group, 2 for others. I can't remember what does 6 and 2 mean, perhaps 6 is -rx and 2 is -r- but 'm not sure. Beeing in audio group (witch is group of audio devices) makes you able to play sound.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
music CD plays but no sound?!? dianat100 Linux - Newbie 6 03-12-2005 05:55 PM
Randomly plays music johngcarlsson Linux - General 4 12-05-2004 05:28 PM
XMMS plays music at twice the speed?! lunajlt Linux - Software 1 09-27-2004 01:42 PM
fedora plays some sounds... but no music... canuck316 Linux - Newbie 4 08-18-2004 12:45 AM
music/sound in general plays in "slow motion" tvstonydanza Linux - General 0 01-29-2004 07:29 PM


All times are GMT -5. The time now is 10:35 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