LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Slackware 13 Sound Problem (http://www.linuxquestions.org/questions/linux-hardware-18/slackware-13-sound-problem-791270/)

tairoesp 02-24-2010 10:04 AM

Slackware 13 Sound Problem
 
Hi people!

I'm new to the forum, althought I'm using linux distros (and trying to learn more about the system) for some months. Now I'm trying the new Slackware 13, and I'm having some problems with the sound card. For some reason, the sound doesn't work only on Slack, being totally functional on Windows or Ubuntu, for example.

The problem is basic this: I run the "alsaconf" command, the card is detected as expected, everything goes alright. I use "alsamixer", turn all the bars unmuted and raise then all. I get no error messages in all this process, but, as I said, my sound doesn't work.

My card, from the "lspci" command, is as follows: "00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)".

My "/etc/modprobe.d/sound" is written in this way:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

I hope you can help me getting a solution to this! Thanks in advance!

Edit: My computer is a HP Pavillion dv4.

Peacedog 02-24-2010 08:42 PM

Hi tairoesp, Welcome to LQ. Please post the output from the following.

Code:

~$ cat /proc/asound/version
~$ cat /proc/asound/card*/codec* | grep Codec

This will give us the alsa drivers version, and your particular codec so we may look at

Code:

/usr/src/your-kernel-version/Documentation/sound/alsa/HD-Audio-Models.txt
for quirk options for your card.

Good luck. ;-)

tairoesp 02-24-2010 09:30 PM

Thanks for the help, Peacedog!

Well, here goes the information I got with the two first commands:
Advanced Linux Sound Architecture Driver Version 1.0.18a
Codec: IDT 92HD71B7X
Codec: LSI ID 1040
Codec: Intel G45 DEVCTG

And here, what is written in my HD-Audio-Models.txt file:

Model name Description
---------- -----------
ALC880
======
3stack 3-jack in back and a headphone out
3stack-digout 3-jack in back, a HP out and a SPDIF out
5stack 5-jack in back, 2-jack in front
5stack-digout 5-jack in back, 2-jack in front, a SPDIF out
6stack 6-jack in back, 2-jack in front
6stack-digout 6-jack with a SPDIF out
w810 3-jack
z71v 3-jack (HP shared SPDIF)
asus 3-jack (ASUS Mobo)
asus-w1v ASUS W1V
asus-dig ASUS with SPDIF out
asus-dig2 ASUS with SPDIF out (using GPIO2)
uniwill 3-jack
fujitsu Fujitsu Laptops (Pi1536)
F1734 2-jack
lg LG laptop (m1 express dual)
lg-lw LG LW20/LW25 laptop
tcl TCL S700
clevo Clevo laptops (m520G, m665n)
medion Medion Rim 2150
test for testing/debugging purpose, almost all controls can be
adjusted. Appearing only when compiled with
$CONFIG_SND_DEBUG=y
auto auto-config reading BIOS (default)

ALC260
======
hp HP machines
hp-3013 HP machines (3013-variant)
hp-dc7600 HP DC7600
fujitsu Fujitsu S7020
acer Acer TravelMate
will Will laptops (PB V7900)
replacer Replacer 672V
basic fixed pin assignment (old default model)
test for testing/debugging purpose, almost all controls can
adjusted. Appearing only when compiled with
$CONFIG_SND_DEBUG=y
auto auto-config reading BIOS (default)

ALC262
======
fujitsu Fujitsu Laptop
hp-bpc HP xw4400/6400/8400/9400 laptops
hp-bpc-d7000 HP BPC D7000
hp-tc-t5735 HP Thin Client T5735
hp-rp5700 HP RP5700
benq Benq ED8
benq-t31 Benq T31
hippo Hippo (ATI) with jack detection, Sony UX-90s
hippo_1 Hippo (Benq) with jack detection
sony-assamd Sony ASSAMD
toshiba-s06 Toshiba S06
toshiba-rx1 Toshiba RX1
ultra Samsung Q1 Ultra Vista model
lenovo-3000 Lenovo 3000 y410
nec NEC Versa S9100
basic fixed pin assignment w/o SPDIF
auto auto-config reading BIOS (default)

