Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can you get sound as root? If it's just users that can't hear sound, it's because of the file permissions of the audio devices in /dev. The "proper" way to set it up is adding a group called audio or sound etc.. and adding users to that group. Here is what you may want to try. First find out what the last gid(group id) is in /etc/group by doing this; cat group
Note the last number. Now do the following:
groupadd -g 102 (make this number the one AFTER the one you noted in the group file) audio <---Or whatever you want to call the group.
You'll want to add a user to that group. If you want joe to be in that group then you could modify his userstatus by doing this;
usermod -G audio joe <---Adds joe to audio
then cd /dev and change the ownership of the audio files to audio by doing this;
chown -v root.audio audio audio1 dsp dsp1 sequencer sequencer2
then change the permissions of said files like this;
chmod -v 464 audio audio1 dsp dsp1 sequencer sequencer2
That's it, now joe can hear sound properly. The 464 is debateable. That sets the permissions to r--rw-r-- thereby only users in the group will hear sound, you can mess with those. If I made any goofs yuh'all, please correct me.
Well, I should've thought about it sooner, but you are going to want to load the appropriate sound module in the /etc/rc.d/rc.modules file. I'm not in Slack at the moment but if you edit that file, scroll down to sound support and you should see the soundblaster support. Just uncomment the module by taking away the hash '#' reboot and then first see if root has sound. After that we can worry about getting the users sound if there is any problem.
as i told you before .. i have a SB 128 PCI .. but the module es1370 doesnt work - es1371 does.
..nothing happend when i rebooted, so .. in a terminal window i run the command " esd " but first i had to get su ( sudo /bin/bash ) .. then my speakers beeped and scared the shit out of me :-)
ive changed the preferences in XMMS from the default driver OSS something to eSound something and now i can play MP3s
But do i have to du this everytime i start Slack / X ? run the command " esd " ? and when i tried to open the audio mixer app - it asks me if i have permissins to open /dev/mixer
i'm running slack8 on my thinkpad, and before i installed the 2.4.17 kernel on my system, i had to use alsa modules for my soundcard, so to load them at boot time i added the following lines to my /etc/rc.d/rc.local file:
so you'll wanna look into what modules you should be loading at boot time, simply loading your card's module won't be enough, since there are modules for your mixer, pcm, oss, synth, and other things.
i did not put those lines in the rc-local file but it loks like root has sound everytime i reboot .. what about my user .. it seemes like many has problems with sound in slackware ..
yeah, in slackware only root has permissions to access your soundcard. you'll either wanna create a new group for your sound devices or change the permissions on the hardware itself. refer to this post for some more info:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.