Slackware 13 - Frustrations with sound not working
SlackwareThis 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.
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.
Slackware 13 - Frustrations with sound not working
Hey everyone, I'm hoping someone can help me out.... I installed Slackware 13 on my Dell Inspiron laptop (dual boot with Vista), and I've managed to get everything up and running with the exception of my sound card. The device is recognized, and shows as being installed, but for the life of me, I can't figure this out....
I ran alsaconf when i set up the system, unmuted channels, set volume levels and ran alsactl store to save the settings. I've tried seemingly everything to get it going and I'm about to pull what hair I have left out of my head...LOL
lspci identifies my audio device as:
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
As bassmadrigal suggested, try using the aplay command and a wave file to test from the console. If that does not work, try the same as root.
If you get sound from a console and you use KDE, check the KMix applet to ensure channels are not muted. Just yesterday I had that happen to me with my new HTPC. The KMix applet had the HDMI channels muted. I have no idea why developers package such irritating defaults.
Well I had same sound card (Intel HDA, snd-intel-hda module) on two previous laptops and have it on current one too. Run into many problems with it, specially after significant changes in kernel. Right now it is working quite fine, but I remember in past I had to pass additional module options to modprobe.
Well I had same sound card (Intel HDA, snd-intel-hda module) on two previous laptops and have it on current one too. Run into many problems with it, specially after significant changes in kernel. Right now it is working quite fine, but I remember in past I had to pass additional module options to modprobe.
FWIW, I believe that unless the laptop is "Fresh off the assembly line brand new", kukibl is on the right track. You most likely need to give some options to the snd_hda_intel module so that it correctly identifies the configuration of the sound chip.
You *might* have luck just passing the "model=laptop" option (and rebooting to test), but if that doesn't work, you'll need to search around for other options that may work.
Google can be good for searching for the ALSA mailing lists for threads containing mention of your laptop, and what model= parameter may work for that laptop.
If you want, have a look into the kernel source-code, in the /Sound/PCI/HDA/ folder, for the file called "patches_realtek.c" in which you can find ALL of the options, and models, that are currently identified by the current ALSA subsystem.
I too have that intel sound card and had the same problem. There was a bug in the driver that required a workaround. This appears to have been fixed in kernel 2.6.31 (I'm running it now).
The 1st thing I do when I upgrade and have odd alsa glitches is look at the output of "aplay -L" to make sure alsa sees the card and what kind of capabilities are loaded. I have several systems with sounds chipsets that also have autosensing jacks which drives me nuts since with every alsa update all the jacks reset to something else. For example,
Code:
beowulf@gandalf:...~ $ aplay -L
default:CARD=CK8S
NVidia CK8S, NVidia CK8S
Default Audio Device
front:CARD=CK8S,DEV=0
NVidia CK8S, NVidia CK8S
Front speakers
surround40:CARD=CK8S,DEV=0
NVidia CK8S, NVidia CK8S
4.0 Surround output to Front and Rear speakers
surround41:CARD=CK8S,DEV=0
NVidia CK8S, NVidia CK8S
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CK8S,DEV=0
NVidia CK8S, NVidia CK8S
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CK8S,DEV=0
NVidia CK8S, NVidia CK8S
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CK8S,DEV=0
NVidia CK8S, NVidia CK8S
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
Discard all samples (playback) or generate zero samples (capture)
then use speaker-test to see (...er...hear..) which channels are where. I only use 2 stereo channels so it is surprising where they end up. On Slackware12.2 and Slamd64 12.0 the speaker jack I use is "front" but on Slackware64 13.0 is was "rear." Slackware 12.0 and Slamd64 12.0 was also "rear."
Code:
beowulf@gandalf:...~ $ speaker-test -Dplug:surround41 -c4 -twav
speaker-test 1.0.17
Playback device is plug:surround41
Stream parameters are 48000Hz, S16_LE, 4 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 3 to 5461
Period size range from 3 to 5461
Using max buffer size 5460
Periods = 4
was set period_size = 1365
was set buffer_size = 5460
0 - Front Left
1 - Front Right
3 - Rear Right
2 - Rear Left
Time per period = 5.744916
(-twav uses a pleasing voice instead of pink noise, -cx for x channels, -Dplug:nnnnn for the card channel capability - try front and surround41 to start as the other surround choices, if any, mixes the output to all channels.)
Once you know what's what, use the KDE mixer, for example, to turn on the correct channels, and it any surroundxx is present also unmute the surround channel - even if you don't use surround. I also have to set, "duplicate front"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.