ALC267/268
==========
quanta-il1 Quanta IL1 mini-notebook
3stack 3-stack model
toshiba Toshiba A205
acer Acer laptops
acer-dmic Acer laptops with digital-mic
acer-aspire Acer Aspire One
dell Dell OEM laptops (Vostro 1200)
zepto Zepto laptops
test for testing/debugging purpose, almost all controls can
adjusted. Appearing only when compiled with
$CONFIG_SND_DEBUG=y
auto auto-config reading BIOS (default)

ALC269
======
basic Basic preset
quanta Quanta FL1
eeepc-p703 ASUS Eeepc P703 P900A
eeepc-p901 ASUS Eeepc P901 S101
fujitsu FSC Amilo
auto auto-config reading BIOS (default)

ALC662/663
==========
3stack-dig 3-stack (2-channel) with SPDIF
3stack-6ch 3-stack (6-channel)
3stack-6ch-dig 3-stack (6-channel) with SPDIF
6stack-dig 6-stack with SPDIF
lenovo-101e Lenovo laptop
eeepc-p701 ASUS Eeepc P701
eeepc-ep20 ASUS Eeepc EP20
ecs ECS/Foxconn mobo
m51va ASUS M51VA
g71v ASUS G71V
h13 ASUS H13
g50v ASUS G50V
asus-mode1 ASUS
asus-mode2 ASUS
asus-mode3 ASUS
asus-mode4 ASUS
asus-mode5 ASUS
asus-mode6 ASUS
auto auto-config reading BIOS (default)

ALC882/885
==========
3stack-dig 3-jack with SPDIF I/O
6stack-dig 6-jack digital with SPDIF I/O
arima Arima W820Di1
targa Targa T8, MSI-1049 T8
asus-a7j ASUS A7J
asus-a7m ASUS A7M
macpro MacPro support
mbp3 Macbook Pro rev3
imac24 iMac 24'' with jack detection
w2jc ASUS W2JC
auto auto-config reading BIOS (default)

ALC883/888
==========
3stack-dig 3-jack with SPDIF I/O
6stack-dig 6-jack digital with SPDIF I/O
3stack-6ch 3-jack 6-channel
3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
6stack-dig-demo 6-jack digital for Intel demo board
acer Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
acer-aspire Acer Aspire 9810
acer-aspire-4930g Acer Aspire 4930G
medion Medion Laptops
medion-md2 Medion MD2
targa-dig Targa/MSI
targa-2ch-dig Targs/MSI with 2-channel
laptop-eapd 3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
lenovo-101e Lenovo 101E
lenovo-nb0763 Lenovo NB0763
lenovo-ms7195-dig Lenovo MS7195
lenovo-sky Lenovo Sky
haier-w66 Haier W66
3stack-hp HP machines with 3stack (Lucknow, Samba boards)
6stack-dell Dell machines with 6stack (Inspiron 530)
mitac Mitac 8252D
clevo-m720 Clevo M720 laptop series
fujitsu-pi2515 Fujitsu AMILO Pi2515
fujitsu-xa3530 Fujitsu AMILO XA3530
3stack-6ch-intel Intel DG33* boards
auto auto-config reading BIOS (default)

ALC861/660
==========
3stack 3-jack
3stack-dig 3-jack with SPDIF I/O
6stack-dig 6-jack with SPDIF I/O
3stack-660 3-jack (for ALC660)
uniwill-m31 Uniwill M31 laptop
toshiba Toshiba laptop support
asus Asus laptop support
asus-laptop ASUS F2/F3 laptops
auto auto-config reading BIOS (default)

