Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-25-2006, 05:50 PM   #1
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, 05:59 PM   #2
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

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, 06:02 PM   #3
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: 62
If it plays OK from root, there's no ALSA or sound driver problem. Do you have an 'audio' group?
Old 02-25-2006, 06:10 PM   #4
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 to now

Thanks for the help

Oh and yea I do have an audio group
Old 02-25-2006, 09:23 PM   #5
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.


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
music CD plays but no sound?!? dianat100 Linux - Newbie 6 03-12-2005 06:55 PM
Randomly plays music johngcarlsson Linux - General 4 12-05-2004 06:28 PM
XMMS plays music at twice the speed?! lunajlt Linux - Software 1 09-27-2004 02:42 PM
fedora plays some sounds... but no music... canuck316 Linux - Newbie 4 08-18-2004 01:45 AM
music/sound in general plays in "slow motion" tvstonydanza Linux - General 0 01-29-2004 08:29 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:55 AM.

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