LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-12-2009, 10:41 AM   #1
wardge
LQ Newbie
 
Registered: Sep 2009
Location: Grand Rapids, MI
Distribution: Slackware 13.0
Posts: 1

Rep: Reputation: 0
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)

Can anyone help?

Thanks
 
Old 09-12-2009, 11:10 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Can you play files within the console, with something like aplay? Are you a part of the sound group?
 
Old 09-12-2009, 11:13 AM   #3
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
also please ensure that your user is added to the group audio..
 
Old 09-12-2009, 12:26 PM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
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.
 
Old 09-12-2009, 01:45 PM   #5
kukibl
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 88

Rep: Reputation: 28
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.

Maybe this link will be helpful:

https://help.ubuntu.com/community/HdaIntelSoundHowto

You should edit /etc/modprobe.d/sound.
 
Old 09-12-2009, 04:27 PM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
Originally Posted by kukibl View Post
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.

Maybe this link will be helpful:

https://help.ubuntu.com/community/HdaIntelSoundHowto

You should edit /etc/modprobe.d/sound.
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.

Sasha
 
Old 09-12-2009, 04:36 PM   #7
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Rep: Reputation: 40
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).
 
Old 09-12-2009, 07:17 PM   #8
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
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"

Enjoy.
 
  


Reply



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
sound not working slackware blitzX Linux - Laptop and Netbook 10 04-25-2005 01:33 PM
Windows frustrations and Linux praise (venting my frustrations) Shaun32 General 6 03-04-2005 12:07 PM
sound not working under slackware install blackgenesis Linux - Newbie 4 01-05-2005 12:56 AM
Sound not working in Slackware iqbala Linux - Newbie 6 01-06-2004 03:16 PM
Sound not working in Slackware 9.1 rsamurti Slackware - Installation 6 12-19-2003 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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