ALC861VD/660VD
==============
3stack 3-jack
3stack-dig 3-jack with SPDIF OUT
6stack-dig 6-jack with SPDIF OUT
3stack-660 3-jack (for ALC660VD)
3stack-660-digout 3-jack with SPDIF OUT (for ALC660VD)
lenovo Lenovo 3000 C200
dallas Dallas laptops
hp HP TX1000
asus-v1s ASUS V1Sn
auto auto-config reading BIOS (default)

CMI9880
=======
minimal 3-jack in back
min_fp 3-jack in back, 2-jack in front
full 6-jack in back, 2-jack in front
full_dig 6-jack in back, 2-jack in front, SPDIF I/O
allout 5-jack in back, 2-jack in front, SPDIF out
auto auto-config reading BIOS (default)

AD1882 / AD1882A
================
3stack 3-stack mode (default)
6stack 6-stack mode

AD1884A / AD1883 / AD1984A / AD1984B
====================================
desktop 3-stack desktop (default)
laptop laptop with HP jack sensing
mobile mobile devices with HP jack sensing
thinkpad Lenovo Thinkpad X300

AD1884
======
N/A

AD1981
======
basic 3-jack (default)
hp HP nx6320
thinkpad Lenovo Thinkpad T60/X60/Z60
toshiba Toshiba U205

AD1983
======
N/A

AD1984
======
basic default configuration
thinkpad Lenovo Thinkpad T61/X61
dell Dell T3400

AD1986A
=======
6stack 6-jack, separate surrounds (default)
3stack 3-stack, shared surrounds
laptop 2-channel only (FSC V2060, Samsung M50)
laptop-eapd 2-channel with EAPD (ASUS A6J)
laptop-automute 2-channel with EAPD and HP-automute (Lenovo N100)
ultra 2-channel with EAPD (Samsung Ultra tablet PC)
samsung 2-channel with EAPD (Samsung R65)

AD1988/AD1988B/AD1989A/AD1989B
==============================
6stack 6-jack
6stack-dig ditto with SPDIF
3stack 3-jack
3stack-dig ditto with SPDIF
laptop 3-jack with hp-jack automute
laptop-dig ditto with SPDIF
auto auto-config reading BIOS (default)

Conexant 5045
=============
laptop-hpsense Laptop with HP sense (old model laptop)
laptop-micsense Laptop with Mic sense (old model fujitsu)
laptop-hpmicsense Laptop with HP and Mic senses
benq Benq R55E
test for testing/debugging purpose, almost all controls
can be adjusted. Appearing only when compiled with
$CONFIG_SND_DEBUG=y

Conexant 5047
=============
laptop Basic Laptop config
laptop-hp Laptop config for some HP models (subdevice 30A5)
laptop-eapd Laptop config with EAPD support
test for testing/debugging purpose, almost all controls
can be adjusted. Appearing only when compiled with
$CONFIG_SND_DEBUG=y

Conexant 5051
=============
laptop Basic Laptop config (default)
hp HP Spartan laptop

STAC9200
========
ref Reference board
dell-d21 Dell (unknown)
dell-d22 Dell (unknown)
dell-d23 Dell (unknown)
dell-m21 Dell Inspiron 630m, Dell Inspiron 640m
dell-m22 Dell Latitude D620, Dell Latitude D820
dell-m23 Dell XPS M1710, Dell Precision M90
dell-m24 Dell Latitude 120L
dell-m25 Dell Inspiron E1505n
dell-m26 Dell Inspiron 1501
dell-m27 Dell Inspiron E1705/9400
gateway-m4 Gateway laptops with EAPD control
gateway-m4-2 Gateway laptops with EAPD control
panasonic Panasonic CF-74

STAC9205/9254
=============
ref Reference board
dell-m42 Dell (unknown)
dell-m43 Dell Precision
dell-m44 Dell Inspiron

