LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-27-2009, 05:17 PM   #1
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Rep: Reputation: 16
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?
 
Old 03-27-2009, 06:04 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
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

Last edited by Didier Spaier; 03-27-2009 at 06:11 PM.
 
Old 03-27-2009, 06:09 PM   #3
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Original Poster
Rep: Reputation: 16
There is no /etc/rc.d/rc.alsa
alsaconf said:
No supported PnP or PCI card Found
 
Old 03-27-2009, 06:21 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Quote:
Originally Posted by masmddr View Post
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

Are you sure you made a full install ?

Free Palestinians

Last edited by Didier Spaier; 03-27-2009 at 06:22 PM. Reason: Typo
 
Old 03-27-2009, 06:24 PM   #5
JazzItSelf
Member
 
Registered: Oct 2003
Location: Boston
Distribution: Slackware64-current
Posts: 44

Rep: Reputation: 18
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
 
Old 03-27-2009, 06:42 PM   #6
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Original Poster
Rep: Reputation: 16
Ok my bad I do have /etc/rc.d/rc.alsa

alsamixer still wont start
and lsmod | grep snd outputs nothing
 
Old 03-28-2009, 04:43 AM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Quote:
Originally Posted by masmddr View Post
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.
 
Old 03-28-2009, 07:58 AM   #8
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Original Poster
Rep: Reputation: 16
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
 
Old 03-28-2009, 09:14 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

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

Last edited by Didier Spaier; 03-28-2009 at 10:59 AM.
 
Old 03-28-2009, 09:30 AM   #10
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Original Poster
Rep: Reputation: 16
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*
 
Old 03-28-2009, 09:51 AM   #11
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
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.
 
Old 03-28-2009, 10:01 AM   #12
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Original Poster
Rep: Reputation: 16
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

Last edited by masmddr; 03-28-2009 at 10:03 AM.
 
Old 03-28-2009, 10:17 AM   #13
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

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

Last edited by allend; 03-28-2009 at 10:20 AM.
 
Old 03-28-2009, 10:28 AM   #14
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Original Poster
Rep: Reputation: 16
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."
 
Old 03-28-2009, 10:38 AM   #15
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
Have you tried rebooting and then running the sound setup commands?
 
  


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
No sound using Slackware 11 and KDE ctlee Linux - Newbie 6 03-26-2007 09:42 PM
non-kde sound in Slackware 10.1 thanto_ Linux - Software 18 06-17-2005 03:12 AM
no sound in KDE 3.1 SLackware 9.1 KT600 derfunkenstein Linux - Hardware 5 04-20-2004 09:15 PM
sound error in kde 3.1 / slackware 9 filiond Linux - Software 5 04-08-2003 08:30 AM
Slackware 8 sound in KDE php Linux - General 5 03-04-2002 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:55 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