Slackware This Forum is for the discussion of Slackware Linux.
|
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-26-2011, 09:01 AM
|
#1
|
|
Member
Registered: Feb 2011
Location: Santa Catarina - Brazil
Distribution: Slackware
Posts: 129
Rep:
|
Audio work/don't work on Slackware 13.1
Hi people!
I have Slackware 13.1 on my desktop and my Laptop.
In both cases, my sound some times works, and some times doesn't works...
When audio does not works, I reboot some times (and make a alsaconf, alsactl store)...
Do you know what it can be??
Thanks!
OBS:
My audio drive(from lspci):
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
OBS2:
When I start the KDE and the sound Driver isn't working, is showed a window saying the Sound Card was removed.
Last edited by MarcosPauloBR; 04-26-2011 at 10:39 AM.
|
|
|
|
04-27-2011, 02:04 AM
|
#2
|
|
Senior Member
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,133
|
Did you try running alsaconf as root to configure alsa for your sound card?
Then run alsamixer as a regular user to set your sound levels.
Then run alsactl store as root to save these settings.
Then reboot.
|
|
|
1 members found this post helpful.
|
04-27-2011, 02:51 AM
|
#3
|
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,866
|
Do you have more than one audio-device i.e. does your laptop have HDMI?
As you know, with the command the modules are shown which are in use a device. I'd recommend to check this in the following way: When you don't have sound, don't run alsaconf but "lspci -k" and look if the module for the soundcard is loaded. If it's not, load it with modprobe and find out if the sound is working now. alsaconf loads the modules for the sound-device, so if that's the problem you'll don't have to use alsaconf.
You may as a first step (when the sound is working) check which module is used. Then (the next time it doesn't work) check for the module. It may be, that the module isn't loaded automatically. The you can load it "manually" with modprobe.
If this is the problem, you can load the module at boot-time with modprobe in the /etc/modprobe.d directory. Be sure that the module isn't blacklisted.
Markus
|
|
|
|
04-27-2011, 10:12 AM
|
#4
|
|
Member
Registered: Feb 2011
Location: Santa Catarina - Brazil
Distribution: Slackware
Posts: 129
Original Poster
Rep:
|
Hi tommcd!
Yes, I did all this steps, and sometimes the KDE show a message that my Sound Card was removed...
Hi markush!
Now, my sound is OK, but when I do the command lspci -k only shows my audio card:
root@bahamut:/home/marcos-paulo# lspci -k | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
root@bahamut:/home/marcos-paulo#
Its strange??
For me yes =P
Thanks!!
|
|
|
|
04-27-2011, 10:55 AM
|
#5
|
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,866
|
here as an example the output on my system:
Code:
markus@samsung:~$ /sbin/lspci -k | grep -iA3 audio
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
Subsystem: Samsung Electronics Co Ltd Device c553
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
--
01:00.1 Audio device: ATI Technologies Inc Manhattan HDMI Audio [Mobility Radeon HD 5000 Series]
Subsystem: Samsung Electronics Co Ltd Device c553
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
as you see there is the kernelmodule shown.
Markus
|
|
|
|
04-27-2011, 09:27 PM
|
#6
|
|
Member
Registered: Feb 2011
Location: Santa Catarina - Brazil
Distribution: Slackware
Posts: 129
Original Poster
Rep:
|
Thanks markush!
There is my output of my desktop
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
Subsystem: Intel Corporation Device d608
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
The sound is work on the 33.4 kernel.
I will try to compile the 38.4 with the /proc/config.gz of the 33.4 to see if my sound works =D
So, if the kernel 33.4 works sound(at this time...), so using this kernel configuration I can did it works on 38.4 too?? Or just copy the .config of the /usr/src/linux...33.4 to 38.4 and make a oldconfig ?
Thanks!
|
|
|
|
04-28-2011, 02:01 AM
|
#7
|
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,866
|
Quote:
Originally Posted by MarcosPauloBR
...
So, if the kernel 33.4 works sound(at this time...), so using this kernel configuration I can did it works on 38.4 too?? Or just copy the .config of the /usr/src/linux...33.4 to 38.4 and make a oldconfig ?...
|
Yes, this will work, and it is what I do in such cases.
What I meant in my first post was: if the sound does not work, you may check the modules and if they are not loaded, load them and check if the sound then works. In fact it is only one module to load.
I did not understand if you've checked this.
Markus
|
|
|
|
04-29-2011, 06:00 AM
|
#8
|
|
Member
Registered: Feb 2011
Location: Santa Catarina - Brazil
Distribution: Slackware
Posts: 129
Original Poster
Rep:
|
So, this never happen =D
I think its allright now!
Thanks for you markush, and all who helps!
|
|
|
|
04-29-2011, 05:38 PM
|
#9
|
|
Member
Registered: Feb 2011
Location: Santa Catarina - Brazil
Distribution: Slackware
Posts: 129
Original Poster
Rep:
|
People, it happen again... now on my laptop.....
By the way, I'm using the kernel 38.4(I happens on some kernels and on 33.4 too...)
It happens after I tryed to use my compiled kernel 39-rc5, and When i tried to start the KDM, my scrren become black, and I needed to press the shutdown button....
Do you think that the shutdown method can crash my audio driver(or his mapping on system)?
And, this is the output:
Code:
root@bahamut:/home/marcos-paulo# lspci -k | grep -iA3 audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Subsystem: FIRST INTERNATIONAL Computer Inc Device 3009
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
And, my KDE says there my audio device was removed....
Its strange, because it happens in a random period....
Thanks!
Last edited by MarcosPauloBR; 04-29-2011 at 05:41 PM.
|
|
|
|
04-29-2011, 05:42 PM
|
#10
|
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,866
|
The KDE message may result from a missing HDMI-driver in your graphics-driver. I have a Radeon HD 5470 graphics-adapter and when I use the kerneldriver (radeon) instead of ATI's fglrx driver I have always this message of KDE. As you know HDMI is a Video/Audio-port.
Markus
|
|
|
|
04-30-2011, 06:26 AM
|
#11
|
|
Member
Registered: Feb 2011
Location: Santa Catarina - Brazil
Distribution: Slackware
Posts: 129
Original Poster
Rep:
|
Hum...
Yesterday I made a test, and when I run a music player on root user, it works....
Can it be a permission to "see or execute" anything that uses the audio?
Thanks!
|
|
|
|
04-30-2011, 06:34 AM
|
#12
|
|
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,866
|
you may find out to which groups you (the user) belong with the "id" command. You need to be at least member of the group audio.
Markus
|
|
|
|
04-30-2011, 07:42 AM
|
#13
|
|
Member
Registered: Feb 2011
Location: Santa Catarina - Brazil
Distribution: Slackware
Posts: 129
Original Poster
Rep:
|
Markus, I think you're right again =D
I was not a member of group audio, and When I put the audio group to my user and reboot, it works(ok ok, sometimes it can happens again...)
The most strange thing is that sometimes the audio works, and sometimes not...
But, I think that we can learn a lot with this type of problem!
Thanks again for our time!
Last edited by MarcosPauloBR; 04-30-2011 at 07:44 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:04 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|