STAC9220/9221
=============
ref Reference board
3stack D945 3stack
5stack D945 5stack + SPDIF
intel-mac-v1 Intel Mac Type 1
intel-mac-v2 Intel Mac Type 2
intel-mac-v3 Intel Mac Type 3
intel-mac-v4 Intel Mac Type 4
intel-mac-v5 Intel Mac Type 5
intel-mac-auto Intel Mac (detect type according to subsystem id)
macmini Intel Mac Mini (equivalent with type 3)
macbook Intel Mac Book (eq. type 5)
macbook-pro-v1 Intel Mac Book Pro 1st generation (eq. type 3)
macbook-pro Intel Mac Book Pro 2nd generation (eq. type 3)
imac-intel Intel iMac (eq. type 2)
imac-intel-20 Intel iMac (newer version) (eq. type 3)
ecs202 ECS/PC chips
dell-d81 Dell (unknown)
dell-d82 Dell (unknown)
dell-m81 Dell (unknown)
dell-m82 Dell XPS M1210

STAC9202/9250/9251
==================
ref Reference board, base config
m1 Some Gateway MX series laptops (NX560XL)
m1-2 Some Gateway MX series laptops (MX6453)
m2 Some Gateway MX series laptops (M255)
m2-2 Some Gateway MX series laptops
m3 Some Gateway MX series laptops
m5 Some Gateway MX series laptops (MP6954)
m6 Some Gateway NX series laptops

STAC9227/9228/9229/927x
=======================
ref Reference board
ref-no-jd Reference board without HP/Mic jack detection
3stack D965 3stack
5stack D965 5stack + SPDIF
dell-3stack Dell Dimension E520
dell-bios Fixes with Dell BIOS setup

STAC92HD71B*
============
ref Reference board
dell-m4-1 Dell desktops
dell-m4-2 Dell desktops
dell-m4-3 Dell desktops
hp-m4 HP dv laptops

STAC92HD73*
===========
ref Reference board
no-jd BIOS setup but without jack-detection
dell-m6-amic Dell desktops/laptops with analog mics
dell-m6-dmic Dell desktops/laptops with digital mics
dell-m6 Dell desktops/laptops with both type of mics
dell-eq Dell desktops/laptops

STAC92HD83*
===========
ref Reference board
mic-ref Reference board with power managment for ports

STAC9872
========
vaio Setup for VAIO FE550G/SZ110
vaio-ar Setup for VAIO AR

Peacedog 02-24-2010 09:44 PM

You could try this quirk option, noted in red, in your /etc/modprobe.d/sound file. This text in red will be an addition to your existing file.

Code:

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=hp-m4 HP dv laptops

Edit the file, save changes, reboot, run alsaconf, run alsamixer, see what you've got.
Good luck. ;-)

tairoesp 02-24-2010 10:21 PM

I tried your sugestion, Peacedog, but the sound still doesn't work. I had some problems during the process too, so I will try to explain then here to you.

Well, after I edited the modprobe.d/sound file and rebooted, I ran alsaconf. As I had edited the modprobe.d/sound file, I chose to not modify it. The program exited and I ran alsamixer. At this time, I got the error that follows:
alsamixer: function snd_ctl_open failed for default: No such file or directory

Anyway, I ignored the error and started KDE. The first thing that happened was a window accusing that I had removed my sound card. I tried to activate it in many ways, but the only possible was to make the file I edited like it was at the beginning...

Thanks in advance for all the help, Peacedog!

onebuck 02-25-2010 03:44 PM

Hi,

First, place all your long lists/data within the vbcode tags Quote or code. The code tag (#) is at the top of the reply window with the quote to the left of # as a balloon. This will make your posts clleaner therefore easier to read.

You should run 'alsactl store' after your mixer settings. I would revert to the original state then try.

BTW, when you adduser be sure to add the user to the following groups;

Code:

users floppy audio video cdrom plugdev power netdev
When you adduser the user is added to the 'users' group then press the up arrow for the suggested groups (there is prompt to do so).

:hattip:

Peacedog 02-25-2010 07:22 PM

Quote:

Originally Posted by tairoesp (Post 3875891)
I tried your sugestion, Peacedog, but the sound still doesn't work. I had some problems during the process too, so I will try to explain then here to you.

Well, after I edited the modprobe.d/sound file and rebooted, I ran alsaconf. As I had edited the modprobe.d/sound file, I chose to not modify it. The program exited and I ran alsamixer. At this time, I got the error that follows:
alsamixer: function snd_ctl_open failed for default: No such file or directory

Anyway, I ignored the error and started KDE. The first thing that happened was a window accusing that I had removed my sound card. I tried to activate it in many ways, but the only possible was to make the file I edited like it was at the beginning...

Thanks in advance for all the help, Peacedog!

Please post the output from the following.

Code:

~$ groups
~$ ls -l /dev/dsp

Run alsaconf and configure the card as su. Then drop back to your normal user and run alsamixer.

Good luck. ;-)

