Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Do you know the name of your audio device? For example when I use lspci -v (as root) I get:
00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Con$
Subsystem: ASUSTeK Computer Inc. Device 1487
Flags: bus master, fast devsel, latency 0, IRQ 48
Memory at f7310000 (64-bit, non-prefetchable) [size=16K]
Capabilities:  Power Management version 2
Capabilities:  MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities:  Express Root Complex Integrated Endpoint, MSI 00
Capabilities:  Virtual Channel
Capabilities:  Root Complex Link
Kernel driver in use: snd_hda_intel
Try to find out the name of your audio device and see if you can find anyone else who has a similar problem via google. I would be glad to help, but I would just be google-ing things too. Please post the output of lspci though.
Looked through some of the other threads on google, trying what they suggest isn't working.
Note that sound does work when I log into KDE as root. It doesn't use ALC887, but falls back to something. When I look at teh devices there, it has a numch of hw.0, hw.1 and so on devices. Not sure if it is using them or what. But it doesn't work when logged in as a regular user. Weird.
I downloaded the latest 887 drivers from realtek for Linux, but I do not know how to compile it under slackware.
What does the groups command output as your user? For example, I get:
users lp floppy audio video cdrom plugdev power netdev scanner
If audio isn't there, that could be the source of your problem. The fact that root can use sound and your user can't seems to suggest this is possible, it also would suggest that this is not a driver problem, but if you do have audio in your user's groups...
Also did you download source code of the drivers you said you got? Usually there is an INSTALL or README file included in them. Or is it a binary of some sort? Is there a makefile included? Or a configure script?
I'm not really an advanced linux user myself, but sometimes dmesg has useful information when troubleshooting. Try to play some audio file and type 'dmesg | tail' into a terminal. It might give you some information. Also I'm going to of course assume you verified everything was un-muted in alsamixer.
If none of the above works, maybe you could check and see if root and your user are using the same card. In a terminal type 'alsamixer' in the top left, it says something like Card: *** for me it says 'Card: HDA Intel PCH' this is a shot in the dark, but maybe your root account is using one of your sound cards, while the user is trying to use the other. Then you would have to reconfigure alsamixer as your user to use the proper sound card. But I'm not honestly sure exactly what your problem is, just trying to help troubleshoot. Also, from alsamixer pressing F6 lets you select different sound cards, try to change which device you are using and see if it makes a difference.
Last edited by flyinggeorge; 07-02-2013 at 07:38 PM.
Audio is not there, I will try to figure out how to add it.
The driver I got was from teh realtek site itself, it was a tar.gz file which Slack doesn't seem to like for installpkg. I just looked through the files and there is an install script. I was reading the Linux install pdf, and some of the commands would not work on my machine.
I will try the groups first.
I do not know how to get alsamixer to run without being su.
I added my user account to the various groups per the slackware documentation:
usermod -a -G audio,cdrom,floppy,plugdev,video user
I had skipped that step for additional groups when I added my user account after the install.
I rebooted, and I no longer receive a gui error that there are no sound devices and it is reverting to default. The volumn control shows up in the taskbar now as well.
When I go to Phonom, I can hear teh test sounds, but Youtube and Pandora from Google Chrome do not work still. Also, selecting an mp3 I get "couldn't open audio" error message.
When I use alsamixer it pops up with a sound card that has no options to manipulate, just s/pdif. I can choose F6 to change cards and mess with the controls there. I saw a post that said there was a way to store the alsamixer settings, perhaps that is it?
No change, I tried
, logged out and back in and no change. Again, I can hear the test sounds from Phonom, and the logout system sound. No mp3, or webpage sound.
Last edited by MCDewy; 07-02-2013 at 11:27 PM.
Reason: updating post instead of posting a reply.
I'm glad you are making some sort of progress! I'm going to try and google around and see if I can help you, as for the .tar.gz file, this is not a Slackware binary, this is a compressed file (tarball). To extract a .tar.gz open a terminal and type:
$tar xvzf name_of_file.tar.gz
Then there is usually a folder inside, you should then be able to do something to the effect of
(Find out if there is a file called configure)
$ls configure (or ls | grep configure)
(if configure exists)
(From here you should be able to build)
$make && make install clean
As far as the above is concerned, this is how *most* source files come packaged, you might not have source code, maybe it's proprietary in which case it might have a .run file or something similar, the INSTALL file should tell you what you need to know about installing it.
I am really confused about how you can hear sounds from the system in KDE, right? And not in your browser. If I remember correctly, mp3 requires a special codec, I have no idea if KDE gives you this by default, I use fluxbox, so I don't know anything about KDE. Does your audio suite give you any errors when you try to play an mp3 about missing codecs? Try to run your audio suite from a terminal and see if it spits out any errors.
*edit: just saw you said you got a "couldn't open audio" error for mp3
As a final thought, I don't really think you should need to install new driver, it might help, but this seems like a separate issue to me.
Also just for the hell of it, can you try to play something with audio in another browser? Konquer or Firefox/SeaMonkey? Just in case there is a problem with chrome itself (unlikely but worth a stab)
Have you taken a look through this thread? This guy has the same card as you, and these people seem to know a lot more about it than I do.
My /etc/modprobe.conf folder has three files.
All three have the same line: options snd_hda_intel model=auto
I saw some posts using a dash instead of an underscore. My system likes the underscore.
With this setup, mp3's are working, and youtube in Chrome is working. I tried Firefox, (Wanted a new flash plugin which I was not smart on), and konquorer, didnt play the video at all.
But it all appears to be working.
1. Make sure your user is in all the groups
2. Make sure none of the channels are muted including alsamixer settings
3. Check the files in /etc/modprobe.d (Google search for slackware no audio and flash brings up posts related to the files in here)
4. Check preferred devices in Phonom.