LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   No sound on SlackWare 12.2 KDE 3.5 (https://www.linuxquestions.org/questions/linux-hardware-18/no-sound-on-slackware-12-2-kde-3-5-a-714944/)

masmddr 03-27-2009 05:17 PM

No sound on SlackWare 12.2 KDE 3.5
 
Hello.
my problem this time is I installed slackware 12.2 and got no sound.
every time I try to open a sound file the sound server crash.

kernel 2.6.27.7-smp
/sbin/lspci:
Quote:

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
04:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
0e:06.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
0e:06.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
0e:06.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
followed the steps in
http://alsa-project.org/main/index.p...odule-intel8x0

but when I type in alsamixer I get:
alsamixer: function snd_ctl_open failed for default: No such file or directory

What am I supposed to do to make SlackWare to accept me as its master?

Didier Spaier 03-27-2009 06:04 PM

As root:
chmod +x /etc/rc.d/rc.alsa # will start at next reboot
/etc/rc.d/rc.alsa # to start the alsa mixer

If needed (usually not necessary):
alsaconf # as root

Then
alsamixer
alsactl store # as root

Free Palestinians

masmddr 03-27-2009 06:09 PM

There is no /etc/rc.d/rc.alsa
alsaconf said:
No supported PnP or PCI card Found

Didier Spaier 03-27-2009 06:21 PM

Quote:

Originally Posted by masmddr (Post 3490057)
There is no /etc/rc.d/rc.alsa
alsaconf said:
No supported PnP or PCI card Found

Strange.

/erc/rc.d/rc.alsa come with a full install of Slackware 12.2.

Anyway, get the package alsa-utils-1.0.17-i486-2 in slackware/ap and (re)install it:
upgradepkg --install-new --reinstall alsa-utils

About alsaconf's output, I am a bit surprised that this device:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
be not recognized :scratch:

Are you sure you made a full install ?

Free Palestinians

JazzItSelf 03-27-2009 06:24 PM

If you don't have /etc/rc.d/rc.alsa, then you don't have a full slack 12.2 installation. I'm pretty sure that it has existed every time I've installed slackware.

Are the sound modules being loaded?
lsmod | grep snd

masmddr 03-27-2009 06:42 PM

Ok my bad I do have /etc/rc.d/rc.alsa

alsamixer still wont start
and lsmod | grep snd outputs nothing

Didier Spaier 03-28-2009 04:43 AM

Quote:

Originally Posted by masmddr (Post 3490087)
and lsmod | grep snd outputs nothing

Then something is wrong.

All kernels shipped with Slackware 12.2 have sound drivers included as modules and sound won't work without it.

Did you install the kernel-modules package for your kernel version?

May-be you use a custom kernel? In that case it was wrongly configured.

For instance this is what I get:
Code:

bash-3.1$ lsmod|grep snd
snd_seq_dummy          2496  0
snd_seq_oss            28768  0
snd_seq_midi_event      5916  1 snd_seq_oss
snd_seq                46000  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6088  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            35968  0
snd_mixer_oss          13788  1 snd_pcm_oss
snd_intel8x0          28600  0
snd_ac97_codec        97472  1 snd_intel8x0
ac97_bus                1372  1 snd_ac97_codec
snd_pcm                65216  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              18852  2 snd_seq,snd_pcm
snd                    48260  9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              6080  1 snd
snd_page_alloc          8036  2 snd_intel8x0,snd_pcm
bash-3.1$

You should have most of these modules loaded (snd_intel8x0, snd_ac97_bus and snd_ac97_codec are hardware-specific).

Free Palestinians.

masmddr 03-28-2009 07:58 AM

no I am not using a custom kernel.

after I type
Quote:

modprobe snd-intel8x0m ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; modprobe snd-seq-oss
I get
FATAL: Module snd_intel8x0m not found.

and lsmod|grep snd
Quote:

snd_seq_oss 35200 0
snd_seq_midi_event 10240 1 snd_seq_oss
snd_seq 51568 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 10636 2 snd_seq_oss,snd_seq
snd_pcm_oss 40608 0
snd_pcm 71556 1 snd_pcm_oss
snd_timer 23304 2 snd_seq,snd_pcm
snd_page_alloc 12040 1 snd_pcm
snd_mixer_oss 18176 1 snd_pcm_oss
snd 54308 7 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 10080 1 snd

Didier Spaier 03-28-2009 09:14 AM

This is strange, all these modules (but snd_intel8x0m) should be already loaded at start up.

To understand why they aren't, please send whole output of following command:
Code:

ls -l /etc/rc.d
So it will be easy to see if some scripts which should be executable, aren't.

Free Palestinians.

masmddr 03-28-2009 09:30 AM

this is it:
Quote:

total 324
drwxr-xr-x 2 root root 4096 2009-03-27 21:25 init.d/
lrwxrwxrwx 1 root root 4 2009-03-26 21:29 rc.0 -> rc.6*
drwxr-xr-x 2 root root 4096 2007-05-15 05:46 rc0.d/
drwxr-xr-x 2 root root 4096 2007-05-15 05:46 rc1.d/
drwxr-xr-x 2 root root 4096 2007-05-15 05:46 rc2.d/
drwxr-xr-x 2 root root 4096 2007-05-15 05:46 rc3.d/
-rwxr-xr-x 1 root root 1282 2007-03-27 03:12 rc.4*
drwxr-xr-x 2 root root 4096 2007-05-15 05:46 rc4.d/
drwxr-xr-x 2 root root 4096 2007-05-15 05:46 rc5.d/
-rwxr-xr-x 1 root root 7453 2008-12-02 22:32 rc.6*
drwxr-xr-x 2 root root 4096 2007-05-15 05:46 rc6.d/
-rwxr-xr-x 1 root root 466 2008-11-20 20:13 rc.acpid*
-rwxr-xr-x 1 root root 2672 2008-12-03 03:49 rc.alsa*
-rw-r--r-- 1 root root 1032 2003-02-02 05:47 rc.atalk
-rw-r--r-- 1 root root 3116 2008-04-14 00:48 rc.bind
-rw-r--r-- 1 root root 3303 2008-11-12 00:36 rc.bluetooth
-rw-r--r-- 1 root root 1051 2008-11-12 00:36 rc.bluetooth.conf
-rw-r--r-- 1 root root 4318 2008-10-22 01:15 rc.cups
-rw-r--r-- 1 root root 512 2008-11-25 23:26 rc.dnsmasq
-rwxr-xr-x 1 root root 119 2004-05-30 07:19 rc.font.new*
-rwxr-xr-x 1 root root 1893 2008-10-22 06:41 rc.fuse*
-rwxr-xr-x 1 root root 1148 2009-03-26 21:47 rc.gpm*
-rwxr-xr-x 1 root root 906 2008-12-08 03:14 rc.hald*
-rw-r--r-- 1 root root 703 2008-10-23 00:55 rc.httpd
-rwxr-xr-x 1 root root 9437 2008-12-08 06:53 rc.inet1*
-rw------- 1 root root 3579 2009-03-26 21:48 rc.inet1.conf
-rwxr-xr-x 1 root root 4847 2007-09-18 00:07 rc.inet2*
-rwxr-xr-x 1 root root 497 2003-09-12 06:27 rc.inetd*
-rw-r--r-- 1 root root 2684 2008-12-04 00:58 rc.ip_forward
-rwxr-xr-x 1 root root 2425 2008-12-02 22:31 rc.K*
-rwxr-xr-x 1 root root 271 2009-03-27 23:02 rc.local*
-rwxr-xr-x 1 root root 415 2009-03-27 21:37 rc.local~*
-rwxr-xr-x 1 root root 10662 2008-12-03 00:36 rc.M*
-rwxr-xr-x 1 root root 1740 2008-12-08 03:10 rc.messagebus*
lrwxrwxrwx 1 root root 23 2009-03-26 21:28 rc.modules -> rc.modules-2.6.27.7-smp*
-rwxr-xr-x 1 root root 31891 2008-11-21 07:15 rc.modules-2.6.27.7*
-rwxr-xr-x 1 root root 31891 2008-11-21 06:29 rc.modules-2.6.27.7-smp*
-rw-r--r-- 1 root root 2457 2008-10-25 21:21 rc.nfsd
-rw-r--r-- 1 root root 749 2008-11-26 06:30 rc.ntpd
-rwxr-xr-x 1 root root 1722 2007-03-16 23:09 rc.pcmcia*
-rw-r--r-- 1 root root 1402 2007-05-18 01:53 rc.rpc
-rwxr-xr-x 1 root root 14376 2008-12-03 07:07 rc.S*
-rw-r--r-- 1 root root 791 2008-11-28 23:11 rc.samba
-rw-r--r-- 1 root root 1169 2006-05-27 23:24 rc.saslauthd
-rw-r--r-- 1 root root 687 2002-06-05 00:09 rc.sendmail
-rw-r--r-- 1 root root 2895 2008-09-11 04:30 rc.serial
-rw-r--r-- 1 root root 895 2008-11-14 02:32 rc.snmpd
-rwxr-xr-x 1 root root 1477 2008-07-24 20:39 rc.sshd*
-rwxr-xr-x 1 root root 981 2007-04-10 02:10 rc.syslog*
-rwxr-xr-x 1 root root 1740 1999-09-11 22:48 rc.sysvinit*
-rwxr-xr-x 1 root root 4220 2008-12-01 04:58 rc.udev*
-rwxr-xr-x 1 root root 12496 2008-11-30 00:00 rc.wireless*
-rw------- 1 root root 7320 2008-11-30 00:00 rc.wireless.conf
-rwxr-xr-x 1 root root 2323 2005-08-01 02:56 rc.yp*

allend 03-28-2009 09:51 AM

There should have been no need to download and install the alsa-lib and alsa-utils packages as these are already available in Slackware 12.2.
I suggest that you reinstall the official Slackware alsa-lib and alsa-utils packages then do:
Quote:

As root:
alsaconf
/etc/rc.d/rc.alsa start
alsamixer
alsactl store
Also, from /etc/modprobe.d/blacklist:
Quote:

# ALSA modules to support sound modems. These should be loaded manually
# if needed. For most people they just break sound support...
blacklist snd-atiixp-modem
blacklist snd-intel8x0m
blacklist snd-via82xx-modem
The 'snd-intel8x0m' module is only used for modems. It is not required for normal audio support.

masmddr 03-28-2009 10:01 AM

I reinstalled alsa-lib and alsa-utils from the SlackWare DVD using " upgradepkg --install-new --reinstall "

and I added a # before blacklist snd-intel8x0m (hope that was what I should have done)

yet alsaconf still doesn't recognize anything and alsamixer gives the same error.

Edit:
also in Control center > sound system
there is no recognized midi device

allend 03-28-2009 10:17 AM

Quote:

and I added a # before blacklist snd-intel8x0m (hope that was what I should have done)
NO! By commenting out that line, the snd-intel8x0m module can be loaded! You do not want that.

Now that you have edited in the /etc/modprobe.d directory, check that directory for any editor backup files and delete them. ALL files in that directory are looked at and acted upon. Do not leave any extraneous files in there.

masmddr 03-28-2009 10:28 AM

Done and removed the back up file.
Still no sound, error message: "Device /dev/dsp can't be opened (no such file or directory)
the sound server will continue, using the null output device."

allend 03-28-2009 10:38 AM

Have you tried rebooting and then running the sound setup commands?


All times are GMT -5. The time now is 02:12 AM.