tairoesp 02-25-2010 09:17 PM

Onebuck, I will try it on my next posts. I'm new to the Forum, so thanks for the information!
I can't acess the mixer after writing the line sugested, that's the point. Before, I had saved the changes of alsamixer as you said. And the "alsactl restore" command just works after I revert the lines from etc/modprobe.d/sound to its original state.

Peacedog, here goes the results of the commands you posted:

Code:

:~$ groups
users floppy audio video cdrom plugdev power netdev
:~$ ls -l /dev/dsp
/bin/ls: cannot access /dev/dsp: No such file or directory

I tried to run alsaconf as root and alsamixer as user, but I got the same error I posted before: it appears to the system like if I had removed my sound card.

Peacedog 02-25-2010 09:40 PM

You could try the other quirk option available with your current configuration.


Code:

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=ref Reference board

Other than that, you may need to upgrade the alsa drivers.
Good luck. ;-)

tairoesp 02-26-2010 01:31 PM

I tried the other quirk option and the result was the same...

Peacedog, is there anything special I have to do to upgrade the alsa drivers? Or just downloading the newest version and compiling it from the source is ok?

I read in a site that the problem can be the "kind" of some bars in alsamixer, that a solution can be change the "digital" ones to "analog". I'll try that when I get home today and I tell here the results.

damgar 02-26-2010 01:48 PM

I once had a wierd issue where I had to add channels in kmix and unmute them that way to get sound on 13. Doing it in Alsamixer wouldn't "take."

Peacedog 02-26-2010 04:49 PM

Quote:

Originally Posted by tairoesp (Post 3878063)
I tried the other quirk option and the result was the same...

Peacedog, is there anything special I have to do to upgrade the alsa drivers? Or just downloading the newest version and compiling it from the source is ok?

I read in a site that the problem can be the "kind" of some bars in alsamixer, that a solution can be change the "digital" ones to "analog". I'll try that when I get home today and I tell here the results.


I had to upgrade the drivers, libraries and utilities packages to get sound working properly on my last install.

As far as a safe upgrade goes, there is a guide here.

http://www.linuxvox.com/2009/10/upda...-and-safe-way/

I haven't used it, so ymmv. I just downloaded the newest source, compiled and installed it. No adverse affects that I've seen yet

Good luck. ;-)

tairoesp 02-26-2010 07:42 PM

Thanks for all the help, Peacedog! My sound is finally working! All I had to do was upgrading properly the drivers, libraries and utilities for alsa!
I'm curious why it happened, because my /etc/modprobe.d/sound is configured now in the same exact way it was on the older version. Well, what matters is that it's working now!

Peacedog 02-26-2010 08:03 PM

Quote:

Originally Posted by tairoesp (Post 3878378)
Thanks for all the help, Peacedog! My sound is finally working! All I had to do was upgrading properly the drivers, libraries and utilities for alsa!
I'm curious why it happened, because my /etc/modprobe.d/sound is configured now in the same exact way it was on the older version. Well, what matters is that it's working now!

Glad you got it sorted. It's likely that /etc/modprobe.d/sound doesn't contain the quirk line because the new driver doesn't need the help. If I understand correctly, the quirks are essentially help pointers for the driver to "point it in the right direction" so to speak. Anywho, glad you're up and running.
Good luck. ;-)


All times are GMT -5. The time now is 01:49 AM.